// source --> https://luxurycroatia.net/wp-content/plugins/foobox-image-lightbox/free/js/foobox.free.min.js 
!function(a,r){var e;a&&r&&(r.FooBox={},FooBox.$=a,FooBox.version="2.4.7",FooBox.defaults={affiliate:{enabled:!(FooBox.instances=[]),prefix:"Powered by ",url:"http://fooplugins.com/plugins/foobox/"},alwaysInit:!0,closeOnOverlayClick:!0,containerCssClass:"fbx-instance",countMessage:"item %index of %total",error:"Could not load the item",excludes:".fbx-link, .nofoobox",externalSelector:"a[data-foobox],input[data-foobox]",fitToScreen:!1,hideScrollbars:!0,loadDelay:0,loaderTimeout:600,modalClass:"",preload:!1,rel:null,resizeSpeed:300,selector:"a",showButtons:!0,showCount:!0,style:"fbx-rounded",theme:"fbx-light",transitionInSpeed:200,transitionOutSpeed:200,initCallback:null,loop:!0},FooBox.isjQuery=function(e){return e instanceof jQuery||e&&e.jquery},FooBox.isFn=function(e){return e===r.alert||"[object Function]"===Object.prototype.toString.call(e)},FooBox.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},FooBox.inArray=function(e,o){return FooBox.isArray(o)?o.indexOf(e):-1},FooBox.trim=function(e){return"[object String]"===Object.prototype.toString.call(e)?e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""):""},FooBox.ready=function(e){function o(){try{e.call(r,FooBox.$)}catch(e){console.error(e)}}(Function("/*@cc_on return true@*/")()?"complete"===document.readyState:"loading"!==document.readyState)?o():document.addEventListener("DOMContentLoaded",o,!1)},FooBox.browser={isIE:!(FooBox.format=function(e,o,t){for(var i,n=e,s=0;s<arguments.length-1;s++)i=new RegExp("\\{"+s+"\\}","gm"),n=n.replace(i,arguments[s+1]);return n}),isChrome:!1,isSafari:!1,isLtSafari10:!1,version:0,css:"",iOS:!1,Mac:!1,isMobile:(e=navigator.userAgent||navigator.vendor||r.opera,/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4))),check:function(){var e=navigator.appVersion.toLowerCase(),o=navigator.userAgent.toLowerCase(),t=navigator.platform,i=(FooBox.browser.iOS=/(iPad|iPhone|iPod)/g.test(t),FooBox.browser.iOS12OrBelow=!1,FooBox.browser.iOS&&(FooBox.browser.css+=" fbx-ios",FooBox.browser.iOS12OrBelow=(i=e.match(/OS (\d+)_(\d+)_?(\d+)?/i),[parseInt(i[1],10),parseInt(i[2],10),parseInt(i[3]||0,10)][0]<=12),FooBox.browser.iOS12OrBelow)&&(FooBox.browser.css+=" fbx-ios-12-or-below"),FooBox.browser.Mac=/(Mac)/g.test(t),FooBox.browser.Mac&&(FooBox.browser.css+=" fbx-mac"),FooBox.browser.isChrome=-1<e.indexOf("chrome")||-1<e.indexOf("crios"),FooBox.browser.isChrome&&(FooBox.browser.css+=" fbx-chrome"),FooBox.browser.isSafari=-1<e.indexOf("safari")&&!FooBox.browser.isChrome,FooBox.browser.isSafari&&(FooBox.browser.css+=" fbx-safari",FooBox.browser.isLtSafari10=/constructor/i.test(r.HTMLElement)),FooBox.browser.isFirefox=-1<o.indexOf("firefox"),FooBox.browser.isFirefox&&(FooBox.browser.css+=" fbx-firefox"),o.indexOf("msie ")),t=o.indexOf("trident/"),e=o.indexOf("edge/");FooBox.browser.isIE=-1<i||-1<t||-1<e,FooBox.browser.isIE&&(-1<i?FooBox.browser.version=parseInt(o.substring(i+5,o.indexOf(".",i)),10):-1<t?(t=o.indexOf("rv:"),FooBox.browser.version=parseInt(o.substring(t+3,o.indexOf(".",t)),10)):-1<e&&(FooBox.browser.version=parseInt(o.substring(e+5,o.indexOf(".",e)),10)),FooBox.browser.css="fbx-ie fbx-ie"+FooBox.browser.version)},supportsTransitions:function(){var e=(document.body||document.documentElement).style;if("string"==typeof e[t="transition"])return!0;for(var o=["Moz","Webkit","Khtml","O","ms"],t=t.charAt(0).toUpperCase()+t.substr(1),i=0;i<o.length;i++)if("string"==typeof e[o[i]+t])return!0;return!1},transitionEnd:function(){var e,o=document.createElement("fakeelement"),t={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in t)if(t.hasOwnProperty(e)&&void 0!==o.style[e])return t[e];return null}},FooBox.browser.check(),FooBox.qualifiedURL=function(e){var o=document.createElement("a");return o.href=e,o.href},jQuery.Event.prototype.fb={instance:null,modal:null,options:null,handled:!1},FooBox.raise=function(e,o,t){t=t||{};var i=a.Event(o);return i.fb={},i.fb.instance=e,i.fb.modal=e.modal.element,i.fb.options=e.options,a.extend(!0,i.fb,t),e.element.one(o,function(e){e.stopPropagation()}).trigger(i),i},FooBox.options={isMultipart:function(e,o){return"string"==typeof e&&0<e.length&&-1!==e.indexOf(o)},hasProperties:function(e){if("object"==typeof e)for(var o in e)if(e.hasOwnProperty(o))return!0;return!1},get:function(e,o){var t,i;return FooBox.options.isMultipart(o,".")?(t=o.substring(0,o.indexOf(".")),i=o.substring(o.indexOf(".")+1),e[t]=e[t]||{},FooBox.options.get(e[t],i)):e[o]},set:function(e,o,t){var i,n;FooBox.options.isMultipart(o,".")?(i=o.substring(0,o.indexOf(".")),n=o.substring(o.indexOf(".")+1),e[i]=e[i]||{},FooBox.options.set(e[i],n,t)):e[o]=t},merge:function(e,o,t){var i,n=Array.prototype.slice.call(arguments);for(e=n.shift(),o=n.shift(),FooBox.options._merge(e,o),i=0;i<n.length;i++)t=n[i],FooBox.options._merge(e,t);return e},_merge:function(e,o){for(var t in o)o.hasOwnProperty(t)&&(FooBox.options.hasProperties(o[t])&&!FooBox.isArray(o[t])?(e[t]=e[t]||{},FooBox.options._merge(e[t],o[t])):FooBox.isArray(o[t])?(e[t]=[],a.extend(!0,e[t],o[t])):e[t]=o[t])}},FooBox.objects={registered:{},ensure:function(e){return FooBox.objects.registered[e]=FooBox.objects.registered[e]||[]},register:function(e,o,t){return FooBox.objects.ensure(e).push(o),"object"==typeof t&&a.extend(!0,FooBox.defaults,t),!0},load:function(e,o){for(var t,i=[],n=FooBox.objects.ensure(e),s=0;s<n.length;s++)try{t=n[s],i.push(new t(o))}catch(e){console.error(e)}o.objects=o.objects||{},o.objects[e]=i},call:function(e,o,t,i,n){for(var s,a=Array.prototype.slice.call(arguments),r=(e=a.shift(),o=a.shift(),t=a.shift(),o.objects[e]||[]),l=0;l<r.length;l++)try{s=r[l],FooBox.isFn(s[t])&&s[t].apply(s,a)}catch(e){console.error(e)}},get:function(e,o,t){var i,n=o.objects[e];if(n&&FooBox.isFn(t))for(i=0;i<n.length;i++)if(t(n[i]))return n[i];return null}},FooBox.addons={_ns:"addons",validate:function(e){return!!FooBox.isFn(e)||(console.error(FooBox.format('Expected type "function", received type "{0}".',typeof e)),!1)},register:function(e,o){return FooBox.addons.validate(e)?FooBox.objects.register(FooBox.addons._ns,e,o):(console.error("Failed to register the addon."),!1)},load:function(e){FooBox.objects.load(FooBox.addons._ns,e)},call:function(e,o,t,i){var n=Array.prototype.slice.call(arguments);n.unshift(FooBox.addons._ns),FooBox.objects.call.apply(this,n)}},FooBox.handlers={_ns:"handlers",validate:function(e){var o;return FooBox.isFn(e)?(o=new e,FooBox.isFn(o.handles)?FooBox.isFn(o.defaults)?FooBox.isFn(o.parse)?FooBox.isFn(o.load)?FooBox.isFn(o.getSize)?FooBox.isFn(o.hasChanged)?!!FooBox.isFn(o.preload)||(console.error('The required "preload" method is not implemented.'),!1):(console.error('The required "hasChanged" method is not implemented.'),!1):(console.error('The required "getSize" method is not implemented.'),!1):(console.error('The required "load" method is not implemented.'),!1):(console.error('The required "parse" method is not implemented.'),!1):(console.error('The required "defaults" method is not implemented.'),!1):(console.error('The required "handles" method is not implemented.'),!1)):(console.error(FooBox.format('Expected type "function", received type "{0}".',typeof e)),!1)},register:function(e,o){return FooBox.handlers.validate(e)?FooBox.objects.register(FooBox.handlers._ns,e,o):(console.error("Failed to register the handler."),!1)},load:function(e){FooBox.objects.load(FooBox.handlers._ns,e)},call:function(e,o,t,i){var n=Array.prototype.slice.call(arguments);n.unshift(FooBox.handlers._ns),FooBox.objects.call.apply(this,n)},get:function(e,o){return FooBox.objects.get(FooBox.handlers._ns,e,function(e){return e.type==o})}},FooBox.Item=function(e,o,t){return this.type=e,this.element=FooBox.isjQuery(o)?o:a(o),this.handler=t,this.width=null,this.height=null,this.url=null,this.overflow=!1,this.preloaded=!1,this.proportion=!1,this.error=!1,this},FooBox.Size=function(e,o){return this.width="number"==typeof e?e:parseInt(e,0),this.height="number"==typeof o?o:parseInt(o,0),this.equalTo=function(e){return this.width==e.width&&this.height==e.height},this},FooBox.Size.check=function(e){return"number"==typeof e?e:isNaN(parseInt(e))?null:parseInt(e)},FooBox.Timer=function(){this.id=null,this.busy=!1;var i=this;return this.start=function(e,o,t){t=t||e,i.stop(),i.id=setTimeout(function(){e.call(t),i.id=null,i.busy=!1},o),i.busy=!0},this.stop=function(){null!==i.id&&!1!==i.busy&&(clearTimeout(i.id),i.id=null,i.busy=!1)},this},a.fn.foobox=function(i){return i=i||{},this.each(function(){var e=a(this),o=e.data("fbx_instance"),t=e.data("__FooGallery__"),e=a.extend(!0,{},i,e.data("foobox"));o instanceof FooBox.Instance?!0===o.options.alwaysInit||t?((t=o.options).alwaysInit=!0,o.destroy(),(o=new FooBox.Instance(o.id)).init(this,a.extend(!0,t,e))):o.reinit(e):(o=a(this).data("fbx_p_instance"))instanceof FooBox.Instance||(o=new FooBox.Instance).init(this,e)})},FooBox.open=function(e){var o,t,i=null;return null!=(i="object"==typeof e?(t=document.createElement("a"),a(t).foobox(e),a(t).data("fbx_instance")):(o=(o="number"==typeof e?e:(o=parseInt(e||0),isNaN(o)?0:o))>FooBox.instances.length-1?FooBox.instances.length-1:o<0?0:o,FooBox.instances[o]))&&i.modal instanceof FooBox.Modal?(i.modal.show(!0),i):null},FooBox.close=function(){for(var e=[],o=null,t=0;t<FooBox.instances.length;t++)null!=(o=FooBox.instances[t])&&o.modal instanceof FooBox.Modal&&FooBox.isjQuery(o.modal.element)&&o.modal.element.hasClass("fbx-show")&&e.push(o);for(t=0;t<e.length;t++)(o=e[t]).modal.close()},FooBox.resize=function(e,o){if(e||o)for(var t,i,n,s=0;s<FooBox.instances.length;s++)null!=(t=FooBox.instances[s])&&t.modal instanceof FooBox.Modal&&FooBox.isjQuery(t.modal.element)&&t.modal.element.hasClass("fbx-show")&&(i=t.items.current(),n=new FooBox.Size(e||i.width||0,o||i.height||0),i.width=n.width,i.height=n.height,t.modal.resize(n,t.modal.element.find(".fbx-item-current")));else a(r).trigger("resize.foobox")},FooBox.lateBind=function(e,o){var t=a.extend(!0,{},FooBox.defaults,o||r.FOOBOX&&FOOBOX.o||{}),i=a(e);i.on("click.foobox",t.selector,function(e){e.preventDefault();e=i.data("fbx_instance");(e=e||i.foobox(t).data("fbx_instance"))instanceof FooBox.Instance&&"number"==typeof this.index&&(e.items.indexes.set(this.index),e.modal.show(!0))})})}(jQuery,window),function(e){let t=new globalThis.Set(["accesskey","autocapitalize","autofocus","class","contenteditable","data-","dir","draggable","enterkeyhint","exportparts","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","popover","role","slot","spellcheck","style","tabindex","title","translate"]),i=new globalThis.Map([["html",["xmlns"]],["base",["href","target"]],["head",[]],["link",["as","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","sizes","type"]],["meta",["charset","content","http-equiv","name"]],["style",["media"]],["title",[]],["body",["onafterprint","onbeforeprint","onbeforeunload","onblur","onerror","onfocus","onhashchange","onlanguagechange","onload","onmessage","onoffline","ononline","onpopstate","onresize","onstorage","onunload"]],["address",[]],["article",[]],["aside",[]],["footer",[]],["header",[]],["h1",[]],["h2",[]],["h3",[]],["h4",[]],["h5",[]],["h6",[]],["hgroup",[]],["main",[]],["nav",[]],["section",[]],["search",[]],["blockquote",["cite"]],["dd",[]],["div",[]],["dl",[]],["dt",[]],["figcaption",[]],["figure",[]],["hr",[]],["li",["value"]],["menu",[]],["ol",["reversed","start","type"]],["p",[]],["pre",[]],["ul",[]],["a",["download","href","hreflang","ping","referrerpolicy","rel","target","type"]],["abbr",[]],["b",[]],["bdi",[]],["bdo",[]],["br",[]],["cite",[]],["code",[]],["data",["value"]],["dfn",[]],["em",[]],["i",[]],["kbd",[]],["mark",[]],["q",["cite"]],["rp",[]],["rt",[]],["ruby",[]],["s",[]],["samp",[]],["small",[]],["span",[]],["strong",[]],["sub",[]],["sup",[]],["time",["datetime"]],["u",[]],["var",[]],["wbr",[]],["area",["alt","coords","download","href","ping","referrerpolicy","rel","shape","target"]],["audio",["autoplay","controls","controlslist","crossorigin","disableremoteplayback","loop","muted","preload","src"]],["img",["alt","crossorigin","decoding","elementtiming","fetchpriority","height","ismap","loading","referrerpolicy","sizes","src","srcset","usemap","width"]],["map",["name"]],["track",["default","kind","label","src","srclang"]],["video",["autoplay","controls","controlslist","crossorigin","disablepictureinpicture","disableremoteplayback","height","loop","muted","playsinline","poster","preload","src","width"]],["embed",["height","src","type","width"]],["iframe",["allow","allowfullscreen","height","loading","name","referrerpolicy","sandbox","src","srcdoc","width"]],["object",["data","form","height","name","type","width"]],["picture",[]],["portal",["referrerpolicy","src"]],["source",["height","media","sizes","src","srcset","type","width"]],["svg",["height","preserveaspectratio","viewbox","width","x","y"]],["canvas",["height","width"]],["noscript",[]],["script",["async","crossorigin","defer","fetchpriority","integrity","nomodule","referrerpolicy","src","type"]],["del",["cite","datetime"]],["ins",["cite","datetime"]],["caption",[]],["col",["span"]],["colgroup",["span"]],["table",[]],["tbody",[]],["td",["colspan","headers","rowspan"]],["tfoot",[]],["th",["abbr","colspan","headers","rowspan","scope"]],["thead",[]],["tr",[]],["button",["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"]],["datalist",[]],["fieldset",["disabled","form","name"]],["form",["accept-charset","autocomplete","name","rel"]],["input",[]],["label",["for"]],["legend",[]],["meter",["form","high","low","max","min","optimum","value"]],["optgroup",["disabled","label"]],["option",["disabled","label","selected","value"]],["output",["for","form","name"]],["progress",["max","value"]],["select",["autocomplete","disabled","form","multiple","name","required","size"]],["textarea",["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"]],["details",["name","open"]],["dialog",["open"]],["summary",[]],["slot",["name"]],["template",["shadowrootclonable","shadowrootdelegatesfocus","shadowrootmode"]]]),n=new globalThis.Set(["code","codebase","src","href","formaction","ping","cite","action","background","poster","profile","manifest","data"]),s=(["script","embed","object"].forEach(e=>i.delete(e)),e=>(e instanceof globalThis.Node?e.nodeName:"string"==typeof e?e:"").toLowerCase()),a=e=>{if(e instanceof globalThis.Attr){var o=s(e.ownerElement);if(i.has(o))return i.get(o).includes(e.name)}return!1},o=/^(?!javascript|vbscript|livescript|mocha)(?:[a-z0-9+.-]+:[^<>]*$|[^&:\/?#]*(?:[\/?#]|$))/i,r=e=>o.test(e),l=/@import|expression|behaviou?r|binding|(?:javascript|vbscript|livescript|mocha):|[\x00-\x08\x0E-\x1F\x7F-\uFFFF]|\/\*.*?\*\/|<--.*?-->/i,d=e=>!l.test(e.replace(/\s+/g," ")),c=/^[a-z](?:[\x2D.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,h=e=>c.test(s(e)),f=/^[a-z](?:[.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*-(?:[\x2D.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,p=e=>f.test(s(e)),m=e=>p(e?.ownerElement)&&h(e),u=e=>{var o=s(e);return!o.startsWith("on")&&(!(!o.startsWith("aria-")&&!o.startsWith("data-"))||(t.has(o)||a(e)?n.has(o)?r(e.value):"style"!==o||d(e.value):m(e)))},x=e=>{if(e instanceof globalThis.Element){var o=s(e);if(i.has(o)||p(e)){for(var t of e.attributes)if(!u(t))return!1;return"style"===o?d(e.textContent):!0}}return!1},b=(e,o=!1)=>{if(e instanceof globalThis.Element){var t;if(x(e))return t=e.cloneNode(!1),o&&e.hasChildNodes()&&t.append(...v(e.childNodes,o)),t;throw new TypeError("UNSAFE_NODE")}return e instanceof globalThis.Text?e.cloneNode():null},v=(e,o=!1)=>{var t,i=[];for(t of e){var n=b(t,o);n instanceof globalThis.Node&&i.push(n)}return i},g;e.safeParse=e=>{if("string"==typeof e)try{var o=(g instanceof globalThis.DOMParser?g:g=new globalThis.DOMParser).parseFromString(e,"text/html");if(o.body.hasChildNodes())return v(o.body.childNodes,!0).map(e=>1===e.nodeType?e.outerHTML:3===e.nodeType?e.nodeValue:"").join("")}catch(e){"UNSAFE_NODE"!==e.message&&console.error("FooBox.safeParse: Unexpected Error",e)}return""}}(window.FooBox),function(n,e){e.Icons=function(){return this.className="fbx-icon",this.registered={default:{close:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path class="[CURRENT_ICON_CLASS]-default" d="M13.405 11.404q0 0.357-0.25 0.607l-1.214 1.214q-0.25 0.25-0.607 0.25t-0.607-0.25l-2.625-2.625-2.625 2.625q-0.25 0.25-0.607 0.25t-0.607-0.25l-1.214-1.214q-0.25-0.25-0.25-0.607t0.25-0.607l2.625-2.625-2.625-2.625q-0.25-0.25-0.25-0.607t0.25-0.607l1.214-1.214q0.25-0.25 0.607-0.25t0.607 0.25l2.625 2.625 2.625-2.625q0.25-0.25 0.607-0.25t0.607 0.25l1.214 1.214q0.25 0.25 0.25 0.607t-0.25 0.607l-2.625 2.625 2.625 2.625q0.25 0.25 0.25 0.607z"></path><path class="[CURRENT_ICON_CLASS]-flat" d="M12.667 3q0.286 0 0.477 0.19t0.19 0.477q0 0.281-0.193 0.474l-4.198 4.193 4.198 4.193q0.193 0.193 0.193 0.474 0 0.286-0.19 0.477t-0.477 0.19q-0.281 0-0.474-0.193l-4.193-4.198-4.193 4.198q-0.193 0.193-0.474 0.193-0.286 0-0.477-0.19t-0.19-0.477q0-0.281 0.193-0.474l4.198-4.193-4.198-4.193q-0.193-0.193-0.193-0.474 0-0.286 0.19-0.477t0.477-0.19q0.281 0 0.474 0.193l4.193 4.198 4.193-4.198q0.193-0.193 0.474-0.193z"></path></svg>',prev:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path class="[ICON_CLASS]-arrows-default" d="M14.57 8.643q0 0.473-0.29 0.808t-0.754 0.335h-6.286l2.616 2.625q0.339 0.321 0.339 0.804t-0.339 0.804l-0.67 0.679q-0.33 0.33-0.804 0.33-0.464 0-0.813-0.33l-5.813-5.821q-0.33-0.33-0.33-0.804 0-0.464 0.33-0.813l5.813-5.804q0.339-0.339 0.813-0.339 0.464 0 0.804 0.339l0.67 0.661q0.339 0.339 0.339 0.813t-0.339 0.813l-2.616 2.616h6.286q0.464 0 0.754 0.335t0.29 0.808z"></path><path class="[ICON_CLASS]-arrows-flat" d="M6.667 3q0.276 0 0.471 0.195t0.195 0.471q0 0.281-0.198 0.474l-3.526 3.526h10.391q0.276 0 0.471 0.195t0.195 0.471-0.195 0.471-0.471 0.195h-10.391l3.526 3.526q0.198 0.193 0.198 0.474 0 0.276-0.195 0.471t-0.471 0.195q-0.281 0-0.474-0.193l-4.667-4.667q-0.193-0.203-0.193-0.474t0.193-0.474l4.667-4.667q0.198-0.193 0.474-0.193z"></path><path class="[ICON_CLASS]-arrows-1" d="M10 16l3-3-5-5 5-5-3-3-8 8z"></path><path class="[ICON_CLASS]-arrows-2" d="M0 8l16 7-3-7 3-7z"></path><path class="[ICON_CLASS]-arrows-3" d="M12 0l-8 8 8 8-4-8z"></path><path class="[ICON_CLASS]-arrows-4" d="M10 4l-4 4 4 4z"></path><path class="[ICON_CLASS]-arrows-5" d="M0 8l8 8v-5h8l0-6h-8v-5l-8 8zM2.375 7.039l0.25-0.25v2.422l-0.25-0.25v-1.922zM2.125 8.711l-0.25-0.25v-0.922l0.25-0.25v1.422zM2.875 6.539l0.25-0.25v3.422l-0.25-0.25v-2.922zM3.375 6.039l0.25-0.25v4.422l-0.25-0.25v-3.922zM3.875 5.539l0.25-0.25v5.422l-0.25-0.25v-4.922zM4.375 5.039l0.25-0.25v6.422l-0.25-0.25v-5.922zM4.875 4.539l0.25-0.25v7.422l-0.25-0.25v-6.922zM5.375 4.039l0.25-0.25v8.422l-0.25-0.25v-7.922zM5.875 3.539l0.25-0.25v9.422l-0.25-0.25v-8.922zM6.375 3.039l0.25-0.25v10.422l-0.25-0.25v-9.922zM1.625 7.789v0.422l-0.211-0.211 0.211-0.211zM7.375 10v-4h0.25v4h-0.25zM7.875 10v-4h0.25v4h-0.25zM8.375 10v-4h0.25v4h-0.25zM8.875 10v-4h0.25v4h-0.25zM9.375 10v-4h0.25v4h-0.25zM9.875 10v-4h0.25v4h-0.25zM10.375 10v-4h0.25v4h-0.25zM10.875 10v-4h0.25v4h-0.25zM11.375 10v-4h0.25v4h-0.25zM11.875 10v-4h0.25v4h-0.25zM12.375 10v-4h0.25v4h-0.25zM12.875 10v-4h0.25v4h-0.25zM13.375 10v-4h0.25v4h-0.25zM13.875 10v-4h0.25v4h-0.25zM14.375 10v-4h0.25v4h-0.25zM15 10h-0.125v-4h0.125l-0 4zM7 6h0.125v4h-0.125v3.586l-0.125-0.125v-10.922l0.125-0.125v3.586z"></path><path class="[ICON_CLASS]-arrows-6" d="M0 8l8 8v-5h8l0-6h-8v-5z"></path><path class="[ICON_CLASS]-arrows-7" d="M8 0c4.418 0 8 3.582 8 8s-3.582 8-8 8-8-3.582-8-8 3.582-8 8-8zM3.293 8.707l4 4c0.195 0.195 0.451 0.293 0.707 0.293s0.512-0.098 0.707-0.293c0.391-0.391 0.391-1.024 0-1.414l-2.293-2.293h5.586c0.552 0 1-0.448 1-1s-0.448-1-1-1h-5.586l2.293-2.293c0.391-0.391 0.391-1.024 0-1.414s-1.024-0.391-1.414 0l-4 4c-0.391 0.391-0.391 1.024-0 1.414z"></path><path class="[ICON_CLASS]-arrows-8" d="M0 16h16v-16h-16l0 16zM14 2v12h-12l-0-12h12zM7 11.5l-3.5-3.5 3.5-3.5v2.5h5v2h-5v2.5z"></path><path class="[ICON_CLASS]-arrows-9" d="M15 5h1v6h-1zM13 5h1v6h-1zM11 5h1v6h-1zM0 8l7-7v4h3v6h-3v4z"></path><path class="[ICON_CLASS]-arrows-10" d="M8 0c4.418 0 8 3.582 8 8s-3.582 8-8 8-8-3.582-8-8 3.582-8 8-8zM7 11.5v-2.5h5v-2h-5v-2.5l-3.5 3.5 3.5 3.5z"></path><path class="[ICON_CLASS]-arrows-11" d="M8 0c4.418 0 8 3.582 8 8s-3.582 8-8 8-8-3.582-8-8 3.582-8 8-8zM8 14.5c3.59 0 6.5-2.91 6.5-6.5s-2.91-6.5-6.5-6.5-6.5 2.91-6.5 6.5 2.91 6.5 6.5 6.5zM3.293 7.293l4-4c0.391-0.391 1.024-0.391 1.414 0s0.391 1.024 0 1.414l-2.293 2.293h5.586c0.552 0 1 0.448 1 1s-0.448 1-1 1h-5.586l2.293 2.293c0.391 0.391 0.391 1.024 0 1.414-0.195 0.195-0.451 0.293-0.707 0.293s-0.512-0.098-0.707-0.293l-4-4c-0.39-0.391-0.39-1.024 0-1.414z"></path></svg>',next:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path class="[ICON_CLASS]-arrows-default" d="M14.57 8.071q0 0.482-0.33 0.813l-5.813 5.813q-0.348 0.33-0.813 0.33-0.455 0-0.804-0.33l-0.67-0.67q-0.339-0.339-0.339-0.813t0.339-0.813l2.616-2.616h-6.286q-0.464 0-0.754-0.335t-0.29-0.808v-1.143q0-0.473 0.29-0.808t0.754-0.335h6.286l-2.616-2.625q-0.339-0.321-0.339-0.804t0.339-0.804l0.67-0.67q0.339-0.339 0.804-0.339 0.473 0 0.813 0.339l5.813 5.813q0.33 0.313 0.33 0.804z"></path><path class="[ICON_CLASS]-arrows-flat" d="M9.333 3q0.281 0 0.474 0.193l4.667 4.667q0.193 0.193 0.193 0.474t-0.193 0.474l-4.667 4.667q-0.193 0.193-0.474 0.193-0.286 0-0.477-0.19t-0.19-0.477q0-0.281 0.193-0.474l3.531-3.526h-10.391q-0.276 0-0.471-0.195t-0.195-0.471 0.195-0.471 0.471-0.195h10.391l-3.531-3.526q-0.193-0.193-0.193-0.474 0-0.286 0.19-0.477t0.477-0.19z"></path><path class="[ICON_CLASS]-arrows-1" d="M6 0l-3 3 5 5-5 5 3 3 8-8z"></path><path class="[ICON_CLASS]-arrows-2" d="M16 8l-16-7 3 7-3 7z"></path><path class="[ICON_CLASS]-arrows-3" d="M4 16l8-8-8-8 4 8z"></path><path class="[ICON_CLASS]-arrows-4" d="M6 12l4-4-4-4z"></path><path class="[ICON_CLASS]-arrows-5" d="M16 8l-8-8v5h-8l-0 6h8v5l8-8zM13.625 8.961l-0.25 0.25v-2.422l0.25 0.25v1.922zM13.875 7.289l0.25 0.25v0.922l-0.25 0.25v-1.422zM13.125 9.461l-0.25 0.25v-3.422l0.25 0.25v2.922zM12.625 9.961l-0.25 0.25v-4.422l0.25 0.25v3.922zM12.125 10.461l-0.25 0.25v-5.422l0.25 0.25v4.922zM11.625 10.961l-0.25 0.25v-6.422l0.25 0.25v5.922zM11.125 11.461l-0.25 0.25v-7.422l0.25 0.25v6.922zM10.625 11.961l-0.25 0.25v-8.422l0.25 0.25v7.922zM10.125 12.461l-0.25 0.25v-9.422l0.25 0.25v8.922zM9.625 12.961l-0.25 0.25v-10.422l0.25 0.25v9.922zM14.375 8.211v-0.422l0.211 0.211-0.211 0.211zM8.625 6v4h-0.25v-4h0.25zM8.125 6v4h-0.25v-4h0.25zM7.625 6v4h-0.25v-4h0.25zM7.125 6v4h-0.25v-4h0.25zM6.625 6v4h-0.25v-4h0.25zM6.125 6v4h-0.25v-4h0.25zM5.625 6v4h-0.25v-4h0.25zM5.125 6v4h-0.25v-4h0.25zM4.625 6v4h-0.25v-4h0.25zM4.125 6v4h-0.25v-4h0.25zM3.625 6v4h-0.25v-4h0.25zM3.125 6v4h-0.25v-4h0.25zM2.625 6v4h-0.25v-4h0.25zM2.125 6v4h-0.25v-4h0.25zM1.625 6v4h-0.25v-4h0.25zM1 6h0.125v4h-0.125l0-4zM9 10h-0.125v-4h0.125v-3.586l0.125 0.125v10.922l-0.125 0.125v-3.586z"></path><path class="[ICON_CLASS]-arrows-6" d="M16 8l-8-8v5h-8l-0 6h8v5z"></path><path class="[ICON_CLASS]-arrows-7" d="M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8 8-3.582 8-8-3.582-8-8-8zM12.707 8.707l-4 4c-0.195 0.195-0.451 0.293-0.707 0.293s-0.512-0.098-0.707-0.293c-0.391-0.391-0.391-1.024 0-1.414l2.293-2.293h-5.586c-0.552 0-1-0.448-1-1s0.448-1 1-1h5.586l-2.293-2.293c-0.391-0.391-0.391-1.024 0-1.414s1.024-0.391 1.414 0l4 4c0.391 0.391 0.391 1.024 0 1.414z"></path><path class="[ICON_CLASS]-arrows-8" d="M16 16h-16v-16h16l-0 16zM2 2v12h12l0-12h-12zM9 11.5l3.5-3.5-3.5-3.5v2.5h-5v2h5v2.5z"></path><path class="[ICON_CLASS]-arrows-9" d="M0 5h1v6h-1zM2 5h1v6h-1zM4 5h1v6h-1zM16 8l-7-7v4h-3v6h3v4z"></path><path class="[ICON_CLASS]-arrows-10" d="M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8 8-3.582 8-8-3.582-8-8-8zM9 11.5v-2.5h-5v-2h5v-2.5l3.5 3.5-3.5 3.5z"></path><path class="[ICON_CLASS]-arrows-11" d="M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8 8-3.582 8-8-3.582-8-8-8zM8 14.5c-3.59 0-6.5-2.91-6.5-6.5s2.91-6.5 6.5-6.5 6.5 2.91 6.5 6.5-2.91 6.5-6.5 6.5zM12.707 7.293l-4-4c-0.39-0.391-1.024-0.391-1.414 0s-0.391 1.024 0 1.414l2.293 2.293h-5.586c-0.552 0-1 0.448-1 1s0.448 1 1 1h5.586l-2.293 2.293c-0.391 0.391-0.391 1.024 0 1.414 0.195 0.195 0.451 0.293 0.707 0.293s0.512-0.098 0.707-0.293l4-4c0.39-0.391 0.39-1.024 0-1.414z"></path></svg>',error:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8 1.5c-1.736 0-3.369 0.676-4.596 1.904s-1.904 2.86-1.904 4.596c0 1.736 0.676 3.369 1.904 4.596s2.86 1.904 4.596 1.904c1.736 0 3.369-0.676 4.596-1.904s1.904-2.86 1.904-4.596c0-1.736-0.676-3.369-1.904-4.596s-2.86-1.904-4.596-1.904zM8 0v0c4.418 0 8 3.582 8 8s-3.582 8-8 8c-4.418 0-8-3.582-8-8s3.582-8 8-8zM7 11h2v2h-2zM7 3h2v6h-2z"></path></svg>',spinner:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path class="[CURRENT_ICON_CLASS]-default" d="M3 8c0-0.19 0.011-0.378 0.032-0.563l-2.89-0.939c-0.092 0.487-0.141 0.989-0.141 1.502 0 2.3 0.971 4.374 2.526 5.833l1.786-2.458c-0.814-0.889-1.312-2.074-1.312-3.375zM13 8c0 1.301-0.497 2.486-1.312 3.375l1.786 2.458c1.555-1.459 2.526-3.533 2.526-5.833 0-0.513-0.049-1.015-0.141-1.502l-2.89 0.939c0.021 0.185 0.032 0.373 0.032 0.563zM9 3.1c1.436 0.292 2.649 1.199 3.351 2.435l2.89-0.939c-1.144-2.428-3.473-4.188-6.241-4.534v3.038zM3.649 5.535c0.702-1.236 1.914-2.143 3.351-2.435v-3.038c-2.769 0.345-5.097 2.105-6.241 4.534l2.89 0.939zM10.071 12.552c-0.631 0.288-1.332 0.448-2.071 0.448s-1.44-0.16-2.071-0.448l-1.786 2.458c1.144 0.631 2.458 0.99 3.857 0.99s2.713-0.359 3.857-0.99l-1.786-2.458z"></path><path class="[CURRENT_ICON_CLASS]-flat" d="M10.833 10.495q0.271 0 0.469 0.198l1.885 1.885q0.198 0.198 0.198 0.474 0 0.271-0.198 0.469t-0.469 0.198q-0.276 0-0.474-0.198l-1.885-1.885q-0.193-0.193-0.193-0.474 0-0.276 0.195-0.471t0.471-0.195zM5.172 10.495q0.276 0 0.471 0.195t0.195 0.471-0.198 0.474l-1.885 1.885q-0.198 0.198-0.469 0.198-0.276 0-0.471-0.195t-0.195-0.471q0-0.281 0.193-0.474l1.885-1.885q0.198-0.198 0.474-0.198zM1.333 7.667h2.667q0.276 0 0.471 0.195t0.195 0.471-0.195 0.471-0.471 0.195h-2.667q-0.276 0-0.471-0.195t-0.195-0.471 0.195-0.471 0.471-0.195zM8 11.667q0.276 0 0.471 0.195t0.195 0.471v2.667q0 0.276-0.195 0.471t-0.471 0.195-0.471-0.195-0.195-0.471v-2.667q0-0.276 0.195-0.471t0.471-0.195zM3.286 2.948q0.271 0 0.469 0.198l1.885 1.885q0.198 0.198 0.198 0.469 0 0.276-0.195 0.471t-0.471 0.195q-0.281 0-0.474-0.193l-1.885-1.885q-0.193-0.193-0.193-0.474 0-0.276 0.195-0.471t0.471-0.195zM12 7.667h2.667q0.276 0 0.471 0.195t0.195 0.471-0.195 0.471-0.471 0.195h-2.667q-0.276 0-0.471-0.195t-0.195-0.471 0.195-0.471 0.471-0.195zM8 1q0.276 0 0.471 0.195t0.195 0.471v2.667q0 0.276-0.195 0.471t-0.471 0.195-0.471-0.195-0.195-0.471v-2.667q0-0.276 0.195-0.471t0.471-0.195zM12.719 2.948q0.271 0 0.469 0.198t0.198 0.469q0 0.276-0.198 0.474l-1.885 1.885q-0.193 0.193-0.469 0.193-0.286 0-0.477-0.19t-0.19-0.477q0-0.276 0.193-0.469l1.885-1.885q0.198-0.198 0.474-0.198z"></path><path class="[CURRENT_ICON_CLASS]-1" d="M5.569 12q0 0.536-0.379 0.911t-0.906 0.375q-0.536 0-0.911-0.375t-0.375-0.911 0.375-0.911 0.911-0.375q0.527 0 0.906 0.375t0.379 0.911zM9.426 13.714q0 0.473-0.335 0.808t-0.808 0.335-0.808-0.335-0.335-0.808 0.335-0.808 0.808-0.335 0.808 0.335 0.335 0.808zM3.857 8q0 0.589-0.42 1.009t-1.009 0.42-1.009-0.42-0.42-1.009 0.42-1.009 1.009-0.42 1.009 0.42 0.42 1.009zM13.283 12q0 0.411-0.295 0.705t-0.705 0.295-0.705-0.295-0.295-0.705 0.295-0.705 0.705-0.295 0.705 0.295 0.295 0.705zM5.854 4q0 0.652-0.46 1.112t-1.112 0.46-1.112-0.46-0.46-1.112 0.46-1.112 1.112-0.46 1.112 0.46 0.46 1.112zM9.997 2.286q0 0.714-0.5 1.214t-1.214 0.5-1.214-0.5-0.5-1.214 0.5-1.214 1.214-0.5 1.214 0.5 0.5 1.214zM14.844 8q0 0.357-0.25 0.607t-0.607 0.25-0.607-0.25-0.25-0.607 0.25-0.607 0.607-0.25 0.607 0.25 0.25 0.607zM12.997 4q0 0.295-0.21 0.504t-0.504 0.21-0.504-0.21-0.21-0.504 0.21-0.504 0.504-0.21 0.504 0.21 0.21 0.504z"></path><path class="[CURRENT_ICON_CLASS]-2" d="M16 8c-0.020-1.045-0.247-2.086-0.665-3.038-0.417-0.953-1.023-1.817-1.766-2.53s-1.624-1.278-2.578-1.651c-0.953-0.374-1.978-0.552-2.991-0.531-1.013 0.020-2.021 0.24-2.943 0.646-0.923 0.405-1.758 0.992-2.449 1.712s-1.237 1.574-1.597 2.497c-0.361 0.923-0.533 1.914-0.512 2.895 0.020 0.981 0.234 1.955 0.627 2.847 0.392 0.892 0.961 1.7 1.658 2.368s1.523 1.195 2.416 1.543c0.892 0.348 1.851 0.514 2.799 0.493 0.949-0.020 1.89-0.227 2.751-0.608 0.862-0.379 1.642-0.929 2.287-1.604s1.154-1.472 1.488-2.335c0.204-0.523 0.342-1.069 0.415-1.622 0.019 0.001 0.039 0.002 0.059 0.002 0.552 0 1-0.448 1-1 0-0.028-0.001-0.056-0.004-0.083h0.004zM14.411 10.655c-0.367 0.831-0.898 1.584-1.55 2.206s-1.422 1.112-2.254 1.434c-0.832 0.323-1.723 0.476-2.608 0.454-0.884-0.020-1.759-0.215-2.56-0.57-0.801-0.354-1.526-0.867-2.125-1.495s-1.071-1.371-1.38-2.173c-0.31-0.801-0.457-1.66-0.435-2.512s0.208-1.694 0.551-2.464c0.342-0.77 0.836-1.468 1.441-2.044s1.321-1.029 2.092-1.326c0.771-0.298 1.596-0.438 2.416-0.416s1.629 0.202 2.368 0.532c0.74 0.329 1.41 0.805 1.963 1.387s0.988 1.27 1.272 2.011c0.285 0.74 0.418 1.532 0.397 2.32h0.004c-0.002 0.027-0.004 0.055-0.004 0.083 0 0.516 0.39 0.94 0.892 0.994-0.097 0.544-0.258 1.075-0.481 1.578z"></path><path class="[CURRENT_ICON_CLASS]-3" d="M7 4c0-0.552 0.448-1 1-1s1 0.448 1 1c0 0.552-0.448 1-1 1s-1-0.448-1-1zM8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8 8-3.582 8-8-3.582-8-8-8zM8 13c-0.552 0-1-0.448-1-1s0.448-1 1-1c0.552 0 1 0.448 1 1s-0.448 1-1 1zM8 8c-1.795 0-3.25 1.455-3.25 3.25s1.455 3.25 3.25 3.25c-3.59 0-6.5-2.91-6.5-6.5s2.91-6.5 6.5-6.5c1.795 0 3.25 1.455 3.25 3.25s-1.455 3.25-3.25 3.25z"></path><path class="[CURRENT_ICON_CLASS]-4" d="M6 2c0-1.105 0.895-2 2-2s2 0.895 2 2c0 1.105-0.895 2-2 2s-2-0.895-2-2zM10.243 3.757c0-1.105 0.895-2 2-2s2 0.895 2 2c0 1.105-0.895 2-2 2s-2-0.895-2-2zM13 8c0-0.552 0.448-1 1-1s1 0.448 1 1c0 0.552-0.448 1-1 1s-1-0.448-1-1zM11.243 12.243c0-0.552 0.448-1 1-1s1 0.448 1 1c0 0.552-0.448 1-1 1s-1-0.448-1-1zM7 14c0 0 0 0 0 0 0-0.552 0.448-1 1-1s1 0.448 1 1c0 0 0 0 0 0 0 0.552-0.448 1-1 1s-1-0.448-1-1zM2.757 12.243c0 0 0 0 0 0 0-0.552 0.448-1 1-1s1 0.448 1 1c0 0 0 0 0 0 0 0.552-0.448 1-1 1s-1-0.448-1-1zM2.257 3.757c0 0 0 0 0 0 0-0.828 0.672-1.5 1.5-1.5s1.5 0.672 1.5 1.5c0 0 0 0 0 0 0 0.828-0.672 1.5-1.5 1.5s-1.5-0.672-1.5-1.5zM0.875 8c0-0.621 0.504-1.125 1.125-1.125s1.125 0.504 1.125 1.125c0 0.621-0.504 1.125-1.125 1.125s-1.125-0.504-1.125-1.125z"></path><path class="[CURRENT_ICON_CLASS]-5" d="M8 0c-4.355 0-7.898 3.481-7.998 7.812 0.092-3.779 2.966-6.812 6.498-6.812 3.59 0 6.5 3.134 6.5 7 0 0.828 0.672 1.5 1.5 1.5s1.5-0.672 1.5-1.5c0-4.418-3.582-8-8-8zM8 16c4.355 0 7.898-3.481 7.998-7.812-0.092 3.779-2.966 6.812-6.498 6.812-3.59 0-6.5-3.134-6.5-7 0-0.828-0.672-1.5-1.5-1.5s-1.5 0.672-1.5 1.5c0 4.418 3.582 8 8 8z"></path><path class="[CURRENT_ICON_CLASS]-6" d="M0.001 8.025l-0 0c0 0 0 0.001 0 0.003 0.002 0.061 0.009 0.12 0.021 0.177 0.003 0.027 0.007 0.057 0.011 0.090 0.003 0.029 0.007 0.061 0.011 0.095 0.006 0.040 0.012 0.083 0.019 0.128 0.013 0.090 0.028 0.189 0.045 0.296 0.021 0.101 0.044 0.21 0.068 0.326 0.011 0.058 0.028 0.117 0.044 0.178s0.032 0.123 0.049 0.188c0.009 0.032 0.016 0.065 0.027 0.097s0.021 0.065 0.031 0.098 0.043 0.134 0.065 0.203c0.006 0.017 0.011 0.035 0.017 0.052s0.013 0.034 0.019 0.052 0.026 0.070 0.039 0.105c0.027 0.070 0.053 0.142 0.081 0.215 0.031 0.071 0.062 0.144 0.094 0.218 0.016 0.037 0.032 0.074 0.048 0.111s0.035 0.073 0.053 0.111 0.073 0.148 0.11 0.224c0.039 0.075 0.081 0.149 0.123 0.224 0.021 0.037 0.042 0.075 0.063 0.113s0.045 0.074 0.068 0.112 0.093 0.149 0.14 0.224c0.198 0.295 0.417 0.587 0.66 0.864 0.245 0.275 0.511 0.535 0.792 0.775 0.284 0.236 0.582 0.452 0.886 0.642 0.306 0.188 0.619 0.349 0.928 0.487 0.078 0.032 0.156 0.063 0.232 0.095 0.038 0.015 0.076 0.032 0.115 0.046s0.077 0.027 0.115 0.041 0.151 0.054 0.226 0.078c0.075 0.022 0.15 0.044 0.224 0.066 0.037 0.011 0.073 0.022 0.109 0.031s0.073 0.018 0.109 0.027 0.143 0.035 0.213 0.052c0.070 0.014 0.139 0.027 0.207 0.040 0.034 0.006 0.067 0.013 0.101 0.019 0.017 0.003 0.033 0.006 0.049 0.009s0.033 0.005 0.049 0.007c0.066 0.009 0.13 0.018 0.192 0.027 0.031 0.004 0.062 0.009 0.093 0.013s0.061 0.006 0.091 0.009 0.118 0.010 0.174 0.015c0.056 0.005 0.111 0.011 0.164 0.012 0.004 0 0.007 0 0.011 0 0.010 0.544 0.453 0.982 1 0.982 0.008 0 0.017-0 0.025-0.001v0c0 0 0.001-0 0.004-0 0.061-0.002 0.12-0.009 0.177-0.021 0.027-0.003 0.057-0.007 0.090-0.011 0.029-0.003 0.061-0.007 0.095-0.011 0.040-0.006 0.083-0.012 0.128-0.019 0.090-0.013 0.189-0.028 0.296-0.045 0.101-0.021 0.21-0.044 0.326-0.068 0.058-0.011 0.117-0.028 0.178-0.044s0.123-0.033 0.188-0.049c0.032-0.009 0.065-0.016 0.097-0.027s0.065-0.021 0.098-0.031 0.134-0.043 0.203-0.065c0.017-0.006 0.035-0.011 0.052-0.017s0.034-0.013 0.052-0.019 0.070-0.026 0.105-0.039c0.070-0.027 0.142-0.053 0.215-0.081 0.071-0.031 0.144-0.062 0.218-0.094 0.037-0.016 0.074-0.032 0.111-0.048s0.073-0.035 0.111-0.053 0.148-0.073 0.224-0.11c0.075-0.039 0.149-0.081 0.224-0.123 0.037-0.021 0.075-0.042 0.113-0.063s0.074-0.045 0.112-0.068 0.149-0.093 0.224-0.14c0.295-0.197 0.587-0.417 0.864-0.66 0.275-0.245 0.535-0.511 0.775-0.792 0.236-0.284 0.452-0.582 0.642-0.886 0.188-0.306 0.349-0.619 0.487-0.928 0.032-0.078 0.063-0.156 0.095-0.232 0.015-0.038 0.032-0.076 0.046-0.115s0.027-0.077 0.040-0.115 0.054-0.151 0.078-0.226c0.022-0.075 0.044-0.15 0.066-0.224 0.011-0.037 0.022-0.073 0.031-0.109s0.018-0.073 0.027-0.109 0.035-0.143 0.052-0.213c0.014-0.070 0.027-0.139 0.040-0.207 0.006-0.034 0.013-0.067 0.019-0.101 0.003-0.017 0.006-0.033 0.009-0.049s0.005-0.033 0.007-0.050c0.009-0.065 0.018-0.13 0.027-0.192 0.004-0.031 0.009-0.062 0.013-0.093s0.006-0.061 0.009-0.091 0.010-0.118 0.015-0.174c0.005-0.056 0.011-0.111 0.012-0.165 0-0.008 0.001-0.016 0.001-0.025 0.55-0.002 0.996-0.449 0.996-1 0-0.008-0-0.017-0.001-0.025h0c0 0-0-0.001-0-0.003-0.002-0.061-0.009-0.12-0.021-0.177-0.003-0.027-0.007-0.057-0.011-0.090-0.003-0.029-0.007-0.061-0.011-0.095-0.006-0.040-0.012-0.083-0.019-0.128-0.013-0.090-0.028-0.189-0.045-0.296-0.021-0.101-0.044-0.21-0.068-0.326-0.011-0.058-0.028-0.117-0.044-0.178s-0.032-0.123-0.049-0.188c-0.009-0.032-0.016-0.065-0.027-0.097s-0.021-0.065-0.031-0.098-0.043-0.134-0.065-0.203c-0.005-0.017-0.011-0.035-0.017-0.052s-0.013-0.034-0.019-0.052-0.026-0.070-0.039-0.105c-0.027-0.070-0.053-0.142-0.081-0.215-0.031-0.071-0.062-0.144-0.094-0.218-0.016-0.037-0.032-0.074-0.048-0.111s-0.035-0.073-0.053-0.111-0.073-0.148-0.11-0.224c-0.039-0.075-0.081-0.149-0.123-0.224-0.021-0.037-0.042-0.075-0.063-0.113s-0.045-0.074-0.068-0.112-0.093-0.149-0.14-0.224c-0.197-0.295-0.417-0.587-0.66-0.864-0.245-0.275-0.511-0.535-0.792-0.775-0.284-0.236-0.582-0.452-0.886-0.642-0.306-0.188-0.619-0.349-0.928-0.487-0.078-0.032-0.156-0.063-0.232-0.095-0.038-0.015-0.076-0.032-0.115-0.046s-0.077-0.027-0.115-0.040-0.151-0.054-0.226-0.078c-0.075-0.022-0.15-0.044-0.224-0.066-0.037-0.010-0.073-0.022-0.109-0.031s-0.073-0.018-0.109-0.027-0.143-0.035-0.213-0.052c-0.070-0.014-0.139-0.027-0.207-0.040-0.034-0.006-0.067-0.013-0.101-0.019-0.017-0.003-0.033-0.006-0.049-0.009s-0.033-0.005-0.049-0.007c-0.066-0.009-0.13-0.018-0.192-0.027-0.031-0.004-0.062-0.009-0.093-0.013s-0.061-0.006-0.091-0.009-0.118-0.010-0.174-0.015c-0.056-0.005-0.111-0.011-0.164-0.012-0.013-0-0.026-0.001-0.039-0.001-0.010-0.543-0.454-0.981-0.999-0.981-0.008 0-0.017 0-0.025 0.001l-0-0c0 0-0.001 0-0.003 0-0.061 0.002-0.12 0.009-0.177 0.021-0.027 0.003-0.057 0.007-0.090 0.011-0.029 0.003-0.061 0.007-0.095 0.011-0.040 0.006-0.083 0.012-0.128 0.019-0.090 0.013-0.189 0.028-0.296 0.045-0.101 0.021-0.21 0.044-0.326 0.068-0.058 0.011-0.117 0.028-0.178 0.044s-0.123 0.033-0.188 0.049c-0.032 0.009-0.065 0.016-0.097 0.027s-0.065 0.021-0.098 0.031-0.134 0.043-0.203 0.065c-0.017 0.006-0.035 0.011-0.052 0.017s-0.034 0.013-0.052 0.019-0.070 0.026-0.105 0.039c-0.070 0.027-0.142 0.053-0.215 0.081-0.071 0.031-0.144 0.062-0.218 0.094-0.037 0.016-0.074 0.032-0.111 0.048s-0.073 0.035-0.111 0.053-0.148 0.073-0.224 0.11c-0.075 0.039-0.149 0.081-0.224 0.123-0.037 0.021-0.075 0.042-0.113 0.063s-0.074 0.045-0.112 0.068-0.149 0.093-0.224 0.14c-0.295 0.198-0.587 0.417-0.864 0.66-0.275 0.245-0.535 0.511-0.775 0.792-0.236 0.284-0.452 0.582-0.642 0.886-0.188 0.306-0.349 0.619-0.487 0.928-0.032 0.078-0.063 0.156-0.095 0.232-0.015 0.038-0.032 0.076-0.046 0.115s-0.027 0.077-0.040 0.115-0.054 0.151-0.078 0.226c-0.022 0.075-0.044 0.15-0.066 0.224-0.011 0.037-0.022 0.073-0.032 0.109s-0.018 0.073-0.027 0.109-0.035 0.143-0.052 0.213c-0.014 0.070-0.027 0.139-0.040 0.207-0.006 0.034-0.013 0.067-0.019 0.101-0.003 0.017-0.006 0.033-0.009 0.049s-0.005 0.033-0.007 0.050c-0.009 0.065-0.018 0.13-0.027 0.192-0.004 0.031-0.009 0.062-0.013 0.093s-0.006 0.061-0.009 0.091-0.010 0.118-0.015 0.174c-0.005 0.056-0.011 0.111-0.012 0.165-0 0.009-0.001 0.017-0.001 0.025-0.537 0.017-0.967 0.458-0.967 0.999 0 0.008 0 0.017 0.001 0.025zM1.149 7.011c0.001-0.003 0.001-0.006 0.002-0.009 0.010-0.051 0.026-0.102 0.040-0.155s0.030-0.107 0.045-0.163c0.008-0.028 0.015-0.056 0.024-0.084s0.019-0.057 0.028-0.086 0.038-0.116 0.058-0.176c0.005-0.015 0.010-0.030 0.015-0.045s0.012-0.030 0.017-0.045 0.023-0.060 0.035-0.091 0.048-0.123 0.073-0.186c0.028-0.062 0.056-0.125 0.084-0.189 0.014-0.032 0.028-0.064 0.043-0.096s0.032-0.064 0.048-0.096 0.065-0.128 0.098-0.194c0.034-0.065 0.073-0.128 0.109-0.194 0.018-0.032 0.037-0.065 0.056-0.098s0.040-0.064 0.061-0.096c0.041-0.064 0.082-0.129 0.124-0.194 0.176-0.255 0.369-0.506 0.583-0.744 0.217-0.236 0.451-0.459 0.697-0.665 0.25-0.202 0.511-0.385 0.776-0.547 0.268-0.159 0.541-0.294 0.808-0.41 0.068-0.027 0.135-0.053 0.202-0.079 0.033-0.013 0.066-0.027 0.099-0.038s0.067-0.022 0.1-0.033 0.131-0.045 0.196-0.065c0.065-0.018 0.13-0.036 0.194-0.054 0.032-0.009 0.063-0.019 0.095-0.026s0.063-0.014 0.094-0.021 0.123-0.028 0.184-0.042c0.061-0.011 0.12-0.021 0.179-0.032 0.029-0.005 0.058-0.010 0.087-0.015 0.014-0.003 0.029-0.005 0.043-0.008s0.029-0.003 0.043-0.005c0.056-0.007 0.112-0.014 0.166-0.020 0.027-0.003 0.053-0.007 0.080-0.010s0.053-0.004 0.078-0.006 0.102-0.007 0.15-0.011c0.049-0.003 0.095-0.008 0.142-0.008 0.091-0.002 0.177-0.004 0.256-0.006 0.073 0.003 0.14 0.005 0.2 0.007 0.030 0.001 0.058 0.002 0.085 0.002 0.033 0.002 0.064 0.004 0.093 0.006 0.033 0.002 0.063 0.004 0.091 0.006 0.051 0.008 0.103 0.012 0.156 0.012 0.007 0 0.015-0 0.022-0.001 0.002 0 0.004 0 0.004 0v-0c0.487-0.012 0.887-0.372 0.962-0.84 0.008 0.002 0.017 0.004 0.025 0.006 0.051 0.010 0.102 0.026 0.155 0.040s0.107 0.030 0.163 0.045c0.028 0.008 0.056 0.015 0.084 0.024s0.057 0.019 0.086 0.028 0.116 0.038 0.176 0.058c0.015 0.005 0.030 0.010 0.045 0.015s0.030 0.012 0.045 0.017 0.060 0.023 0.091 0.035 0.123 0.048 0.186 0.073c0.062 0.028 0.125 0.056 0.189 0.084 0.032 0.014 0.064 0.028 0.096 0.043s0.064 0.032 0.096 0.048 0.128 0.065 0.194 0.098c0.065 0.034 0.129 0.073 0.194 0.109 0.032 0.018 0.065 0.037 0.098 0.056s0.064 0.040 0.096 0.061 0.129 0.082 0.194 0.124c0.255 0.176 0.506 0.369 0.744 0.583 0.236 0.217 0.459 0.451 0.665 0.697 0.202 0.25 0.385 0.511 0.547 0.776 0.159 0.268 0.294 0.541 0.41 0.808 0.027 0.068 0.053 0.135 0.079 0.202 0.013 0.033 0.027 0.066 0.038 0.099s0.022 0.067 0.033 0.1 0.045 0.131 0.065 0.196c0.018 0.065 0.036 0.13 0.054 0.194 0.009 0.032 0.019 0.063 0.026 0.095s0.014 0.063 0.021 0.094 0.028 0.123 0.042 0.184c0.011 0.061 0.021 0.12 0.032 0.179 0.005 0.029 0.010 0.058 0.015 0.087 0.003 0.014 0.005 0.029 0.008 0.043s0.003 0.029 0.005 0.043c0.007 0.056 0.014 0.112 0.020 0.166 0.003 0.027 0.007 0.053 0.010 0.080s0.004 0.053 0.006 0.078 0.007 0.102 0.011 0.15c0.003 0.049 0.008 0.095 0.008 0.142 0.002 0.091 0.004 0.177 0.006 0.256-0.003 0.073-0.005 0.14-0.007 0.2-0.001 0.030-0.002 0.058-0.002 0.085-0.002 0.033-0.004 0.064-0.006 0.093-0.002 0.033-0.004 0.063-0.006 0.091-0.008 0.051-0.012 0.103-0.012 0.156 0 0.007 0 0.015 0.001 0.022-0 0.002-0 0.004-0 0.004h0c0.012 0.481 0.363 0.877 0.823 0.959-0.001 0.005-0.002 0.009-0.003 0.014-0.010 0.051-0.025 0.102-0.040 0.155s-0.030 0.107-0.045 0.163c-0.008 0.028-0.015 0.056-0.024 0.084s-0.019 0.057-0.028 0.086-0.039 0.116-0.058 0.176c-0.005 0.015-0.010 0.030-0.015 0.045s-0.012 0.030-0.017 0.045-0.023 0.060-0.035 0.091-0.048 0.123-0.073 0.186c-0.028 0.062-0.056 0.125-0.084 0.189-0.014 0.032-0.028 0.064-0.043 0.096s-0.032 0.064-0.048 0.096-0.065 0.128-0.098 0.194c-0.034 0.065-0.073 0.129-0.109 0.194-0.018 0.032-0.037 0.065-0.056 0.098s-0.040 0.064-0.061 0.096-0.082 0.129-0.124 0.194c-0.176 0.255-0.369 0.506-0.583 0.744-0.217 0.236-0.451 0.459-0.697 0.665-0.25 0.202-0.511 0.385-0.776 0.547-0.268 0.159-0.541 0.294-0.808 0.41-0.068 0.027-0.135 0.053-0.202 0.079-0.033 0.013-0.066 0.027-0.099 0.038s-0.067 0.022-0.1 0.033-0.131 0.045-0.196 0.065c-0.065 0.018-0.13 0.036-0.194 0.054-0.032 0.009-0.063 0.019-0.095 0.026s-0.063 0.014-0.094 0.021-0.123 0.028-0.184 0.042c-0.061 0.011-0.12 0.021-0.179 0.032-0.029 0.005-0.058 0.010-0.087 0.015-0.014 0.003-0.028 0.005-0.043 0.008s-0.029 0.003-0.043 0.005c-0.056 0.007-0.112 0.014-0.166 0.020-0.027 0.003-0.053 0.007-0.080 0.010s-0.053 0.004-0.078 0.006-0.102 0.007-0.15 0.011c-0.049 0.003-0.095 0.008-0.142 0.008-0.091 0.002-0.177 0.004-0.256 0.006-0.073-0.003-0.14-0.005-0.2-0.007-0.030-0.001-0.058-0.002-0.085-0.002-0.033-0.002-0.064-0.004-0.093-0.006-0.033-0.002-0.063-0.004-0.091-0.006-0.051-0.008-0.103-0.012-0.156-0.012-0.007 0-0.015 0-0.022 0.001-0.002-0-0.003-0-0.003-0v0c-0.484 0.012-0.883 0.369-0.961 0.834-0.050-0.010-0.101-0.025-0.153-0.039s-0.107-0.030-0.163-0.045c-0.028-0.008-0.056-0.015-0.084-0.024s-0.057-0.019-0.086-0.028-0.116-0.039-0.176-0.058c-0.015-0.005-0.030-0.010-0.045-0.015s-0.030-0.012-0.045-0.017-0.060-0.023-0.091-0.035-0.123-0.048-0.186-0.073c-0.062-0.028-0.125-0.056-0.189-0.084-0.032-0.014-0.064-0.028-0.096-0.043s-0.064-0.032-0.096-0.048-0.128-0.065-0.194-0.098c-0.065-0.034-0.129-0.073-0.194-0.109-0.032-0.018-0.065-0.037-0.098-0.056s-0.064-0.040-0.096-0.061c-0.064-0.041-0.129-0.082-0.194-0.124-0.255-0.175-0.506-0.369-0.744-0.583-0.236-0.217-0.459-0.451-0.665-0.697-0.202-0.25-0.385-0.511-0.547-0.776-0.159-0.268-0.294-0.541-0.41-0.808-0.027-0.068-0.053-0.135-0.079-0.202-0.013-0.033-0.027-0.066-0.038-0.099s-0.022-0.067-0.033-0.1-0.045-0.131-0.065-0.196c-0.018-0.065-0.036-0.13-0.054-0.194-0.009-0.032-0.019-0.063-0.026-0.095s-0.014-0.063-0.021-0.094-0.028-0.123-0.042-0.184c-0.011-0.061-0.021-0.12-0.032-0.179-0.005-0.029-0.010-0.058-0.015-0.087-0.003-0.014-0.005-0.028-0.008-0.043s-0.003-0.029-0.005-0.043c-0.007-0.056-0.014-0.112-0.020-0.166-0.003-0.027-0.007-0.053-0.010-0.080s-0.004-0.053-0.006-0.078-0.007-0.101-0.011-0.15c-0.003-0.049-0.008-0.095-0.008-0.142-0.002-0.091-0.004-0.177-0.006-0.256 0.003-0.073 0.005-0.14 0.007-0.2 0.001-0.030 0.002-0.058 0.002-0.085 0.002-0.033 0.004-0.064 0.006-0.093 0.002-0.033 0.004-0.063 0.006-0.091 0.008-0.051 0.012-0.103 0.012-0.156 0-0.007-0-0.015-0.001-0.022 0-0.002 0-0.003 0-0.003h-0c-0.012-0.49-0.377-0.893-0.851-0.964z"></path><path class="[CURRENT_ICON_CLASS]-7" d="M16 6.5l-3.527-0.353 2.245-2.743-2.121-2.121-2.743 2.245-0.353-3.527h-3l-0.353 3.527-2.743-2.245-2.121 2.121 2.245 2.743-3.527 0.353v3l3.527 0.353-2.245 2.743 2.121 2.121 2.743-2.245 0.353 3.527h3l0.353-3.527 2.743 2.245 2.121-2.121-2.245-2.743 3.527-0.353v-3zM11 6.757v2.485l-1.757 1.757h-2.485l-1.757-1.757v-2.485l1.757-1.757h2.485l1.757 1.757z"></path><path class="[CURRENT_ICON_CLASS]-8" d="M13.657 2.343c-1.448-1.448-3.447-2.343-5.657-2.343-3.429 0-6.355 2.158-7.492 5.19l1.873 0.702c0.853-2.274 3.047-3.893 5.619-3.893 1.657 0 3.157 0.672 4.242 1.758l-2.242 2.242h6v-6l-2.343 2.343zM8 14c-1.657 0-3.157-0.672-4.242-1.758l2.242-2.242h-6v6l2.344-2.344c1.448 1.448 3.447 2.344 5.656 2.344 3.43 0 6.355-2.158 7.492-5.19l-1.873-0.702c-0.853 2.274-3.047 3.893-5.619 3.893z"></path><path class="[CURRENT_ICON_CLASS]-9" d="M8 3.25c-1.566 0-2.962 0.731-3.849 1.863l-1.2-0.9c1.161-1.496 2.992-2.464 5.048-2.464v-1.75l2.5 2.5-2.5 2.5v-1.75zM8 12.75c1.566 0 2.962-0.731 3.849-1.863l1.2 0.9c-1.161 1.496-2.992 2.464-5.048 2.464v1.75l-2.5-2.5 2.5-2.5v1.75zM3.15 8c0 1.568 0.78 2.961 1.98 3.827l-0.9 1.2c-1.564-1.139-2.58-2.968-2.58-5.026h-1.65l2.5-2.5 2.5 2.5h-1.85zM14.35 8h1.65l-2.5 2.5-2.5-2.5h1.85c0-1.568-0.78-2.961-1.98-3.827l0.9-1.2c1.564 1.139 2.58 2.968 2.58 5.026z"></path><path class="[CURRENT_ICON_CLASS]-10" d="M12.999 3.23v0 0zM13.032 8c1.631-1.56 2.423-3.087 1.896-4-0.301-0.521-0.99-0.77-1.929-0.77v0.75c0.659 0 1.137 0.148 1.28 0.395 0.113 0.195 0.050 0.496-0.023 0.713-0.139 0.417-0.442 0.917-0.876 1.444-0.263 0.32-0.567 0.643-0.904 0.963-0.465-0.402-0.982-0.801-1.544-1.188-0.055-0.679-0.142-1.327-0.257-1.93 0.878-0.26 1.675-0.397 2.323-0.397l0-0.75c-0 0-0 0-0 0-0.706 0-1.553 0.141-2.482 0.413-0.535-2.192-1.462-3.642-2.516-3.642s-1.981 1.45-2.516 3.642c-0.929-0.271-1.777-0.412-2.482-0.412-0.939 0-1.629 0.249-1.93 0.77-0.527 0.913 0.265 2.44 1.896 4-1.631 1.559-2.423 3.087-1.896 4 0.301 0.521 0.99 0.77 1.93 0.77 0.706 0 1.553-0.141 2.482-0.412 0.535 2.192 1.462 3.642 2.516 3.642s1.981-1.45 2.516-3.642c0.929 0.271 1.777 0.412 2.482 0.412 0.939 0 1.629-0.249 1.93-0.77 0.527-0.913-0.265-2.441-1.896-4zM11.915 8c-0.291 0.248-0.601 0.493-0.927 0.734 0.008-0.242 0.013-0.487 0.013-0.734s-0.004-0.492-0.013-0.734c0.327 0.241 0.637 0.486 0.927 0.734zM9.958 11.389c-0.36-0.128-0.728-0.274-1.098-0.435 0.213-0.113 0.426-0.232 0.64-0.355s0.424-0.25 0.63-0.378c-0.045 0.403-0.103 0.793-0.172 1.169zM9.125 9.949c-0.372 0.214-0.748 0.416-1.125 0.603-0.377-0.187-0.753-0.389-1.125-0.603-0.375-0.216-0.737-0.441-1.086-0.672-0.026-0.417-0.039-0.844-0.039-1.277s0.013-0.859 0.039-1.276c0.349-0.231 0.711-0.456 1.086-0.672 0.372-0.215 0.748-0.416 1.125-0.603 0.377 0.187 0.753 0.389 1.125 0.603 0.375 0.216 0.737 0.441 1.086 0.672 0.026 0.417 0.039 0.844 0.039 1.276s-0.013 0.859-0.039 1.277c-0.349 0.231-0.711 0.456-1.086 0.672zM5.87 10.22c0.205 0.128 0.415 0.254 0.63 0.378s0.427 0.242 0.64 0.355c-0.37 0.162-0.738 0.307-1.098 0.435-0.069-0.375-0.127-0.766-0.172-1.168zM5.013 8.734c-0.327-0.241-0.637-0.486-0.927-0.734 0.291-0.248 0.601-0.494 0.927-0.734-0.008 0.242-0.013 0.487-0.013 0.734s0.004 0.492 0.013 0.734zM6.042 4.612c0.36 0.128 0.728 0.274 1.098 0.435-0.213 0.113-0.426 0.232-0.64 0.355s-0.424 0.25-0.63 0.378c0.045-0.403 0.103-0.793 0.172-1.168zM9.5 5.402c-0.214-0.123-0.427-0.242-0.64-0.355 0.37-0.162 0.738-0.307 1.098-0.435 0.069 0.375 0.127 0.766 0.172 1.168-0.205-0.128-0.415-0.254-0.63-0.378zM6.581 2.607c0.24-0.639 0.521-1.151 0.813-1.48 0.152-0.172 0.381-0.376 0.607-0.376s0.454 0.205 0.607 0.376c0.292 0.329 0.573 0.841 0.813 1.48 0.146 0.388 0.273 0.812 0.382 1.265-0.58 0.202-1.185 0.45-1.801 0.743-0.616-0.292-1.221-0.541-1.801-0.743 0.109-0.453 0.237-0.877 0.382-1.265zM2.62 6.532c-0.434-0.527-0.736-1.026-0.876-1.444-0.073-0.218-0.135-0.518-0.023-0.713 0.143-0.247 0.621-0.395 1.28-0.395h0c0.648 0 1.445 0.137 2.323 0.397-0.115 0.603-0.202 1.251-0.257 1.93-0.561 0.387-1.079 0.787-1.544 1.188-0.338-0.321-0.641-0.643-0.904-0.963zM3.002 12.020c-0.659 0-1.137-0.148-1.28-0.395-0.113-0.195-0.050-0.496 0.023-0.713 0.139-0.417 0.442-0.917 0.876-1.444 0.263-0.32 0.567-0.643 0.904-0.963 0.465 0.402 0.982 0.801 1.544 1.188 0.055 0.679 0.142 1.327 0.257 1.93-0.878 0.26-1.675 0.397-2.323 0.397zM9.419 13.393c-0.24 0.639-0.521 1.151-0.813 1.48-0.152 0.172-0.381 0.376-0.607 0.376s-0.454-0.205-0.607-0.376c-0.292-0.329-0.573-0.841-0.813-1.48-0.146-0.388-0.273-0.812-0.382-1.265 0.58-0.202 1.185-0.45 1.801-0.743 0.616 0.292 1.221 0.541 1.801 0.743-0.109 0.453-0.236 0.877-0.382 1.265zM14.256 10.912c0.073 0.218 0.135 0.518 0.023 0.713-0.143 0.248-0.622 0.395-1.28 0.395-0.648 0-1.445-0.137-2.323-0.397 0.115-0.603 0.202-1.251 0.257-1.93 0.561-0.387 1.079-0.787 1.544-1.188 0.338 0.321 0.641 0.643 0.904 0.963 0.434 0.527 0.736 1.027 0.876 1.444zM6.75 8c0-0.69 0.56-1.25 1.25-1.25s1.25 0.56 1.25 1.25c0 0.69-0.56 1.25-1.25 1.25s-1.25-0.56-1.25-1.25z"></path><path class="[CURRENT_ICON_CLASS]-11" d="M7.282 8.718l-5-5-2.282 2.282v-6h6l-2.282 2.282 5 5zM8 0c4.418 0 8 3.582 8 8s-3.582 8-8 8c-4.418 0-8-3.582-8-8h2c0 3.314 2.686 6 6 6s6-2.686 6-6c0-3.314-2.686-6-6-6v-2z"></path></svg>',slideshow:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path class="[ICON_CLASS]-play-default" d="M15.28 8.277l-11.857 6.589q-0.205 0.116-0.353 0.027t-0.147-0.321v-13.143q0-0.232 0.147-0.321t0.353 0.027l11.857 6.589q0.205 0.116 0.205 0.277t-0.205 0.277z"></path><path class="[ICON_CLASS]-play-flat" d="M4.8 3.677l7.313 4.656-7.313 4.656v-9.313z"></path><path class="[ICON_CLASS]-pause-default" d="M14.86 1.714v12.571q0 0.232-0.17 0.402t-0.402 0.17h-4.571q-0.232 0-0.402-0.17t-0.17-0.402v-12.571q0-0.232 0.17-0.402t0.402-0.17h4.571q0.232 0 0.402 0.17t0.17 0.402zM6.841 1.714v12.571q0 0.232-0.17 0.402t-0.402 0.17h-4.571q-0.232 0-0.402-0.17t-0.17-0.402v-12.571q0-0.232 0.17-0.402t0.402-0.17h4.571q0.232 0 0.402 0.17t0.17 0.402z"></path><path class="[ICON_CLASS]-pause-flat" d="M9.344 3.677h2.656v9.313h-2.656v-9.313zM4 12.99v-9.313h2.656v9.313h-2.656z"></path></svg>',fullscreen:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path class="[ICON_CLASS]-maximize-default" d="M16 0v6l-2.16-2.16-3.313 3.313-1.679-1.679 3.313-3.313-2.16-2.16zM3.84 2.16l3.313 3.313-1.679 1.679-3.313-3.313-2.16 2.16v-6h6zM13.84 12.16l2.16-2.16v6h-6l2.16-2.16-3.313-3.313 1.679-1.679zM7.152 10.527l-3.313 3.313 2.16 2.16h-6v-6l2.16 2.16 3.313-3.313z"></path><path class="[ICON_CLASS]-maximize-flat" d="M11.333 1h2q0.828 0 1.414 0.586t0.586 1.414v2q0 0.276-0.195 0.471t-0.471 0.195-0.471-0.195-0.195-0.471v-2q0-0.276-0.195-0.471t-0.471-0.195h-2q-0.276 0-0.471-0.195t-0.195-0.471 0.195-0.471 0.471-0.195zM1.333 11q0.276 0 0.471 0.195t0.195 0.471v2q0 0.276 0.195 0.471t0.471 0.195h2q0.276 0 0.471 0.195t0.195 0.471-0.195 0.471-0.471 0.195h-2q-0.828 0-1.414-0.586t-0.586-1.414v-2q0-0.276 0.195-0.471t0.471-0.195zM2.667 1h2q0.276 0 0.471 0.195t0.195 0.471-0.195 0.471-0.471 0.195h-2q-0.276 0-0.471 0.195t-0.195 0.471v2q0 0.276-0.195 0.471t-0.471 0.195-0.471-0.195-0.195-0.471v-2q0-0.828 0.586-1.414t1.414-0.586zM14.667 11q0.276 0 0.471 0.195t0.195 0.471v2q0 0.828-0.586 1.414t-1.414 0.586h-2q-0.276 0-0.471-0.195t-0.195-0.471 0.195-0.471 0.471-0.195h2q0.276 0 0.471-0.195t0.195-0.471v-2q0-0.276 0.195-0.471t0.471-0.195z"></path><path class="[ICON_CLASS]-minimize-default" d="M1 9h6v6l-2.16-2.16-3.156 3.156-1.679-1.679 3.156-3.156zM12.84 11.16l3.156 3.156-1.679 1.679-3.156-3.156-2.16 2.16v-6h6zM15 7h-6v-6l2.16 2.16 3.156-3.156 1.679 1.679-3.156 3.156zM4.84 3.16l2.16-2.16v6h-6l2.16-2.16-3.156-3.156 1.679-1.679z"></path><path class="[ICON_CLASS]-minimize-flat" d="M11.333 1q0.276 0 0.471 0.195t0.195 0.471v2q0 0.276 0.195 0.471t0.471 0.195h2q0.276 0 0.471 0.195t0.195 0.471-0.195 0.471-0.471 0.195h-2q-0.828 0-1.414-0.586t-0.586-1.414v-2q0-0.276 0.195-0.471t0.471-0.195zM1.333 11h2q0.828 0 1.414 0.586t0.586 1.414v2q0 0.276-0.195 0.471t-0.471 0.195-0.471-0.195-0.195-0.471v-2q0-0.276-0.195-0.471t-0.471-0.195h-2q-0.276 0-0.471-0.195t-0.195-0.471 0.195-0.471 0.471-0.195zM4.667 1q0.276 0 0.471 0.195t0.195 0.471v2q0 0.828-0.586 1.414t-1.414 0.586h-2q-0.276 0-0.471-0.195t-0.195-0.471 0.195-0.471 0.471-0.195h2q0.276 0 0.471-0.195t0.195-0.471v-2q0-0.276 0.195-0.471t0.471-0.195zM12.667 11h2q0.276 0 0.471 0.195t0.195 0.471-0.195 0.471-0.471 0.195h-2q-0.276 0-0.471 0.195t-0.195 0.471v2q0 0.276-0.195 0.471t-0.471 0.195-0.471-0.195-0.195-0.471v-2q0-0.828 0.586-1.414t1.414-0.586z"></path></svg>',social:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13.5 11c-0.706 0-1.342 0.293-1.797 0.763l-6.734-3.367c0.021-0.129 0.032-0.261 0.032-0.396s-0.011-0.267-0.032-0.396l6.734-3.367c0.455 0.47 1.091 0.763 1.797 0.763 1.381 0 2.5-1.119 2.5-2.5s-1.119-2.5-2.5-2.5-2.5 1.119-2.5 2.5c0 0.135 0.011 0.267 0.031 0.396l-6.734 3.367c-0.455-0.47-1.091-0.763-1.797-0.763-1.381 0-2.5 1.119-2.5 2.5s1.119 2.5 2.5 2.5c0.706 0 1.343-0.293 1.797-0.763l6.734 3.367c-0.021 0.129-0.031 0.261-0.031 0.396 0 1.381 1.119 2.5 2.5 2.5s2.5-1.119 2.5-2.5c0-1.381-1.119-2.5-2.5-2.5z"></path></svg>',facebook:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M0,0H64V64H0ZM0 0v64h64V0zm39.6 22h-2.8c-2.2 0-2.6 1.1-2.6 2.6V28h5.3l-.7 5.3h-4.6V47h-5.5V33.3H24V28h4.6v-4c0-4.6 2.8-7 6.9-7 2 0 3.6.1 4.1.2z"></path></svg>',linkedin:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M0,0H64V64H0ZM0 0v64h64V0zm25.8 44h-5.4V26.6h5.4zm-2.7-19.7c-1.7 0-3.1-1.4-3.1-3.1s1.4-3.1 3.1-3.1 3.1 1.4 3.1 3.1-1.4 3.1-3.1 3.1M46 44h-5.4v-8.4c0-2 0-4.6-2.8-4.6s-3.2 2.2-3.2 4.5V44h-5.4V26.6h5.2V29h.1c.7-1.4 2.5-2.8 5.1-2.8 5.5 0 6.5 3.6 6.5 8.3V44z"></path></svg>',pinterest:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M0,0H64V64H0ZM0 0v64h64V0zm32 48c-1.6 0-3.1-.2-4.5-.7.6-1 1.3-2.2 1.6-3.4.2-.7 1.1-4.4 1.1-4.4.6 1.1 2.2 2 3.9 2 5.1 0 8.6-4.7 8.6-11 0-4.7-4-9.2-10.1-9.2-7.6 0-11.4 5.5-11.4 10 0 2.8 1 5.2 3.3 6.1.4.1.7 0 .8-.4.1-.3.2-1 .3-1.3.1-.4.1-.5-.2-.9-.6-.8-1.1-1.7-1.1-3.1 0-4 3-7.7 7.9-7.7 4.3 0 6.7 2.6 6.7 6.1 0 4.6-2 8.5-5.1 8.5-1.7 0-2.9-1.4-2.5-3.1.5-2 1.4-4.2 1.4-5.7 0-1.3-.7-2.4-2.2-2.4-1.7 0-3.1 1.8-3.1 4.1 0 1.5.5 2.5.5 2.5s-1.8 7.4-2.1 8.7c-.3 1.2-.3 2.6-.3 3.7C19.9 44.2 16 38.6 16 32c0-8.8 7.2-16 16-16s16 7.2 16 16-7.2 16-16 16"></path></svg>',reddit:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M0,0H64V64H0ZM0 0v64h64V0zm53.344 32a4.67 4.67 0 0 0-7.903-3.2 22.77 22.77 0 0 0-12.32-3.937L35.2 14.88l6.848 1.441a3.2 3.2 0 0 0 3.02 2.852 3.2 3.2 0 1 0-2.602-4.805l-7.84-1.566a1 1 0 0 0-.754.136.98.98 0 0 0-.43.63l-2.37 11.105a22.8 22.8 0 0 0-12.477 3.937 4.672 4.672 0 1 0-5.152 7.648q-.06.704 0 1.407c0 7.168 8.351 12.992 18.656 12.992 10.3 0 18.656-5.824 18.656-12.992a9.4 9.4 0 0 0 0-1.406A4.68 4.68 0 0 0 53.344 32m-32 3.2a3.198 3.198 0 1 1 6.398 0 3.195 3.195 0 0 1-3.199 3.198c-1.766 0-3.2-1.43-3.2-3.199M39.938 44a12.3 12.3 0 0 1-7.907 2.465A12.3 12.3 0 0 1 24.13 44a.87.87 0 0 1 .055-1.16.87.87 0 0 1 1.16-.055A10.48 10.48 0 0 0 32 44.801a10.5 10.5 0 0 0 6.688-1.953.9.9 0 0 1 1.265.015.9.9 0 0 1-.016 1.266Zm-.579-5.473a3.2 3.2 0 0 1-3.199-3.199 3.198 3.198 0 1 1 6.398 0 3.2 3.2 0 0 1-3.23 3.328Zm0 0"></path></svg>',tumblr:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M0,0H64V64H0ZM0 0v64h64V0zm35.4 47c-6.5.1-9-4.7-9-8v-9.8h-3v-3.9c4.6-1.6 5.6-5.7 5.9-8.1 0-.2.1-.2.2-.2h4.4v7.6h6v4.5h-6v9.3c0 1.3.5 3 2.9 3 .8 0 1.9-.3 2.4-.5l1.4 4.3c-.5.8-3 1.8-5.2 1.8"></path></svg>',twitter:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M0,0H64V64H0ZM0 0v64h64V0zm16 17.537h10.125l6.992 9.242 8.084-9.242h4.908L35.39 29.79 48 46.463h-9.875l-7.734-10.111-8.85 10.11h-4.908l11.465-13.105zm5.73 2.783 17.75 23.205h2.72L24.647 20.32z"></path></svg>',email:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M15 2h-14c-0.55 0-1 0.45-1 1v10c0 0.55 0.45 1 1 1h14c0.55 0 1-0.45 1-1v-10c0-0.55-0.45-1-1-1zM14 4v0.719l-6 3.536-6-3.536v-0.719h12zM2 12v-5.54l6 3.536 6-3.536v5.54h-12z"></path></svg>',download:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8 9l4-4h-3v-4h-2v4h-3zM11.636 7.364l-1.121 1.121 4.064 1.515-6.579 2.453-6.579-2.453 4.064-1.515-1.121-1.121-4.364 1.636v4l8 3 8-3v-4z"></path></svg>'}},this.getGroup=function(e){var o="default",t=n.extend(!0,{},this.registered.default);return"string"==typeof e&&this.registered.hasOwnProperty(e)&&n.extend(!0,t,this.registered[e]),"object"==typeof e&&(o="custom",n.extend(!0,t,this.registered.default,e)),{name:o,icons:t}},this.get=function(e,o){var t=this,o=t.getGroup(o),i="string"==typeof e&&o.icons.hasOwnProperty(e)?o.icons[e].replace(/\[ICON_CLASS]/g,t.className).replace(/\[CURRENT_ICON_CLASS]/g,t.className+"-"+e):null,e=[!1,e,o.name].map(function(e){return!1===e?t.className:t.className+"-"+e}).join(" ");return n(i).attr("class",e)},this},e.icons=new e.Icons}(jQuery,window.FooBox),function(s,d){d.Instance=function(e){this.id=null,"number"==typeof e?(this.id=e,d.instances[e-1]=this):this.id=d.instances.push(this),this.element=null,this.options=s.extend(!0,{},d.defaults),this.modal=new d.Modal(this),this.objects={},d.addons.load(this),d.handlers.load(this);var l=this;return this.raise=function(e,o){return d.raise(l,e,o)},this.init=function(e,o){l.element=d.isjQuery(e)?e:s(e),l.options=d.options.merge(l.options,o||{}),d.addons.call(l,"preinit",l.element,l.options),l.items.init(),0<l.items.array.length?(l.element.data("fbx_instance",l),l.options.containerCssClass&&l.element.addClass(l.options.containerCssClass),l.setup.bind(),l.modal.init(e,l.options),d.handlers.call(l,"init",l.element,l.options),l.raise("foobox.initialized"),d.isFn(l.options.initCallback)&&l.options.initCallback.call(l)):l.destroy()},this.reinit=function(e){l.options=d.options.merge(l.options,e||{}),l.items.init(!0),0<l.items.array.length?(l.setup.bind(),l.modal.reinit(l.options),d.handlers.call(l,"reinit",l.options),l.raise("foobox.reinitialized")):l.destroy()},this.destroy=function(){d.addons.call(l,"destroy"),d.handlers.call(l,"destroy"),l.items.destroy(),l.modal.destroy(),l.element.removeClass("fbx-instance fbx-item").data({fbx_instance:null,fbx_p_instance:null}),l.id==d.instances.length?d.instances.splice(l.id-1,1):d.instances[l.id-1]=null,l.raise("foobox.destroy")},this.setup={bind:function(){s(l.options.externalSelector).off("click.fooboxExternal").on("click.fooboxExternal",function(e){e.preventDefault();var e=s(this).data("foobox"),e=s(e),o=e.data("fbx_instance")||e.data("fbx_p_instance");return 0<e.length&&o instanceof d.Instance&&o.modal instanceof d.Modal&&o.modal.show(!0),!1})}},this.items={array:[],indexes:{prev:-1,current:0,next:1,direction:"*",set:function(e){var o=l.items.indexes.current,t=(e=(e=e||0)>l.items.array.length-1?0:e<0?l.items.array.length-1:e)-1,i=e+1;l.items.indexes.current=e,l.items.indexes.prev=t<0?l.items.array.length-1:t,l.items.indexes.next=i>l.items.array.length-1?0:i,l.items.indexes.direction=l.items.indexes._direction(o,e,l.items.array.length-1)},_direction:function(e,o,t){return 0==o&&e==t?">":o==t&&0==e?"<":e<o?">":o<e?"<":"*"}},new_array:function(e){var o,t,i=0;if(1==(e=e||!1)){if(0<l.items.array.length){for(var n=0;n<l.items.array.length;n++)o=l.items.array[n],d.isjQuery(o.element)?0==o.element.parents(":first").length&&(l.items.array.splice(n,1),--n):o.option||(l.items.array.splice(n,1),--n);for(var s=0;s<l.items.array.length;s++)o=l.items.array[s],d.isjQuery(o.element)?o.element.get(0).index=o.index=s:o.index=s}}else l.items.array=[];if(d.isArray(l.options.items))for(var a=0;a<l.options.items.length;a++)if(o=l.options.items[a],-1==l.items.indexOf(o))for(var r=0;r<l.objects.handlers.length;r++)if(l.objects.handlers[r].type==o.type){o.index=i,o.option=!0,o.handler=l.objects.handlers[r],o.handler.defaults(o),t=l.raise("foobox.parseItem",{element:null,item:o}),l.items.array.push(t.fb.item),i++;break}},init:function(e){l.items.new_array(e=e||!1);l.element.is(l.options.selector)&&!l.element.is(l.options.excludes)&&l.items.add(l.element)?l.element.off("click.item").on("click.item",l.items.clicked):((l.element.is(".foogallery")&&(e=l.element.data("__FooGallery__"))&&e.items&&0<(e=e.items.available(function(e){return!e.noLightbox&&!e.panelHide})).length?(e=s.map(e,function(e){return e.$anchor?e.$anchor.get(0):null}),s(e)):l.element.find(l.options.selector)).not(l.options.excludes).off("click.item").filter(function(){return l.items.add(this)}).on("click.item",l.items.clicked),l.element.on("click.item",".fbx-link",l.items.clicked)),l.items.rel()},destroy:function(){var e,o;for(l.element.off("click.item",".fbx-link",l.items.clicked),o=0;o<l.items.array.length;o++)e=l.items.array[o],d.isFn(e.destroy)&&e.destroy(),d.isjQuery(e.element)&&e.element.off("click.item").removeClass("fbx-link").data("fbx_p_instance",null);l.items.array=[]},rel:function(){var e=l.options.rel||l.element.attr("rel")||(l.items.first(function(e){return!!d.isjQuery(e.element)&&"string"==typeof e.element.attr("rel")})||{element:s()}).element.attr("rel");"string"==typeof e&&s('[rel="'+e+'"]').not(l.options.excludes).not(l.element).off("click.item").filter(function(){return l.items.add(this)}).on("click.item",l.items.clicked)},indexOf:function(e,o){var t;if(e)for(o=o||"url",t=0;t<l.items.array.length;t++)if(l.items.array[t][o]==e[o])return t;return-1},is:{first:function(e){return!(!l.items.array||0==l.items.array.length)&&l.items.array[0].index==e.index},last:function(e){return!(!l.items.array||0==l.items.array.length)&&l.items.array[l.items.array.length-1].index==e.index}},add:function(e){e=d.isjQuery(e)?e:s(e);var o,t,i=l.items.parse(e,l.items.array.length);return null!==i&&(o=e.get(0),-1!=(t=l.items.indexOf(i))?(i=l.items.array[t],o.index=i.index):o.index=i.index=l.items.array.push(i)-1,e.addClass("fbx-link").data("fbx_p_instance")instanceof d.Instance||e.data("fbx_p_instance",l),!0)},get:function(e){var o=null,e=(e=d.isjQuery(e)?e:s(e)).get(0).index;return o=e&&0<e&&e<=l.items.array.length-1?l.items.array[e]:o},parse:function(e,o){var t,i;e=d.isjQuery(e)?e:s(e);for(var n=0;n<l.objects.handlers.length;n++)if(l.objects.handlers[n].handles(e,l.element)){t=l.objects.handlers[n].parse(e),isNaN(o)||(t.index=o),i=l.raise("foobox.parseItem",{element:e,item:t});break}return void 0!==i&&i.fb.item?i.fb.item:null},error:function(e){var o,t,i,n;return l.items.array.length>e&&1==l.items.array[e].error?l.items.array[e]:(n=!1,null==(o=d.handlers.get(l,"html"))&&(o=new function(e){var n=this;return n.FooBox=e,n.type="error",n.handles=function(){return!1},n.hasChanged=function(){return!1},n.defaults=function(){},n.parse=function(){},n.load=function(e,o,t,i){try{o.empty().append(e.content),d.isFn(t)&&t(n.getSize(e))}catch(e){d.isFn(i)&&i(e)}},n.getSize=function(e){return new d.Size(e.width,e.height)},n}(l)),null!==l.options.error.match(/^#/i)&&0<s(l.options.error).length?(t=s(l.options.error),n=!0):t=s('<div class="fbx-error-msg" data-width="240" data-height="240"></div>').append(d.icons.get("error")).append(s("<p/>").text(l.options.error)),(i=new d.Item(o.type,t.get(0),o)).selector=1==n?l.options.error:null,i.index=e,i.error=!0,i.title=t.data("title")||null,i.description=t.data("description")||null,i.width=t.data("width")||240,i.height=t.data("height")||240,i.content=1==n?null:t,i.fullscreen=!0,i.handler=o,l.items.array[e]=i)},first:function(e){for(var o=null,t=0;t<l.items.array.length;t++)if(e(l.items.array[t])){o=l.items.array[t];break}return o},current:function(){return l.items.array[l.items.indexes.current]},prev:function(){return l.items.array[l.items.indexes.prev]},next:function(){return l.items.array[l.items.indexes.next]},multiple:function(){return 1<l.items.array.length},clicked:function(e){return e.preventDefault(),l.items.indexes.set(this.index),l.modal.show(!0),!1}},this}}(jQuery,window.FooBox),function(l,M){M.Modal=function(e){this.FooBox=e,this.element=null,this.loaderTimeout=new M.Timer,this._first=!1,this._busy=!1,this._closed=!1;var C=this;return this.init=function(e,o){C.setup.html(),C.setup.options(o),C.setup.bind()},this.reinit=function(e){C.setup.options(e)},this.destroy=function(){M.isjQuery(C.element)&&C.element.remove()},this.setup={html:function(){var e,o;M.isjQuery(C.element)||(C.element=l('<div class="fbx-modal"></div>'),C.element.append('<div class="fbx-inner-spacer"></div>'),(e=l('<div class="fbx-stage"></div>')).append('<div class="fbx-item-current"></div>'),e.append('<div class="fbx-item-next"></div>'),(o=l('<div class="fbx-inner fbx-inner-shadow"></div>')).append(e),o.append(l('<button class="fbx-prev fbx-btn-transition fbx-btn-shadow"></button>').append(M.icons.get("prev"))),o.append('<div class="fbx-credit"><a target="_blank" href=""><em></em><span> FooBox</span></a></div>'),o.append('<span class="fbx-count" />'),o.append(l('<button class="fbx-next fbx-btn-transition fbx-btn-shadow"></button>').append(M.icons.get("next"))),o.append(l('<button class="fbx-close fbx-btn-transition fbx-btn-shadow"></button>').append(M.icons.get("close"))),C.element.append(l('<div class="fbx-loader"></div>').append(M.icons.get("spinner"))),C.element.append(o),C.FooBox.raise("foobox.setupHtml"),l("body").append(C.element))},options:function(e){C.element.removeClass().addClass("fbx-modal").addClass("fbx-"+C.FooBox.id).addClass(C.FooBox.element.data("style")||e.style).addClass(C.FooBox.element.data("theme")||e.theme).addClass(C.FooBox.element.data("modal-class")).addClass(e.modalClass).data("fbx_instance",C.FooBox),C.element.addClass(M.browser.css),e.affiliate.enabled?(C.element.find(".fbx-credit > a").attr("href",e.affiliate.url),C.element.find(".fbx-credit > a > em").text(e.affiliate.prefix)):C.element.find(".fbx-credit").remove(),C.element.toggleClass("fbx-no-count",!(e.showCount&&C.FooBox.items.multiple())),e.showButtons&&C.FooBox.items.multiple()||C.element.addClass("fbx-no-buttons"),C.FooBox.raise("foobox.setupOptions")},bind:function(){1==C.FooBox.options.closeOnOverlayClick&&C.element.off("click.foobox").on("click.foobox",function(e){1==C.FooBox.options.closeOnOverlayClick&&l(e.target).is(".fbx-modal")&&C.close()}),C.element.find(".fbx-close").off("click.foobox").on("click.foobox",function(e){e.preventDefault(),e.stopPropagation(),C.close()}).end().find(".fbx-prev").off("click.foobox").on("click.foobox",function(e){e.preventDefault(),e.stopPropagation(),l(this).hasClass("fbx-disabled")||C.prev()}).end().find(".fbx-next").off("click.foobox").on("click.foobox",function(e){e.preventDefault(),e.stopPropagation(),l(this).hasClass("fbx-disabled")||C.next()}),C.element.find(".fbx-item-current, .fbx-item-next").off("click.foobox").on("click.foobox",function(e){C.element.toggleClass("fbx-ui-hidden")})}},this.prioritize=function(){1<M.instances.length&&C.element.nextAll(".fbx-modal:last").after(C.element)},this.preload=function(){var e;1==C.FooBox.options.preload&&((e=C.FooBox.items.prev())&&e.handler.preload(e),e=C.FooBox.items.next())&&e.handler.preload(e)},this.show=function(o){var t,i,e,n,s,a=C.FooBox.items.current();function r(e){C.loaderTimeout.stop(),C.element.removeClass("fbx-loading"),C._busy=!1,console.error(e),C.FooBox.raise("foobox.onError",{error:e}).isDefaultPrevented()||null!=C.FooBox.items.error(a.index)&&C.show(o)}a&&(o=o||!1,C._first=o,C._busy=!0,C._closed=!1,l("body").addClass("fbx-active"),C.FooBox.options.hideScrollbars&&l("html").addClass("fbx-no-scroll"),1==a.error?C.element.addClass("fbx-error"):C.element.removeClass("fbx-error"),C.element.hasClass("fbx-show")||(C.prioritize(),e=C.getMaxSize(),C.element.addClass("fbx-loading").find(".fbx-inner").css({width:e.width,height:e.height,"margin-top":e.marginTop,"margin-left":e.marginLeft})),t=C.element.find(".fbx-item-current"),(i=C.element.find(".fbx-item-next")).css({opacity:0,visibility:"hidden"}),C.element.find(".fbx-count").text(C.FooBox.options.countMessage.replace("%index",""+(C.FooBox.items.indexes.current+1)).replace("%total",""+C.FooBox.items.array.length)),C.FooBox.raise("foobox.beforeLoad",{item:a}).isDefaultPrevented()?C._busy=!1:(a.handler.hasChanged(a)&&(e=a.index,n=a.element.get(0),a=a.handler.parse(a.element),s=C.FooBox.raise("foobox.parseItem",{element:a.element,item:a}),n.index=s.fb.item.index=e,C.FooBox.items.array[e]=s.fb.item),C.preload(),C.loaderTimeout.start(function(){C._closed||C.element.addClass("fbx-loading")},C.FooBox.options.loaderTimeout),setTimeout(function(){C.checkForLoop(a),a.handler.load(a,i,function(e){1==C._closed?C._busy=!1:C.transitionOut(t,function(){t.find("video").each(function(){this.pause(),this.removeAttribute("src"),this.load()}),1==C._closed?C._busy=!1:C.resize(e,i,function(){1==C._closed?C._busy=!1:(C.loaderTimeout.stop(),i.css({opacity:"",visibility:""}),C.transitionIn(i,function(){1==C._closed?C._busy=!1:(i.add(t).toggleClass("fbx-item-next fbx-item-current"),t.empty(),C.element.hasClass("fbx-show")?(C.element.removeClass("fbx-loading"),C.FooBox.raise("foobox.afterLoad",{item:a}),C.triggerFooGalleryLayout(i),C._busy=!1):C.FooBox.raise("foobox.beforeShow",{item:a}).isDefaultPrevented()||(C.element.removeClass("fbx-loading").addClass("fbx-show"),C.FooBox.raise("foobox.afterShow",{item:a}),C.FooBox.raise("foobox.afterLoad",{item:a}),C.triggerFooGalleryLayout(i),C._busy=!1))},r))},r)},r)},r)},C.FooBox.options.loadDelay)))},this.triggerFooGalleryLayout=function(e){window.FooGallery&&e.find(".foogallery").each(function(){var e=l(this).data("__FooGallery__");e&&e.initialized&&e.layout()})},this.checkForLoop=function(e){1!=C.FooBox.options.loop&&(C.element.find(".fbx-prev, .fbx-next").removeClass("fbx-disabled"),C.FooBox.items.is.first(e)&&C.element.find(".fbx-prev").addClass("fbx-disabled"),C.FooBox.items.is.last(e))&&C.element.find(".fbx-next").addClass("fbx-disabled")},this.getMaxSize=function(){var e=C.element.find(".fbx-inner"),o=C.element.find(".fbx-inner-spacer"),t=parseInt(o.css("padding-top"),0),i=parseInt(o.css("padding-bottom"),0),n=parseInt(o.css("padding-left"),0),o=parseInt(o.css("padding-right"),0),s=parseInt(e.css("border-top-width"),0),a=parseInt(e.css("border-bottom-width"),0),r=parseInt(e.css("border-left-width"),0),l=parseInt(e.css("border-right-width"),0),e=parseInt(e.css("padding-left"),0),d=t+i+2*e+s+a,c=n+o+2*e+r+l,c=new M.Size(C.element.width()-c,C.element.height()-d);return c.marginTop=-(c.height/2+e+(a+s)/2+i/2-t/2),c.marginLeft=-(c.width/2+e+(l+r)/2+o/2-n/2),c},this.resize=function(e,o,t,i){try{var n,s,a,r,l,d,c,h,f,p,m,u,x,b,v,g,w,F,y,B,z;0===e.width||0===e.height?M.isFn(i)&&i("Invalid size supplied. Width = "+e.width+", Height = "+e.height):(n=C.FooBox.items.current(),s=new M.Size(e.width,e.height),a=C.element.find(".fbx-inner"),r=C.element.find(".fbx-inner-spacer"),l=parseInt(r.css("padding-top"),0),d=parseInt(r.css("padding-bottom"),0),c=parseInt(r.css("padding-left"),0),h=parseInt(r.css("padding-right"),0),f=parseInt(a.css("border-top-width"),0),p=parseInt(a.css("border-bottom-width"),0),m=parseInt(a.css("border-left-width"),0),u=parseInt(a.css("border-right-width"),0),b=l+d+2*(x=parseInt(a.css("padding-left"),0))+f+p,v=c+h+2*x+m+u,g=new M.Size(parseInt(a.css("width"),0),parseInt(a.css("height"),0)),F=(w=new M.Size(C.element.width()-v,C.element.height()-b)).width/e.width,B=(w.height<e.height*F&&(F=w.height/e.height),!0===C.FooBox.options.fitToScreen||1==n.proportion&&(w.height<e.height||w.width<e.width)?(e.height=Math.floor(e.height*F),e.width=Math.floor(e.width*F)):0==n.proportion&&(w.height<e.height&&(e.height=w.height),w.width<e.width)&&(e.width=w.width),e.height<100&&(e.height=100),e.width<100&&(e.width=100),-(e.height/2+x+(p+f)/2+d/2-l/2)),z=-(e.width/2+x+(u+m)/2+h/2-c/2),g.equalTo(e)?(a.css({height:e.height,width:e.width,"margin-top":B,"margin-left":z}),C.overflow(n,s,e,o),C.FooBox.raise("foobox.afterResize",{item:n,size:e}),M.isFn(t)&&t()):C.FooBox.raise("foobox.beforeResize",{item:n,size:e,offset:{top:B,left:z},error:i,success:t}).isDefaultPrevented()||(B=-(e.height/2+x+(p+f)/2+d/2-l/2),z=-(e.width/2+x+(u+m)/2+h/2-c/2),C.element.hasClass("fbx-show")?M.browser.supportsTransitions()?(y="all "+C.FooBox.options.resizeSpeed/1e3+"s ease-in-out",a.css({WebkitTransition:y,MozTransition:y,MsTransition:y,OTransition:y,transition:y}),a.css({height:e.height,width:e.width,"margin-top":B,"margin-left":z}),setTimeout(function(){a.css({WebkitTransition:"",MozTransition:"",MsTransition:"",OTransition:"",transition:""}),C.overflow(n,s,e,o),C.FooBox.raise("foobox.afterResize",{item:n,size:e}),M.isFn(t)&&t(e)},C.FooBox.options.resizeSpeed)):a.animate({height:e.height,width:e.width,"margin-top":B,"margin-left":z},C.FooBox.options.resizeSpeed,function(){C.overflow(n,s,e,o),C.FooBox.raise("foobox.afterResize",{item:n,size:e}),M.isFn(t)&&t(e)}):(a.css({height:e.height,width:e.width,"margin-top":B,"margin-left":z}),C.overflow(n,s,e,o),C.FooBox.raise("foobox.afterResize",{item:n,size:e}),M.isFn(t)&&t())))}catch(e){M.isFn(i)&&i(e)}},this.overflow=function(e,o,t,i){var n=i.find(".fbx-item");e.overflow&&(t.width<.8*o.width||t.height<.8*o.height)||e.overflow&&!e.proportion&&(t.width<o.width||t.height<o.height)||e.overflow&&"html"===e.type?("html"===e.type?(n.css({width:"100%",height:"auto",overflow:""}),i.css("overflow","auto")):(n.css({width:o.width,height:o.height,overflow:""}),i.css({"overflow-x":o.width<=t.width?"hidden":"","overflow-y":o.height<=t.height?"hidden":""})),C.FooBox.raise("foobox.showOverflow",{item:e,container:i})):(n.css({width:"",height:"",overflow:n.is("iframe")?"":"hidden"}),i.css({"overflow-x":"","overflow-y":"",overflow:"hidden"}),C.FooBox.raise("foobox.hideOverflow",{item:e,container:i}))},this.transitionOut=function(e,o,t){try{C.element.hasClass("fbx-show")?e.animate({opacity:0},e.is(":visible")?C.FooBox.options.transitionOutSpeed:0,function(){M.isFn(o)&&o()}):M.isFn(o)&&o()}catch(e){M.isFn(t)&&t(e)}},this.transitionIn=function(e,o,t){try{C.element.hasClass("fbx-show")?e.animate({opacity:1},C.FooBox.options.transitionInSpeed,function(){M.isFn(o)&&o()}):(e.css({opacity:1}),M.isFn(o)&&o())}catch(e){M.isFn(t)&&t(e)}},this.close=function(){C.FooBox.raise("foobox.beforeClose").isDefaultPrevented()||(C._closed=!0,C._busy=!1,C.loaderTimeout.stop(),C.element.removeClass("fbx-loading fbx-show"),l("body").removeClass("fbx-active"),C.FooBox.raise("foobox.close"),C.element.find(".fbx-item-current video, .fbx-item-next video").each(function(){this.pause(),this.removeAttribute("src"),this.load()}),C.element.find(".fbx-item-current, .fbx-item-next").empty(),l("html").removeClass("fbx-no-scroll"),C.FooBox.raise("foobox.afterClose"))},this.prev=function(e){if(1!=C._busy){if(C.FooBox.items.indexes.set(C.FooBox.items.indexes.prev),"string"==typeof e)for(var o=C.FooBox.items.current();o.type!=e;)C.FooBox.items.indexes.set(C.FooBox.items.indexes.prev),o=C.FooBox.items.current();C.show(!1),C.FooBox.raise("foobox.previous")}},this.next=function(e){if(1!=C._busy){if(C.FooBox.items.indexes.set(C.FooBox.items.indexes.next),"string"==typeof e)for(var o=C.FooBox.items.current();o.type!=e;)C.FooBox.items.indexes.set(C.FooBox.items.indexes.next),o=C.FooBox.items.current();C.show(!1),C.FooBox.raise("foobox.next")}},this}}(jQuery,window.FooBox),function(a,r){var e={images:{noRightClick:!1,attr:"href",overflow:!1,fullscreen:!0,showCaptions:!0,regex:/https?:\/\/.*?\/.*?\.(jpg|jpeg|png|gif|bmp|webp|svg)/i,maxWidth:-1,maxHeight:-1,findUrl:function(e,o){return o?o.data("image")?o.data("image"):"string"==typeof o.attr(e.options.images.attr)?r.qualifiedURL(o.attr(e.options.images.attr)):"":""}}};r.Item.prototype.image=null,r.Item.prototype.maxWidth=null,r.Item.prototype.maxHeight=null,r.ImageHandler=function(e){this.FooBox=e,this.type="image";var s=this;this.handles=function(e){var o=s.FooBox.options.images.findUrl(s.FooBox,e),o="string"==typeof o&&null!=o.match(s.FooBox.options.images.regex);return s.FooBox.raise("foobox.handlesImage",{element:e,handle:o}).fb.handle},this.defaults=function(e){e.fullscreen=e.fullscreen||s.FooBox.options.images.fullscreen,e.captions=e.captions||s.FooBox.options.images.showCaptions,e.social=e.social||!0,e.overflow=e.overflow||s.FooBox.options.images.overflow,e.proportion=e.proportion||!0,e.maxWidth=e.maxWidth||s.FooBox.options.images.maxWidth,e.maxHeight=e.maxHeight||s.FooBox.options.images.maxHeight},this.parse=function(e){var o=new r.Item(s.type,e,this);return s.defaults(o),o.url=s.FooBox.options.images.findUrl(s.FooBox,e)||null,o.width=r.Size.check(e.data("width")||o.width||null),o.height=r.Size.check(e.data("height")||o.height||null),o.fullscreen="boolean"==typeof e.data("fullscreen")?e.data("fullscreen"):o.fullscreen,o.overflow="boolean"==typeof e.data("overflow")?e.data("overflow"):o.overflow,o.proportion="boolean"==typeof e.data("proportion")?e.data("proportion"):o.proportion,o.maxWidth="number"==typeof e.data("maxWidth")?e.data("maxWidth"):o.maxWidth,o.maxHeight="number"==typeof e.data("maxHeight")?e.data("maxHeight"):o.maxHeight,o.image=null,o.image_url=o.url,o},this.load=function(o,t,i,n){try{var e=function(){var e=a(o.image).addClass("fbx-item fbx-item-image");s.FooBox.options.images.noRightClick&&e.on("contextmenu",function(e){return e.preventDefault(),!1}),t.empty().append(e),r.isFn(i)&&i(s.getSize(o))};o.image&&null!==o.image?e():(o.image=new Image,o.image.onload=function(){o.image.onload=o.image.onerror=null,o.width&&o.height||(o.height=o.image.height,o.width=o.image.width),e()},o.image.onerror=function(){o.image.onload=o.image.onerror=null,o.image=null,r.isFn(n)&&n("An error occurred attempting to load the image.")},o.image.src=o.url)}catch(e){r.isFn(n)&&n(e)}},this.preload=function(e){1!=e.preloaded&&((new Image).src=e.url,e.preloaded=!0)},this.getSize=function(e){var o;return null!=e.width&&null!=e.height?(0<e.maxWidth&&0<e.maxHeight&&(e.maxWidth<e.width||e.maxHeight<e.height)&&(e.width*=o=e.height<e.width?e.maxWidth/e.width:e.maxHeight/e.height,e.height*=o),new r.Size(e.width,e.height)):new r.Size(0,0)},this.hasChanged=function(e){var o;return!!r.isjQuery(e.element)&&(o=s.FooBox.options.images.findUrl(s.FooBox,e.element),e.url!=o)}},r.handlers.register(r.ImageHandler,e)}(jQuery,window.FooBox),function(o){o.Keyboard=function(e){this.FooBox=e;var i=this;this.preinit=function(e){i.handlers.unbind(!0),e.on({"foobox.initialized foobox.reinitialized":i.handlers.initialized,"foobox.setupHtml":i.handlers.setupHtml})},this.destroy=function(){i.handlers.unbind(!0)},this.handlers={unbind:function(e){(e=e||!1)&&i.FooBox.element.off({"foobox.initialized foobox.reinitialized":i.handlers.initialized,"foobox.setupHtml":i.handlers.setupHtml}),i.FooBox.element.off("foobox.afterLoad",i.handlers.afterLoad),o.isjQuery(i.FooBox.modal.element)&&i.FooBox.modal.element.off("keydown.foobox",i.handlers.onKeydown)},initialized:function(){i.handlers.unbind(),1==i.FooBox.options.keyboard.enabled&&(i.FooBox.element.on("foobox.afterLoad",i.handlers.afterLoad),o.isjQuery(i.FooBox.modal.element))&&i.FooBox.modal.element.on("keydown.foobox",i.handlers.onKeydown)},setupHtml:function(e){e.fb.modal.attr("tabindex",0)},afterLoad:function(e){e.fb.modal.trigger("focus")},onKeydown:function(e){var o=i.FooBox.modal,t=i.FooBox.options.keyboard;o.element.hasClass("fbx-show")&&(o.element.hasClass("fbx-fullscreen-mode")||27!==e.which?i.FooBox.items.multiple()&&37===e.which?o.prev():i.FooBox.items.multiple()&&39===e.which&&o.next():o.close(),1==t.preventDefault&&e.preventDefault(),1==t.stopPropagation&&e.stopPropagation(),i.FooBox.raise("foobox.keydown",{keyCode:e.which}))}}},o.addons.register(o.Keyboard,{keyboard:{enabled:!0,preventDefault:!1,stopPropagation:!1}})}((jQuery,window.FooBox)),function(r,l){l.BPInfo=function(e){var o,t=r(window),i=(this.width=t.width(),this.height=t.height(),this.orientation=this.width>this.height?"fbx-landscape":"fbx-portrait",null);if(l.isArray(e))for(var n=0;n<e.length;n++)if((o=e[n])&&o.width&&this.width<=o.width){i=o;break}this.breakpoint=null==i?"fbx-desktop":i.name},l.Responsive=function(e){this.FooBox=e,this.breakpoint={values:[],names:""},this.timers={resize:new l.Timer,ios:new l.Timer};var s=this,a=null;this.preinit=function(e){s.handlers.unbind(!0),e.on("foobox.initialized foobox.reinitialized",s.handlers.initialized)},this.destroy=function(){s.handlers.unbind(!0)},this.handlers={unbind:function(e){(e=e||!1)&&s.FooBox.element.off("foobox.initialized foobox.reinitialized",s.handlers.initialized),r(window).off("resize.foobox",s.handlers.resize),s.FooBox.element.off({"foobox.beforeShow":s.handlers.iosBeforeShow,"foobox.close":s.handlers.iosClose})},initialized:function(){s.handlers.unbind(),s.setup.breakpoints(),s.style(),r(window).on("resize.foobox",s.handlers.resize),l.browser.iOS12OrBelow&&(l.browser.isSafari||l.browser.isChrome)&&s.FooBox.element.on({"foobox.beforeShow":s.handlers.iosBeforeShow,"foobox.close":s.handlers.iosClose})},resize:function(){s.timers.resize.start(function(){s.style();var e,o,t=s.FooBox,i=s.FooBox.items.current();t.modal.element.has("fbx-show")&&null!=i&&(e=i.handler.getSize(i),o=t.modal.element.find(".fbx-item-current"),t.modal.resize(e,o,function(){t.modal.triggerFooGalleryLayout(o);var e=i.handler.getSize(i);o.height()!=e.height&&t.modal.resize(e,o,function(){t.modal.triggerFooGalleryLayout(o)})}))},s.FooBox.options.resizeTimeout)},iosBeforeShow:function(){s.timers.ios.start(s.handlers.ios,s.FooBox.options.iosInterval)},iosClose:function(){s.timers.ios.stop()},ios:function(){var e,o,t,i,n;s.FooBox.modal.element.hasClass("fbx-show")&&(o=window.orientation||0,e=window.innerHeight,i=t=0,n=(o=90===o||-90===o)?screen.availWidth:screen.availHeight,l.browser.isChrome?(t=n-(o?76:56),i=n-(o?0:20)):l.browser.isSafari&&(t=n-88,i=n-(o?0:19)),(null==a||!1===a)&&e<=t?(a=!0,s.iosRedraw()):(null==a||!0===a)&&i<=e&&(a=!1,s.iosRedraw())),s.timers.ios.start(s.handlers.ios,s.FooBox.options.iosInterval)}},this.setup={breakpoints:function(){for(var e in s.breakpoint.values=[],s.breakpoint.names="",s.FooBox.options.breakpoints)s.FooBox.options.breakpoints.hasOwnProperty(e)&&(s.breakpoint.values.push({name:s.fixName(e),width:s.FooBox.options.breakpoints[e]}),s.breakpoint.names+=s.fixName(e)+" ");s.breakpoint.values.sort(function(e,o){return e.width-o.width})}},this.iosRedraw=function(){window.scrollTo(0,document.body.scrollTop),r(window).trigger("resize")},this.fixName=function(e){return/^fbx-[a-zA-Z0-9]/.test(e)?e:"fbx-"+e},this.style=function(){var e=new l.BPInfo(s.breakpoint.values),o=s.FooBox.modal.element;o.removeClass(s.breakpoint.names).removeClass("fbx-desktop fbx-landscape fbx-portrait").addClass(e.breakpoint).addClass(e.orientation),!0===s.FooBox.options.hideNavOnMobile?o.addClass("fbx-no-nav"):o.removeClass("fbx-no-nav")}},l.Responsive.metaCheck=function(){var e=r("meta[name=viewport]"),o=e.attr("content");if(0<e.length&&"string"==typeof o){for(var t=o.split(","),i=!1,n=!1,s=0;s<t.length;s++){var a=l.trim(t[s]);"width"==a.substring(0,5)&&-1!==a.indexOf("device-width")?i=!0:"initial-scale"==a.substring(0,13)&&(n=!0)}i&&!n&&(t.push("initial-scale=1"),o=t.join(","),e.attr("content",o))}},l.addons.register(l.Responsive,{hideNavOnMobile:!1,resizeTimeout:300,breakpoints:{phone:812,tablet:1366},iosInterval:200}),l.Responsive.metaCheck()}(jQuery,window.FooBox),function(a,l){l.Item.prototype.captions=!1,l.Item.prototype.title=null,l.Item.prototype.description=null,l.Item.prototype.caption=null,l.Captions=function(e){this.FooBox=e,this.timers={hover:new l.Timer};var r=this;this.preinit=function(e){r.handlers.unbind(!0),e.on({"foobox.initialized foobox.reinitialized":r.handlers.initialized,"foobox.setupHtml":r.handlers.setupHtml,"foobox.setupOptions":r.handlers.setupOptions,"foobox.parseItem":r.handlers.parseItem,"foobox.onError":r.handlers.onError,"foobox.beforeClose":r.handlers.beforeClose})},this.destroy=function(){r.handlers.unbind(!0)},this.getDataValue=function(e,o,t){if("none"===t)return"";for(var i=null,n=0,s=o.length;n<s;n++){var a=e.data(o[n]);if("string"==typeof a){i=a;break}}return i=null===i?r.text(e,t):i},this.handlers={unbind:function(e){(e=e||!1)&&r.FooBox.element.off({"foobox.initialized foobox.reinitialized":r.handlers.initialized,"foobox.setupHtml":r.handlers.setupHtml,"foobox.setupOptions":r.handlers.setupOptions,"foobox.parseItem":r.handlers.parseItem,"foobox.onError":r.handlers.onError,"foobox.beforeClose":r.handlers.beforeClose}),r.FooBox.element.off({"foobox.beforeLoad":r.handlers.beforeLoad,"foobox.afterLoad":r.handlers.afterLoad}),r.FooBox.modal instanceof l.Modal&&l.isjQuery(r.FooBox.modal.element)&&r.FooBox.modal.element.off("mouseenter.captions mouseleave.captions").find(".fbx-item-current, .fbx-item-next").off("click.captions")},initialized:function(e){r.handlers.unbind(),!0===e.fb.options.captions.enabled&&(e.fb.instance.element.on({"foobox.beforeLoad":r.handlers.beforeLoad,"foobox.afterLoad":r.handlers.afterLoad,"foobox.beforeClose":r.handlers.beforeClose}),-1===e.fb.options.modalClass.indexOf("fbx-caption-toggle-only")&&e.fb.modal.find(".fbx-item-current, .fbx-item-next").on("click.captions",r.handlers.toggleCaptions),!0!==e.fb.options.captions.onlyShowOnHover||e.fb.modal.hasClass("fbx-phone")||e.fb.modal.on("mouseenter.captions",".fbx-inner:not(:has(.fbx-item-error))",r.handlers.mouseenter).on("mouseleave.captions",".fbx-inner:not(:has(.fbx-item-error))",r.handlers.mouseleave))},toggleCaptions:function(e){var o,t;(a(e.target).is("img")||a(e.target).is(".fbx-close-caption")||a(e.target).is(".fbx-open-caption"))&&(o=r.FooBox.items.current(),t=r.FooBox.modal.element,o.captions)&&!t.hasClass("fbx-error")&&(e.preventDefault(),t.find(".fbx-caption").is(".fbx-fade-caption, .fbx-slide-caption, .fbx-hide-caption")?(t.removeClass("fbx-captions-hidden"),r.show()):(t.addClass("fbx-captions-hidden"),r.hide()))},mouseenter:function(){r.timers.hover.start(function(){r.show()},r.FooBox.options.captions.hoverDelay)},mouseleave:function(){r.timers.hover.start(function(){r.hide()},r.FooBox.options.captions.hoverDelay)},setupHtml:function(e){var o=a("<div/>",{class:"fbx-caption"}),t=a("<button/>",{class:"fbx-open-caption",html:"&hellip;"}).on("click.captions",r.handlers.toggleCaptions);"string"==typeof e.fb.options.modalClass&&-1!=e.fb.options.modalClass.indexOf("fbx-sticky-caption")?e.fb.modal.append(o,t):(e.fb.modal.find(".fbx-stage").append(o),e.fb.modal.find(".fbx-inner").append(t))},setupOptions:function(e){e.fb.modal.find(".fbx-caption").addClass(r.animation())},beforeClose:function(e){1!=e.fb.options.captions.onlyShowOnHover&&e.fb.modal.find(".fbx-caption").addClass("fbx-hide-caption")},beforeLoad:function(e){1!=e.fb.options.captions.onlyShowOnHover&&e.fb.modal.find(".fbx-caption").addClass(r.animation())},afterLoad:function(e){var o=e.fb.item;!o||o.error||o.captionLoaded||(e.fb.instance.raise("foobox.alterCaption",{element:e.fb.element,item:o}),o.captionLoaded=!0),1==e.fb.options.captions.onlyShowOnHover?r.update():0==e.fb.options.captions.onlyShowOnClick&&r.show()},onError:function(e){e.fb.modal.find(".fbx-caption").addClass(r.animation())},parseItem:function(e){var o,t,i,n=e.fb.options.captions;function s(e){return n.html?l.safeParse(e):a("<div/>").text(e).html()}e.fb.item.captions&&0!=n.enabled&&(o="",i=null!=e.fb.element?(t=a(e.fb.element).data("titleSource")||a(e.fb.instance.element).data("titleSource")||n.titleSource,i=a(e.fb.element).data("descSource")||a(e.fb.instance.element).data("descSource")||n.descSource,t=r.getDataValue(e.fb.element,n.dataTitle,t),r.getDataValue(e.fb.element,n.dataDesc,i)):(t=e.fb.item.title,e.fb.item.description),t=(null==t||void 0===t?"":t+"").trim(),i=(null==i||void 0===i?"":i+"").trim(),t&&t===i&&(i=""),t=s(t),i=s(i),o="string"==typeof t&&0<t.length?'<div class="fbx-caption-title">'+t+"</div>":"",o="string"==typeof i&&0<i.length?o+'<div class="fbx-caption-desc">'+i+"</div>":o,e.fb.item.title=t,e.fb.item.description=i,e.fb.item.caption=o,e.fb.instance.raise("foobox.createCaption",{element:e.fb.element,item:e.fb.item}))}},this.text=function(e,o){var t;switch(o){case"find":t=l.trim(e.data("title")||e.attr("title")||e.find("img:first").data("title")||e.find("img:first").data("alt")||e.find("img:first").attr("title")||e.find("img:first").attr("alt"));break;case"image_find":t=l.trim(e.find("img:first").data("title")||e.find("img:first").data("alt")||e.find("img:first").attr("title")||e.find("img:first").attr("alt"));break;case"image":t=l.trim(e.find("img:first").data("title")||e.find("img:first").attr("title"));break;case"image_alt":t=l.trim(e.find("img:first").data("alt")||e.find("img:first").attr("alt"));break;case"anchor":t=l.trim(e.data("title")||e.attr("title"));break;default:t=null}return t=r.FooBox.options.captions.prettify?r.prettifier(t):t},this.animation=function(){switch(r.FooBox.options.captions.animation){case"fade":return"fbx-fade-caption";case"slide":return"fbx-slide-caption";default:return"fbx-hide-caption"}},this.hide=function(){var e=r.FooBox.items.current(),o=r.FooBox.modal.element.find(".fbx-caption");r.FooBox.options.captions.enabled&&e&&e.captions&&"string"==typeof e.caption&&0!=e.caption.length?(o.addClass(r.animation()),r.FooBox.raise("foobox.captionsHide",{item:e})):o.addClass("fbx-hide-caption")},this.show=function(){var e=r.FooBox,o=e.items.current(),t=e.modal.element.find(".fbx-caption");!e.options.captions.enabled||!o.captions||"string"!=typeof o.caption||0==o.caption.length||e.modal.element.hasClass("fbx-captions-hidden")||l.isjQuery(o.element)&&o.element.hasClass("no-captions")?t.addClass("fbx-hide-caption"):(r.update(),t.removeClass("fbx-fade-caption fbx-slide-caption fbx-hide-caption"),r.FooBox.raise("foobox.captionsShow",{item:o}))},this.update=function(){var e=r.FooBox.items.current(),o=r.FooBox.modal.element.find(".fbx-caption");o.html(e.caption).find('a[href^="#"]').filter(function(){var e=a(this).attr("href"),e=a(e),o=e.data("fbx_instance")||e.data("fbx_p_instance");return 0<e.length&&o instanceof l.Instance&&(a(this).data("hrefTarget",e.get(0)),!0)}).off("click.captions").on("click.captions",function(e){e.preventDefault();var e=a(this).data("hrefTarget"),o=a(e).data("fbx_instance")||a(e).data("fbx_p_instance");return o instanceof l.Instance&&(r.FooBox.modal.close(),o.items.indexes.set(e.index),o.modal.show()),!1}),a("<a/>",{class:"fbx-close-caption",html:"&times;"}).on("click.captions",r.handlers.toggleCaptions).prependTo(o)},this.prettifier=function(e){return"string"!=typeof e?null:(e=e.replace(/\s*-\d+/g,"").replace(/\s*_\d+/g,"").replace(/-/g," ").replace(/_/g," ")).replace(/\w\S*/g,function(e){return-1!=e.indexOf("#")?e:e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})}},l.addons.register(l.Captions,{captions:{html:!0,animation:"slide",enabled:!0,descSource:"find",hoverDelay:300,maxHeight:.4,onlyShowOnHover:!1,onlyShowOnClick:!1,overrideDesc:!1,overrideTitle:!1,prettify:!1,titleSource:"image_find",dataTitle:["captionTitle","title"],dataDesc:["captionDesc","description"]}})}(jQuery,window.FooBox),function(l,d){d.Wordpress=function(e){this.FooBox=e;var o=this;this.preinit=function(e){o.handlers.unbind(!0),e.on("foobox.createCaption",o.handlers.onCreateCaption)},this.destroy=function(){o.handlers.unbind(!0)},this.handlers={unbind:function(e){(e=e||!1)&&o.FooBox.element.off("foobox.createCaption",o.handlers.onCreateCaption)},onCreateCaption:function(e){var o=e.fb.options,t=e.fb.instance.element,i=e.fb.item.element,n=e.fb.item.title,s=e.fb.item.description;if(1==o.wordpress.enabled&&d.isjQuery(i)){var a=i.data("captionTitle")||i.data("title"),r=i.data("captionDesc")||i.data("description");if(t.hasClass("gallery"))!1===o.captions.overrideTitle&&(n=a||i.parents(".gallery-item:first").find(".wp-caption-text:first").html()||i.parents(".gallery-item:first").find(".gallery-caption:first").html()||n||""),!1===o.captions.overrideDesc&&(s=r||i.find("img").attr("alt")||s||"");else if(t.hasClass("wp-caption")||i.hasClass("wp-caption"))!1===o.captions.overrideTitle&&(n=a||i.find("img").attr("title")||i.parents(".wp-caption:first").find(".wp-caption-text:first").html()||n||""),!1===o.captions.overrideDesc&&(s=r||i.find("img").attr("alt")||s||"");else if(0<i.parents(".wp-caption:first").length)!1===o.captions.overrideTitle&&(n=a||i.parents(".wp-caption:first").find("img").attr("title")||i.parents(".wp-caption:first").find(".wp-caption-text:first").html()||n||""),!1===o.captions.overrideDesc&&(s=r||i.parents(".wp-caption:first").find("img").attr("alt")||s||"");else if(t.hasClass("tiled-gallery"))!1===o.captions.overrideTitle&&(n=a||i.parents(".tiled-gallery-item:first").find(".tiled-gallery-caption").html()||i.find("img").data("image-title")||i.find("img").attr("title")||n||""),!1===o.captions.overrideDesc&&(s=r||d.trim(i.find("img").data("image-description")).replace(/(^<p>)|(<\/p>$)/gi,"")||s||"");else{if(!t.hasClass("wp-block-gallery")&&!t.hasClass("wp-block-image"))return;!1===o.captions.overrideTitle&&(n=a||i.parents("figure:first").find("figcaption").html()||n||""),!1===o.captions.overrideDesc&&(s=r||s||"")}n=(n+="")||"",s=(s+="")||"",t=l("<div/>"),a=t.html(n).text(),i=t.html(s).text();d.trim(n)!==d.trim(s)&&a!==i||(s=null),o="string"==typeof n&&0<n.length?'<div class="fbx-caption-title">'+n+"</div>":"",o="string"==typeof s&&0<s.length?o+'<div class="fbx-caption-desc">'+s+"</div>":o,e.fb.item.title=n,e.fb.item.description=s,e.fb.item.caption=o}}}},d.addons.register(d.Wordpress,{wordpress:{enabled:!1}})}(jQuery,window.FooBox),function(u,x){x.Pan=function(e){this.FooBox=e;var t,i,n,s,a=this,r=!1,l=!1,d=null,c=null,h=null,f=null,p=null,m=0;this.preinit=function(e){a.handlers.unbind(!0),e.on({"foobox.initialized foobox.reinitialized":a.handlers.initialized})},this.destroy=function(){a.handlers.unbind(!0)},this.setOverview=function(){var e=parseInt(f.css("max-width")),o=parseInt(f.css("max-height")),e=e/d.width,o=o/d.height,o=(m=o<e?o:e,d.width*m),e=d.height*m;f.width(o).height(e).css("background-image","url("+d.url+")")},this.setViewport=function(){var e=h.width(),o=h.height(),e=e*m,o=o*m;p.width(e).height(o)},this.disableCaptionImageClick=function(){var e=a.FooBox.modal.element,o=x.objects.get("addons",a.FooBox,function(e){return e instanceof x.Captions});o&&e.find(".fbx-item-current, .fbx-item-next").off("click.captions",o.handlers.toggleCaptions)},this.enableCaptionImageClick=function(){var e=a.FooBox.modal.element,o=x.objects.get("addons",a.FooBox,function(e){return e instanceof x.Captions});o&&e.find(".fbx-item-current, .fbx-item-next").on("click.captions",o.handlers.toggleCaptions)},this.handlers={unbind:function(e){(e=e||!1)&&a.FooBox.element.off({"foobox.initialized foobox.reinitialized":a.handlers.initialized}),a.FooBox.element.off({"foobox.afterLoad":a.handlers.onAfterLoad,"foobox.showOverflow":a.handlers.onShowOverflow,"foobox.hideOverflow foobox.beforeLoad":a.handlers.onHideOverflow}),a.FooBox.modal instanceof x.Modal&&x.isjQuery(a.FooBox.modal.element)&&a.FooBox.modal.element.find(".fbx-stage").off({mousedown:a.handlers.onMouseDown,mousemove:a.handlers.onMouseMove,mouseup:a.handlers.onMouseUp}).removeClass("fbx-pannable fbx-panning")},initialized:function(e){a.handlers.unbind(),!0===e.fb.options.pan.enabled&&a.FooBox.element.on({"foobox.close":a.handlers.onMouseUp,"foobox.afterLoad":a.handlers.onAfterLoad,"foobox.showOverflow":a.handlers.onShowOverflow,"foobox.hideOverflow foobox.beforeLoad":a.handlers.onHideOverflow})},onAfterLoad:function(e){!0===r&&"image"==e.fb.item.handler.type&&(a.setOverview(),a.setViewport())},onShowOverflow:function(e){"image"==e.fb.item.handler.type&&(!0===r?(a.setOverview(),a.setViewport()):(r=!0,a.disableCaptionImageClick(),d=e.fb.item,h=a.FooBox.modal.element.addClass("fbx-pannable-item").find(".fbx-stage").on({mousedown:a.handlers.onMouseDown,mousemove:a.handlers.onMouseMove,"mouseup mouseleave":a.handlers.onMouseUp}).addClass("fbx-pannable"),c=e.fb.container,!0===e.fb.options.pan.showOverview&&(f=u("<div/>",{class:"fbx-pan-overview"}).addClass(e.fb.options.pan.position).on("click",a.handlers.onOverviewClick).appendTo(h),p=u("<div/>",{class:"fbx-pan-viewport"}).appendTo(f),c.on("scroll",a.handlers.onScroll),a.setOverview(),a.setViewport())))},onHideOverflow:function(e){!0===r&&(r=!1,a.enableCaptionImageClick(),!0===e.fb.options.pan.showOverview&&f.remove(),c.off("scroll",a.handlers.onScroll),h.off({mousedown:a.handlers.onMouseDown,mousemove:a.handlers.onMouseMove,"mouseup mouseleave":a.handlers.onMouseUp}).removeClass("fbx-pannable fbx-panning"),a.FooBox.modal.element.removeClass("fbx-pannable-item"))},onMouseDown:function(e){var o;!0===r&&(e.preventDefault(),h.addClass("fbx-panning"),o=c.get(0),l=!0,t=e.pageX,i=e.pageY,n=o.scrollLeft,s=o.scrollTop)},onMouseMove:function(e){var o;!0===l&&!0===r&&((o=c.get(0)).scrollLeft=n-(e.pageX-t),o.scrollTop=s-(e.pageY-i))},onMouseUp:function(){!0===r&&(l=!1,h.removeClass("fbx-panning"),s=n=i=t=0)},onScroll:function(){var e=c.get(0),o=e.scrollTop/d.height*100,e=e.scrollLeft/d.width*100;p.css({top:o+"%",left:e+"%"})},onOverviewClick:function(e){var o=u(this).offset(),t=(e.pageX-o.left)/m,e=(e.pageY-o.top)/m,o=t-c.width()/2,t=e-c.height()/2;c.animate({scrollTop:t,scrollLeft:o},300)}}},x.addons.register(x.Pan,{pan:{enabled:!0,showOverview:!0,position:"fbx-top-right"}})}(jQuery,window.FooBox),function(i){i.Swipe=function(e){this.FooBox=e,this.isMoving=!1;var o,t=this;this.preinit=function(e){t.handlers.unbind(!0),e.on("foobox.initialized foobox.reinitialized",t.handlers.initialized)},this.destroy=function(){t.handlers.unbind(!0)},this.handlers={unbind:function(e){(e=e||!1)&&t.FooBox.element.off("foobox.initialized foobox.reinitialized",t.handlers.initialized),t.FooBox.modal instanceof i.Modal&&i.isjQuery(t.FooBox.modal.element)&&t.FooBox.modal.element.off({touchstart:t.handlers.onTouchStart,touchmove:t.handlers.onTouchMove})},initialized:function(e){t.handlers.unbind(),!0===e.fb.options.swipe.enabled&&e.fb.modal.on("touchstart",t.handlers.onTouchStart)},onTouchStart:function(e){e=e.originalEvent.touches||e.touches;1==e.length&&t.FooBox.items.multiple()&&(o=e[0].pageX,t.isMoving=!0,t.FooBox.modal.element.on("touchmove",t.handlers.onTouchMove))},onTouchMove:function(e){t.isMoving&&(e=(e.originalEvent.touches||e.touches)[0].pageX,e=o-e,Math.abs(e)>=t.FooBox.options.swipe.min)&&(t.cancelTouch(),0<e?(t.FooBox.raise("foobox.swipeRight"),t.FooBox.modal.next()):(t.FooBox.raise("foobox.swipeLeft"),t.FooBox.modal.prev()))}},this.cancelTouch=function(){t.FooBox.modal.element.off("touchmove",t.handlers.onTouchMove),o=null,t.isMoving=!1}},i.addons.register(i.Swipe,{swipe:{enabled:!0,min:80}})}((jQuery,window.FooBox)),function(t,e,i){if(i){if(i.o&&i.customOptions&&t.extend(!0,i.o,i.customOptions),i.init=function(){if(t(".fbx-link").removeClass("fbx-link"),FooBox.isFn(i.pre))try{i.pre(t)}catch(e){console.error(e)}if(i.disableOthers&&(t("a.thickbox").removeClass("thickbox").unbind("click"),t("#TB_overlay, #TB_load, #TB_window").remove()),t.each(i.selectors,function(e,o){t(o).foobox(i.o)}),i.disableOthers&&t(".fbx-link").unbind(".prettyphoto").unbind(".fb"),FooBox.isFn(i.post))try{i.post(t)}catch(e){console.error(e)}},e.once=function(){var e=t("body");i.init(),t(document).trigger("foobox-after-init"),e.on("post-load",i.init)},i.ready?e.ready(e.once):t(e.once),FooBox.isFn(i.custom))try{i.custom(t)}catch(e){console.error(e)}}else console.log("No configuration for FooBox found.")}(jQuery,window.FooBox,window.FOOBOX);
// source --> https://luxurycroatia.net/wp-content/themes/homequest/js/libs/modernizr-2.5.3.min.js 
/* Modernizr 2.5.3 (Custom Build) | MIT & BSD
 * Build: http://www.modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-flexbox_legacy-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-cssclasses-addtest-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-css_boxsizing-css_overflow_scrolling-css_resize-css_scrollbars-forms_placeholder-forms_speechinput-forms_validation-load
 */
;window.Modernizr=function(a,b,c){function C(a){j.cssText=a}function D(a,b){return C(n.join(a+";")+(b||""))}function E(a,b){return typeof a===b}function F(a,b){return!!~(""+a).indexOf(b)}function G(a,b){for(var d in a)if(j[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function H(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:E(f,"function")?f.bind(d||b):f}return!1}function I(a,b,c){var d=a.charAt(0).toUpperCase()+a.substr(1),e=(a+" "+p.join(d+" ")+d).split(" ");return E(b,"string")||E(b,"undefined")?G(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),H(e,b,c))}function K(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)u[c[d]]=c[d]in k;return u.list&&(u.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),u}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)k.setAttribute("type",f=a[d]),e=k.type!=="text",e&&(k.value=l,k.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&k.style.WebkitAppearance!==c?(g.appendChild(k),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(k,null).WebkitAppearance!=="textfield"&&k.offsetHeight!==0,g.removeChild(k)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=k.checkValidity&&k.checkValidity()===!1:/^color$/.test(f)?(g.appendChild(k),g.offsetWidth,e=k.value!=l,g.removeChild(k)):e=k.value!=l)),t[a[d]]=!!e;return t}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d="2.5.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k=b.createElement("input"),l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={svg:"http://www.w3.org/2000/svg"},s={},t={},u={},v=[],w=v.slice,x,y=function(a,c,d,e){var f,i,j,k=b.createElement("div"),l=b.body,m=l?l:b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),k.appendChild(j);return f=["&#173;","<style>",a,"</style>"].join(""),k.id=h,(l?k:m).innerHTML+=f,m.appendChild(k),l||(m.style.background="",g.appendChild(m)),i=c(k,a),l?k.parentNode.removeChild(k):m.parentNode.removeChild(m),!!i},z=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=E(e[d],"function"),E(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),A={}.hasOwnProperty,B;!E(A,"undefined")&&!E(A.call,"undefined")?B=function(a,b){return A.call(a,b)}:B=function(a,b){return b in a&&E(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=w.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(w.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(w.call(arguments)))};return e});var J=function(c,d){var f=c.join(""),g=d.length;y(f,function(c,d){var f=b.styleSheets[b.styleSheets.length-1],h=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"",i=c.childNodes,j={};while(g--)j[i[g].id]=i[g];e.touch="ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch||(j.touch&&j.touch.offsetTop)===9,e.csstransforms3d=(j.csstransforms3d&&j.csstransforms3d.offsetLeft)===9&&j.csstransforms3d.offsetHeight===3,e.generatedcontent=(j.generatedcontent&&j.generatedcontent.offsetHeight)>=1,e.fontface=/src/i.test(h)&&h.indexOf(d.split(" ")[0])===0},g,d)}(['@font-face {font-family:"font";src:url("https://")}',["@media (",n.join("touch-enabled),("),h,")","{#touch{top:9px;position:absolute}}"].join(""),["@media (",n.join("transform-3d),("),h,")","{#csstransforms3d{left:9px;position:absolute;height:3px;}}"].join(""),['#generatedcontent:after{content:"',l,'";visibility:hidden}'].join("")],["fontface","touch","csstransforms3d","generatedcontent"]);s.flexbox=function(){return I("flexOrder")},s["flexbox-legacy"]=function(){return I("boxDirection")},s.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},s.canvastext=function(){return!!e.canvas&&!!E(b.createElement("canvas").getContext("2d").fillText,"function")},s.webgl=function(){try{var d=b.createElement("canvas"),e;e=!(!a.WebGLRenderingContext||!d.getContext("experimental-webgl")&&!d.getContext("webgl")),d=c}catch(f){e=!1}return e},s.touch=function(){return e.touch},s.geolocation=function(){return!!navigator.geolocation},s.postmessage=function(){return!!a.postMessage},s.websqldatabase=function(){return!!a.openDatabase},s.indexedDB=function(){return!!I("indexedDB",a)},s.hashchange=function(){return z("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},s.history=function(){return!!a.history&&!!history.pushState},s.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},s.websockets=function(){for(var b=-1,c=p.length;++b<c;)if(a[p[b]+"WebSocket"])return!0;return"WebSocket"in a},s.rgba=function(){return C("background-color:rgba(150,255,150,.5)"),F(j.backgroundColor,"rgba")},s.hsla=function(){return C("background-color:hsla(120,40%,100%,.5)"),F(j.backgroundColor,"rgba")||F(j.backgroundColor,"hsla")},s.multiplebgs=function(){return C("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},s.backgroundsize=function(){return I("backgroundSize")},s.borderimage=function(){return I("borderImage")},s.borderradius=function(){return I("borderRadius")},s.boxshadow=function(){return I("boxShadow")},s.textshadow=function(){return b.createElement("div").style.textShadow===""},s.opacity=function(){return D("opacity:.55"),/^0.55$/.test(j.opacity)},s.cssanimations=function(){return I("animationName")},s.csscolumns=function(){return I("columnCount")},s.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return C((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),F(j.backgroundImage,"gradient")},s.cssreflections=function(){return I("boxReflect")},s.csstransforms=function(){return!!I("transform")},s.csstransforms3d=function(){var a=!!I("perspective");return a&&"webkitPerspective"in g.style&&(a=e.csstransforms3d),a},s.csstransitions=function(){return I("transition")},s.fontface=function(){return e.fontface},s.generatedcontent=function(){return e.generatedcontent},s.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},s.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c},s.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}},s.sessionstorage=function(){try{return sessionStorage.setItem(h,h),sessionStorage.removeItem(h),!0}catch(a){return!1}},s.webworkers=function(){return!!a.Worker},s.applicationcache=function(){return!!a.applicationCache},s.svg=function(){return!!b.createElementNS&&!!b.createElementNS(r.svg,"svg").createSVGRect},s.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==r.svg},s.smil=function(){return!!b.createElementNS&&/SVGAnimate/.test(m.call(b.createElementNS(r.svg,"animate")))},s.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(m.call(b.createElementNS(r.svg,"clipPath")))};for(var L in s)B(s,L)&&(x=L.toLowerCase(),e[x]=s[L](),v.push((e[x]?"":"no-")+x));return e.input||K(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)B(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,g.className+=" "+(b?"":"no-")+a,e[a]=b}return e},C(""),i=k=null,function(a,b){function g(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function h(){var a=k.elements;return typeof a=="string"?a.split(" "):a}function i(a){var b={},c=a.createElement,e=a.createDocumentFragment,f=e();a.createElement=function(a){var e=(b[a]||(b[a]=c(a))).cloneNode();return k.shivMethods&&e.canHaveChildren&&!d.test(a)?f.appendChild(e):e},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+h().join().replace(/\w+/g,function(a){return b[a]=c(a),f.createElement(a),'c("'+a+'")'})+");return n}")(k,f)}function j(a){var b;return a.documentShived?a:(k.shivCSS&&!e&&(b=!!g(a,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),f||(b=!i(a)),b&&(a.documentShived=b),a)}var c=a.html5||{},d=/^<|^(?:button|form|map|select|textarea)$/i,e,f;(function(){var a=b.createElement("a");a.innerHTML="<xyz></xyz>",e="hidden"in a,f=a.childNodes.length==1||function(){try{b.createElement("a")}catch(a){return!0}var c=b.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}()})();var k={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:j};a.html5=k,j(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.hasEvent=z,e.testProp=function(a){return G([a])},e.testAllProps=I,e.testStyles=y,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+v.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return o.call(a)=="[object Function]"}function e(a){return typeof a=="string"}function f(){}function g(a){return!a||a=="loaded"||a=="complete"||a=="uninitialized"}function h(){var a=p.shift();q=1,a?a.t?m(function(){(a.t=="c"?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){a!="img"&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l={},o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};y[c]===1&&(r=1,y[c]=[],l=b.createElement(a)),a=="object"?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),a!="img"&&(r||y[c]===2?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i(b=="c"?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),p.length==1&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&o.call(a.opera)=="[object Opera]",l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return o.call(a)=="[object Array]"},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,i){var j=b(a),l=j.autoCallback;j.url.split(".").pop().split("?").shift(),j.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]||h),j.instead?j.instead(a,e,f,g,i):(y[j.url]?j.noexec=!0:y[j.url]=1,f.load(j.url,j.forceCSS||!j.forceJS&&"css"==j.url.split(".").pop().split("?").shift()?"c":c,j.noexec,j.attrs,j.timeout),(d(e)||d(l))&&f.load(function(){k(),e&&e(j.origUrl,i,g),l&&l(j.origUrl,i,g),y[j.url]=2})))}function i(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var j,l,m=this.yepnope.loader;if(e(a))g(a,0,m,0);else if(w(a))for(j=0;j<a.length;j++)l=a[j],e(l)?g(l,0,m,0):w(l)?B(l):Object(l)===l&&i(l,m);else Object(a)===a&&i(a,m)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,b.readyState==null&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},Modernizr.addTest("boxsizing",function(){return Modernizr.testAllProps("boxSizing")&&(document.documentMode===undefined||document.documentMode>7)}),Modernizr.addTest("speechinput",function(){var a=document.createElement("input");return"speech"in a||"onwebkitspeechchange"in a}),Modernizr.addTest("overflowscrolling",function(){return Modernizr.testAllProps("overflowScrolling")}),Modernizr.addTest("cssresize",Modernizr.testAllProps("resize")),Modernizr.addTest("placeholder",function(){return"placeholder"in(Modernizr.input||document.createElement("input"))&&"placeholder"in(Modernizr.textarea||document.createElement("textarea"))}),Modernizr.addTest("cssscrollbar",function(){var a,b="#modernizr{overflow: scroll; width: 40px }#"+Modernizr._prefixes.join("scrollbar{width:0px} #modernizr::").split("#").slice(1).join("#")+"scrollbar{width:0px}";return Modernizr.testStyles(b,function(b){a="scrollWidth"in b&&b.scrollWidth==40}),a}),function(a,b){b.formvalidationapi=!1,b.formvalidationmessage=!1,b.buggyinteractivevalidation=!1,b.addTest("formvalidation",function(){var c=a.createElement("form");if("checkValidity"in c){var d=a.body,e=a.documentElement,f=!1,g=!1,h;return b.formvalidationapi=!0,c.onsubmit=function(a){window.opera||a.preventDefault(),a.stopPropagation(),b.buggyinteractivevalidation=!0},c.innerHTML='<input name="modTest" required><button></button>',c.style.position="absolute",c.style.top="-99999em",d||(f=!0,d=a.createElement("body"),d.style.background="",e.appendChild(d)),d.appendChild(c),h=c.getElementsByTagName("input")[0],h.oninvalid=function(a){g=!0,a.preventDefault(),a.stopPropagation()},b.formvalidationmessage=!!h.validationMessage,c.getElementsByTagName("button")[0].click(),d.removeChild(c),f&&e.removeChild(d),g}return!1})}(document,window.Modernizr);
// source --> https://luxurycroatia.net/wp-content/themes/homequest/js/libs/respond.min.js 
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
/*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */
window.matchMedia=window.matchMedia||(function(e,f){var c,a=e.documentElement,b=a.firstElementChild||a.firstChild,d=e.createElement("body"),g=e.createElement("div");g.id="mq-test-1";g.style.cssText="position:absolute;top:-100em";d.style.background="none";d.appendChild(g);return function(h){g.innerHTML='&shy;<style media="'+h+'"> #mq-test-1 { width: 42px; }</style>';a.insertBefore(d,b);c=g.offsetWidth==42;a.removeChild(d);return{matches:c,media:h}}})(document);

/*! Respond.js v1.1.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs  */
(function(e){e.respond={};respond.update=function(){};respond.mediaQueriesSupported=e.matchMedia&&e.matchMedia("only all").matches;if(respond.mediaQueriesSupported){return}var w=e.document,s=w.documentElement,i=[],k=[],q=[],o={},h=30,f=w.getElementsByTagName("head")[0]||s,g=w.getElementsByTagName("base")[0],b=f.getElementsByTagName("link"),d=[],a=function(){var D=b,y=D.length,B=0,A,z,C,x;for(;B<y;B++){A=D[B],z=A.href,C=A.media,x=A.rel&&A.rel.toLowerCase()==="stylesheet";if(!!z&&x&&!o[z]){if(A.styleSheet&&A.styleSheet.rawCssText){m(A.styleSheet.rawCssText,z,C);o[z]=true}else{if((!/^([a-zA-Z:]*\/\/)/.test(z)&&!g)||z.replace(RegExp.$1,"").split("/")[0]===e.location.host){d.push({href:z,media:C})}}}}u()},u=function(){if(d.length){var x=d.shift();n(x.href,function(y){m(y,x.href,x.media);o[x.href]=true;u()})}},m=function(I,x,z){var G=I.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),J=G&&G.length||0,x=x.substring(0,x.lastIndexOf("/")),y=function(K){return K.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+x+"$2$3")},A=!J&&z,D=0,C,E,F,B,H;if(x.length){x+="/"}if(A){J=1}for(;D<J;D++){C=0;if(A){E=z;k.push(y(I))}else{E=G[D].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1;k.push(RegExp.$2&&y(RegExp.$2))}B=E.split(",");H=B.length;for(;C<H;C++){F=B[C];i.push({media:F.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:k.length-1,hasquery:F.indexOf("(")>-1,minw:F.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:F.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}}j()},l,r,v=function(){var z,A=w.createElement("div"),x=w.body,y=false;A.style.cssText="position:absolute;font-size:1em;width:1em";if(!x){x=y=w.createElement("body");x.style.background="none"}x.appendChild(A);s.insertBefore(x,s.firstChild);z=A.offsetWidth;if(y){s.removeChild(x)}else{x.removeChild(A)}z=p=parseFloat(z);return z},p,j=function(I){var x="clientWidth",B=s[x],H=w.compatMode==="CSS1Compat"&&B||w.body[x]||B,D={},G=b[b.length-1],z=(new Date()).getTime();if(I&&l&&z-l<h){clearTimeout(r);r=setTimeout(j,h);return}else{l=z}for(var E in i){var K=i[E],C=K.minw,J=K.maxw,A=C===null,L=J===null,y="em";if(!!C){C=parseFloat(C)*(C.indexOf(y)>-1?(p||v()):1)}if(!!J){J=parseFloat(J)*(J.indexOf(y)>-1?(p||v()):1)}if(!K.hasquery||(!A||!L)&&(A||H>=C)&&(L||H<=J)){if(!D[K.media]){D[K.media]=[]}D[K.media].push(k[K.rules])}}for(var E in q){if(q[E]&&q[E].parentNode===f){f.removeChild(q[E])}}for(var E in D){var M=w.createElement("style"),F=D[E].join("\n");M.type="text/css";M.media=E;f.insertBefore(M,G.nextSibling);if(M.styleSheet){M.styleSheet.cssText=F}else{M.appendChild(w.createTextNode(F))}q.push(M)}},n=function(x,z){var y=c();if(!y){return}y.open("GET",x,true);y.onreadystatechange=function(){if(y.readyState!=4||y.status!=200&&y.status!=304){return}z(y.responseText)};if(y.readyState==4){return}y.send(null)},c=(function(){var x=false;try{x=new XMLHttpRequest()}catch(y){x=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return x}})();a();respond.update=a;function t(){j(true)}if(e.addEventListener){e.addEventListener("resize",t,false)}else{if(e.attachEvent){e.attachEvent("onresize",t)}}})(this);
// source --> https://luxurycroatia.net/wp-content/themes/homequest/js/jquery.customInput.js 
/**
 * --------------------------------------------------------------------
 * jQuery customInput plugin
 * Author: Maggie Costello Wachs maggie@filamentgroup.com, Scott Jehl, scott@filamentgroup.com
 * Copyright (c) 2009 Filament Group 
 * licensed under MIT (filamentgroup.com/examples/mit-license.txt)
 * --------------------------------------------------------------------
 */
jQuery.fn.customInput = function(){
	return $(this).each(function(){	
		if($(this).is('[type=checkbox],[type=radio]')){
			var input = $(this);
			
			// get the associated label using the input's id
			var label = $('label[for='+input.attr('id')+']');
			
			// wrap the input + label in a div 
			input.add(label).wrapAll('<div class="custom-'+ input.attr('type') +'"></div>');
			
			// necessary for browsers that don't support the :hover pseudo class on labels
			label.hover(
				function(){ $(this).addClass('hover'); },
				function(){ $(this).removeClass('hover'); }
			);
			
			//bind custom event, trigger it, bind click,focus,blur events					
			input.bind('updateState', function(){	
				input.is(':checked') ? label.addClass('checked') : label.removeClass('checked checkedHover checkedFocus'); 
			})
			.trigger('updateState')
			.click(function(){
				var selected_items = $('input[name='+ $(this).attr('name') +']');
                if(selected_items.length !== undefined && selected_items.length){
                    selected_items.trigger('updateState');
                } else {
                    input.trigger('updateState');
                }
			})
			.focus(function(){ 
				label.addClass('focus'); 
				if(input.is(':checked')){  $(this).addClass('checkedFocus'); } 
			})
			.blur(function(){ label.removeClass('focus checkedFocus'); });
		}
	});
};
// source --> https://luxurycroatia.net/wp-content/themes/homequest/js/cusel-min.js 
/* -------------------------------------
	cusel version 2.5
	last update: 31.10.11
	autor: Evgen Ryzhkov
	updates by:
		- Alexey Choporov
		- Roman Omelkovitch
	using libs:
		- jScrollPane
		- mousewheel
	www.xiper.net
----------------------------------------
*/
function cuselScrollToCurent(a){var b=null;if(a.find(".cuselOptHover").eq(0).is("span"))b=a.find(".cuselOptHover").eq(0);else if(a.find(".cuselActive").eq(0).is("span"))b=a.find(".cuselActive").eq(0);if(a.find(".jScrollPaneTrack").eq(0).is("div")&&b){var c=b.position(),d=a.find(".cusel-scroll-pane").eq(0).attr("id");jQuery("#"+d)[0].scrollTo(c.top)}}function cuselShowList(a){var b=a.parent(".cusel");if(a.css("display")=="none"){$(".cusel-scroll-wrap").css("display","none");$(".cuselOpen").removeClass("cuselOpen");b.addClass("cuselOpen");a.css("display","block");var c=false;if(b.prop("class").indexOf("cuselScrollArrows")!=-1)c=true;if(!a.find(".jScrollPaneContainer").eq(0).is("div")){a.find("div").eq(0).jScrollPaneCusel({showArrows:c})}cuselScrollToCurent(a)}else{a.css("display","none");b.removeClass("cuselOpen")}}function cuSelRefresh(a){var b=a.refreshEl.split(","),c=b.length,d;for(d=0;d<c;d++){var e=jQuery(b[d]).parents(".cusel").find(".cusel-scroll-wrap").eq(0);e.find(".cusel-scroll-pane").jScrollPaneRemoveCusel();e.css({visibility:"hidden",display:"block"});var f=e.find("span"),g=f.eq(0).outerHeight();if(f.length>a.visRows){e.css({height:g*a.visRows+"px",display:"none",visibility:"visible"}).children(".cusel-scroll-pane").css("height",g*a.visRows+"px")}else{e.css({display:"none",visibility:"visible"})}}}function cuSel(a){function b(){jQuery("html").unbind("click");jQuery("html").click(function(a){var b=jQuery(a.target),c=b.attr("id"),d=b.prop("class");if((d.indexOf("cuselText")!=-1||d.indexOf("cuselFrameRight")!=-1)&&b.parent().prop("class").indexOf("classDisCusel")==-1){var e=b.parent().find(".cusel-scroll-wrap").eq(0);cuselShowList(e)}else if(d.indexOf("cusel")!=-1&&d.indexOf("classDisCusel")==-1&&b.is("div")){var e=b.find(".cusel-scroll-wrap").eq(0);cuselShowList(e)}else if(b.is(".cusel-scroll-wrap span")&&d.indexOf("cuselActive")==-1){var f;b.attr("val")==undefined?f=b.text():f=b.attr("val");b.parents(".cusel-scroll-wrap").find(".cuselActive").eq(0).removeClass("cuselActive").end().parents(".cusel-scroll-wrap").next().val(f).end().prev().text(b.text()).end().css("display","none").parent(".cusel").removeClass("cuselOpen");b.addClass("cuselActive");b.parents(".cusel-scroll-wrap").find(".cuselOptHover").removeClass("cuselOptHover");if(d.indexOf("cuselActive")==-1)b.parents(".cusel").find(".cusel-scroll-wrap").eq(0).next("input").change()}else if(b.parents(".cusel-scroll-wrap").is("div")){return}else{jQuery(".cusel-scroll-wrap").css("display","none").parent(".cusel").removeClass("cuselOpen")}});jQuery(".cusel").unbind("keydown");jQuery(".cusel").keydown(function(a){var b,c;if(window.event)b=window.event.keyCode;else if(a)b=a.which;if(b==null||b==0||b==9)return true;if(jQuery(this).prop("class").indexOf("classDisCusel")!=-1)return false;if(b==40){var d=jQuery(this).find(".cuselOptHover").eq(0);if(!d.is("span"))var e=jQuery(this).find(".cuselActive").eq(0);else var e=d;var f=e.next();if(f.is("span")){jQuery(this).find(".cuselText").eq(0).text(f.text());e.removeClass("cuselOptHover");f.addClass("cuselOptHover");$(this).find("input").eq(0).val(f.attr("val"));cuselScrollToCurent($(this).find(".cusel-scroll-wrap").eq(0));return false}else return false}if(b==38){var d=$(this).find(".cuselOptHover").eq(0);if(!d.is("span"))var e=$(this).find(".cuselActive").eq(0);else var e=d;cuselActivePrev=e.prev();if(cuselActivePrev.is("span")){$(this).find(".cuselText").eq(0).text(cuselActivePrev.text());e.removeClass("cuselOptHover");cuselActivePrev.addClass("cuselOptHover");$(this).find("input").eq(0).val(cuselActivePrev.attr("val"));cuselScrollToCurent($(this).find(".cusel-scroll-wrap").eq(0));return false}else return false}if(b==27){var g=$(this).find(".cuselActive").eq(0).text();$(this).removeClass("cuselOpen").find(".cusel-scroll-wrap").eq(0).css("display","none").end().find(".cuselOptHover").eq(0).removeClass("cuselOptHover");$(this).find(".cuselText").eq(0).text(g)}if(b==13){var h=$(this).find(".cuselOptHover").eq(0);if(h.is("span")){$(this).find(".cuselActive").removeClass("cuselActive");h.addClass("cuselActive")}else var i=$(this).find(".cuselActive").attr("val");$(this).removeClass("cuselOpen").find(".cusel-scroll-wrap").eq(0).css("display","none").end().find(".cuselOptHover").eq(0).removeClass("cuselOptHover");$(this).find("input").eq(0).change()}if(b==32&&$.browser.opera){var j=$(this).find(".cusel-scroll-wrap").eq(0);cuselShowList(j)}if($.browser.opera)return false});var a=[];jQuery(".cusel").keypress(function(b){function g(){var b=[];for(var c in a){if(window.event)b[c]=a[c].keyCode;else if(a[c])b[c]=a[c].which;b[c]=String.fromCharCode(b[c]).toUpperCase()}var d=jQuery(e).find("span"),f=d.length,g,h;for(g=0;g<f;g++){var i=true;for(var j in a){h=d.eq(g).text().charAt(j).toUpperCase();if(h!=b[j]){i=false}}if(i){jQuery(e).find(".cuselOptHover").removeClass("cuselOptHover").end().find("span").eq(g).addClass("cuselOptHover").end().end().find(".cuselText").eq(0).text(d.eq(g).text());cuselScrollToCurent($(e).find(".cusel-scroll-wrap").eq(0));a=a.splice;a=[];break;return true}}a=a.splice;a=[]}var c,d;if(window.event)c=window.event.keyCode;else if(b)c=b.which;if(c==null||c==0||c==9)return true;if(jQuery(this).prop("class").indexOf("classDisCusel")!=-1)return false;var e=this;a.push(b);clearTimeout(jQuery.data(this,"timer"));var f=setTimeout(function(){g()},500);jQuery(this).data("timer",f);if(jQuery.browser.opera&&window.event.keyCode!=9)return false})}jQuery(a.changedEl).each(function(c){var d=jQuery(this),e=d.outerWidth(),f=d.prop("class"),g=d.prop("id")?d.prop("id"):"cuSel-"+c,h=d.prop("name"),j=d.val(),k=d.find("option[value='"+j+"']").eq(0),l=k.text(),m=d.prop("disabled"),n=a.scrollArrows,o=d.prop("onchange"),p=d.prop("tabindex"),q=d.prop("multiple");if(!g||q)return false;var r=d.data("events"),s=[];if(r&&r["change"]){$.each(r["change"],function(a,b){s[s.length]=b})}if(!m){classDisCuselText="",classDisCusel=""}else{classDisCuselText="classDisCuselLabel";classDisCusel="classDisCusel"}if(n){classDisCusel+=" cuselScrollArrows"}k.addClass("cuselActive");var t=d.html(),u=t.replace(/option/ig,"span").replace(/value=/ig,"val=");if($.browser.msie&&parseInt($.browser.version)<9){var v=/(val=)(.*?)(>)/g;u=u.replace(v,"$1'$2'$3")}var w='<div class="cusel '+f+" "+classDisCusel+'"'+" id=cuselFrame-"+g+' style="width:'+e+'px"'+' tabindex="'+p+'"'+">"+'<div class="cuselFrameRight"></div>'+'<div class="cuselText">'+l+"</div>"+'<div class="cusel-scroll-wrap"><div class="cusel-scroll-pane" id="cusel-scroll-'+g+'">'+u+"</div></div>"+'<input type="hidden" id="'+g+'" name="'+h+'" value="'+j+'" />'+"</div>";d.replaceWith(w);if(o)jQuery("#"+g).bind("change",o);if(s.length){$.each(s,function(a,b){$("#"+g).bind("change",b)})}var x=jQuery("#cuselFrame-"+g),y=x.find("span"),z;if(!y.eq(0).text()){z=y.eq(1).innerHeight();y.eq(0).css("height",y.eq(1).height())}else{z=y.eq(0).innerHeight()}if(y.length>a.visRows){x.find(".cusel-scroll-wrap").eq(0).css({height:z*a.visRows+"px",display:"none",visibility:"visible"}).children(".cusel-scroll-pane").css("height",z*a.visRows+"px")}else{x.find(".cusel-scroll-wrap").eq(0).css({display:"none",visibility:"visible"})}var A=jQuery("#cusel-scroll-"+g).find("span[addTags]"),B=A.length;for(i=0;i<B;i++)A.eq(i).append(A.eq(i).attr("addTags")).removeAttr("addTags");b()});jQuery(".cusel").focus(function(){jQuery(this).addClass("cuselFocus")});jQuery(".cusel").blur(function(){jQuery(this).removeClass("cuselFocus")});jQuery(".cusel").hover(function(){jQuery(this).addClass("cuselFocus")},function(){jQuery(this).removeClass("cuselFocus")})}(function(a){a.jScrollPaneCusel={active:[]};a.fn.jScrollPaneCusel=function(b){b=a.extend({},a.fn.jScrollPaneCusel.defaults,b);var c=function(){return false};return this.each(function(){var d=a(this);var e=this.parentNode.offsetWidth;d.css("overflow","hidden");var f=this;if(a(this).parent().is(".jScrollPaneContainer")){var g=b.maintainPosition?d.position().top:0;var h=a(this).parent();var i=e;var j=h.outerHeight();var k=j;a(">.jScrollPaneTrack, >.jScrollArrowUp, >.jScrollArrowDown",h).remove();d.css({top:0})}else{var g=0;this.originalPadding=d.css("paddingTop")+" "+d.css("paddingRight")+" "+d.css("paddingBottom")+" "+d.css("paddingLeft");this.originalSidePaddingTotal=(parseInt(d.css("paddingLeft"))||0)+(parseInt(d.css("paddingRight"))||0);var i=e;var j=d.innerHeight();var k=j;d.wrap("<div class='jScrollPaneContainer'></div>").parent().css({height:j+"px",width:i+"px"});if(!window.navigator.userProfile){var l=parseInt(a(this).parent().css("border-left-width"))+parseInt(a(this).parent().css("border-right-width"));i-=l;a(this).css("width",i+"px").parent().css("width",i+"px")}a(document).bind("emchange",function(a,c,e){d.jScrollPaneCusel(b)})}if(b.reinitialiseOnImageLoad){var m=a.data(f,"jScrollPaneImagesToLoad")||a("img",d);var n=[];if(m.length){m.each(function(c,e){a(this).bind("load",function(){if(a.inArray(c,n)==-1){n.push(e);m=a.grep(m,function(a,b){return a!=e});a.data(f,"jScrollPaneImagesToLoad",m);b.reinitialiseOnImageLoad=false;d.jScrollPaneCusel(b)}}).each(function(a,b){if(this.complete||this.complete===undefined){this.src=this.src}})})}}var o=this.originalSidePaddingTotal;var p={height:"auto",width:i-b.scrollbarWidth-b.scrollbarMargin-o+"px"};if(b.scrollbarOnLeft){p.paddingLeft=b.scrollbarMargin+b.scrollbarWidth+"px"}else{p.paddingRight=b.scrollbarMargin+"px"}d.css(p);var q=d.outerHeight();var r=j/q;if(r<.99){var s=d.parent();s.append(a('<div class="jScrollPaneTrack"></div>').css({width:b.scrollbarWidth+"px"}).append(a('<div class="jScrollPaneDrag"></div>').css({width:b.scrollbarWidth+"px"}).append(a('<div class="jScrollPaneDragTop"></div>').css({width:b.scrollbarWidth+"px"}),a('<div class="jScrollPaneDragBottom"></div>').css({width:b.scrollbarWidth+"px"}))));var t=a(">.jScrollPaneTrack",s);var u=a(">.jScrollPaneTrack .jScrollPaneDrag",s);if(b.showArrows){var v;var w;var x;var y;var z=function(){if(y>4||y%4==0){Q(J+w*I)}y++};var A=function(b){a("html").unbind("mouseup",A);v.removeClass("jScrollActiveArrowButton");clearInterval(x)};var B=function(){a("html").bind("mouseup",A);v.addClass("jScrollActiveArrowButton");y=0;z();x=setInterval(z,100)};s.append(a("<div></div>").attr({"class":"jScrollArrowUp"}).css({width:b.scrollbarWidth+"px"}).bind("mousedown",function(){v=a(this);w=-1;B();this.blur();return false}).bind("click",c),a("<div></div>").attr({"class":"jScrollArrowDown"}).css({width:b.scrollbarWidth+"px"}).bind("mousedown",function(){v=a(this);w=1;B();this.blur();return false}).bind("click",c));var C=a(">.jScrollArrowUp",s);var D=a(">.jScrollArrowDown",s);if(b.arrowSize){k=j-b.arrowSize-b.arrowSize;t.css({height:k+"px",top:b.arrowSize+"px"})}else{var E=C.height();b.arrowSize=E;k=j-E-D.height();t.css({height:k+"px",top:E+"px"})}}var F=a(this).css({position:"absolute",overflow:"visible"});var G;var H;var I;var J=0;var K=r*j/2;var L=function(a,b){var c=b=="X"?"Left":"Top";return a["page"+b]||a["client"+b]+(document.documentElement["scroll"+c]||document.body["scroll"+c])||0};var M=function(){return false};var N=function(){bc();G=u.offset(false);G.top-=J;H=k-u[0].offsetHeight;I=2*b.wheelSpeed*H/q};var O=function(b){N();K=L(b,"Y")-J-G.top;a("html").bind("mouseup",P).bind("mousemove",R);if(a.browser.msie){a("html").bind("dragstart",M).bind("selectstart",M)}return false};var P=function(){a("html").unbind("mouseup",P).unbind("mousemove",R);K=r*j/2;if(a.browser.msie){a("html").unbind("dragstart",M).unbind("selectstart",M)}};var Q=function(a){a=a<0?0:a>H?H:a;J=a;u.css({top:a+"px"});var c=a/H;F.css({top:(j-q)*c+"px"});d.trigger("scroll");if(b.showArrows){C[a==0?"addClass":"removeClass"]("disabled");D[a==H?"addClass":"removeClass"]("disabled")}};var R=function(a){Q(L(a,"Y")-G.top-K)};var S=Math.max(Math.min(r*(j-b.arrowSize*2),b.dragMaxHeight),b.dragMinHeight);u.css({height:S+"px"}).bind("mousedown",O);var T;var U;var V;var W=function(){if(U>8||U%4==0){Q(J-(J-V)/2)}U++};var X=function(){clearInterval(T);a("html").unbind("mouseup",X).unbind("mousemove",Y)};var Y=function(a){V=L(a,"Y")-G.top-K};var Z=function(b){N();Y(b);U=0;a("html").bind("mouseup",X).bind("mousemove",Y);T=setInterval(W,100);W()};t.bind("mousedown",Z);s.bind("mousewheel",function(a,b){N();bc();var c=J;Q(J-b*I);var d=c!=J;return false});var _;var ba;function bb(){var a=(_-J)/b.animateStep;if(a>1||a<-1){Q(J+a)}else{Q(_);bc()}}var bc=function(){if(ba){clearInterval(ba);delete _}};var bd=function(c,e){if(typeof c=="string"){$e=a(c,d);if(!$e.length)return;c=$e.offset().top-d.offset().top}s.scrollTop(0);bc();var f=-c/(j-q)*H;if(e||!b.animateTo){Q(f)}else{_=f;ba=setInterval(bb,b.animateInterval)}};d[0].scrollTo=bd;d[0].scrollBy=function(a){var b=-parseInt(F.css("top"))||0;bd(b+a)};N();bd(-g,true);a("*",this).bind("focus",function(c){var e=a(this);var f=0;while(e[0]!=d[0]){f+=e.position().top;e=e.offsetParent()}var g=-parseInt(F.css("top"))||0;var h=g+j;var i=f>g&&f<h;if(!i){var k=f-b.scrollbarMargin;if(f>g){k+=a(this).height()+15+b.scrollbarMargin-j}bd(k)}});if(location.hash){bd(location.hash)}a(document).bind("click",function(b){$target=a(b.target);if($target.is("a")){var c=$target.attr("href");if(c.substr(0,1)=="#"){bd(c)}}});a.jScrollPaneCusel.active.push(d[0])}else{d.css({height:j+"px",width:i-this.originalSidePaddingTotal+"px",padding:this.originalPadding});d.parent().unbind("mousewheel")}})};a.fn.jScrollPaneRemoveCusel=function(){a(this).each(function(){$this=a(this);var b=$this.parent();if(b.is(".jScrollPaneContainer")){$this.css({top:"",height:"",width:"",padding:"",overflow:"",position:""});$this.attr("style",$this.data("originalStyleTag"));b.after($this).remove()}})};a.fn.jScrollPaneCusel.defaults={scrollbarWidth:10,scrollbarMargin:5,wheelSpeed:18,showArrows:false,arrowSize:0,animateTo:false,dragMinHeight:1,dragMaxHeight:99999,animateInterval:100,animateStep:3,maintainPosition:true,scrollbarOnLeft:false,reinitialiseOnImageLoad:false};a(window).bind("unload",function(){var b=a.jScrollPaneCusel.active;for(var c=0;c<b.length;c++){b[c].scrollTo=b[c].scrollBy=null}})})(jQuery);(function(a){a.event.special.mousewheel={setup:function(){var b=a.event.special.mousewheel.handler;if(a.browser.mozilla)a(this).bind("mousemove.mousewheel",function(b){a.data(this,"mwcursorposdata",{pageX:b.pageX,pageY:b.pageY,clientX:b.clientX,clientY:b.clientY})});if(this.addEventListener)this.addEventListener(a.browser.mozilla?"DOMMouseScroll":"mousewheel",b,false);else this.onmousewheel=b},teardown:function(){var b=a.event.special.mousewheel.handler;a(this).unbind("mousemove.mousewheel");if(this.removeEventListener)this.removeEventListener(a.browser.mozilla?"DOMMouseScroll":"mousewheel",b,false);else this.onmousewheel=function(){};a.removeData(this,"mwcursorposdata")},handler:function(b){var c=Array.prototype.slice.call(arguments,1);b=a.event.fix(b||window.event);a.extend(b,a.data(this,"mwcursorposdata")||{});var d=0,e=true;if(b.wheelDelta)d=b.wheelDelta/120;if(b.detail)d=-b.detail/3;b.data=b.data||{};b.type="mousewheel";c.unshift(d);c.unshift(b);return a.event.handle.apply(this,c)}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);
// source --> https://luxurycroatia.net/wp-content/themes/homequest/js/general.js 
$=jQuery;

function setCookie(c_name,value,exdays)
{
    var exdate=new Date();
    exdate.setDate(exdate.getDate() + exdays);
    var c_value=value + ((exdays==null) ? "" : "; expires="+exdate.toUTCString()+"; path=/;");
    document.cookie=c_name + "=" + c_value;
}
function getCookie(c_name)
{
    var i,x,y,ARRcookies=document.cookie.split(";");
    var result = false;
    for (i=0;i<ARRcookies.length;i++)
    {
        x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));
        y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);
        x=x.replace(/^\s+|\s+$/g,"");
        if (x==c_name)
        {
            result = y;
        }
    }
    return result;
}

jQuery.fn.beforeprint = function(callback) {
    return jQuery(this).each(function() {
        if ( !jQuery.isWindow(this) )
            return;
        if ( this.onbeforeprint !== undefined )
            jQuery(this).on('beforeprint', callback);
        else if ( this.matchMedia )
            this.matchMedia('print').addListener(callback);
    });
};
jQuery.fn.afterprint = function(callback) {
    return jQuery(this).each(function() {
        if ( !jQuery.isWindow(this) )
            return;
        if ( this.onafterprint !== undefined )
            jQuery(this).on('afterprint', callback);
        else if ( this.matchMedia )
            this.matchMedia('media').addListener(callback);
    });
};

jQuery(document).ready(function($) {
    
    jQuery('.footer .widget_nav_menu').addClass('widget_pages').removeClass('widget_nav_menu');
    
	// custom select and inputs
	var params = {
        changedEl: ".select_styled",
        visRows: 10,
        scrollArrows: true
    }
    cuSel(params);
    if ($("div,p").hasClass("input_styled")) {
        $('.input_styled input').customInput();
    }
    // show search form with fadein
    $(".form_search").animate({opacity:1}, 1500);
    
    // Topmenu <ul> replace to <select>, only for Mobiles
    $(function()
    {
        var tempMenu = $('.topmenu').clone();
        var mainNavigationMenu = jQuery('<div>');

        mainNavigationMenu.attr('id', 'topmenu-select');

        /* Replace unordered list with a "select" element to be populated with options, and create a variable to select our new empty option menu */
        mainNavigationMenu.html('<select class="select_styled" id="topm-select"></select>');
        jQuery('.topmenu').after(mainNavigationMenu);

        var selectMenu = mainNavigationMenu.children('select');

        /* Navigate our nav clone for information needed to populate options */
        $(tempMenu).children('ul').children('li').each(function() {

            /* Get top-level link and text */
            var href = $(this).children('a').attr('href');
            var text = $(this).children('a').text();

            /* Append this option to our "select" */
            if ($(this).is(".current-menu-item") && href != '#') {
                $(selectMenu).append('<option value="'+href+'" selected>'+text+'</option>');
            } else if ( href == '#' ) {
                $(selectMenu).append('<option value="'+href+'" disabled="disabled">'+text+'</option>');
            } else {
                $(selectMenu).append('<option value="'+href+'">'+text+'</option>');
            }

            /* Check for "children" and navigate for more options if they exist */
            if ($(this).children('ul').length > 0) {
                $(this).children('ul').children('li').not(".mega-nav-widget").each(function() {

                    /* Get child-level link and text */
                    var href2 = $(this).children('a').attr('href');
                    var text2 = $(this).children('a').text();

                    /* Append this option to our "select" */
                    if ($(this).is(".current-menu-item") && href2 != '#') {
                        $(selectMenu).append('<option value="'+href2+'" selected> &nbsp;|-- '+text2+'</option>');
                    } else if ( href2 == '#' ) {
                        $(selectMenu).append('<option value="'+href2+'" disabled="disabled"> &nbsp;|-- '+text2+'</option>');
                    } else {
                        $(selectMenu).append('<option value="'+href2+'"> &nbsp;|-- '+text2+'</option>');
                    }

                    // if ($(this).is(".current-menu-item")) {
                    // $(selectMenu).append('<option value="'+href2+'" class="select-current" selected>'+text2+'</option>');
                    // } else {
                    // $(selectMenu).append('<option value="'+href2+'"> &nbsp;|-- '+text2+'</option>');
                    // }

                    /* Check for "children" and navigate for more options if they exist */
                    if ($(this).children('ul').length > 0) {
                        $(this).children('ul').children('li').each(function() {

                            /* Get child-level link and text */
                            var href3 = $(this).children('a').attr('href');
                            var text3 = $(this).children('a').text();

                            /* Append this option to our "select" */
                            if ($(this).is(".current-menu-item")) {
                                $(selectMenu).append('<option value="'+href3+'" class="select-current" selected> &nbsp;&nbsp;&nbsp;&nbsp;|-- '+text3+'</option>');
                            } else {
                                $(selectMenu).append('<option value="'+href3+'"> &nbsp;&nbsp;&nbsp;&nbsp;|-- '+text3+'</option>');
                            }

                        });
                    }

                });
            }

        });

        /* When our select menu is changed, change the window location to match the value of the selected option. */
        $(selectMenu).change(function() {
            location = this.options[this.selectedIndex].value;
        });
    });
    var screenRes = $(window).width();
    // Search Advanced
    $(".search_main").css({'overflow':'inherit'});
    if (!$(".search_main").hasClass("search_open")) {
        $(".search_main .rowHide").hide(); // fix for range-slider
    }
    if( !parseInt($('input[name=search_advanced]').val()) ){
        $(".search_main .rowHide").css('opacity','0').slideUp(function(){ $(this).css('opacity','1'); });
    }
    $("#search_advanced").click(function(){
        if ($(this).closest(".search_main").hasClass("search_open")) {
            if (screenRes < 480) {
                $(".search_main").stop().animate({height:'315px'},{queue:false, duration:350});
            } else if (screenRes < 750) {
                $(".search_main").stop().animate({height:'270px'},{queue:false, duration:350});
            } else {
                $(".search_main, .search_col_1, .search_col_2, .search_col_3").stop().animate({height:'155px'},{queue:false, duration:350});
            }
            $(".search_main .rowHide").slideUp(200);
            $('input[name=search_advanced]').val('0')
        } else {
            if (screenRes < 480) {
                $(".search_main").stop().animate({height:'438px'},{queue:false, duration:350});
            } else if (screenRes < 750) {
                $(".search_main").stop().animate({height:'356px'},{queue:false, duration:250});
            } else {
                $(".search_main, .search_col_1, .search_col_2, .search_col_3").stop().animate({height:'300px'},{queue:false, duration:350});
            }
            $(".search_main .rowHide").slideDown(300);
            $('input[name=search_advanced]').val('1')
        }
        $(this).closest(".search_main").toggleClass("search_open");
    });

    function tfuse_print()
    {
        window.print();
    }

    function tfuse_reload()
    {
        location.reload();
    }
    // Print
    jQuery('.re-meta-bot .link-print').bind('click', function(){
        jQuery('.block_hr .inner .re-price strong').html(jQuery('.block_hr .inner .re-price strong').html().replace('$','&#36;'));
        jQuery(this).closest('.inner').remove();
        var print_style = '<link rel="stylesheet" type="text/css" href="' + tf_script.TFUSE_THEME_URL + '/print.css" >';
        jQuery(print_style).appendTo("head");
        window.setTimeout(tfuse_print, 100);
        window.setTimeout(tfuse_reload, 300);
        return false;
    });

    jQuery('.re-bot .link-saved,.re-meta-bot .link-saved').live('click', function(){
        var id = jQuery(this).attr("rel");
        var saved_prop = getCookie('favorite_posts');

        if(saved_prop)saved_prop = saved_prop.split(',');
        else saved_prop = new Array();
        var pos = jQuery.inArray(id,saved_prop);
        if(pos != -1)
        {
            saved_prop = jQuery.grep(saved_prop, function(value) {
                return value != id;
            });
        }
        jQuery('#my_saved_offers em').html(saved_prop.length);
        saved_prop = saved_prop.join();
        setCookie('favorite_posts', saved_prop, 366);
        jQuery(this).removeClass('link-saved').addClass('link-save').attr('title','Save Offer').html('Save Offer');
        return false;
    });

    jQuery('.re-bot .link-save,.re-meta-bot .link-save').live('click', function(){
        var id = jQuery(this).attr("rel");
        var saved_prop = getCookie('favorite_posts');

        if(saved_prop)saved_prop = saved_prop.split(',');
        else saved_prop = new Array();
        var pos = jQuery.inArray(id,saved_prop);

        saved_prop.push(id);
        jQuery('#my_saved_offers em').html(saved_prop.length);
        saved_prop = saved_prop.join();
        setCookie('favorite_posts', saved_prop, 366);
        jQuery(this).removeClass('link-save').addClass('link-saved').attr('title','Remove Offer').html('Remove Offer');
        return false;
    });

    jQuery('#jumptopage_submit, #jumptopage_submit2').bind('click', function(){
        var address = jQuery('#tax_permalink').attr("value");
        if(!address) return;
        var page = jQuery(this).prev('.inputSmall').val();
        var num_pages = jQuery('#tax_results').attr("num_pages");
        var order = jQuery('#tax_results').attr("get_order");
        var order_by = jQuery('#tax_results').attr("get_order_by");
        var prefix = '&';
        if (address.indexOf('?') == -1) prefix = '?';
        var suffix = '';
        if (order_by) suffix += 'order_by=' + order_by;
        if (order) suffix += '&order=' + order;

            page = page.match(/\d+$/);
            page = parseInt(page, 10);
            suffix += '&page=' + page;

            window.location = address + prefix + suffix;
            return false;
        });

        jQuery('.list_manage .pages .link_prev').bind('click', function(){
            var address = jQuery('#tax_permalink').attr("value");
            if(!address) return;
            var page = jQuery('#tax_results').attr("page");
            var num_pages = jQuery('#tax_results').attr("num_pages");
            var order = jQuery('#tax_results').attr("get_order");
            var order_by = jQuery('#tax_results').attr("get_order_by");
            if(jQuery(this).attr("rel") == "first") return false;
            if (page == 0 || page == 1) return false;
            var prefix = '&';
            if (address.indexOf('?') == -1) prefix = '?';
            var suffix = '';
            if (order_by) suffix += 'order_by=' + order_by;
            if (order) suffix += '&order=' + order;

            page = page.match(/\d+$/);
            page = parseInt(page, 10);
            page--;
            suffix += '&page=' + page;

            window.location = address + prefix + suffix;
            return false;
        });

        jQuery('.list_manage .pages .link_next').bind('click', function(){
            var address = jQuery('#tax_permalink').attr("value");
            if(!address) return;
            var page = jQuery('#tax_results').attr("page");
            var num_pages = jQuery('#tax_results').attr("num_pages");
            var order = jQuery('#tax_results').attr("get_order");
            var order_by = jQuery('#tax_results').attr("get_order_by");
            if(jQuery(this).attr("rel") == "last") return false;
            if (page == num_pages ) return false;
            var prefix = '&';
            if (address.indexOf('?') == -1) prefix = '?';
            var suffix = '';
            if (order_by) suffix += 'order_by=' + order_by;
            if (order) suffix += '&order=' + order;

            page = page.match(/\d+$/);
            page = parseInt(page, 10);
            if (page == 0) page++;
            page++;
            suffix += '&page=' + page;

            window.location = address + prefix + suffix;
            return false;
        });

        jQuery('.form_sort #sort_list,.form_sort #sort_list2').bind('change', function(){
           var address = jQuery('#tax_permalink').attr("value");
           if(!address) return;
           var selected = jQuery(this).val();
           var prefix = '&';
           if (address.indexOf('?') == -1) prefix = '?';
           var suffix = '';
            switch (selected)
            {
                case '1' :
                    suffix += 'order_by=date&order=DESC';
                    break;
                case '2' :
                    suffix += 'order_by=price&order=DESC';
                    break;
                case '3' :
                    suffix += 'order_by=price&order=ASC';
                    break;
                case '4' :
                    suffix += 'order_by=title&order=ASC';
                    break;
                case '5' :
                    suffix += 'order_by=title&order=DESC';
                    break;
            }
           if (suffix != '') window.location = address + prefix + suffix;
        });

  	$("a").each(function() {
		$(this).attr("hideFocus", "true").css("outline", "none");
	});
	
// Dropdown menu
	$(".dropdown ul").parent("li").addClass("parent");
	$(".dropdown li:first-child, .pricing_box li:first-child").addClass("first");
	$(".dropdown li:last-child, .pricing_box li:last-child").addClass("last");
	$(".dropdown li:only-child").removeClass("last").addClass("only");	
	$(".dropdown .current-menu-item, .dropdown .current-menu-ancestor").prev().addClass("current-prev");		

	$("ul.tabs").tabs("> .tabcontent", {
		tabs: 'li', 
		effect: 'fade'
	});

// odd and even elements	
	$(".recent_posts li:odd, .popular_posts li:odd").addClass("odd");
	$(".widget_recent_comments li:even, .widget_recent_entries li:even, .widget_twitter .tweet_item:even, .widget_archive li:even, .table-pricing tr:even").addClass("even");
	
// cols
	$(".row .col:first-child").addClass("alpha");
	$(".row .col:last-child").addClass("omega"); 	

// toggle content
	$(".toggle_content").hide();
	$(".toggle").toggle(function(){
		$(this).addClass("active");
		}, function () {
		$(this).removeClass("active");
	});	
	$(".toggle").click(function(){
		$(this).next(".toggle_content").slideToggle(300,'easeInQuad');
	});

// pricing
	$(".pricing_box li.price_col").css('width',$(".pricing_box ul").width() / $(".pricing_box li.price_col").size());

// buttons	
	if (!$.browser.msie) {
		$(".button_link, .button_styled, .btn-share, .tf_pagination .page_prev, .tf_pagination .page_next").hover(function(){
			$(this).stop().animate({"opacity": 0.85});
		},function(){
			$(this).stop().animate({"opacity": 1});
		});
	}
	
// preload images
	var cache_i = [];
	$.preLoadImages = function() {
		var args_len = arguments.length;
		for (var i = args_len; i--;) {
		  var cacheImage = document.createElement('img');
		  cacheImage.src = arguments[i];
		  cache_i.push(cacheImage);
		}	
	}
	$.preLoadImages(
	tf_script.TFUSE_THEME_URL + "/images/dropdown_sprite.png",
    tf_script.TFUSE_THEME_URL + "/images/dropdown_sprite2.png",
    tf_script.TFUSE_THEME_URL + "/images/opacity_gray_90.png");

// tooltips
	if ($("a,span,div").hasClass("tooltip")) {
		$('.tooltip[title]').qtip({
			position: {
				my: 'bottom center',
				at: 'top center',
				adjust: {y: -1 }
			},
			style: {
				classes: 'ui-tooltip-dark ui-tooltip-rounded'
			}
		});
	}	
// prettyPhoto runs only when <a> has "data-rel" and hide for Mobiles
    jQuery(document).ready(function($) {
        $('a[data-rel]').each(function() {
            $(this).attr('rel', $(this).data('rel'));
        });
       if($(window).width() > 600) $("a[rel^='prettyPhoto']").prettyPhoto({social_tools:false});
    });

});

function hide_slider_arrows() {
    jQuery('.jcarousel-prev-vertical, .jcarousel-next').css("display","none;");

};
// source --> https://luxurycroatia.net/wp-content/themes/homequest/js/slides.min.jquery.js 
/*
* Slides, A Slideshow Plugin for jQuery
* Intructions: http://slidesjs.com
* By: Nathan Searles, http://nathansearles.com
* Version: 1.1.9
* Updated: September 5th, 2011
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
(function(a){a.fn.slides=function(b){return b=a.extend({},a.fn.slides.option,b),this.each(function(){function w(g,h,i){if(!p&&o){p=!0,b.animationStart(n+1);switch(g){case"next":l=n,k=n+1,k=e===k?0:k,r=f*2,g=-f*2,n=k;break;case"prev":l=n,k=n-1,k=k===-1?e-1:k,r=0,g=0,n=k;break;case"pagination":k=parseInt(i,10),l=a("."+b.paginationClass+" li."+b.currentClass+" a",c).attr("href").match("[^#/]+$"),k>l?(r=f*2,g=-f*2):(r=0,g=0),n=k}h==="fade"?b.crossfade?d.children(":eq("+k+")",c).css({zIndex:10}).fadeIn(b.fadeSpeed,b.fadeEasing,function(){b.autoHeight?d.animate({height:d.children(":eq("+k+")",c).outerHeight()},b.autoHeightSpeed,function(){d.children(":eq("+l+")",c).css({display:"none",zIndex:0}),d.children(":eq("+k+")",c).css({zIndex:0}),b.animationComplete(k+1),p=!1}):(d.children(":eq("+l+")",c).css({display:"none",zIndex:0}),d.children(":eq("+k+")",c).css({zIndex:0}),b.animationComplete(k+1),p=!1)}):d.children(":eq("+l+")",c).fadeOut(b.fadeSpeed,b.fadeEasing,function(){b.autoHeight?d.animate({height:d.children(":eq("+k+")",c).outerHeight()},b.autoHeightSpeed,function(){d.children(":eq("+k+")",c).fadeIn(b.fadeSpeed,b.fadeEasing)}):d.children(":eq("+k+")",c).fadeIn(b.fadeSpeed,b.fadeEasing,function(){a.browser.msie&&a(this).get(0).style.removeAttribute("filter")}),b.animationComplete(k+1),p=!1}):(d.children(":eq("+k+")").css({left:r,display:"block"}),b.autoHeight?d.animate({left:g,height:d.children(":eq("+k+")").outerHeight()},b.slideSpeed,b.slideEasing,function(){d.css({left:-f}),d.children(":eq("+k+")").css({left:f,zIndex:5}),d.children(":eq("+l+")").css({left:f,display:"none",zIndex:0}),b.animationComplete(k+1),p=!1}):d.animate({left:g},b.slideSpeed,b.slideEasing,function(){d.css({left:-f}),d.children(":eq("+k+")").css({left:f,zIndex:5}),d.children(":eq("+l+")").css({left:f,display:"none",zIndex:0}),b.animationComplete(k+1),p=!1})),b.pagination&&(a("."+b.paginationClass+" li."+b.currentClass,c).removeClass(b.currentClass),a("."+b.paginationClass+" li:eq("+k+")",c).addClass(b.currentClass))}}function x(){clearInterval(c.data("interval"))}function y(){b.pause?(clearTimeout(c.data("pause")),clearInterval(c.data("interval")),u=setTimeout(function(){clearTimeout(c.data("pause")),v=setInterval(function(){w("next",i)},b.play),c.data("interval",v)},b.pause),c.data("pause",u)):x()}a("."+b.container,a(this)).children().wrapAll('<div class="slides_control"/>');var c=a(this),d=a(".slides_control",c),e=d.children().size(),f=d.children().outerWidth(),g=d.children().outerHeight(),h=b.start-1,i=b.effect.indexOf(",")<0?b.effect:b.effect.replace(" ","").split(",")[0],j=b.effect.indexOf(",")<0?i:b.effect.replace(" ","").split(",")[1],k=0,l=0,m=0,n=0,o,p,q,r,s,t,u,v;if(e<2)return a("."+b.container,a(this)).fadeIn(b.fadeSpeed,b.fadeEasing,function(){o=!0,b.slidesLoaded()}),a("."+b.next+", ."+b.prev).fadeOut(0),!1;if(e<2)return;h<0&&(h=0),h>e&&(h=e-1),b.start&&(n=h),b.randomize&&d.randomize(),a("."+b.container,c).css({overflow:"hidden",position:"relative"}),d.children().css({position:"absolute",top:0,left:d.children().outerWidth(),zIndex:0,display:"none"}),d.css({position:"relative",width:f*3,height:g,left:-f}),a("."+b.container,c).css({display:"block"}),b.autoHeight&&(d.children().css({height:"auto"}),d.animate({height:d.children(":eq("+h+")").outerHeight()},b.autoHeightSpeed));if(b.preload&&d.find("img:eq("+h+")").length){a("."+b.container,c).css({background:"url("+b.preloadImage+") no-repeat 50% 50%"});var z=d.find("img:eq("+h+")").attr("src")+"?"+(new Date).getTime();a("img",c).parent().attr("class")!="slides_control"?t=d.children(":eq(0)")[0].tagName.toLowerCase():t=d.find("img:eq("+h+")"),d.find("img:eq("+h+")").attr("src",z).load(function(){d.find(t+":eq("+h+")").fadeIn(b.fadeSpeed,b.fadeEasing,function(){a(this).css({zIndex:5}),a("."+b.container,c).css({background:""}),o=!0,b.slidesLoaded()})})}else d.children(":eq("+h+")").fadeIn(b.fadeSpeed,b.fadeEasing,function(){o=!0,b.slidesLoaded()});b.bigTarget&&(d.children().css({cursor:"pointer"}),d.children().click(function(){return w("next",i),!1})),b.hoverPause&&b.play&&(d.bind("mouseover",function(){x()}),d.bind("mouseleave",function(){y()})),b.generateNextPrev&&(a("."+b.container,c).after('<a href="#" class="'+b.prev+'">Prev</a>'),a("."+b.prev,c).after('<a href="#" class="'+b.next+'">Next</a>')),a("."+b.next,c).click(function(a){a.preventDefault(),b.play&&y(),w("next",i)}),a("."+b.prev,c).click(function(a){a.preventDefault(),b.play&&y(),w("prev",i)}),b.generatePagination?(b.prependPagination?c.prepend("<ul class="+b.paginationClass+"></ul>"):c.append("<ul class="+b.paginationClass+"></ul>"),d.children().each(function(){a("."+b.paginationClass,c).append('<li><a href="#'+m+'">'+(m+1)+"</a></li>"),m++})):a("."+b.paginationClass+" li a",c).each(function(){a(this).attr("href","#"+m),m++}),a("."+b.paginationClass+" li:eq("+h+")",c).addClass(b.currentClass),a("."+b.paginationClass+" li a",c).click(function(){return b.play&&y(),q=a(this).attr("href").match("[^#/]+$"),n!=q&&w("pagination",j,q),!1}),a("a.link",c).click(function(){return b.play&&y(),q=a(this).attr("href").match("[^#/]+$")-1,n!=q&&w("pagination",j,q),!1}),b.play&&(v=setInterval(function(){w("next",i)},b.play),c.data("interval",v))})},a.fn.slides.option={preload:!1,preloadImage:"/img/loading.gif",container:"slides_container",generateNextPrev:!1,next:"next",prev:"prev",pagination:!0,generatePagination:!0,prependPagination:!1,paginationClass:"pagination",currentClass:"current",fadeSpeed:350,fadeEasing:"",slideSpeed:350,slideEasing:"",start:1,effect:"slide",crossfade:!1,randomize:!1,play:0,pause:0,hoverPause:!1,autoHeight:!1,autoHeightSpeed:350,bigTarget:!1,animationStart:function(){},animationComplete:function(){},slidesLoaded:function(){}},a.fn.randomize=function(b){function c(){return Math.round(Math.random())-.5}return a(this).each(function(){var d=a(this),e=d.children(),f=e.length;if(f>1){e.hide();var g=[];for(i=0;i<f;i++)g[g.length]=i;g=g.sort(c),a.each(g,function(a,c){var f=e.eq(c),g=f.clone(!0);g.show().appendTo(d),b!==undefined&&b(f,g),f.remove()})}})}})(jQuery);