if(typeof FlixjQ=='undefined'){(function(e,t){function _(e){var t=M[e]={};v.each(e.split(y),function(e,n){t[n]=true});return t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r==="string"){try{r=r==="true"?true:r==="false"?false:r==="null"?null:+r+""===r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else{r=t}}return r}function B(e){var t;for(t in e){if(t==="data"&&v.isEmptyObject(e[t])){continue}if(t!=="toJSON"){return false}}return true}function et(){return false}function tt(){return true}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function at(e,t){do{e=e[t]}while(e&&e.nodeType!==1);return e}function ft(e,t,n){t=t||0;if(v.isFunction(t)){return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n})}else if(t.nodeType){return v.grep(e,function(e,r){return e===t===n})}else if(typeof t==="string"){var r=v.grep(e,function(e){return e.nodeType===1});if(it.test(t)){return v.filter(t,r,!n)}else{t=v.filter(t,r)}}return v.grep(e,function(e,r){return v.inArray(e,t)>=0===n})}function lt(e){var t=ct.split("|"),n=e.createDocumentFragment();if(n.createElement){while(t.length){n.createElement(t.pop())}}return n}function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!==1||!v.hasData(e)){return}var n,r,i,s=v._data(e),o=v._data(t,s),u=s.events;if(u){delete o.handle;o.events={};for(n in u){for(r=0,i=u[n].length;r<i;r++){v.event.add(t,n,u[n][r])}}}if(o.data){o.data=v.extend({},o.data)}}function Ot(e,t){var n;if(t.nodeType!==1){return}if(t.clearAttributes){t.clearAttributes()}if(t.mergeAttributes){t.mergeAttributes(e)}n=t.nodeName.toLowerCase();if(n==="object"){if(t.parentNode){t.outerHTML=e.outerHTML}if(v.support.html5Clone&&e.innerHTML&&!v.trim(t.innerHTML)){t.innerHTML=e.innerHTML}}else if(n==="input"&&Et.test(e.type)){t.defaultChecked=t.checked=e.checked;if(t.value!==e.value){t.value=e.value}}else if(n==="option"){t.selected=e.defaultSelected}else if(n==="input"||n==="textarea"){t.defaultValue=e.defaultValue}else if(n==="script"&&t.text!==e.text){t.text=e.text}t.removeAttribute(v.expando)}function Mt(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}function _t(e){if(Et.test(e.type)){e.defaultChecked=e.checked}}function Qt(e,t){if(t in e){return t}var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Jt.length;while(i--){t=Jt[i]+n;if(t in e){return t}}return r}function Gt(e,t){e=t||e;return v.css(e,"display")==="none"||!v.contains(e.ownerDocument,e)}function Yt(e,t){var n,r,i=[],s=0,o=e.length;for(;s<o;s++){n=e[s];if(!n.style){continue}i[s]=v._data(n,"olddisplay");if(t){if(!i[s]&&n.style.display==="none"){n.style.display=""}if(n.style.display===""&&Gt(n)){i[s]=v._data(n,"olddisplay",nn(n.nodeName))}}else{r=Dt(n,"display");if(!i[s]&&r!=="none"){v._data(n,"olddisplay",r)}}}for(s=0;s<o;s++){n=e[s];if(!n.style){continue}if(!t||n.style.display==="none"||n.style.display===""){n.style.display=t?i[s]||"":"none"}}return e}function Zt(e,t,n){var r=Rt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function en(e,t,n,r){var i=n===(r?"border":"content")?4:t==="width"?1:0,s=0;for(;i<4;i+=2){if(n==="margin"){s+=v.css(e,n+$t[i],true)}if(r){if(n==="content"){s-=parseFloat(Dt(e,"padding"+$t[i]))||0}if(n!=="margin"){s-=parseFloat(Dt(e,"border"+$t[i]+"Width"))||0}}else{s+=parseFloat(Dt(e,"padding"+$t[i]))||0;if(n!=="padding"){s+=parseFloat(Dt(e,"border"+$t[i]+"Width"))||0}}}return s}function tn(e,t,n){var r=t==="width"?e.offsetWidth:e.offsetHeight,i=true,s=v.support.boxSizing&&v.css(e,"boxSizing")==="border-box";if(r<=0||r==null){r=Dt(e,t);if(r<0||r==null){r=e.style[t]}if(Ut.test(r)){return r}i=s&&(v.support.boxSizingReliable||r===e.style[t]);r=parseFloat(r)||0}return r+en(e,t,n||(s?"border":"content"),i)+"px"}function nn(e){if(Wt[e]){return Wt[e]}var t=v("<"+e+">").appendTo(i.body),n=t.css("display");t.remove();if(n==="none"||n===""){Pt=i.body.appendChild(Pt||v.extend(i.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement){Ht=(Pt.contentWindow||Pt.contentDocument).document;Ht.write("<!doctype html><html><body>");Ht.close()}t=Ht.body.appendChild(Ht.createElement(e));n=Dt(t,"display");i.body.removeChild(Pt)}Wt[e]=n;return n}function fn(e,t,n,r){var i;if(v.isArray(t)){v.each(t,function(t,i){if(n||sn.test(e)){r(e,i)}else{fn(e+"["+(typeof i==="object"?t:"")+"]",i,n,r)}})}else if(!n&&v.type(t)==="object"){for(i in t){fn(e+"["+i+"]",t[i],n,r)}}else{r(e,t)}}function Cn(e){return function(t,n){if(typeof t!=="string"){n=t;t="*"}var r,i,s,o=t.toLowerCase().split(y),u=0,a=o.length;if(v.isFunction(n)){for(;u<a;u++){r=o[u];s=/^\+/.test(r);if(s){r=r.substr(1)||"*"}i=e[r]=e[r]||[];i[s?"unshift":"push"](n)}}}}function kn(e,n,r,i,s,o){s=s||n.dataTypes[0];o=o||{};o[s]=true;var u,a=e[s],f=0,l=a?a.length:0,c=e===Sn;for(;f<l&&(c||!u);f++){u=a[f](n,r,i);if(typeof u==="string"){if(!c||o[u]){u=t}else{n.dataTypes.unshift(u);u=kn(e,n,r,i,u,o)}}}if((c||!u)&&!o["*"]){u=kn(e,n,r,i,"*",o)}return u}function Ln(e,n){var r,i,s=v.ajaxSettings.flatOptions||{};for(r in n){if(n[r]!==t){(s[r]?e:i||(i={}))[r]=n[r]}}if(i){v.extend(true,e,i)}}function An(e,n,r){var i,s,o,u,a=e.contents,f=e.dataTypes,l=e.responseFields;for(s in l){if(s in r){n[l[s]]=r[s]}}while(f[0]==="*"){f.shift();if(i===t){i=e.mimeType||n.getResponseHeader("content-type")}}if(i){for(s in a){if(a[s]&&a[s].test(i)){f.unshift(s);break}}}if(f[0]in r){o=f[0]}else{for(s in r){if(!f[0]||e.converters[s+" "+f[0]]){o=s;break}if(!u){u=s}}o=o||u}if(o){if(o!==f[0]){f.unshift(o)}return r[o]}}function On(e,t){var n,r,i,s,o=e.dataTypes.slice(),u=o[0],a={},f=0;if(e.dataFilter){t=e.dataFilter(t,e.dataType)}if(o[1]){for(n in e.converters){a[n.toLowerCase()]=e.converters[n]}}for(;i=o[++f];){if(i!=="*"){if(u!=="*"&&u!==i){n=a[u+" "+i]||a["* "+i];if(!n){for(r in a){s=r.split(" ");if(s[1]===i){n=a[u+" "+s[0]]||a["* "+s[0]];if(n){if(n===true){n=a[r]}else if(a[r]!==true){i=s[0];o.splice(f--,0,i)}break}}}}if(n!==true){if(n&&e["throws"]){t=n(t)}else{try{t=n(t)}catch(l){return{state:"parsererror",error:n?l:"No conversion from "+u+" to "+i}}}}}u=i}}return{state:"success",data:t}}function Fn(){try{return new e.XMLHttpRequest}catch(t){}}function In(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function $n(){setTimeout(function(){qn=t},0);return qn=v.now()}function Jn(e,t){v.each(t,function(t,n){var r=(Vn[t]||[]).concat(Vn["*"]),i=0,s=r.length;for(;i<s;i++){if(r[i].call(e,t,n)){return}}})}function Kn(e,t,n){var r,i=0,s=0,o=Xn.length,u=v.Deferred().always(function(){delete a.elem}),a=function(){var t=qn||$n(),n=Math.max(0,f.startTime+f.duration-t),r=1-(n/f.duration||0),i=0,s=f.tweens.length;for(;i<s;i++){f.tweens[i].run(r)}u.notifyWith(e,[f,r,n]);if(r<1&&s){return n}else{u.resolveWith(e,[f]);return false}},f=u.promise({elem:e,props:v.extend({},t),opts:v.extend(true,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:qn||$n(),duration:n.duration,tweens:[],createTween:function(t,n,r){var i=v.Tween(e,f.opts,t,n,f.opts.specialEasing[t]||f.opts.easing);f.tweens.push(i);return i},stop:function(t){var n=0,r=t?f.tweens.length:0;for(;n<r;n++){f.tweens[n].run(1)}if(t){u.resolveWith(e,[f,t])}else{u.rejectWith(e,[f,t])}return this}}),l=f.props;Qn(l,f.opts.specialEasing);for(;i<o;i++){r=Xn[i].call(f,e,l,f.opts);if(r){return r}}Jn(f,l);if(v.isFunction(f.opts.start)){f.opts.start.call(e,f)}v.fx.timer(v.extend(a,{anim:f,queue:f.opts.queue,elem:e}));return f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always)}function Qn(e,t){var n,r,i,s,o;for(n in e){r=v.camelCase(n);i=t[r];s=e[n];if(v.isArray(s)){i=s[1];s=e[n]=s[0]}if(n!==r){e[r]=s;delete e[n]}o=v.cssHooks[r];if(o&&"expand"in o){s=o.expand(s);delete e[r];for(n in s){if(!(n in e)){e[n]=s[n];t[n]=i}}}else{t[r]=i}}}function Gn(e,t,n){var r,i,s,o,u,a,f,l,c=this,h=e.style,p={},d=[],m=e.nodeType&&Gt(e);if(!n.queue){f=v._queueHooks(e,"fx");if(f.unqueued==null){f.unqueued=0;l=f.empty.fire;f.empty.fire=function(){if(!f.unqueued){l()}}}f.unqueued++;c.always(function(){c.always(function(){f.unqueued--;if(!v.queue(e,"fx").length){f.empty.fire()}})})}if(e.nodeType===1&&("height"in t||"width"in t)){n.overflow=[h.overflow,h.overflowX,h.overflowY];if(v.css(e,"display")==="inline"&&v.css(e,"float")==="none"){if(!v.support.inlineBlockNeedsLayout||nn(e.nodeName)==="inline"){h.display="inline-block"}else{h.zoom=1}}}if(n.overflow){h.overflow="hidden";if(!v.support.shrinkWrapBlocks){c.done(function(){h.overflow=n.overflow[0];h.overflowX=n.overflow[1];h.overflowY=n.overflow[2]})}}for(r in t){s=t[r];if(Un.exec(s)){delete t[r];if(s===(m?"hide":"show")){continue}d.push(r)}}o=d.length;if(o){u=v._data(e,"fxshow")||v._data(e,"fxshow",{});if(m){v(e).show()}else{c.done(function(){v(e).hide()})}c.done(function(){var t;v.removeData(e,"fxshow",true);for(t in p){v.style(e,t,p[t])}});for(r=0;r<o;r++){i=d[r];a=c.createTween(i,m?u[i]:0);p[i]=u[i]||v.style(e,i);if(!(i in u)){u[i]=a.start;if(m){a.end=a.start;a.start=i==="width"||i==="height"?1:0}}}}}function Yn(e,t,n,r,i){return new Yn.prototype.init(e,t,n,r,i)}function Zn(e,t){var n,r={height:e},i=0;t=t?1:0;for(;i<4;i+=2-t){n=$t[i];r["margin"+n]=r["padding"+n]=e}if(t){r.opacity=r.width=e}return r}function tr(e){return v.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}var n,r,i=e.document,s=e.location,o=e.navigator,u=e.FlixjQ,a=e.$,f=Array.prototype.push,l=Array.prototype.slice,c=Array.prototype.indexOf,h=Object.prototype.toString,p=Object.prototype.hasOwnProperty,d=String.prototype.trim,v=function(e,t){return new v.fn.init(e,t,n)},m=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,g=/\S/,y=/\s+/,b=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,w=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,T=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,N=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,C=/^-ms-/,k=/-([\da-z])/gi,L=function(e,t){return(t+"").toUpperCase()},A=function(){if(i.addEventListener){i.removeEventListener("DOMContentLoaded",A,false);v.ready()}else if(i.readyState==="complete"){i.detachEvent("onreadystatechange",A);v.ready()}},O={};v.fn=v.prototype={constructor:v,init:function(e,n,r){var s,o,u,a;if(!e){return this}if(e.nodeType){this.context=this[0]=e;this.length=1;return this}if(typeof e==="string"){if(e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3){s=[null,e,null]}else{s=w.exec(e)}if(s&&(s[1]||!n)){if(s[1]){n=n instanceof v?n[0]:n;a=n&&n.nodeType?n.ownerDocument||n:i;e=v.parseHTML(s[1],a,true);if(E.test(s[1])&&v.isPlainObject(n)){this.attr.call(e,n,true)}return v.merge(this,e)}else{o=i.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2]){return r.find(e)}this.length=1;this[0]=o}this.context=i;this.selector=e;return this}}else if(!n||n.FlixjQ){return(n||r).find(e)}else{return this.constructor(n).find(e)}}else if(v.isFunction(e)){return r.ready(e)}if(e.selector!==t){this.selector=e.selector;this.context=e.context}return v.makeArray(e,this)},selector:"",FlixjQ:"1.8.2",length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=v.merge(this.constructor(),e);r.prevObject=this;r.context=this.context;if(t==="find"){r.selector=this.selector+(this.selector?" ":"")+n}else if(t){r.selector=this.selector+"."+t+"("+n+")"}return r},each:function(e,t){return v.each(this,e,t)},ready:function(e){v.ready.promise().done(e);return this},eq:function(e){e=+e;return e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(l.apply(this,arguments),"slice",l.call(arguments).join(","))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:[].sort,splice:[].splice};v.fn.init.prototype=v.fn;v.extend=v.fn.extend=function(){var e,n,r,i,s,o,u=arguments[0]||{},a=1,f=arguments.length,l=false;if(typeof u==="boolean"){l=u;u=arguments[1]||{};a=2}if(typeof u!=="object"&&!v.isFunction(u)){u={}}if(f===a){u=this;--a}for(;a<f;a++){if((e=arguments[a])!=null){for(n in e){r=u[n];i=e[n];if(u===i){continue}if(l&&i&&(v.isPlainObject(i)||(s=v.isArray(i)))){if(s){s=false;o=r&&v.isArray(r)?r:[]}else{o=r&&v.isPlainObject(r)?r:{}}u[n]=v.extend(l,o,i)}else if(i!==t){u[n]=i}}}}return u};v.extend({noConflict:function(t){if(e.$===v){e.$=a}if(t&&e.FlixjQ===v){e.FlixjQ=u}return v},isReady:false,readyWait:1,holdReady:function(e){if(e){v.readyWait++}else{v.ready(true)}},ready:function(e){if(e===true?--v.readyWait:v.isReady){return}if(!i.body){return setTimeout(v.ready,1)}v.isReady=true;if(e!==true&&--v.readyWait>0){return}r.resolveWith(i,[v]);if(v.fn.trigger){v(i).trigger("ready").off("ready")}},isFunction:function(e){return v.type(e)==="function"},isArray:Array.isArray||function(e){return v.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):O[h.call(e)]||"object"},isPlainObject:function(e){if(!e||v.type(e)!=="object"||e.nodeType||v.isWindow(e)){return false}try{if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype,"isPrototypeOf")){return false}}catch(n){return false}var r;for(r in e){}return r===t||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e){return false}return true},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;if(!e||typeof e!=="string"){return null}if(typeof t==="boolean"){n=t;t=0}t=t||i;if(r=E.exec(e)){return[t.createElement(r[1])]}r=v.buildFragment([e],t,n?null:[]);return v.merge([],(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)},parseJSON:function(t){if(!t||typeof t!=="string"){return null}t=v.trim(t);if(e.JSON&&e.JSON.parse){return e.JSON.parse(t)}if(S.test(t.replace(T,"@").replace(N,"]").replace(x,""))){return(new Function("return "+t))()}v.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!=="string"){return null}try{if(e.DOMParser){i=new DOMParser;r=i.parseFromString(n,"text/xml")}else{r=new ActiveXObject("Microsoft.XMLDOM");r.async="false";r.loadXML(n)}}catch(s){r=t}if(!r||!r.documentElement||r.getElementsByTagName("parsererror").length){v.error("Invalid XML: "+n)}return r},noop:function(){},globalEval:function(t){if(t&&g.test(t)){(e.execScript||function(t){e["eval"].call(e,t)})(t)}},camelCase:function(e){return e.replace(C,"ms-").replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,s=0,o=e.length,u=o===t||v.isFunction(e);if(r){if(u){for(i in e){if(n.apply(e[i],r)===false){break}}}else{for(;s<o;){if(n.apply(e[s++],r)===false){break}}}}else{if(u){for(i in e){if(n.call(e[i],i,e[i])===false){break}}}else{for(;s<o;){if(n.call(e[s],s,e[s++])===false){break}}}}return e},trim:d&&!d.call("﻿ ")?function(e){return e==null?"":d.call(e)}:function(e){return e==null?"":(e+"").replace(b,"")},makeArray:function(e,t){var n,r=t||[];if(e!=null){n=v.type(e);if(e.length==null||n==="string"||n==="function"||n==="regexp"||v.isWindow(e)){f.call(r,e)}else{v.merge(r,e)}}return r},inArray:function(e,t,n){var r;if(t){if(c){return c.call(t,e,n)}r=t.length;n=n?n<0?Math.max(0,r+n):n:0;for(;n<r;n++){if(n in t&&t[n]===e){return n}}}return-1},merge:function(e,n){var r=n.length,i=e.length,s=0;if(typeof r==="number"){for(;s<r;s++){e[i++]=n[s]}}else{while(n[s]!==t){e[i++]=n[s++]}}e.length=i;return e},grep:function(e,t,n){var r,i=[],s=0,o=e.length;n=!!n;for(;s<o;s++){r=!!t(e[s],s);if(n!==r){i.push(e[s])}}return i},map:function(e,n,r){var i,s,o=[],u=0,a=e.length,f=e instanceof v||a!==t&&typeof a==="number"&&(a>0&&e[0]&&e[a-1]||a===0||v.isArray(e));if(f){for(;u<a;u++){i=n(e[u],u,r);if(i!=null){o[o.length]=i}}}else{for(s in e){i=n(e[s],s,r);if(i!=null){o[o.length]=i}}}return o.concat.apply([],o)},guid:1,proxy:function(e,n){var r,i,s;if(typeof n==="string"){r=e[n];n=e;e=r}if(!v.isFunction(e)){return t}i=l.call(arguments,2);s=function(){return e.apply(n,i.concat(l.call(arguments)))};s.guid=e.guid=e.guid||v.guid++;return s},access:function(e,n,r,i,s,o,u){var a,f=r==null,l=0,c=e.length;if(r&&typeof r==="object"){for(l in r){v.access(e,n,l,r[l],1,o,i)}s=1}else if(i!==t){a=u===t&&v.isFunction(i);if(f){if(a){a=n;n=function(e,t,n){return a.call(v(e),n)}}else{n.call(e,i);n=null}}if(n){for(;l<c;l++){n(e[l],r,a?i.call(e[l],l,n(e[l],r)):i,u)}}s=1}return s?e:f?n.call(e):c?n(e[0],r):o},now:function(){return(new Date).getTime()}});v.ready.promise=function(t){if(!r){r=v.Deferred();if(i.readyState==="complete"){setTimeout(v.ready,1)}else if(i.addEventListener){i.addEventListener("DOMContentLoaded",A,false);e.addEventListener("load",v.ready,false)}else{i.attachEvent("onreadystatechange",A);e.attachEvent("onload",v.ready);var n=false;try{n=e.frameElement==null&&i.documentElement}catch(s){}if(n&&n.doScroll){(function o(){if(!v.isReady){try{n.doScroll("left")}catch(e){return setTimeout(o,50)}v.ready()}})()}}}return r.promise(t)};v.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){O["[object "+t+"]"]=t.toLowerCase()});n=v(i);var M={};v.Callbacks=function(e){e=typeof e==="string"?M[e]||_(e):v.extend({},e);var n,r,i,s,o,u,a=[],f=!e.once&&[],l=function(t){n=e.memory&&t;r=true;u=s||0;s=0;o=a.length;i=true;for(;a&&u<o;u++){if(a[u].apply(t[0],t[1])===false&&e.stopOnFalse){n=false;break}}i=false;if(a){if(f){if(f.length){l(f.shift())}}else if(n){a=[]}else{c.disable()}}},c={add:function(){if(a){var t=a.length;(function r(t){v.each(t,function(t,n){var i=v.type(n);if(i==="function"&&(!e.unique||!c.has(n))){a.push(n)}else if(n&&n.length&&i!=="string"){r(n)}})})(arguments);if(i){o=a.length}else if(n){s=t;l(n)}}return this},remove:function(){if(a){v.each(arguments,function(e,t){var n;while((n=v.inArray(t,a,n))>-1){a.splice(n,1);if(i){if(n<=o){o--}if(n<=u){u--}}}})}return this},has:function(e){return v.inArray(e,a)>-1},empty:function(){a=[];return this},disable:function(){a=f=n=t;return this},disabled:function(){return!a},lock:function(){f=t;if(!n){c.disable()}return this},locked:function(){return!f},fireWith:function(e,t){t=t||[];t=[e,t.slice?t.slice():t];if(a&&(!r||f)){if(i){f.push(t)}else{l(t)}}return this},fire:function(){c.fireWith(this,arguments);return this},fired:function(){return!!r}};return c};v.extend({Deferred:function(e){var t=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){i.done(arguments).fail(arguments);return this},then:function(){var e=arguments;return v.Deferred(function(n){v.each(t,function(t,r){var s=r[0],o=e[t];i[r[1]](v.isFunction(o)?function(){var e=o.apply(this,arguments);if(e&&v.isFunction(e.promise)){e.promise().done(n.resolve).fail(n.reject).progress(n.notify)}else{n[s+"With"](this===i?n:this,[e])}}:n[s])});e=null}).promise()},promise:function(e){return e!=null?v.extend(e,r):r}},i={};r.pipe=r.then;v.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add;if(u){o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock)}i[s[0]]=o.fire;i[s[0]+"With"]=o.fireWith});r.promise(i);if(e){e.call(i,i)}return i},when:function(e){var t=0,n=l.call(arguments),r=n.length,i=r!==1||e&&v.isFunction(e.promise)?r:0,s=i===1?e:v.Deferred(),o=function(e,t,n){return function(r){t[e]=this;n[e]=arguments.length>1?l.call(arguments):r;if(n===u){s.notifyWith(t,n)}else if(!--i){s.resolveWith(t,n)}}},u,a,f;if(r>1){u=new Array(r);a=new Array(r);f=new Array(r);for(;t<r;t++){if(n[t]&&v.isFunction(n[t].promise)){n[t].promise().done(o(t,f,n)).fail(s.reject).progress(o(t,a,u))}else{--i}}}if(!i){s.resolveWith(f,n)}return s.promise()}});v.support=function(){var t,n,r,s,o,u,a,f,l,c,h,p=i.createElement("div");p.setAttribute("className","t");p.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";n=p.getElementsByTagName("*");r=p.getElementsByTagName("a")[0];r.style.cssText="top:1px;float:left;opacity:.5";if(!n||!n.length){return{}}s=i.createElement("select");o=s.appendChild(i.createElement("option"));u=p.getElementsByTagName("input")[0];t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!i.createElement("form").enctype,html5Clone:i.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",boxModel:i.compatMode==="CSS1Compat",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true,boxSizingReliable:true,pixelPosition:false};u.checked=true;t.noCloneChecked=u.cloneNode(true).checked;s.disabled=true;t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=false}if(!p.addEventListener&&p.attachEvent&&p.fireEvent){p.attachEvent("onclick",h=function(){t.noCloneEvent=false});p.cloneNode(true).fireEvent("onclick");p.detachEvent("onclick",h)}u=i.createElement("input");u.value="t";u.setAttribute("type","radio");t.radioValue=u.value==="t";u.setAttribute("checked","checked");u.setAttribute("name","t");p.appendChild(u);a=i.createDocumentFragment();a.appendChild(p.lastChild);t.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;t.appendChecked=u.checked;a.removeChild(u);a.appendChild(p);if(p.attachEvent){for(l in{submit:true,change:true,focusin:true}){f="on"+l;c=f in p;if(!c){p.setAttribute(f,"return;");c=typeof p[f]==="function"}t[l+"Bubbles"]=c}}v(function(){var n,r,s,o,u="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=i.getElementsByTagName("body")[0];if(!a){return}n=i.createElement("div");n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px";a.insertBefore(n,a.firstChild);r=i.createElement("div");n.appendChild(r);r.innerHTML="<table><tr><td></td><td>t</td></tr></table>";s=r.getElementsByTagName("td");s[0].style.cssText="padding:0;margin:0;border:0;display:none";c=s[0].offsetHeight===0;s[0].style.display="";s[1].style.display="none";t.reliableHiddenOffsets=c&&s[0].offsetHeight===0;r.innerHTML="";r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;";t.boxSizing=r.offsetWidth===4;t.doesNotIncludeMarginInBodyOffset=a.offsetTop!==1;if(e.getComputedStyle){t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%";t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px";o=i.createElement("div");o.style.cssText=r.style.cssText=u;o.style.marginRight=o.style.width="0";r.style.width="1px";r.appendChild(o);t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)}if(typeof r.style.zoom!=="undefined"){r.innerHTML="";r.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1";t.inlineBlockNeedsLayout=r.offsetWidth===3;r.style.display="block";r.style.overflow="visible";r.innerHTML="<div></div>";r.firstChild.style.width="5px";t.shrinkWrapBlocks=r.offsetWidth!==3;n.style.zoom=1}a.removeChild(n);n=r=s=o=null});a.removeChild(p);n=r=s=o=u=a=p=null;return t}();var D=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;v.extend({cache:{},deletedIds:[],uuid:0,expando:"FlixjQ"+(v.fn.FlixjQ+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?v.cache[e[v.expando]]:e[v.expando];return!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e)){return}var s,o,u=v.expando,a=typeof n==="string",f=e.nodeType,l=f?v.cache:e,c=f?e[u]:e[u]&&u;if((!c||!l[c]||!i&&!l[c].data)&&a&&r===t){return}if(!c){if(f){e[u]=c=v.deletedIds.pop()||v.guid++}else{c=u}}if(!l[c]){l[c]={};if(!f){l[c].toJSON=v.noop}}if(typeof n==="object"||typeof n==="function"){if(i){l[c]=v.extend(l[c],n)}else{l[c].data=v.extend(l[c].data,n)}}s=l[c];if(!i){if(!s.data){s.data={}}s=s.data}if(r!==t){s[v.camelCase(n)]=r}if(a){o=s[n];if(o==null){o=s[v.camelCase(n)]}}else{o=s}return o},removeData:function(e,t,n){if(!v.acceptData(e)){return}var r,i,s,o=e.nodeType,u=o?v.cache:e,a=o?e[v.expando]:v.expando;if(!u[a]){return}if(t){r=n?u[a]:u[a].data;if(r){if(!v.isArray(t)){if(t in r){t=[t]}else{t=v.camelCase(t);if(t in r){t=[t]}else{t=t.split(" ")}}}for(i=0,s=t.length;i<s;i++){delete r[t[i]]}if(!(n?B:v.isEmptyObject)(r)){return}}}if(!n){delete u[a].data;if(!B(u[a])){return}}if(o){v.cleanData([e],true)}else if(v.support.deleteExpando||u!=u.window){delete u[a]}else{u[a]=null}},_data:function(e,t,n){return v.data(e,t,n,true)},acceptData:function(e){var t=e.nodeName&&v.noData[e.nodeName.toLowerCase()];return!t||t!==true&&e.getAttribute("classid")===t}});v.fn.extend({data:function(e,n){var r,i,s,o,u,a=this[0],f=0,l=null;if(e===t){if(this.length){l=v.data(a);if(a.nodeType===1&&!v._data(a,"parsedAttrs")){s=a.attributes;for(u=s.length;f<u;f++){o=s[f].name;if(!o.indexOf("data-")){o=v.camelCase(o.substring(5));H(a,o,l[o])}}v._data(a,"parsedAttrs",true)}}return l}if(typeof e==="object"){return this.each(function(){v.data(this,e)})}r=e.split(".",2);r[1]=r[1]?"."+r[1]:"";i=r[1]+"!";return v.access(this,function(n){if(n===t){l=this.triggerHandler("getData"+i,[r[0]]);if(l===t&&a){l=v.data(a,e);l=H(a,e,l)}return l===t&&r[1]?this.data(r[0]):l}r[1]=n;this.each(function(){var t=v(this);t.triggerHandler("setData"+i,r);v.data(this,e,n);t.triggerHandler("changeData"+i,r)})},null,n,arguments.length>1,null,false)},removeData:function(e){return this.each(function(){v.removeData(this,e)})}});v.extend({queue:function(e,t,n){var r;if(e){t=(t||"fx")+"queue";r=v._data(e,t);if(n){if(!r||v.isArray(n)){r=v._data(e,t,v.makeArray(n))}else{r.push(n)}}return r||[]}},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.length,i=n.shift(),s=v._queueHooks(e,t),o=function(){v.dequeue(e,t)};if(i==="inprogress"){i=n.shift();r--}if(i){if(t==="fx"){n.unshift("inprogress")}delete s.stop;i.call(e,o,s)}if(!r&&s){s.empty.fire()}},_queueHooks:function(e,t){var n=t+"queueHooks";return v._data(e,n)||v._data(e,n,{empty:v.Callbacks("once memory").add(function(){v.removeData(e,t+"queue",true);v.removeData(e,n,true)})})}});v.fn.extend({queue:function(e,n){var r=2;if(typeof e!=="string"){n=e;e="fx";r--}if(arguments.length<r){return v.queue(this[0],e)}return n===t?this:this.each(function(){var t=v.queue(this,e,n);v._queueHooks(this,e);if(e==="fx"&&t[0]!=="inprogress"){v.dequeue(this,e)}})},dequeue:function(e){return this.each(function(){v.dequeue(this,e)})},delay:function(e,t){e=v.fx?v.fx.speeds[e]||e:e;t=t||"fx";return this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,s=v.Deferred(),o=this,u=this.length,a=function(){if(!--i){s.resolveWith(o,[o])}};if(typeof e!=="string"){n=e;e=t}e=e||"fx";while(u--){r=v._data(o[u],e+"queueHooks");if(r&&r.empty){i++;r.empty.add(a)}}a();return s.promise(n)}});var j,F,I,q=/[\t\r\n]/g,R=/\r/g,U=/^(?:button|input)$/i,z=/^(?:button|input|object|select|textarea)$/i,W=/^a(?:rea|)$/i,X=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,V=v.support.getSetAttribute;v.fn.extend({attr:function(e,t){return v.access(this,v.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){e=v.propFix[e]||e;return this.each(function(){try{this[e]=t;delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e)){return this.each(function(t){v(this).addClass(e.call(this,t,this.className))})}if(e&&typeof e==="string"){t=e.split(y);for(n=0,r=this.length;n<r;n++){i=this[n];if(i.nodeType===1){if(!i.className&&t.length===1){i.className=e}else{s=" "+i.className+" ";for(o=0,u=t.length;o<u;o++){if(s.indexOf(" "+t[o]+" ")<0){s+=t[o]+" "}}i.className=v.trim(s)}}}}return this},removeClass:function(e){var n,r,i,s,o,u,a;if(v.isFunction(e)){return this.each(function(t){v(this).removeClass(e.call(this,t,this.className))})}if(e&&typeof e==="string"||e===t){n=(e||"").split(y);for(u=0,a=this.length;u<a;u++){i=this[u];if(i.nodeType===1&&i.className){r=(" "+i.className+" ").replace(q," ");for(s=0,o=n.length;s<o;s++){while(r.indexOf(" "+n[s]+" ")>=0){r=r.replace(" "+n[s]+" "," ")}}i.className=e?v.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t==="boolean";if(v.isFunction(e)){return this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)})}return this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++]){u=r?u:!o.hasClass(i);o[u?"addClass":"removeClass"](i)}}else if(n==="undefined"||n==="boolean"){if(this.className){v._data(this,"__className__",this.className)}this.className=this.className||e===false?"":v._data(this,"__className__")||""}})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n<r;n++){if(this[n].nodeType===1&&(" "+this[n].className+" ").replace(q," ").indexOf(t)>=0){return true}}return false},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s){n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()];if(n&&"get"in n&&(r=n.get(s,"value"))!==t){return r}r=s.value;return typeof r==="string"?r.replace(R,""):r==null?"":r}return}i=v.isFunction(e);return this.each(function(r){var s,o=v(this);if(this.nodeType!==1){return}if(i){s=e.call(this,r,o.val())}else{s=e}if(s==null){s=""}else if(typeof s==="number"){s+=""}else if(v.isArray(s)){s=v.map(s,function(e){return e==null?"":e+""})}n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t){this.value=s}})}});v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r,i,s=e.selectedIndex,o=[],u=e.options,a=e.type==="select-one";if(s<0){return null}n=a?s:0;r=a?s+1:u.length;for(;n<r;n++){i=u[n];if(i.selected&&(v.support.optDisabled?!i.disabled:i.getAttribute("disabled")===null)&&(!i.parentNode.disabled||!v.nodeName(i.parentNode,"optgroup"))){t=v(i).val();if(a){return t}o.push(t)}}if(a&&!o.length&&u.length){return v(u[s]).val()}return o},set:function(e,t){var n=v.makeArray(t);v(e).find("option").each(function(){this.selected=v.inArray(v(this).val(),n)>=0});if(!n.length){e.selectedIndex=-1}return n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2){return}if(i&&v.isFunction(v.fn[n])){return v(e)[n](r)}if(typeof e.getAttribute==="undefined"){return v.prop(e,n,r)}u=a!==1||!v.isXMLDoc(e);if(u){n=n.toLowerCase();o=v.attrHooks[n]||(X.test(n)?F:j)}if(r!==t){if(r===null){v.removeAttr(e,n);return}else if(o&&"set"in o&&u&&(s=o.set(e,r,n))!==t){return s}else{e.setAttribute(n,r+"");return r}}else if(o&&"get"in o&&u&&(s=o.get(e,n))!==null){return s}else{s=e.getAttribute(n);return s===null?t:s}},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o<r.length;o++){i=r[o];if(i){n=v.propFix[i]||i;s=X.test(i);if(!s){v.attr(e,i,"")}e.removeAttribute(V?i:n);if(s&&n in e){e[n]=false}}}}},attrHooks:{type:{set:function(e,t){if(U.test(e.nodeName)&&e.parentNode){v.error("type property can't be changed")}else if(!v.support.radioValue&&t==="radio"&&v.nodeName(e,"input")){var n=e.value;e.setAttribute("type",t);if(n){e.value=n}return t}}},value:{get:function(e,t){if(j&&v.nodeName(e,"button")){return j.get(e,t)}return t in e?e.value:null},set:function(e,t,n){if(j&&v.nodeName(e,"button")){return j.set(e,t,n)}e.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,s,o,u=e.nodeType;if(!e||u===3||u===8||u===2){return}o=u!==1||!v.isXMLDoc(e);if(o){n=v.propFix[n]||n;s=v.propHooks[n]}if(r!==t){if(s&&"set"in s&&(i=s.set(e,r,n))!==t){return i}else{return e[n]=r}}else{if(s&&"get"in s&&(i=s.get(e,n))!==null){return i}else{return e[n]}}},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):z.test(e.nodeName)||W.test(e.nodeName)&&e.href?0:t}}}});F={get:function(e,n){var r,i=v.prop(e,n);return i===true||typeof i!=="boolean"&&(r=e.getAttributeNode(n))&&r.nodeValue!==false?n.toLowerCase():t},set:function(e,t,n){var r;if(t===false){v.removeAttr(e,n)}else{r=v.propFix[n]||n;if(r in e){e[r]=true}e.setAttribute(n,n.toLowerCase())}return n}};if(!V){I={name:true,id:true,coords:true};j=v.valHooks.button={get:function(e,n){var r;r=e.getAttributeNode(n);return r&&(I[n]?r.value!=="":r.specified)?r.value:t},set:function(e,t,n){var r=e.getAttributeNode(n);if(!r){r=i.createAttribute(n);e.setAttributeNode(r)}return r.value=t+""}};v.each(["width","height"],function(e,t){v.attrHooks[t]=v.extend(v.attrHooks[t],{set:function(e,n){if(n===""){e.setAttribute(t,"auto");return n}}})});v.attrHooks.contenteditable={get:j.get,set:function(e,t,n){if(t===""){t="false"}j.set(e,t,n)}}}if(!v.support.hrefNormalized){v.each(["href","src","width","height"],function(e,n){v.attrHooks[n]=v.extend(v.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return r===null?t:r}})})}if(!v.support.style){v.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=t+""}}}if(!v.support.optSelected){v.propHooks.selected=v.extend(v.propHooks.selected,{get:function(e){var t=e.parentNode;if(t){t.selectedIndex;if(t.parentNode){t.parentNode.selectedIndex}}return null}})}if(!v.support.enctype){v.propFix.enctype="encoding"}if(!v.support.checkOn){v.each(["radio","checkbox"],function(){v.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}})}v.each(["radio","checkbox"],function(){v.valHooks[this]=v.extend(v.valHooks[this],{set:function(e,t){if(v.isArray(t)){return e.checked=v.inArray(v(e).val(),t)>=0}}})});var $=/^(?:textarea|input|select)$/i,J=/^([^\.]*|)(?:\.(.+)|)$/,K=/(?:^|\s)hover(\.\S+|)\b/,Q=/^key/,G=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return v.event.special.hover?e:e.replace(K,"mouseenter$1 mouseleave$1")};v.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType===3||e.nodeType===8||!n||!r||!(o=v._data(e))){return}if(r.handler){d=r;r=d.handler;s=d.selector}if(!r.guid){r.guid=v.guid++}a=o.events;if(!a){o.events=a={}}u=o.handle;if(!u){o.handle=u=function(e){return typeof v!=="undefined"&&(!e||v.event.triggered!==e.type)?v.event.dispatch.apply(u.elem,arguments):t};u.elem=e}n=v.trim(Z(n)).split(" ");for(f=0;f<n.length;f++){l=J.exec(n[f])||[];c=l[1];h=(l[2]||"").split(".").sort();g=v.event.special[c]||{};c=(s?g.delegateType:g.bindType)||c;g=v.event.special[c]||{};p=v.extend({type:c,origType:l[1],data:i,handler:r,guid:r.guid,selector:s,needsContext:s&&v.expr.match.needsContext.test(s),namespace:h.join(".")},d);m=a[c];if(!m){m=a[c]=[];m.delegateCount=0;if(!g.setup||g.setup.call(e,i,h,u)===false){if(e.addEventListener){e.addEventListener(c,u,false)}else if(e.attachEvent){e.attachEvent("on"+c,u)}}}if(g.add){g.add.call(e,p);if(!p.handler.guid){p.handler.guid=r.guid}}if(s){m.splice(m.delegateCount++,0,p)}else{m.push(p)}v.event.global[c]=true}e=null},global:{},remove:function(e,t,n,r,i){var s,o,u,a,f,l,c,h,p,d,m,g=v.hasData(e)&&v._data(e);if(!g||!(h=g.events)){return}t=v.trim(Z(t||"")).split(" ");for(s=0;s<t.length;s++){o=J.exec(t[s])||[];u=a=o[1];f=o[2];if(!u){for(u in h){v.event.remove(e,u+t[s],n,r,true)}continue}p=v.event.special[u]||{};u=(r?p.delegateType:p.bindType)||u;d=h[u]||[];l=d.length;f=f?new RegExp("(^|\\.)"+f.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null;for(c=0;c<d.length;c++){m=d[c];if((i||a===m.origType)&&(!n||n.guid===m.guid)&&(!f||f.test(m.namespace))&&(!r||r===m.selector||r==="**"&&m.selector)){d.splice(c--,1);if(m.selector){d.delegateCount--}if(p.remove){p.remove.call(e,m)}}}if(d.length===0&&l!==d.length){if(!p.teardown||p.teardown.call(e,f,g.handle)===false){v.removeEvent(e,u,g.handle)}delete h[u]}}if(v.isEmptyObject(h)){delete g.handle;v.removeData(e,"events",true)}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(n,r,s,o){if(s&&(s.nodeType===3||s.nodeType===8)){return}var u,a,f,l,c,h,p,d,m,g,y=n.type||n,b=[];if(Y.test(y+v.event.triggered)){return}if(y.indexOf("!")>=0){y=y.slice(0,-1);a=true}if(y.indexOf(".")>=0){b=y.split(".");y=b.shift();b.sort()}if((!s||v.event.customEvent[y])&&!v.event.global[y]){return}n=typeof n==="object"?n[v.expando]?n:new v.Event(y,n):new v.Event(y);n.type=y;n.isTrigger=true;n.exclusive=a;n.namespace=b.join(".");n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;h=y.indexOf(":")<0?"on"+y:"";if(!s){u=v.cache;for(f in u){if(u[f].events&&u[f].events[y]){v.event.trigger(n,r,u[f].handle.elem,true)}}return}n.result=t;if(!n.target){n.target=s}r=r!=null?v.makeArray(r):[];r.unshift(n);p=v.event.special[y]||{};if(p.trigger&&p.trigger.apply(s,r)===false){return}m=[[s,p.bindType||y]];if(!o&&!p.noBubble&&!v.isWindow(s)){g=p.delegateType||y;l=Y.test(g+y)?s:s.parentNode;for(c=s;l;l=l.parentNode){m.push([l,g]);c=l}if(c===(s.ownerDocument||i)){m.push([c.defaultView||c.parentWindow||e,g])}}for(f=0;f<m.length&&!n.isPropagationStopped();f++){l=m[f][0];n.type=m[f][1];d=(v._data(l,"events")||{})[n.type]&&v._data(l,"handle");if(d){d.apply(l,r)}d=h&&l[h];if(d&&v.acceptData(l)&&d.apply&&d.apply(l,r)===false){n.preventDefault()}}n.type=y;if(!o&&!n.isDefaultPrevented()){if((!p._default||p._default.apply(s.ownerDocument,r)===false)&&!(y==="click"&&v.nodeName(s,"a"))&&v.acceptData(s)){if(h&&s[y]&&(y!=="focus"&&y!=="blur"||n.target.offsetWidth!==0)&&!v.isWindow(s)){c=s[h];if(c){s[h]=null}v.event.triggered=y;s[y]();v.event.triggered=t;if(c){s[h]=c}}}}return n.result},dispatch:function(n){n=v.event.fix(n||e.event);var r,i,s,o,u,a,f,c,h,p,d=(v._data(this,"events")||{})[n.type]||[],m=d.delegateCount,g=l.call(arguments),y=!n.exclusive&&!n.namespace,b=v.event.special[n.type]||{},w=[];g[0]=n;n.delegateTarget=this;if(b.preDispatch&&b.preDispatch.call(this,n)===false){return}if(m&&!(n.button&&n.type==="click")){for(s=n.target;s!=this;s=s.parentNode||this){if(s.disabled!==true||n.type!=="click"){u={};f=[];for(r=0;r<m;r++){c=d[r];h=c.selector;if(u[h]===t){u[h]=c.needsContext?v(h,this).index(s)>=0:v.find(h,this,null,[s]).length}if(u[h]){f.push(c)}}if(f.length){w.push({elem:s,matches:f})}}}}if(d.length>m){w.push({elem:this,matches:d.slice(m)})}for(r=0;r<w.length&&!n.isPropagationStopped();r++){a=w[r];n.currentTarget=a.elem;for(i=0;i<a.matches.length&&!n.isImmediatePropagationStopped();i++){c=a.matches[i];if(y||!n.namespace&&!c.namespace||n.namespace_re&&n.namespace_re.test(c.namespace)){n.data=c.data;n.handleObj=c;o=((v.event.special[c.origType]||{}).handle||c.handler).apply(a.elem,g);if(o!==t){n.result=o;if(o===false){n.preventDefault();n.stopPropagation()}}}}}if(b.postDispatch){b.postDispatch.call(this,n)}return n.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){if(e.which==null){e.which=t.charCode!=null?t.charCode:t.keyCode}return e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,s,o,u=n.button,a=n.fromElement;if(e.pageX==null&&n.clientX!=null){r=e.target.ownerDocument||i;s=r.documentElement;o=r.body;e.pageX=n.clientX+(s&&s.scrollLeft||o&&o.scrollLeft||0)-(s&&s.clientLeft||o&&o.clientLeft||0);e.pageY=n.clientY+(s&&s.scrollTop||o&&o.scrollTop||0)-(s&&s.clientTop||o&&o.clientTop||0)}if(!e.relatedTarget&&a){e.relatedTarget=a===e.target?n.toElement:a}if(!e.which&&u!==t){e.which=u&1?1:u&2?3:u&4?2:0}return e}},fix:function(e){if(e[v.expando]){return e}var t,n,r=e,s=v.event.fixHooks[e.type]||{},o=s.props?this.props.concat(s.props):this.props;e=v.Event(r);for(t=o.length;t;){n=o[--t];e[n]=r[n]}if(!e.target){e.target=r.srcElement||i}if(e.target.nodeType===3){e.target=e.target.parentNode}e.metaKey=!!e.metaKey;return s.filter?s.filter(e,r):e},special:{load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){if(v.isWindow(this)){this.onbeforeunload=n}},teardown:function(e,t){if(this.onbeforeunload===t){this.onbeforeunload=null}}}},simulate:function(e,t,n,r){var i=v.extend(new v.Event,n,{type:e,isSimulated:true,originalEvent:{}});if(r){v.event.trigger(i,null,t)}else{v.event.dispatch.call(t,i)}if(i.isDefaultPrevented()){n.preventDefault()}}};v.event.handle=v.event.dispatch;v.removeEvent=i.removeEventListener?function(e,t,n){if(e.removeEventListener){e.removeEventListener(t,n,false)}}:function(e,t,n){var r="on"+t;if(e.detachEvent){if(typeof e[r]==="undefined"){e[r]=null}e.detachEvent(r,n)}};v.Event=function(e,t){if(!(this instanceof v.Event)){return new v.Event(e,t)}if(e&&e.type){this.originalEvent=e;this.type=e.type;this.isDefaultPrevented=e.defaultPrevented||e.returnValue===false||e.getPreventDefault&&e.getPreventDefault()?tt:et}else{this.type=e}if(t){v.extend(this,t)}this.timeStamp=e&&e.timeStamp||v.now();this[v.expando]=true};v.Event.prototype={preventDefault:function(){this.isDefaultPrevented=tt;var e=this.originalEvent;if(!e){return}if(e.preventDefault){e.preventDefault()}else{e.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=tt;var e=this.originalEvent;if(!e){return}if(e.stopPropagation){e.stopPropagation()}e.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=tt;this.stopPropagation()},isDefaultPrevented:et,isPropagationStopped:et,isImmediatePropagationStopped:et};v.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){v.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,s=e.handleObj,o=s.selector;if(!i||i!==r&&!v.contains(r,i)){e.type=s.origType;n=s.handler.apply(this,arguments);e.type=t}return n}}});if(!v.support.submitBubbles){v.event.special.submit={setup:function(){if(v.nodeName(this,"form")){return false}v.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=v.nodeName(n,"input")||v.nodeName(n,"button")?n.form:t;if(r&&!v._data(r,"_submit_attached")){v.event.add(r,"submit._submit",function(e){e._submit_bubble=true});v._data(r,"_submit_attached",true)}})},postDispatch:function(e){if(e._submit_bubble){delete e._submit_bubble;if(this.parentNode&&!e.isTrigger){v.event.simulate("submit",this.parentNode,e,true)}}},teardown:function(){if(v.nodeName(this,"form")){return false}v.event.remove(this,"._submit")}}}if(!v.support.changeBubbles){v.event.special.change={setup:function(){if($.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){v.event.add(this,"propertychange._change",function(e){if(e.originalEvent.propertyName==="checked"){this._just_changed=true}});v.event.add(this,"click._change",function(e){if(this._just_changed&&!e.isTrigger){this._just_changed=false}v.event.simulate("change",this,e,true)})}return false}v.event.add(this,"beforeactivate._change",function(e){var t=e.target;if($.test(t.nodeName)&&!v._data(t,"_change_attached")){v.event.add(t,"change._change",function(e){if(this.parentNode&&!e.isSimulated&&!e.isTrigger){v.event.simulate("change",this.parentNode,e,true)}});v._data(t,"_change_attached",true)}})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||t.type!=="radio"&&t.type!=="checkbox"){return e.handleObj.handler.apply(this,arguments)}},teardown:function(){v.event.remove(this,"._change");return!$.test(this.nodeName)}}}if(!v.support.focusinBubbles){v.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){v.event.simulate(t,e.target,v.event.fix(e),true)};v.event.special[t]={setup:function(){if(n++===0){i.addEventListener(e,r,true)}},teardown:function(){if(--n===0){i.removeEventListener(e,r,true)}}}})}v.fn.extend({on:function(e,n,r,i,s){var o,u;if(typeof e==="object"){if(typeof n!=="string"){r=r||n;n=t}for(u in e){this.on(u,n,r,e[u],s)}return this}if(r==null&&i==null){i=n;r=n=t}else if(i==null){if(typeof n==="string"){i=r;r=t}else{i=r;r=n;n=t}}if(i===false){i=et}else if(!i){return this}if(s===1){o=i;i=function(e){v().off(e);return o.apply(this,arguments)};i.guid=o.guid||(o.guid=v.guid++)}return this.each(function(){v.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,s;if(e&&e.preventDefault&&e.handleObj){i=e.handleObj;v(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler);return this}if(typeof e==="object"){for(s in e){this.off(s,n,e[s])}return this}if(n===false||typeof n==="function"){r=n;n=t}if(r===false){r=et}return this.each(function(){v.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){v(this.context).on(e,this.selector,t,n);return this},die:function(e,t){v(this.context).off(e,this.selector||"**",t);return this},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){v.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0]){return v.event.trigger(e,t,this[0],true)}},toggle:function(e){var t=arguments,n=e.guid||v.guid++,r=0,i=function(n){var i=(v._data(this,"lastToggle"+e.guid)||0)%r;v._data(this,"lastToggle"+e.guid,i+1);n.preventDefault();return t[i].apply(this,arguments)||false};i.guid=n;while(r<t.length){t[r++].guid=n}return this.click(i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});v.each(("blur focus focusin focusout load resize scroll unload click dblclick "+"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave "+"change select submit keydown keypress keyup error contextmenu").split(" "),function(e,t){v.fn[t]=function(e,n){if(n==null){n=e;e=null}return arguments.length>0?this.on(t,null,e,n):this.trigger(t)};if(Q.test(t)){v.event.fixHooks[t]=v.event.keyHooks}if(G.test(t)){v.event.fixHooks[t]=v.event.mouseHooks}});(function(e,t){function nt(e,t,n,r){n=n||[];t=t||g;var i,s,a,f,l=t.nodeType;if(!e||typeof e!=="string"){return n}if(l!==1&&l!==9){return[]}a=o(t);if(!a&&!r){if(i=R.exec(e)){if(f=i[1]){if(l===9){s=t.getElementById(f);if(s&&s.parentNode){if(s.id===f){n.push(s);return n}}else{return n}}else{if(t.ownerDocument&&(s=t.ownerDocument.getElementById(f))&&u(t,s)&&s.id===f){n.push(s);return n}}}else if(i[2]){S.apply(n,x.call(t.getElementsByTagName(e),0));return n}else if((f=i[3])&&Z&&t.getElementsByClassName){S.apply(n,x.call(t.getElementsByClassName(f),0));return n}}}return vt(e.replace(j,"$1"),t,n,r,a)}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function it(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function st(e){return N(function(t){t=+t;return N(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--){if(n[i=s[o]]){n[i]=!(r[i]=n[i])}}})})}function ot(e,t,n){if(e===t){return n}var r=e.nextSibling;while(r){if(r===t){return-1}r=r.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,l=L[d][e];if(l){return t?0:l.slice(0)}u=e;a=[];f=i.preFilter;while(u){if(!n||(r=F.exec(u))){if(r){u=u.slice(r[0].length)}a.push(s=[])}n=false;if(r=I.exec(u)){s.push(n=new m(r.shift()));u=u.slice(n.length);n.type=r[0].replace(j," ")}for(o in i.filter){if((r=J[o].exec(u))&&(!f[o]||(r=f[o](r,g,true)))){s.push(n=new m(r.shift()));u=u.slice(n.length);n.type=o;n.matches=r}}if(!n){break}}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=r&&t.dir==="parentNode",o=w++;return t.first?function(t,n,r){while(t=t[i]){if(s||t.nodeType===1){return e(t,n,r)}}}:function(t,r,u){if(!u){var a,f=b+" "+o+" ",l=f+n;while(t=t[i]){if(s||t.nodeType===1){if((a=t[d])===l){return t.sizset}else if(typeof a==="string"&&a.indexOf(f)===0){if(t.sizset){return t}}else{t[d]=l;if(e(t,r,u)){t.sizset=true;return t}t.sizset=false}}}}else{while(t=t[i]){if(s||t.nodeType===1){if(e(t,r,u)){return t}}}}}}function ft(e){return e.length>1?function(t,n,r){var i=e.length;while(i--){if(!e[i](t,n,r)){return false}}return true}:e[0]}function lt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u<a;u++){if(s=e[u]){if(!n||n(s,r,i)){o.push(s);if(f){t.push(u)}}}}return o}function ct(e,t,n,r,i,s){if(r&&!r[d]){r=ct(r)}if(i&&!i[d]){i=ct(i,s)}return N(function(s,o,u,a){if(s&&i){return}var f,l,c,h=[],p=[],d=o.length,v=s||dt(t||"*",u.nodeType?[u]:u,[],s),m=e&&(s||!t)?lt(v,h,e,u,a):v,g=n?i||(s?e:d||r)?[]:o:m;if(n){n(m,g,u,a)}if(r){c=lt(g,p);r(c,[],u,a);f=c.length;while(f--){if(l=c[f]){g[p[f]]=!(m[p[f]]=l)}}}if(s){f=e&&g.length;while(f--){if(l=g[f]){s[h[f]]=!(o[h[f]]=l)}}}else{g=lt(g===o?g.splice(d,g.length):g);if(i){i(null,o,g,a)}else{S.apply(o,g)}}})}function ht(e){var t,n,r,s=e.length,o=i.relative[e[0].type],u=o||i.relative[" "],a=o?1:0,f=at(function(e){return e===t},u,true),l=at(function(e){return T.call(t,e)>-1},u,true),h=[function(e,n,r){return!o&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r))}];for(;a<s;a++){if(n=i.relative[e[a].type]){h=[at(ft(h),n)]}else{n=i.filter[e[a].type].apply(null,e[a].matches);if(n[d]){r=++a;for(;r<s;r++){if(i.relative[e[r].type]){break}}return ct(a>1&&ft(h),a>1&&e.slice(0,a-1).join("").replace(j,"$1"),n,a<r&&ht(e.slice(a,r)),r<s&&ht(e=e.slice(r)),r<s&&e.join(""))}h.push(n)}}return ft(h)}function pt(e,t){var r=t.length>0,s=e.length>0,o=function(u,a,f,l,h){var p,d,v,m=[],y=0,w="0",x=u&&[],T=h!=null,N=c,C=u||s&&i.find["TAG"]("*",h&&a.parentNode||a),k=b+=N==null?1:Math.E;if(T){c=a!==g&&a;n=o.el}for(;(p=C[w])!=null;w++){if(s&&p){for(d=0;v=e[d];d++){if(v(p,a,f)){l.push(p);break}}if(T){b=k;n=++o.el}}if(r){if(p=!v&&p){y--}if(u){x.push(p)}}}y+=w;if(r&&w!==y){for(d=0;v=t[d];d++){v(x,m,a,f)}if(u){if(y>0){while(w--){if(!(x[w]||m[w])){m[w]=E.call(l)}}}m=lt(m)}S.apply(l,m);if(T&&!u&&m.length>0&&y+t.length>1){nt.uniqueSort(l)}}if(T){b=k;c=N}return x};o.el=0;return r?N(o):o}function dt(e,t,n,r){var i=0,s=t.length;for(;i<s;i++){nt(e,t[i],n,r)}return n}function vt(e,t,n,r,s){var o,u,f,l,c,h=ut(e),p=h.length;if(!r){if(h.length===1){u=h[0]=h[0].slice(0);if(u.length>2&&(f=u[0]).type==="ID"&&t.nodeType===9&&!s&&i.relative[u[1].type]){t=i.find["ID"](f.matches[0].replace($,""),t,s)[0];if(!t){return n}e=e.slice(u.shift().length)}for(o=J["POS"].test(e)?-1:u.length-1;o>=0;o--){f=u[o];if(i.relative[l=f.type]){break}if(c=i.find[l]){if(r=c(f.matches[0].replace($,""),z.test(u[0].type)&&t.parentNode||t,s)){u.splice(o,1);e=r.length&&u.join("");if(!e){S.apply(n,x.call(r,0));return n}break}}}}}a(e,h)(r,t,s,n,z.test(e));return n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h=true,p="undefined",d=("sizcache"+Math.random()).replace(".",""),m=String,g=e.document,y=g.documentElement,b=0,w=0,E=[].pop,S=[].push,x=[].slice,T=[].indexOf||function(e){var t=0,n=this.length;for(;t<n;t++){if(this[t]===e){return t}}return-1},N=function(e,t){e[d]=t==null||t;return e},C=function(){var e={},t=[];return N(function(n,r){if(t.push(n)>i.cacheLength){delete e[t.shift()]}return e[n]=r},e)},k=C(),L=C(),A=C(),O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",_=M.replace("w","w#"),D="([*^$|!~]?=)",P="\\["+O+"*("+M+")"+O+"*(?:"+D+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+_+")|)|)"+O+"*\\]",H=":("+M+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+P+")|[^:]|\\\\.)*|.*))\\)|)",B=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)",j=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),I=new RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),q=new RegExp(H),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/^:not/,z=/[\x20\t\r\n\f]*[+~]/,W=/:not\($/,X=/h\d/i,V=/input|select|textarea|button/i,$=/\\(?!\\)/g,J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),NAME:new RegExp("^\\[name=['\"]?("+M+")['\"]?\\]"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),POS:new RegExp(B,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:new RegExp("^"+O+"*[>+~]|"+B,"i")},K=function(e){var t=g.createElement("div");try{return e(t)}catch(n){return false}finally{t=null}},Q=K(function(e){e.appendChild(g.createComment(""));return!e.getElementsByTagName("*").length}),G=K(function(e){e.innerHTML="<a href='#'></a>";return e.firstChild&&typeof e.firstChild.getAttribute!==p&&e.firstChild.getAttribute("href")==="#"}),Y=K(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=K(function(e){e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>";if(!e.getElementsByClassName||!e.getElementsByClassName("e").length){return false}e.lastChild.className="e";return e.getElementsByClassName("e").length===2}),et=K(function(e){e.id=d+0;e.innerHTML="<a name='"+d+"'></a><div name='"+d+"'></div>";y.insertBefore(e,y.firstChild);var t=g.getElementsByName&&g.getElementsByName(d).length===2+g.getElementsByName(d+0).length;r=!g.getElementById(d);y.removeChild(e);return t});try{x.call(y.childNodes,0)[0].nodeType}catch(tt){x=function(e){var t,n=[];for(;t=this[e];e++){n.push(t)}return n}}nt.matches=function(e,t){return nt(e,null,null,t)};nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0};s=nt.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent==="string"){return e.textContent}else{for(e=e.firstChild;e;e=e.nextSibling){n+=s(e)}}}else if(i===3||i===4){return e.nodeValue}}else{for(;t=e[r];r++){n+=s(t)}}return n};o=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":false};u=nt.contains=y.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode){if(t===e){return true}}return false};nt.attr=function(e,t){var n,r=o(e);if(!r){t=t.toLowerCase()}if(n=i.attrHandle[t]){return n(e)}if(r||Y){return e.getAttribute(t)}n=e.getAttributeNode(t);return n?typeof e[t]==="boolean"?e[t]?t:null:n.specified?n.value:null:null};i=nt.selectors={cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!==p&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==p&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==p&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!==p){return t.getElementsByTagName(e)}}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],s=0;for(;r=n[s];s++){if(r.nodeType===1){i.push(r)}}return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==p){return t.getElementsByName(name)}},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==p&&!n){return t.getElementsByClassName(e)}}},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace($,"");e[3]=(e[4]||e[5]||"").replace($,"");if(e[2]==="~="){e[3]=" "+e[3]+" "}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1]==="nth"){if(!e[2]){nt.error(e[0])}e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd"));e[4]=+(e[6]+e[7]||e[2]==="odd")}else if(e[2]){nt.error(e[0])}return e},PSEUDO:function(e){var t,n;if(J["CHILD"].test(e[0])){return null}if(e[3]){e[2]=e[3]}else if(t=e[4]){if(q.test(t)&&(n=ut(t,true))&&(n=t.indexOf(")",t.length-n)-t.length)){t=t.slice(0,n);e[0]=e[0].slice(0,n)}e[2]=t}return e.slice(0,3)}},filter:{ID:r?function(e){e=e.replace($,"");return function(t){return t.getAttribute("id")===e}}:function(e){e=e.replace($,"");return function(t){var n=typeof t.getAttributeNode!==p&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){if(e==="*"){return function(){return true}}e=e.replace($,"").toLowerCase();return function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(e){var t=k[d][e];if(!t){t=k(e,new RegExp("(^|"+O+")"+e+"("+O+"|$)"))}return function(e){return t.test(e.className||typeof e.getAttribute!==p&&e.getAttribute("class")||"")}},ATTR:function(e,t,n){return function(r,i){var s=nt.attr(r,e);if(s==null){return t==="!="}if(!t){return true}s+="";return t==="="?s===n:t==="!="?s!==n:t==="^="?n&&s.indexOf(n)===0:t==="*="?n&&s.indexOf(n)>-1:t==="$="?n&&s.substr(s.length-n.length)===n:t==="~="?(" "+s+" ").indexOf(n)>-1:t==="|="?s===n||s.substr(0,n.length+1)===n+"-":false}},CHILD:function(e,t,n,r){if(e==="nth"){return function(e){var t,i,s=e.parentNode;if(n===1&&r===0){return true}if(s){i=0;for(t=s.firstChild;t;t=t.nextSibling){if(t.nodeType===1){i++;if(e===t){break}}}}i-=r;return i===n||i%n===0&&i/n>=0}}return function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling){if(n.nodeType===1){return false}}if(e==="first"){return true}n=t;case"last":while(n=n.nextSibling){if(n.nodeType===1){return false}}return true}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);if(r[d]){return r(t)}if(r.length>1){n=[e,e,"",t];return i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,s=r(e,t),o=s.length;while(o--){i=T.call(e,s[o]);e[i]=!(n[i]=s[o])}}):function(e){return r(e,0,n)}}return r}},pseudos:{not:N(function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[d]?N(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--){if(s=o[u]){e[u]=!(t[u]=s)}}}):function(e,i,s){t[0]=e;r(t,null,s,n);return!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===false},disabled:function(e){return e.disabled===true},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return!i.pseudos["empty"](e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4){return false}e=e.nextSibling}return true},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:rt("radio"),checkbox:rt("checkbox"),file:rt("file"),password:rt("password"),image:rt("image"),submit:it("submit"),reset:it("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return V.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href)},active:function(e){return e===e.ownerDocument.activeElement},first:st(function(e,t,n){return[0]}),last:st(function(e,t,n){return[t-1]}),eq:st(function(e,t,n){return[n<0?n+t:n]}),even:st(function(e,t,n){for(var r=0;r<t;r+=2){e.push(r)}return e}),odd:st(function(e,t,n){for(var r=1;r<t;r+=2){e.push(r)}return e}),lt:st(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;){e.push(r)}return e}),gt:st(function(e,t,n){for(var r=n<0?n+t:n;++r<t;){e.push(r)}return e})}};f=y.compareDocumentPosition?function(e,t){if(e===t){l=true;return 0}return(!e.compareDocumentPosition||!t.compareDocumentPosition?e.compareDocumentPosition:e.compareDocumentPosition(t)&4)?-1:1}:function(e,t){if(e===t){l=true;return 0}else if(e.sourceIndex&&t.sourceIndex){return e.sourceIndex-t.sourceIndex}var n,r,i=[],s=[],o=e.parentNode,u=t.parentNode,a=o;if(o===u){return ot(e,t)}else if(!o){return-1}else if(!u){return 1}while(a){i.unshift(a);a=a.parentNode}a=u;while(a){s.unshift(a);a=a.parentNode}n=i.length;r=s.length;for(var f=0;f<n&&f<r;f++){if(i[f]!==s[f]){return ot(i[f],s[f])}}return f===n?ot(e,s[f],-1):ot(i[f],t,1)};[0,0].sort(f);h=!l;nt.uniqueSort=function(e){var t,n=1;l=h;e.sort(f);if(l){for(;t=e[n];n++){if(t===e[n-1]){e.splice(n--,1)}}}return e};nt.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};a=nt.compile=function(e,t){var n,r=[],i=[],s=A[d][e];if(!s){if(!t){t=ut(e)}n=t.length;while(n--){s=ht(t[n]);if(s[d]){r.push(s)}else{i.push(s)}}s=A(e,pt(i,r))}return s};if(g.querySelectorAll){(function(){var e,t=vt,n=/'|\\/g,r=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,i=[":focus"],s=[":active",":focus"],u=y.matchesSelector||y.mozMatchesSelector||y.webkitMatchesSelector||y.oMatchesSelector||y.msMatchesSelector;K(function(e){e.innerHTML="<select><option selected=''></option></select>";if(!e.querySelectorAll("[selected]").length){i.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)")}if(!e.querySelectorAll(":checked").length){i.push(":checked")}});K(function(e){e.innerHTML="<p test=''></p>";if(e.querySelectorAll("[test^='']").length){i.push("[*^$]="+O+"*(?:\"\"|'')")}e.innerHTML="<input type='hidden'/>";if(!e.querySelectorAll(":enabled").length){i.push(":enabled",":disabled")}});i=new RegExp(i.join("|"));vt=function(e,r,s,o,u){if(!o&&!u&&(!i||!i.test(e))){var a,f,l=true,c=d,h=r,p=r.nodeType===9&&e;if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){a=ut(e);if(l=r.getAttribute("id")){c=l.replace(n,"\\$&")}else{r.setAttribute("id",c)}c="[id='"+c+"'] ";f=a.length;while(f--){a[f]=c+a[f].join("")}h=z.test(e)&&r.parentNode||r;p=a.join(",")}if(p){try{S.apply(s,x.call(h.querySelectorAll(p),0));return s}catch(v){}finally{if(!l){r.removeAttribute("id")}}}}return t(e,r,s,o,u)};if(u){K(function(t){e=u.call(t,"div");try{u.call(t,"[test!='']:sizzle");s.push("!=",H)}catch(n){}});s=new RegExp(s.join("|"));nt.matchesSelector=function(t,n){n=n.replace(r,"='$1']");if(!o(t)&&!s.test(n)&&(!i||!i.test(n))){try{var a=u.call(t,n);if(a||e||t.document&&t.document.nodeType!==11){return a}}catch(f){}}return nt(n,null,null,[t]).length>0}}})()}i.pseudos["nth"]=i.pseudos["eq"];i.filters=mt.prototype=i.pseudos;i.setFilters=new mt;nt.attr=v.attr;v.find=nt;v.expr=nt.selectors;v.expr[":"]=v.expr.pseudos;v.unique=nt.uniqueSort;v.text=nt.getText;v.isXMLDoc=nt.isXML;v.contains=nt.contains})(e);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,it=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,ot={children:true,contents:true,next:true,prev:true};v.fn.extend({find:function(e){var t,n,r,i,s,o,u=this;if(typeof e!=="string"){return v(e).filter(function(){for(t=0,n=u.length;t<n;t++){if(v.contains(u[t],this)){return true}}})}o=this.pushStack("","find",e);for(t=0,n=this.length;t<n;t++){r=o.length;v.find(e,this[t],o);if(t>0){for(i=r;i<o.length;i++){for(s=0;s<r;s++){if(o[s]===o[i]){o.splice(i--,1);break}}}}}return o},has:function(e){var t,n=v(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++){if(v.contains(this,n[t])){return true}}})},not:function(e){return this.pushStack(ft(this,e,false),"not",e)},filter:function(e){return this.pushStack(ft(this,e,true),"filter",e)},is:function(e){return!!e&&(typeof e==="string"?st.test(e)?v(e,this.context).index(this[0])>=0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,s=[],o=st.test(e)||typeof e!=="string"?v(e,t||this.context):0;for(;r<i;r++){n=this[r];while(n&&n.ownerDocument&&n!==t&&n.nodeType!==11){if(o?o.index(n)>-1:v.find.matchesSelector(n,e)){s.push(n);break}n=n.parentNode}}s=s.length>1?v.unique(s):s;return this.pushStack(s,"closest",e)},index:function(e){if(!e){return this[0]&&this[0].parentNode?this.prevAll().length:-1}if(typeof e==="string"){return v.inArray(this[0],v(e))}return v.inArray(e.FlixjQ?e[0]:e,this)},add:function(e,t){var n=typeof e==="string"?v(e,t):v.makeArray(e&&e.nodeType?[e]:e),r=v.merge(this.get(),n);return this.pushStack(ut(n[0])||ut(r[0])?r:v.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});v.fn.andSelf=v.fn.addBack;v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return at(e,"nextSibling")},prev:function(e){return at(e,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);if(!nt.test(e)){r=n}if(r&&typeof r==="string"){i=v.filter(r,i)}i=this.length>1&&!ot[e]?v.unique(i):i;if(this.length>1&&rt.test(e)){i=i.reverse()}return this.pushStack(i,e,l.call(arguments).join(","))}});v.extend({filter:function(e,t,n){if(n){e=":not("+e+")"}return t.length===1?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!v(s).is(r))){if(s.nodeType===1){i.push(s)}s=s[n]}return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling){if(e.nodeType===1&&e!==t){n.push(e)}}return n}});var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|"+"header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ht=/ FlixjQ\d+="(?:null|\d+)"/g,pt=/^\s+/,dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,mt=/<tbody/i,gt=/<|&#?\w+;/,yt=/<(?:script|style|link)/i,bt=/<(?:script|object|embed|option|style)/i,wt=new RegExp("<(?:"+ct+")[\\s/>]","i"),Et=/^(?:checkbox|radio)$/,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,Nt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},Ct=lt(i),kt=Ct.appendChild(i.createElement("div"));Nt.optgroup=Nt.option;Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead;Nt.th=Nt.td;if(!v.support.htmlSerialize){Nt._default=[1,"X<div>","</div>"]}v.fn.extend({text:function(e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e)){return this.each(function(t){v(this).wrapAll(e.call(this,t))})}if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){t.insertBefore(this[0])}t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1){e=e.firstChild}return e}).append(this)}return this},wrapInner:function(e){if(v.isFunction(e)){return this.each(function(t){v(this).wrapInner(e.call(this,t))})}return this.each(function(){var t=v(this),n=t.contents();if(n.length){n.wrapAll(e)}else{t.append(e)}})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){if(!v.nodeName(this,"body")){v(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1||this.nodeType===11){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1||this.nodeType===11){this.insertBefore(e,this.firstChild)}})},before:function(){if(!ut(this[0])){return this.domManip(arguments,false,function(e){this.parentNode.insertBefore(e,this)})}if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(e,this),"before",this.selector)}},after:function(){if(!ut(this[0])){return this.domManip(arguments,false,function(e){this.parentNode.insertBefore(e,this.nextSibling)})}if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++){if(!e||v.filter(e,[n]).length){if(!t&&n.nodeType===1){v.cleanData(n.getElementsByTagName("*"));v.cleanData([n])}if(n.parentNode){n.parentNode.removeChild(n)}}}return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){if(e.nodeType===1){v.cleanData(e.getElementsByTagName("*"))}while(e.firstChild){e.removeChild(e.firstChild)}}return this},clone:function(e,t){e=e==null?false:e;t=t==null?e:t;return this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t){return n.nodeType===1?n.innerHTML.replace(ht,""):t}if(typeof e==="string"&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt[(vt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(dt,"<$1></$2>");try{for(;r<i;r++){n=this[r]||{};if(n.nodeType===1){v.cleanData(n.getElementsByTagName("*"));n.innerHTML=e}}n=0}catch(s){}}if(n){this.empty().append(e)}},null,e,arguments.length)},replaceWith:function(e){if(!ut(this[0])){if(v.isFunction(e)){return this.each(function(t){var n=v(this),r=n.html();n.replaceWith(e.call(this,t,r))})}if(typeof e!=="string"){e=v(e).detach()}return this.each(function(){var t=this.nextSibling,n=this.parentNode;v(this).remove();if(t){v(t).before(e)}else{v(n).append(e)}})}return this.length?this.pushStack(v(v.isFunction(e)?e():e),"replaceWith",e):this},detach:function(e){return this.remove(e,true)},domManip:function(e,n,r){e=[].concat.apply([],e);var i,s,o,u,a=0,f=e[0],l=[],c=this.length;if(!v.support.checkClone&&c>1&&typeof f==="string"&&St.test(f)){return this.each(function(){v(this).domManip(e,n,r)})}if(v.isFunction(f)){return this.each(function(i){var s=v(this);e[0]=f.call(this,i,n?s.html():t);s.domManip(e,n,r)})}if(this[0]){i=v.buildFragment(e,this,l);o=i.fragment;s=o.firstChild;if(o.childNodes.length===1){o=s}if(s){n=n&&v.nodeName(s,"tr");for(u=i.cacheable||c-1;a<c;a++){r.call(n&&v.nodeName(this[a],"table")?Lt(this[a],"tbody"):this[a],a===u?o:v.clone(o,true,true))}}o=s=null;if(l.length){v.each(l,function(e,t){if(t.src){if(v.ajax){v.ajax({url:t.src,type:"GET",dataType:"script",async:false,global:false,"throws":true})}else{v.error("no ajax")}}else{v.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Tt,""))}if(t.parentNode){t.parentNode.removeChild(t)}})}}return this}});v.buildFragment=function(e,n,r){var s,o,u,a=e[0];n=n||i;n=!n.nodeType&&n[0]||n;n=n.ownerDocument||n;if(e.length===1&&typeof a==="string"&&a.length<512&&n===i&&a.charAt(0)==="<"&&!bt.test(a)&&(v.support.checkClone||!St.test(a))&&(v.support.html5Clone||!wt.test(a))){o=true;s=v.fragments[a];u=s!==t}if(!s){s=n.createDocumentFragment();v.clean(e,n,s,r);if(o){v.fragments[a]=u&&s}}return{fragment:s,cacheable:o}};v.fragments={};v.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){v.fn[e]=function(n){var r,i=0,s=[],o=v(n),u=o.length,a=this.length===1&&this[0].parentNode;if((a==null||a&&a.nodeType===11&&a.childNodes.length===1)&&u===1){o[t](this[0]);return this}else{for(;i<u;i++){r=(i>0?this.clone(true):this).get();v(o[i])[t](r);s=s.concat(r)}return this.pushStack(s,e,o.selector)}}});v.extend({clone:function(e,t,n){var r,i,s,o;if(v.support.html5Clone||v.isXMLDoc(e)||!wt.test("<"+e.nodeName+">")){o=e.cloneNode(true)}else{kt.innerHTML=e.outerHTML;kt.removeChild(o=kt.firstChild)}if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){Ot(e,o);r=Mt(e);i=Mt(o);for(s=0;r[s];++s){if(i[s]){Ot(r[s],i[s])}}}if(t){At(e,o);if(n){r=Mt(e);i=Mt(o);for(s=0;r[s];++s){At(r[s],i[s])}}}r=i=null;return o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,y=t===i&&Ct,b=[];if(!t||typeof t.createDocumentFragment==="undefined"){t=i}for(s=0;(u=e[s])!=null;s++){if(typeof u==="number"){u+=""}if(!u){continue}if(typeof u==="string"){if(!gt.test(u)){u=t.createTextNode(u)}else{y=y||lt(t);c=t.createElement("div");y.appendChild(c);u=u.replace(dt,"<$1></$2>");a=(vt.exec(u)||["",""])[1].toLowerCase();f=Nt[a]||Nt._default;l=f[0];c.innerHTML=f[1]+u+f[2];while(l--){c=c.lastChild}if(!v.support.tbody){h=mt.test(u);p=a==="table"&&!h?c.firstChild&&c.firstChild.childNodes:f[1]==="<table>"&&!h?c.childNodes:[];for(o=p.length-1;o>=0;--o){if(v.nodeName(p[o],"tbody")&&!p[o].childNodes.length){p[o].parentNode.removeChild(p[o])}}}if(!v.support.leadingWhitespace&&pt.test(u)){c.insertBefore(t.createTextNode(pt.exec(u)[0]),c.firstChild)}u=c.childNodes;c.parentNode.removeChild(c)}}if(u.nodeType){b.push(u)}else{v.merge(b,u)}}if(c){u=c=y=null}if(!v.support.appendChecked){for(s=0;(u=b[s])!=null;s++){if(v.nodeName(u,"input")){_t(u)}else if(typeof u.getElementsByTagName!=="undefined"){v.grep(u.getElementsByTagName("input"),_t)}}}if(n){m=function(e){if(!e.type||xt.test(e.type)){return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)}};for(s=0;(u=b[s])!=null;s++){if(!(v.nodeName(u,"script")&&m(u))){n.appendChild(u);if(typeof u.getElementsByTagName!=="undefined"){g=v.grep(v.merge([],u.getElementsByTagName("script")),m);b.splice.apply(b,[s+1,0].concat(g));s+=g.length}}}}return b},cleanData:function(e,t){var n,r,i,s,o=0,u=v.expando,a=v.cache,f=v.support.deleteExpando,l=v.event.special;for(;(i=e[o])!=null;o++){if(t||v.acceptData(i)){r=i[u];n=r&&a[r];if(n){if(n.events){for(s in n.events){if(l[s]){v.event.remove(i,s)}else{v.removeEvent(i,s,n.handle)}}}if(a[r]){delete a[r];if(f){delete i[u]}else if(i.removeAttribute){i.removeAttribute(u)}else{i[u]=null}v.deletedIds.push(r)}}}}}});(function(){var e,t;v.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}};e=v.uaMatch(o.userAgent);t={};if(e.browser){t[e.browser]=true;t.version=e.version}if(t.chrome){t.webkit=true}else if(t.webkit){t.safari=true}v.browser=t;v.sub=function(){function e(t,n){return new e.fn.init(t,n)}v.extend(true,e,this);e.superclass=this;e.fn=e.prototype=this();e.fn.constructor=e;e.sub=this.sub;e.fn.init=function(r,i){if(i&&i instanceof v&&!(i instanceof e)){i=e(i)}return v.fn.init.call(this,r,i,t)};e.fn.init.prototype=e.fn;var t=e(i);return e}})();var Dt,Pt,Ht,Bt=/alpha\([^)]*\)/i,jt=/opacity=([^)]*)/,Ft=/^(top|right|bottom|left)$/,It=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),Ut=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),zt=new RegExp("^([-+])=("+m+")","i"),Wt={},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},$t=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"],Kt=v.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,true)},hide:function(){return Yt(this)},toggle:function(e,t){var n=typeof e==="boolean";if(v.isFunction(e)&&v.isFunction(t)){return Kt.apply(this,arguments)}return this.each(function(){if(n?e:Gt(this)){v(this).show()}else{v(this).hide()}})}});v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style){return}var s,o,u,a=v.camelCase(n),f=e.style;n=v.cssProps[a]||(v.cssProps[a]=Qt(f,a));u=v.cssHooks[n]||v.cssHooks[a];if(r!==t){o=typeof r;if(o==="string"&&(s=zt.exec(r))){r=(s[1]+1)*s[2]+parseFloat(v.css(e,n));o="number"}if(r==null||o==="number"&&isNaN(r)){return}if(o==="number"&&!v.cssNumber[a]){r+="px"}if(!u||!("set"in u)||(r=u.set(e,r,i))!==t){try{f[n]=r}catch(l){}}}else{if(u&&"get"in u&&(s=u.get(e,false,i))!==t){return s}return f[n]}},css:function(e,n,r,i){var s,o,u,a=v.camelCase(n);n=v.cssProps[a]||(v.cssProps[a]=Qt(e.style,a));u=v.cssHooks[n]||v.cssHooks[a];if(u&&"get"in u){s=u.get(e,true,i)}if(s===t){s=Dt(e,n)}if(s==="normal"&&n in Vt){s=Vt[n]}if(r||i!==t){o=parseFloat(s);return r||v.isNumeric(o)?o||0:s}return s},swap:function(e,t,n){var r,i,s={};for(i in t){s[i]=e.style[i];e.style[i]=t[i]}r=n.call(e);for(i in t){e.style[i]=s[i]}return r}});if(e.getComputedStyle){Dt=function(t,n){var r,i,s,o,u=e.getComputedStyle(t,null),a=t.style;if(u){r=u[n];if(r===""&&!v.contains(t.ownerDocument,t)){r=v.style(t,n)}if(Ut.test(r)&&qt.test(n)){i=a.width;s=a.minWidth;o=a.maxWidth;a.minWidth=a.maxWidth=a.width=r;r=u.width;a.width=i;a.minWidth=s;a.maxWidth=o}}return r}}else if(i.documentElement.currentStyle){Dt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],s=e.style;if(i==null&&s&&s[t]){i=s[t]}if(Ut.test(i)&&!Ft.test(t)){n=s.left;r=e.runtimeStyle&&e.runtimeStyle.left;if(r){e.runtimeStyle.left=e.currentStyle.left}s.left=t==="fontSize"?"1em":i;i=s.pixelLeft+"px";s.left=n;if(r){e.runtimeStyle.left=r}}return i===""?"auto":i}}v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){if(n){if(e.offsetWidth===0&&It.test(Dt(e,"display"))){return v.swap(e,Xt,function(){return tn(e,t,r)})}else{return tn(e,t,r)}}},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,"boxSizing")==="border-box"):0)}}});if(!v.support.opacity){v.cssHooks.opacity={get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=v.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&v.trim(s.replace(Bt,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter){return}}n.filter=Bt.test(s)?s.replace(Bt,i):s+" "+i}}}v(function(){if(!v.support.reliableMarginRight){v.cssHooks.marginRight={get:function(e,t){return v.swap(e,{display:"inline-block"},function(){if(t){return Dt(e,"marginRight")}})}}}if(!v.support.pixelPosition&&v.fn.position){v.each(["top","left"],function(e,t){v.cssHooks[t]={get:function(e,n){if(n){var r=Dt(e,t);return Ut.test(r)?v(e).position()[t]+"px":r}}}})}});if(v.expr&&v.expr.filters){v.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,"display"))==="none"};v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)}}v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var r,i=typeof n==="string"?n.split(" "):[n],s={};for(r=0;r<4;r++){s[e+$t[r]+t]=i[r]||i[r-2]||i[0]}return s}};if(!qt.test(e)){v.cssHooks[e+t].set=Zt}});var rn=/%20/g,sn=/\[\]$/,on=/\r?\n/g,un=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an=/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var n=v(this).val();return n==null?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}});v.param=function(e,n){var r,i=[],s=function(e,t){t=v.isFunction(t)?t():t==null?"":t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t){n=v.ajaxSettings&&v.ajaxSettings.traditional}if(v.isArray(e)||e.FlixjQ&&!v.isPlainObject(e)){v.each(e,function(){s(this.name,this.value)})}else{for(r in e){fn(r,e[r],n,s)}}return i.join("&").replace(rn,"+")};var ln,cn,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/\?/,yn=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,wn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=v.fn.load,Sn={},xn={},Tn=["*/"]+["*"];try{cn=s.href}catch(Nn){cn=i.createElement("a");cn.href="";cn=cn.href}ln=wn.exec(cn.toLowerCase())||[];v.fn.load=function(e,n,r){if(typeof e!=="string"&&En){return En.apply(this,arguments)}if(!this.length){return this}var i,s,o,u=this,a=e.indexOf(" ");if(a>=0){i=e.slice(a,e.length);e=e.slice(0,a)}if(v.isFunction(n)){r=n;n=t}else if(n&&typeof n==="object"){s="POST"}v.ajax({url:e,type:s,dataType:"html",data:n,complete:function(e,t){if(r){u.each(r,o||[e.responseText,t,e])}}}).done(function(e){o=arguments;u.html(i?v("<div>").append(e.replace(yn,"")).find(i):e)});return this};v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.on(t,e)}});v.each(["get","post"],function(e,n){v[n]=function(e,r,i,s){if(v.isFunction(r)){s=s||i;i=r;r=t}return v.ajax({type:n,url:e,data:r,success:i,dataType:s})}});v.extend({getScript:function(e,n){return v.get(e,t,n,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},ajaxSetup:function(e,t){if(t){Ln(e,v.ajaxSettings)}else{t=e;e=v.ajaxSettings}Ln(e,t);return e},ajaxSettings:{url:cn,isLocal:dn.test(ln[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":true,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,T=n;if(E===2){return}E=2;if(u){clearTimeout(u)}o=t;i=a||"";x.readyState=e>0?4:0;if(s){w=An(c,x,s)}if(e>=200&&e<300||e===304){if(c.ifModified){S=x.getResponseHeader("Last-Modified");if(S){v.lastModified[r]=S}S=x.getResponseHeader("Etag");if(S){v.etag[r]=S}}if(e===304){T="notmodified";l=true}else{l=On(c,w);T=l.state;y=l.data;b=l.error;l=!b}}else{b=T;if(!T||e){T="error";if(e<0){e=0}}}x.status=e;x.statusText=(n||T)+"";if(l){d.resolveWith(h,[y,T,x])}else{d.rejectWith(h,[x,T,b])}x.statusCode(g);g=t;if(f){p.trigger("ajax"+(l?"Success":"Error"),[x,c,l?y:b])}m.fireWith(h,[x,T]);if(f){p.trigger("ajaxComplete",[x,c]);if(!--v.active){v.event.trigger("ajaxStop")}}}if(typeof e==="object"){n=e;e=t}n=n||{};var r,i,s,o,u,a,f,l,c=v.ajaxSetup({},n),h=c.context||c,p=h!==c&&(h.nodeType||h instanceof v)?v(h):v.event,d=v.Deferred(),m=v.Callbacks("once memory"),g=c.statusCode||{},b={},w={},E=0,S="canceled",x={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=w[n]=w[n]||e;b[e]=t}return this},getAllResponseHeaders:function(){return E===2?i:null},getResponseHeader:function(e){var n;if(E===2){if(!s){s={};while(n=pn.exec(i)){s[n[1].toLowerCase()]=n[2]}}n=s[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){if(!E){c.mimeType=e}return this},abort:function(e){e=e||S;if(o){o.abort(e)}T(0,e);return this}};d.promise(x);x.success=x.done;x.error=x.fail;x.complete=m.add;x.statusCode=function(e){if(e){var t;if(E<2){for(t in e){g[t]=[g[t],e[t]]}}else{t=e[x.status];x.always(t)}}return this};c.url=((e||c.url)+"").replace(hn,"").replace(mn,ln[1]+"//");c.dataTypes=v.trim(c.dataType||"*").toLowerCase().split(y);if(c.crossDomain==null){a=wn.exec(c.url.toLowerCase())||false;c.crossDomain=a&&a.join(":")+(a[3]?"":a[1]==="http:"?80:443)!==ln.join(":")+(ln[3]?"":ln[1]==="http:"?80:443)}if(c.data&&c.processData&&typeof c.data!=="string"){c.data=v.param(c.data,c.traditional)}kn(Sn,c,n,x);if(E===2){return x}f=c.global;c.type=c.type.toUpperCase();c.hasContent=!vn.test(c.type);if(f&&v.active++===0){v.event.trigger("ajaxStart")}if(!c.hasContent){if(c.data){c.url+=(gn.test(c.url)?"&":"?")+c.data;delete c.data}r=c.url;if(c.cache===false){var N=v.now(),C=c.url.replace(bn,"$1_="+N);c.url=C+(C===c.url?(gn.test(c.url)?"&":"?")+"_="+N:"")}}if(c.data&&c.hasContent&&c.contentType!==false||n.contentType){x.setRequestHeader("Content-Type",c.contentType)}if(c.ifModified){r=r||c.url;if(v.lastModified[r]){x.setRequestHeader("If-Modified-Since",v.lastModified[r])}if(v.etag[r]){x.setRequestHeader("If-None-Match",v.etag[r])}}x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers){x.setRequestHeader(l,c.headers[l])}if(c.beforeSend&&(c.beforeSend.call(h,x,c)===false||E===2)){return x.abort()}S="abort";for(l in{success:1,error:1,complete:1}){x[l](c[l])}o=kn(xn,c,n,x);if(!o){T(-1,"No Transport")}else{x.readyState=1;if(f){p.trigger("ajaxSend",[x,c])}if(c.async&&c.timeout>0){u=setTimeout(function(){x.abort("timeout")},c.timeout)}try{E=1;o.send(b,T)}catch(k){if(E<2){T(-1,k)}else{throw k}}}return x},active:0,lastModified:{},etag:{}});var Mn=[],_n=/\?/,Dn=/(=)\?(?=&|$)|\?\?/,Pn=v.now();v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||v.expando+"_"+Pn++;this[e]=true;return e}});v.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.data,f=n.url,l=n.jsonp!==false,c=l&&Dn.test(f),h=l&&!c&&typeof a==="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Dn.test(a);if(n.dataTypes[0]==="jsonp"||c||h){s=n.jsonpCallback=v.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback;o=e[s];if(c){n.url=f.replace(Dn,"$1"+s)}else if(h){n.data=a.replace(Dn,"$1"+s)}else if(l){n.url+=(_n.test(f)?"&":"?")+n.jsonp+"="+s}n.converters["script json"]=function(){if(!u){v.error(s+" was not called")}return u[0]};n.dataTypes[0]="json";e[s]=function(){u=arguments};i.always(function(){e[s]=o;if(n[s]){n.jsonpCallback=r.jsonpCallback;Mn.push(s)}if(u&&v.isFunction(o)){o(u[0])}u=o=t});return"script"}});v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){v.globalEval(e);return e}}});v.ajaxPrefilter("script",function(e){if(e.cache===t){e.cache=false}if(e.crossDomain){e.type="GET";e.global=false}});v.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(s,o){n=i.createElement("script");n.async="async";if(e.scriptCharset){n.charset=e.scriptCharset}n.src=e.url;n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState)){n.onload=n.onreadystatechange=null;if(r&&n.parentNode){r.removeChild(n)}n=t;if(!i){o(200,"success")}}};r.insertBefore(n,r.firstChild)},abort:function(){if(n){n.onload(0,1)}}}}});var Hn,Bn=e.ActiveXObject?function(){for(var e in Hn){Hn[e](0,1)}}:false,jn=0;v.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn;(function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})})(v.ajaxSettings.xhr());if(v.support.ajax){v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();if(n.username){a.open(n.type,n.url,n.async,n.username,n.password)}else{a.open(n.type,n.url,n.async)}if(n.xhrFields){for(u in n.xhrFields){a[u]=n.xhrFields[u]}}if(n.mimeType&&a.overrideMimeType){a.overrideMimeType(n.mimeType)}if(!n.crossDomain&&!i["X-Requested-With"]){i["X-Requested-With"]="XMLHttpRequest"}try{for(u in i){a.setRequestHeader(u,i[u])}}catch(f){}a.send(n.hasContent&&n.data||null);r=function(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState===4)){r=t;if(o){a.onreadystatechange=v.noop;if(Bn){delete Hn[o]}}if(i){if(a.readyState!==4){a.abort()}}else{u=a.status;l=a.getAllResponseHeaders();c={};h=a.responseXML;if(h&&h.documentElement){c.xml=h}try{c.text=a.responseText}catch(e){}try{f=a.statusText}catch(p){f=""}if(!u&&n.isLocal&&!n.crossDomain){u=c.text?200:404}else if(u===1223){u=204}}}}catch(d){if(!i){s(-1,d)}}if(c){s(u,f,c,l)}};if(!n.async){r()}else if(a.readyState===4){setTimeout(r,0)}else{o=++jn;if(Bn){if(!Hn){Hn={};v(e).unload(Bn)}Hn[o]=r}a.onreadystatechange=r}},abort:function(){if(r){r(0,1)}}}}})}var qn,Rn,Un=/^(?:toggle|show|hide)$/,zn=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),Wn=/queueHooks$/,Xn=[Gn],Vn={"*":[function(e,t){var n,r,i=this.createTween(e,t),s=zn.exec(t),o=i.cur(),u=+o||0,a=1,f=20;if(s){n=+s[2];r=s[3]||(v.cssNumber[e]?"":"px");if(r!=="px"&&u){u=v.css(i.elem,e,true)||n||1;do{a=a||".5";u=u/a;v.style(i.elem,e,u+r)}while(a!==(a=i.cur()/o)&&a!==1&&--f)}i.unit=r;i.start=u;i.end=s[1]?u+(s[1]+1)*n:n}return i}]};v.Animation=v.extend(Kn,{tweener:function(e,t){if(v.isFunction(e)){t=e;e=["*"]}else{e=e.split(" ")}var n,r=0,i=e.length;for(;r<i;r++){n=e[r];Vn[n]=Vn[n]||[];Vn[n].unshift(t)}},prefilter:function(e,t){if(t){Xn.unshift(e)}else{Xn.push(e)}}});v.Tween=Yn;Yn.prototype={constructor:Yn,init:function(e,t,n,r,i,s){this.elem=e;this.prop=n;this.easing=i||"swing";this.options=t;this.start=this.now=this.cur();this.end=r;this.unit=s||(v.cssNumber[n]?"":"px")},cur:function(){var e=Yn.propHooks[this.prop];return e&&e.get?e.get(this):Yn.propHooks._default.get(this)},run:function(e){var t,n=Yn.propHooks[this.prop];if(this.options.duration){this.pos=t=v.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration)}else{this.pos=t=e}this.now=(this.end-this.start)*t+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)}if(n&&n.set){n.set(this)}else{Yn.propHooks._default.set(this)}return this}};Yn.prototype.init.prototype=Yn.prototype;Yn.propHooks={_default:{get:function(e){var t;if(e.elem[e.prop]!=null&&(!e.elem.style||e.elem.style[e.prop]==null)){return e.elem[e.prop]}t=v.css(e.elem,e.prop,false,"");return!t||t==="auto"?0:t},set:function(e){if(v.fx.step[e.prop]){v.fx.step[e.prop](e)}else if(e.elem.style&&(e.elem.style[v.cssProps[e.prop]]!=null||v.cssHooks[e.prop])){v.style(e.elem,e.prop,e.now+e.unit)}else{e.elem[e.prop]=e.now}}}};Yn.propHooks.scrollTop=Yn.propHooks.scrollLeft={set:function(e){if(e.elem.nodeType&&e.elem.parentNode){e.elem[e.prop]=e.now}}};v.each(["toggle","show","hide"],function(e,t){var n=v.fn[t];v.fn[t]=function(r,i,s){return r==null||typeof r==="boolean"||!e&&v.isFunction(r)&&v.isFunction(i)?n.apply(this,arguments):this.animate(Zn(t,true),r,i,s)}});v.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Gt).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=v.isEmptyObject(e),s=v.speed(t,n,r),o=function(){var t=Kn(this,v.extend({},e),s);if(i){t.stop(true)}};return i||s.queue===false?this.each(o):this.queue(s.queue,o)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop;t(r)};if(typeof e!=="string"){r=n;n=e;e=t}if(n&&e!==false){this.queue(e||"fx",[])}return this.each(function(){var t=true,n=e!=null&&e+"queueHooks",s=v.timers,o=v._data(this);if(n){if(o[n]&&o[n].stop){i(o[n])}}else{for(n in o){if(o[n]&&o[n].stop&&Wn.test(n)){i(o[n])}}}for(n=s.length;n--;){if(s[n].elem===this&&(e==null||s[n].queue===e)){s[n].anim.stop(r);t=false;s.splice(n,1)}}if(t||!r){v.dequeue(this,e)}})}});v.each({slideDown:Zn("show"),slideUp:Zn("hide"),slideToggle:Zn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){v.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}});v.speed=function(e,t,n){var r=e&&typeof e==="object"?v.extend({},e):{complete:n||!n&&t||v.isFunction(e)&&e,duration:e,easing:n&&t||t&&!v.isFunction(t)&&t};r.duration=v.fx.off?0:typeof r.duration==="number"?r.duration:r.duration in v.fx.speeds?v.fx.speeds[r.duration]:v.fx.speeds._default;if(r.queue==null||r.queue===true){r.queue="fx"}r.old=r.complete;r.complete=function(){if(v.isFunction(r.old)){r.old.call(this)}if(r.queue){v.dequeue(this,r.queue)}};return r};v.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}};v.timers=[];v.fx=Yn.prototype.init;v.fx.tick=function(){var e,t=v.timers,n=0;for(;n<t.length;n++){e=t[n];if(!e()&&t[n]===e){t.splice(n--,1)}}if(!t.length){v.fx.stop()}};v.fx.timer=function(e){if(e()&&v.timers.push(e)&&!Rn){Rn=setInterval(v.fx.tick,v.fx.interval)}};v.fx.interval=13;v.fx.stop=function(){clearInterval(Rn);Rn=null};v.fx.speeds={slow:600,fast:200,_default:400};v.fx.step={};if(v.expr&&v.expr.filters){v.expr.filters.animated=function(e){return v.grep(v.timers,function(t){return e===t.elem}).length}}var er=/^(?:body|html)$/i;v.fn.offset=function(e){if(arguments.length){return e===t?this:this.each(function(t){v.offset.setOffset(this,e,t)})}var n,r,i,s,o,u,a,f={top:0,left:0},l=this[0],c=l&&l.ownerDocument;if(!c){return}if((r=c.body)===l){return v.offset.bodyOffset(l)}n=c.documentElement;if(!v.contains(n,l)){return f}if(typeof l.getBoundingClientRect!=="undefined"){f=l.getBoundingClientRect()}i=tr(c);s=n.clientTop||r.clientTop||0;o=n.clientLeft||r.clientLeft||0;u=i.pageYOffset||n.scrollTop;a=i.pageXOffset||n.scrollLeft;return{top:f.top+u-s,left:f.left+a-o}};v.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;if(v.support.doesNotIncludeMarginInBodyOffset){t+=parseFloat(v.css(e,"marginTop"))||0;n+=parseFloat(v.css(e,"marginLeft"))||0}return{top:t,left:n}},setOffset:function(e,t,n){var r=v.css(e,"position");if(r==="static"){e.style.position="relative"}var i=v(e),s=i.offset(),o=v.css(e,"top"),u=v.css(e,"left"),a=(r==="absolute"||r==="fixed")&&v.inArray("auto",[o,u])>-1,f={},l={},c,h;if(a){l=i.position();c=l.top;h=l.left}else{c=parseFloat(o)||0;h=parseFloat(u)||0}if(v.isFunction(t)){t=t.call(e,n,s)}if(t.top!=null){f.top=t.top-s.top+c}if(t.left!=null){f.left=t.left-s.left+h}if("using"in t){t.using.call(e,f)}else{i.css(f)}}};v.fn.extend({position:function(){if(!this[0]){return}var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();n.top-=parseFloat(v.css(e,"marginTop"))||0;n.left-=parseFloat(v.css(e,"marginLeft"))||0;r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0;r.left+=parseFloat(v.css(t[0],"borderLeftWidth"))||0;return{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,"position")==="static"){e=e.offsetParent}return e||i.body})}});v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);v.fn[e]=function(i){return v.access(this,function(e,i,s){var o=tr(e);if(s===t){return o?n in o?o[n]:o.document.documentElement[i]:e[i]}if(o){o.scrollTo(!r?s:v(o).scrollLeft(),r?s:v(o).scrollTop())}else{e[i]=s}},e,i,arguments.length,null)}});v.each({Height:"height",Width:"width"},function(e,n){v.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){v.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!=="boolean"),u=r||(i===true||s===true?"margin":"border");return v.access(this,function(n,r,i){var s;if(v.isWindow(n)){return n.document.documentElement["client"+e]}if(n.nodeType===9){s=n.documentElement;return Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])}return i===t?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})});e.FlixjQ=v;if(typeof define==="function"&&define.amd&&define.amd.FlixjQ){define("FlixjQ",[],function(){return v})}})(window)
FlixjQ=FlixjQ.noConflict();}
if(true){(function($,undefined){var uuid=0,runiqueId=/^flix_ui-id-\d+$/;$.ui=$.ui||{};$.extend($.ui,{version:"1.10.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}});$.fn.extend({focus:(function(orig){return function(delay,fn){return typeof delay==="number"?this.each(function(){var elem=this;setTimeout(function(){$(elem).focus();if(fn){fn.call(elem)}},delay)}):orig.apply(this,arguments)}})($.fn.focus),scrollParent:function(){var scrollParent;if(($.ui.ie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){scrollParent=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test($.css(this,"position"))&&(/(auto|scroll)/).test($.css(this,"overflow")+$.css(this,"overflow-y")+$.css(this,"overflow-x"))}).eq(0)}else{scrollParent=this.parents().filter(function(){return(/(auto|scroll)/).test($.css(this,"overflow")+$.css(this,"overflow-y")+$.css(this,"overflow-x"))}).eq(0)}return(/fixed/).test(this.css("position"))||!scrollParent.length?$(document):scrollParent},zIndex:function(zIndex){if(zIndex!==undefined){return this.css("zIndex",zIndex)}if(this.length){var elem=$(this[0]),position,value;while(elem.length&&elem[0]!==document){position=elem.css("position");if(position==="absolute"||position==="relative"||position==="fixed"){value=parseInt(elem.css("zIndex"),10);if(!isNaN(value)&&value!==0){return value}}elem=elem.parent()}}return 0},uniqueId:function(){return this.each(function(){if(!this.id){this.id="flix_ui-id-"+(++uuid)}})},removeUniqueId:function(){return this.each(function(){if(runiqueId.test(this.id)){$(this).removeAttr("id")}})}});function focusable(element,isTabIndexNotNaN){var map,mapName,img,nodeName=element.nodeName.toLowerCase();if("area"===nodeName){map=element.parentNode;mapName=map.name;if(!element.href||!mapName||map.nodeName.toLowerCase()!=="map"){return false}img=$("img[usemap=#"+mapName+"]")[0];return!!img&&visible(img)}return(/input|select|textarea|button|object/.test(nodeName)?!element.disabled:"a"===nodeName?element.href||isTabIndexNotNaN:isTabIndexNotNaN)&&visible(element)}function visible(element){return $.expr.filters.visible(element)&&!$(element).parents().addBack().filter(function(){return $.css(this,"visibility")==="hidden"}).length}$.extend($.expr[":"],{data:$.expr.createPseudo?$.expr.createPseudo(function(dataName){return function(elem){return!!$.data(elem,dataName)}}):function(elem,i,match){return!!$.data(elem,match[3])},focusable:function(element){return focusable(element,!isNaN($.attr(element,"tabindex")))},tabbable:function(element){var tabIndex=$.attr(element,"tabindex"),isTabIndexNaN=isNaN(tabIndex);return(isTabIndexNaN||tabIndex>=0)&&focusable(element,!isTabIndexNaN)}});if(!$("<a>").outerWidth(1).FlixjQ){$.each(["Width","Height"],function(i,name){var side=name==="Width"?["Left","Right"]:["Top","Bottom"],type=name.toLowerCase(),orig={innerWidth:$.fn.innerWidth,innerHeight:$.fn.innerHeight,outerWidth:$.fn.outerWidth,outerHeight:$.fn.outerHeight};function reduce(elem,size,border,margin){$.each(side,function(){size-=parseFloat($.css(elem,"padding"+this))||0;if(border){size-=parseFloat($.css(elem,"border"+this+"Width"))||0}if(margin){size-=parseFloat($.css(elem,"margin"+this))||0}});return size}$.fn["inner"+name]=function(size){if(size===undefined){return orig["inner"+name].call(this)}return this.each(function(){$(this).css(type,reduce(this,size)+"px")})};$.fn["outer"+name]=function(size,margin){if(typeof size!=="number"){return orig["outer"+name].call(this,size)}return this.each(function(){$(this).css(type,reduce(this,size,true,margin)+"px")})}})}if(!$.fn.addBack){$.fn.addBack=function(selector){return this.add(selector==null?this.prevObject:this.prevObject.filter(selector))}}if($("<a>").data("a-b","a").removeData("a-b").data("a-b")){$.fn.removeData=(function(removeData){return function(key){if(arguments.length){return removeData.call(this,$.camelCase(key))}else{return removeData.call(this)}}})($.fn.removeData)}$.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());$.support.selectstart="onselectstart"in document.createElement("div");$.fn.extend({disableSelection:function(){return this.bind(($.support.selectstart?"selectstart":"mousedown")+".flix_ui-disableSelection",function(event){event.preventDefault()})},enableSelection:function(){return this.unbind(".flix_ui-disableSelection")}});$.extend($.ui,{plugin:{add:function(module,option,set){var i,proto=$.ui[module].prototype;for(i in set){proto.plugins[i]=proto.plugins[i]||[];proto.plugins[i].push([option,set[i]])}},call:function(instance,name,args){var i,set=instance.plugins[name];if(!set||!instance.element[0].parentNode||instance.element[0].parentNode.nodeType===11){return}for(i=0;i<set.length;i++){if(instance.options[set[i][0]]){set[i][1].apply(instance.element,args)}}}},hasScroll:function(el,a){if($(el).css("overflow")==="hidden"){return false}var scroll=(a&&a==="left")?"scrollLeft":"scrollTop",has=false;if(el[scroll]>0){return true}el[scroll]=1;has=(el[scroll]>0);el[scroll]=0;return has}})})(FlixjQ);(function($,undefined){var uuid=0,slice=Array.prototype.slice,_cleanData=$.cleanData;$.cleanData=function(elems){for(var i=0,elem;(elem=elems[i])!=null;i++){try{$(elem).triggerHandler("remove")}catch(e){}}_cleanData(elems)};$.widget=function(name,base,prototype){var fullName,existingConstructor,constructor,basePrototype,proxiedPrototype={},namespace=name.split(".")[0];name=name.split(".")[1];fullName=namespace+"-"+name;if(!prototype){prototype=base;base=$.Widget}$.expr[":"][fullName.toLowerCase()]=function(elem){return!!$.data(elem,fullName)};$[namespace]=$[namespace]||{};existingConstructor=$[namespace][name];constructor=$[namespace][name]=function(options,element){if(!this._createWidget){return new constructor(options,element)}if(arguments.length){this._createWidget(options,element)}};$.extend(constructor,existingConstructor,{version:prototype.version,_proto:$.extend({},prototype),_childConstructors:[]});basePrototype=new base();basePrototype.options=$.widget.extend({},basePrototype.options);$.each(prototype,function(prop,value){if(!$.isFunction(value)){proxiedPrototype[prop]=value;return}proxiedPrototype[prop]=(function(){var _super=function(){return base.prototype[prop].apply(this,arguments)},_superApply=function(args){return base.prototype[prop].apply(this,args)};return function(){var __super=this._super,__superApply=this._superApply,returnValue;this._super=_super;this._superApply=_superApply;returnValue=value.apply(this,arguments);this._super=__super;this._superApply=__superApply;return returnValue}})()});constructor.prototype=$.widget.extend(basePrototype,{widgetEventPrefix:existingConstructor?basePrototype.widgetEventPrefix:name},proxiedPrototype,{constructor:constructor,namespace:namespace,widgetName:name,widgetFullName:fullName});if(existingConstructor){$.each(existingConstructor._childConstructors,function(i,child){var childPrototype=child.prototype;$.widget(childPrototype.namespace+"."+childPrototype.widgetName,constructor,child._proto)});delete existingConstructor._childConstructors}else{base._childConstructors.push(constructor)}$.widget.bridge(name,constructor)};$.widget.extend=function(target){var input=slice.call(arguments,1),inputIndex=0,inputLength=input.length,key,value;for(;inputIndex<inputLength;inputIndex++){for(key in input[inputIndex]){value=input[inputIndex][key];if(input[inputIndex].hasOwnProperty(key)&&value!==undefined){if($.isPlainObject(value)){target[key]=$.isPlainObject(target[key])?$.widget.extend({},target[key],value):$.widget.extend({},value)}else{target[key]=value}}}}return target};$.widget.bridge=function(name,object){var fullName=object.prototype.widgetFullName||name;$.fn[name]=function(options){var isMethodCall=typeof options==="string",args=slice.call(arguments,1),returnValue=this;options=!isMethodCall&&args.length?$.widget.extend.apply(null,[options].concat(args)):options;if(isMethodCall){this.each(function(){var methodValue,instance=$.data(this,fullName);if(!instance){return $.error("cannot call methods on "+name+" prior to initialization; "+"attempted to call method '"+options+"'")}if(!$.isFunction(instance[options])||options.charAt(0)==="_"){return $.error("no such method '"+options+"' for "+name+" widget instance")}methodValue=instance[options].apply(instance,args);if(methodValue!==instance&&methodValue!==undefined){returnValue=methodValue&&methodValue.FlixjQ?returnValue.pushStack(methodValue.get()):methodValue;return false}})}else{this.each(function(){var instance=$.data(this,fullName);if(instance){instance.option(options||{})._init()}else{$.data(this,fullName,new object(options,this))}})}return returnValue}};$.Widget=function(){};$.Widget._childConstructors=[];$.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:false,create:null},_createWidget:function(options,element){element=$(element||this.defaultElement||this)[0];this.element=$(element);this.uuid=uuid++;this.eventNamespace="."+this.widgetName+this.uuid;this.options=$.widget.extend({},this.options,this._getCreateOptions(),options);this.bindings=$();this.hoverable=$();this.focusable=$();if(element!==this){$.data(element,this.widgetFullName,this);this._on(true,this.element,{remove:function(event){if(event.target===element){this.destroy()}}});this.document=$(element.style?element.ownerDocument:element.document||element);this.window=$(this.document[0].defaultView||this.document[0].parentWindow)}this._create();this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:$.noop,_getCreateEventData:$.noop,_create:$.noop,_init:$.noop,destroy:function(){this._destroy();this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData($.camelCase(this.widgetFullName));this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"flix_ui-state-disabled");this.bindings.unbind(this.eventNamespace);this.hoverable.removeClass("flix_ui-state-hover");this.focusable.removeClass("flix_ui-state-focus")},_destroy:$.noop,widget:function(){return this.element},option:function(key,value){var options=key,parts,curOption,i;if(arguments.length===0){return $.widget.extend({},this.options)}if(typeof key==="string"){options={};parts=key.split(".");key=parts.shift();if(parts.length){curOption=options[key]=$.widget.extend({},this.options[key]);for(i=0;i<parts.length-1;i++){curOption[parts[i]]=curOption[parts[i]]||{};curOption=curOption[parts[i]]}key=parts.pop();if(value===undefined){return curOption[key]===undefined?null:curOption[key]}curOption[key]=value}else{if(value===undefined){return this.options[key]===undefined?null:this.options[key]}options[key]=value}}this._setOptions(options);return this},_setOptions:function(options){var key;for(key in options){this._setOption(key,options[key])}return this},_setOption:function(key,value){this.options[key]=value;if(key==="disabled"){this.widget().toggleClass(this.widgetFullName+"-disabled flix_ui-state-disabled",!!value).attr("aria-disabled",value);this.hoverable.removeClass("flix_ui-state-hover");this.focusable.removeClass("flix_ui-state-focus")}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_on:function(suppressDisabledCheck,element,handlers){var delegateElement,instance=this;if(typeof suppressDisabledCheck!=="boolean"){handlers=element;element=suppressDisabledCheck;suppressDisabledCheck=false}if(!handlers){handlers=element;element=this.element;delegateElement=this.widget()}else{element=delegateElement=$(element);this.bindings=this.bindings.add(element)}$.each(handlers,function(event,handler){function handlerProxy(){if(!suppressDisabledCheck&&(instance.options.disabled===true||$(this).hasClass("flix_ui-state-disabled"))){return}return(typeof handler==="string"?instance[handler]:handler).apply(instance,arguments)}if(typeof handler!=="string"){handlerProxy.guid=handler.guid=handler.guid||handlerProxy.guid||$.guid++}var match=event.match(/^(\w+)\s*(.*)$/),eventName=match[1]+instance.eventNamespace,selector=match[2];if(selector){delegateElement.delegate(selector,eventName,handlerProxy)}else{element.bind(eventName,handlerProxy)}})},_off:function(element,eventName){eventName=(eventName||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;element.unbind(eventName).undelegate(eventName)},_delay:function(handler,delay){function handlerProxy(){return(typeof handler==="string"?instance[handler]:handler).apply(instance,arguments)}var instance=this;return setTimeout(handlerProxy,delay||0)},_hoverable:function(element){this.hoverable=this.hoverable.add(element);this._on(element,{mouseenter:function(event){$(event.currentTarget).addClass("flix_ui-state-hover")},mouseleave:function(event){$(event.currentTarget).removeClass("flix_ui-state-hover")}})},_focusable:function(element){this.focusable=this.focusable.add(element);this._on(element,{focusin:function(event){$(event.currentTarget).addClass("flix_ui-state-focus")},focusout:function(event){$(event.currentTarget).removeClass("flix_ui-state-focus")}})},_trigger:function(type,event,data){var prop,orig,callback=this.options[type];data=data||{};event=$.Event(event);event.type=(type===this.widgetEventPrefix?type:this.widgetEventPrefix+type).toLowerCase();event.target=this.element[0];orig=event.originalEvent;if(orig){for(prop in orig){if(!(prop in event)){event[prop]=orig[prop]}}}this.element.trigger(event,data);return!($.isFunction(callback)&&callback.apply(this.element[0],[event].concat(data))===false||event.isDefaultPrevented())}};$.each({show:"fadeIn",hide:"fadeOut"},function(method,defaultEffect){$.Widget.prototype["_"+method]=function(element,options,callback){if(typeof options==="string"){options={effect:options}}var hasOptions,effectName=!options?method:options===true||typeof options==="number"?defaultEffect:options.effect||defaultEffect;options=options||{};if(typeof options==="number"){options={duration:options}}hasOptions=!$.isEmptyObject(options);options.complete=callback;if(options.delay){element.delay(options.delay)}if(hasOptions&&$.effects&&$.effects.effect[effectName]){element[method](options)}else if(effectName!==method&&element[effectName]){element[effectName](options.duration,options.easing,callback)}else{element.queue(function(next){$(this)[method]();if(callback){callback.call(element[0])}next()})}}})})(FlixjQ);(function($,undefined){var mouseHandled=false;$(document).mouseup(function(){mouseHandled=false});$.widget("ui.mouse",{version:"1.10.3",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var that=this;this.element.bind("mousedown."+this.widgetName,function(event){return that._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(true===$.data(event.target,that.widgetName+".preventClickEvent")){$.removeData(event.target,that.widgetName+".preventClickEvent");event.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);if(this._mouseMoveDelegate){$(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)}},_mouseDown:function(event){if(mouseHandled){return}(this._mouseStarted&&this._mouseUp(event));this._mouseDownEvent=event;var that=this,btnIsLeft=(event.which===1),elIsCancel=(typeof this.options.cancel==="string"&&event.target.nodeName?$(event.target).closest(this.options.cancel).length:false);if(!btnIsLeft||elIsCancel||!this._mouseCapture(event)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){that.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(event)&&this._mouseDelayMet(event)){this._mouseStarted=(this._mouseStart(event)!==false);if(!this._mouseStarted){event.preventDefault();return true}}if(true===$.data(event.target,this.widgetName+".preventClickEvent")){$.removeData(event.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(event){return that._mouseMove(event)};this._mouseUpDelegate=function(event){return that._mouseUp(event)};$(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);event.preventDefault();mouseHandled=true;return true},_mouseMove:function(event){if($.ui.ie&&(!document.documentMode||document.documentMode<9)&&!event.button){return this._mouseUp(event)}if(this._mouseStarted){this._mouseDrag(event);return event.preventDefault()}if(this._mouseDistanceMet(event)&&this._mouseDelayMet(event)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,event)!==false);(this._mouseStarted?this._mouseDrag(event):this._mouseUp(event))}return!this._mouseStarted},_mouseUp:function(event){$(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(event.target===this._mouseDownEvent.target){$.data(event.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(event)}return false},_mouseDistanceMet:function(event){return(Math.max(Math.abs(this._mouseDownEvent.pageX-event.pageX),Math.abs(this._mouseDownEvent.pageY-event.pageY))>=this.options.distance)},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(FlixjQ);(function($,undefined){$.widget("ui.draggable",$.ui.mouse,{version:"1.10.3",widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false,drag:null,start:null,stop:null},_create:function(){if(this.options.helper==="original"&&!(/^(?:r|a|f)/).test(this.element.css("position"))){this.element[0].style.position="relative"}if(this.options.addClasses){this.element.addClass("flix_ui-draggable")}if(this.options.disabled){this.element.addClass("flix_ui-draggable-disabled")}this._mouseInit()},_destroy:function(){this.element.removeClass("flix_ui-draggable flix_ui-draggable-dragging flix_ui-draggable-disabled");this._mouseDestroy()},_mouseCapture:function(event){var o=this.options;if(this.helper||o.disabled||$(event.target).closest(".flix_ui-resizable-handle").length>0){return false}this.handle=this._getHandle(event);if(!this.handle){return false}$(o.iframeFix===true?"iframe":o.iframeFix).each(function(){$("<div class='flix_ui-draggable-iframeFix' style='background: #fff;'></div>").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1000}).css($(this).offset()).appendTo("body")});return true},_mouseStart:function(event){var o=this.options;this.helper=this._createHelper(event);this.helper.addClass("flix_ui-draggable-dragging");this._cacheHelperProportions();if($.ui.ddmanager){$.ui.ddmanager.current=this}this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offsetParent=this.helper.offsetParent();this.offsetParentCssPosition=this.offsetParent.css("position");this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};this.offset.scroll=false;$.extend(this.offset,{click:{left:event.pageX-this.offset.left,top:event.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(event);this.originalPageX=event.pageX;this.originalPageY=event.pageY;(o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt));this._setContainment();if(this._trigger("start",event)===false){this._clear();return false}this._cacheHelperProportions();if($.ui.ddmanager&&!o.dropBehaviour){$.ui.ddmanager.prepareOffsets(this,event)}this._mouseDrag(event,true);if($.ui.ddmanager){$.ui.ddmanager.dragStart(this,event)}return true},_mouseDrag:function(event,noPropagation){if(this.offsetParentCssPosition==="fixed"){this.offset.parent=this._getParentOffset()}this.position=this._generatePosition(event);this.positionAbs=this._convertPositionTo("absolute");if(!noPropagation){var ui=this._uiHash();if(this._trigger("drag",event,ui)===false){this._mouseUp({});return false}this.position=ui.position}if(!this.options.axis||this.options.axis!=="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!=="x"){this.helper[0].style.top=this.position.top+"px"}if($.ui.ddmanager){$.ui.ddmanager.drag(this,event)}return false},_mouseStop:function(event){var that=this,dropped=false;if($.ui.ddmanager&&!this.options.dropBehaviour){dropped=$.ui.ddmanager.drop(this,event)}if(this.dropped){dropped=this.dropped;this.dropped=false}if(this.options.helper==="original"&&!$.contains(this.element[0].ownerDocument,this.element[0])){return false}if((this.options.revert==="invalid"&&!dropped)||(this.options.revert==="valid"&&dropped)||this.options.revert===true||($.isFunction(this.options.revert)&&this.options.revert.call(this.element,dropped))){$(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){if(that._trigger("stop",event)!==false){that._clear()}})}else{if(this._trigger("stop",event)!==false){this._clear()}}return false},_mouseUp:function(event){$("div.flix_ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)});if($.ui.ddmanager){$.ui.ddmanager.dragStop(this,event)}return $.ui.mouse.prototype._mouseUp.call(this,event)},cancel:function(){if(this.helper.is(".flix_ui-draggable-dragging")){this._mouseUp({})}else{this._clear()}return this},_getHandle:function(event){return this.options.handle?!!$(event.target).closest(this.element.find(this.options.handle)).length:true},_createHelper:function(event){var o=this.options,helper=$.isFunction(o.helper)?$(o.helper.apply(this.element[0],[event])):(o.helper==="clone"?this.element.clone().removeAttr("id"):this.element);if(!helper.parents("body").length){helper.appendTo((o.appendTo==="parent"?this.element[0].parentNode:o.appendTo))}if(helper[0]!==this.element[0]&&!(/(fixed|absolute)/).test(helper.css("position"))){helper.css("position","absolute")}return helper},_adjustOffsetFromHelper:function(obj){if(typeof obj==="string"){obj=obj.split(" ")}if($.isArray(obj)){obj={left:+obj[0],top:+obj[1]||0}}if("left"in obj){this.offset.click.left=obj.left+this.margins.left}if("right"in obj){this.offset.click.left=this.helperProportions.width-obj.right+this.margins.left}if("top"in obj){this.offset.click.top=obj.top+this.margins.top}if("bottom"in obj){this.offset.click.top=this.helperProportions.height-obj.bottom+this.margins.top}},_getParentOffset:function(){var po=this.offsetParent.offset();if(this.cssPosition==="absolute"&&this.scrollParent[0]!==document&&$.contains(this.scrollParent[0],this.offsetParent[0])){po.left+=this.scrollParent.scrollLeft();po.top+=this.scrollParent.scrollTop()}if((this.offsetParent[0]===document.body)||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()==="html"&&$.ui.ie)){po={top:0,left:0}}return{top:po.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:po.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==="relative"){var p=this.element.position();return{top:p.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:p.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:(parseInt(this.element.css("marginLeft"),10)||0),top:(parseInt(this.element.css("marginTop"),10)||0),right:(parseInt(this.element.css("marginRight"),10)||0),bottom:(parseInt(this.element.css("marginBottom"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var over,c,ce,o=this.options;if(!o.containment){this.containment=null;return}if(o.containment==="window"){this.containment=[$(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,$(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,$(window).scrollLeft()+$(window).width()-this.helperProportions.width-this.margins.left,$(window).scrollTop()+($(window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(o.containment==="document"){this.containment=[0,0,$(document).width()-this.helperProportions.width-this.margins.left,($(document).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(o.containment.constructor===Array){this.containment=o.containment;return}if(o.containment==="parent"){o.containment=this.helper[0].parentNode}c=$(o.containment);ce=c[0];if(!ce){return}over=c.css("overflow")!=="hidden";this.containment=[(parseInt(c.css("borderLeftWidth"),10)||0)+(parseInt(c.css("paddingLeft"),10)||0),(parseInt(c.css("borderTopWidth"),10)||0)+(parseInt(c.css("paddingTop"),10)||0),(over?Math.max(ce.scrollWidth,ce.offsetWidth):ce.offsetWidth)-(parseInt(c.css("borderRightWidth"),10)||0)-(parseInt(c.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(over?Math.max(ce.scrollHeight,ce.offsetHeight):ce.offsetHeight)-(parseInt(c.css("borderBottomWidth"),10)||0)-(parseInt(c.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom];this.relative_container=c},_convertPositionTo:function(d,pos){if(!pos){pos=this.position}var mod=d==="absolute"?1:-1,scroll=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==document&&$.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent;if(!this.offset.scroll){this.offset.scroll={top:scroll.scrollTop(),left:scroll.scrollLeft()}}return{top:(pos.top+this.offset.relative.top*mod+this.offset.parent.top*mod-((this.cssPosition==="fixed"?-this.scrollParent.scrollTop():this.offset.scroll.top)*mod)),left:(pos.left+this.offset.relative.left*mod+this.offset.parent.left*mod-((this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():this.offset.scroll.left)*mod))}},_generatePosition:function(event){var containment,co,top,left,o=this.options,scroll=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==document&&$.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,pageX=event.pageX,pageY=event.pageY;if(!this.offset.scroll){this.offset.scroll={top:scroll.scrollTop(),left:scroll.scrollLeft()}}if(this.originalPosition){if(this.containment){if(this.relative_container){co=this.relative_container.offset();containment=[this.containment[0]+co.left,this.containment[1]+co.top,this.containment[2]+co.left,this.containment[3]+co.top]}else{containment=this.containment}if(event.pageX-this.offset.click.left<containment[0]){pageX=containment[0]+this.offset.click.left}if(event.pageY-this.offset.click.top<containment[1]){pageY=containment[1]+this.offset.click.top}if(event.pageX-this.offset.click.left>containment[2]){pageX=containment[2]+this.offset.click.left}if(event.pageY-this.offset.click.top>containment[3]){pageY=containment[3]+this.offset.click.top}}if(o.grid){top=o.grid[1]?this.originalPageY+Math.round((pageY-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY;pageY=containment?((top-this.offset.click.top>=containment[1]||top-this.offset.click.top>containment[3])?top:((top-this.offset.click.top>=containment[1])?top-o.grid[1]:top+o.grid[1])):top;left=o.grid[0]?this.originalPageX+Math.round((pageX-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX;pageX=containment?((left-this.offset.click.left>=containment[0]||left-this.offset.click.left>containment[2])?left:((left-this.offset.click.left>=containment[0])?left-o.grid[0]:left+o.grid[0])):left}}return{top:(pageY-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():this.offset.scroll.top)),left:(pageX-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():this.offset.scroll.left))}},_clear:function(){this.helper.removeClass("flix_ui-draggable-dragging");if(this.helper[0]!==this.element[0]&&!this.cancelHelperRemoval){this.helper.remove()}this.helper=null;this.cancelHelperRemoval=false},_trigger:function(type,event,ui){ui=ui||this._uiHash();$.ui.plugin.call(this,type,[event,ui]);if(type==="drag"){this.positionAbs=this._convertPositionTo("absolute")}return $.Widget.prototype._trigger.call(this,type,event,ui)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});$.ui.plugin.add("draggable","connectToSortable",{start:function(event,ui){var inst=$(this).data("flix_ui-draggable"),o=inst.options,uiSortable=$.extend({},ui,{item:inst.element});inst.sortables=[];$(o.connectToSortable).each(function(){var sortable=$.data(this,"flix_ui-sortable");if(sortable&&!sortable.options.disabled){inst.sortables.push({instance:sortable,shouldRevert:sortable.options.revert});sortable.refreshPositions();sortable._trigger("activate",event,uiSortable)}})},stop:function(event,ui){var inst=$(this).data("flix_ui-draggable"),uiSortable=$.extend({},ui,{item:inst.element});$.each(inst.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;inst.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert){this.instance.options.revert=this.shouldRevert}this.instance._mouseStop(event);this.instance.options.helper=this.instance.options._helper;if(inst.options.helper==="original"){this.instance.currentItem.css({top:"auto",left:"auto"})}}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",event,uiSortable)}})},drag:function(event,ui){var inst=$(this).data("flix_ui-draggable"),that=this;$.each(inst.sortables,function(){var innermostIntersecting=false,thisSortable=this;this.instance.positionAbs=inst.positionAbs;this.instance.helperProportions=inst.helperProportions;this.instance.offset.click=inst.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){innermostIntersecting=true;$.each(inst.sortables,function(){this.instance.positionAbs=inst.positionAbs;this.instance.helperProportions=inst.helperProportions;this.instance.offset.click=inst.offset.click;if(this!==thisSortable&&this.instance._intersectsWith(this.instance.containerCache)&&$.contains(thisSortable.instance.element[0],this.instance.element[0])){innermostIntersecting=false}return innermostIntersecting})}if(innermostIntersecting){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=$(that).clone().removeAttr("id").appendTo(this.instance.element).data("flix_ui-sortable-item",true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return ui.helper[0]};event.target=this.instance.currentItem[0];this.instance._mouseCapture(event,true);this.instance._mouseStart(event,true,true);this.instance.offset.click.top=inst.offset.click.top;this.instance.offset.click.left=inst.offset.click.left;this.instance.offset.parent.left-=inst.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.parent.top-=inst.offset.parent.top-this.instance.offset.parent.top;inst._trigger("toSortable",event);inst.dropped=this.instance.element;inst.currentItem=inst.element;this.instance.fromOutside=inst}if(this.instance.currentItem){this.instance._mouseDrag(event)}}else{if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",event,this.instance._uiHash(this.instance));this.instance._mouseStop(event,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();if(this.instance.placeholder){this.instance.placeholder.remove()}inst._trigger("fromSortable",event);inst.dropped=false}}})}});$.ui.plugin.add("draggable","cursor",{start:function(){var t=$("body"),o=$(this).data("flix_ui-draggable").options;if(t.css("cursor")){o._cursor=t.css("cursor")}t.css("cursor",o.cursor)},stop:function(){var o=$(this).data("flix_ui-draggable").options;if(o._cursor){$("body").css("cursor",o._cursor)}}});$.ui.plugin.add("draggable","opacity",{start:function(event,ui){var t=$(ui.helper),o=$(this).data("flix_ui-draggable").options;if(t.css("opacity")){o._opacity=t.css("opacity")}t.css("opacity",o.opacity)},stop:function(event,ui){var o=$(this).data("flix_ui-draggable").options;if(o._opacity){$(ui.helper).css("opacity",o._opacity)}}});$.ui.plugin.add("draggable","scroll",{start:function(){var i=$(this).data("flix_ui-draggable");if(i.scrollParent[0]!==document&&i.scrollParent[0].tagName!=="HTML"){i.overflowOffset=i.scrollParent.offset()}},drag:function(event){var i=$(this).data("flix_ui-draggable"),o=i.options,scrolled=false;if(i.scrollParent[0]!==document&&i.scrollParent[0].tagName!=="HTML"){if(!o.axis||o.axis!=="x"){if((i.overflowOffset.top+i.scrollParent[0].offsetHeight)-event.pageY<o.scrollSensitivity){i.scrollParent[0].scrollTop=scrolled=i.scrollParent[0].scrollTop+o.scrollSpeed}else if(event.pageY-i.overflowOffset.top<o.scrollSensitivity){i.scrollParent[0].scrollTop=scrolled=i.scrollParent[0].scrollTop-o.scrollSpeed}}if(!o.axis||o.axis!=="y"){if((i.overflowOffset.left+i.scrollParent[0].offsetWidth)-event.pageX<o.scrollSensitivity){i.scrollParent[0].scrollLeft=scrolled=i.scrollParent[0].scrollLeft+o.scrollSpeed}else if(event.pageX-i.overflowOffset.left<o.scrollSensitivity){i.scrollParent[0].scrollLeft=scrolled=i.scrollParent[0].scrollLeft-o.scrollSpeed}}}else{if(!o.axis||o.axis!=="x"){if(event.pageY-$(document).scrollTop()<o.scrollSensitivity){scrolled=$(document).scrollTop($(document).scrollTop()-o.scrollSpeed)}else if($(window).height()-(event.pageY-$(document).scrollTop())<o.scrollSensitivity){scrolled=$(document).scrollTop($(document).scrollTop()+o.scrollSpeed)}}if(!o.axis||o.axis!=="y"){if(event.pageX-$(document).scrollLeft()<o.scrollSensitivity){scrolled=$(document).scrollLeft($(document).scrollLeft()-o.scrollSpeed)}else if($(window).width()-(event.pageX-$(document).scrollLeft())<o.scrollSensitivity){scrolled=$(document).scrollLeft($(document).scrollLeft()+o.scrollSpeed)}}}if(scrolled!==false&&$.ui.ddmanager&&!o.dropBehaviour){$.ui.ddmanager.prepareOffsets(i,event)}}});$.ui.plugin.add("draggable","snap",{start:function(){var i=$(this).data("flix_ui-draggable"),o=i.options;i.snapElements=[];$(o.snap.constructor!==String?(o.snap.items||":data(flix_ui-draggable)"):o.snap).each(function(){var $t=$(this),$o=$t.offset();if(this!==i.element[0]){i.snapElements.push({item:this,width:$t.outerWidth(),height:$t.outerHeight(),top:$o.top,left:$o.left})}})},drag:function(event,ui){var ts,bs,ls,rs,l,r,t,b,i,first,inst=$(this).data("flix_ui-draggable"),o=inst.options,d=o.snapTolerance,x1=ui.offset.left,x2=x1+inst.helperProportions.width,y1=ui.offset.top,y2=y1+inst.helperProportions.height;for(i=inst.snapElements.length-1;i>=0;i--){l=inst.snapElements[i].left;r=l+inst.snapElements[i].width;t=inst.snapElements[i].top;b=t+inst.snapElements[i].height;if(x2<l-d||x1>r+d||y2<t-d||y1>b+d||!$.contains(inst.snapElements[i].item.ownerDocument,inst.snapElements[i].item)){if(inst.snapElements[i].snapping){(inst.options.snap.release&&inst.options.snap.release.call(inst.element,event,$.extend(inst._uiHash(),{snapItem:inst.snapElements[i].item})))}inst.snapElements[i].snapping=false;continue}if(o.snapMode!=="inner"){ts=Math.abs(t-y2)<=d;bs=Math.abs(b-y1)<=d;ls=Math.abs(l-x2)<=d;rs=Math.abs(r-x1)<=d;if(ts){ui.position.top=inst._convertPositionTo("relative",{top:t-inst.helperProportions.height,left:0}).top-inst.margins.top}if(bs){ui.position.top=inst._convertPositionTo("relative",{top:b,left:0}).top-inst.margins.top}if(ls){ui.position.left=inst._convertPositionTo("relative",{top:0,left:l-inst.helperProportions.width}).left-inst.margins.left}if(rs){ui.position.left=inst._convertPositionTo("relative",{top:0,left:r}).left-inst.margins.left}}first=(ts||bs||ls||rs);if(o.snapMode!=="outer"){ts=Math.abs(t-y1)<=d;bs=Math.abs(b-y2)<=d;ls=Math.abs(l-x1)<=d;rs=Math.abs(r-x2)<=d;if(ts){ui.position.top=inst._convertPositionTo("relative",{top:t,left:0}).top-inst.margins.top}if(bs){ui.position.top=inst._convertPositionTo("relative",{top:b-inst.helperProportions.height,left:0}).top-inst.margins.top}if(ls){ui.position.left=inst._convertPositionTo("relative",{top:0,left:l}).left-inst.margins.left}if(rs){ui.position.left=inst._convertPositionTo("relative",{top:0,left:r-inst.helperProportions.width}).left-inst.margins.left}}if(!inst.snapElements[i].snapping&&(ts||bs||ls||rs||first)){(inst.options.snap.snap&&inst.options.snap.snap.call(inst.element,event,$.extend(inst._uiHash(),{snapItem:inst.snapElements[i].item})))}inst.snapElements[i].snapping=(ts||bs||ls||rs||first)}}});$.ui.plugin.add("draggable","stack",{start:function(){var min,o=this.data("flix_ui-draggable").options,group=$.makeArray($(o.stack)).sort(function(a,b){return(parseInt($(a).css("zIndex"),10)||0)-(parseInt($(b).css("zIndex"),10)||0)});if(!group.length){return}min=parseInt($(group[0]).css("zIndex"),10)||0;$(group).each(function(i){$(this).css("zIndex",min+i)});this.css("zIndex",(min+group.length))}});$.ui.plugin.add("draggable","zIndex",{start:function(event,ui){var t=$(ui.helper),o=$(this).data("flix_ui-draggable").options;if(t.css("zIndex")){o._zIndex=t.css("zIndex")}t.css("zIndex",o.zIndex)},stop:function(event,ui){var o=$(this).data("flix_ui-draggable").options;if(o._zIndex){$(ui.helper).css("zIndex",o._zIndex)}}})})(FlixjQ);(function($,undefined){function isOverAxis(x,reference,size){return(x>reference)&&(x<(reference+size))}$.widget("ui.droppable",{version:"1.10.3",widgetEventPrefix:"drop",options:{accept:"*",activeClass:false,addClasses:true,greedy:false,hoverClass:false,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var o=this.options,accept=o.accept;this.isover=false;this.isout=true;this.accept=$.isFunction(accept)?accept:function(d){return d.is(accept)};this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};$.ui.ddmanager.droppables[o.scope]=$.ui.ddmanager.droppables[o.scope]||[];$.ui.ddmanager.droppables[o.scope].push(this);(o.addClasses&&this.element.addClass("flix_ui-droppable"))},_destroy:function(){var i=0,drop=$.ui.ddmanager.droppables[this.options.scope];for(;i<drop.length;i++){if(drop[i]===this){drop.splice(i,1)}}this.element.removeClass("flix_ui-droppable flix_ui-droppable-disabled")},_setOption:function(key,value){if(key==="accept"){this.accept=$.isFunction(value)?value:function(d){return d.is(value)}}$.Widget.prototype._setOption.apply(this,arguments)},_activate:function(event){var draggable=$.ui.ddmanager.current;if(this.options.activeClass){this.element.addClass(this.options.activeClass)}if(draggable){this._trigger("activate",event,this.ui(draggable))}},_deactivate:function(event){var draggable=$.ui.ddmanager.current;if(this.options.activeClass){this.element.removeClass(this.options.activeClass)}if(draggable){this._trigger("deactivate",event,this.ui(draggable))}},_over:function(event){var draggable=$.ui.ddmanager.current;if(!draggable||(draggable.currentItem||draggable.element)[0]===this.element[0]){return}if(this.accept.call(this.element[0],(draggable.currentItem||draggable.element))){if(this.options.hoverClass){this.element.addClass(this.options.hoverClass)}this._trigger("over",event,this.ui(draggable))}},_out:function(event){var draggable=$.ui.ddmanager.current;if(!draggable||(draggable.currentItem||draggable.element)[0]===this.element[0]){return}if(this.accept.call(this.element[0],(draggable.currentItem||draggable.element))){if(this.options.hoverClass){this.element.removeClass(this.options.hoverClass)}this._trigger("out",event,this.ui(draggable))}},_drop:function(event,custom){var draggable=custom||$.ui.ddmanager.current,childrenIntersection=false;if(!draggable||(draggable.currentItem||draggable.element)[0]===this.element[0]){return false}this.element.find(":data(flix_ui-droppable)").not(".flix_ui-draggable-dragging").each(function(){var inst=$.data(this,"flix_ui-droppable");if(inst.options.greedy&&!inst.options.disabled&&inst.options.scope===draggable.options.scope&&inst.accept.call(inst.element[0],(draggable.currentItem||draggable.element))&&$.ui.intersect(draggable,$.extend(inst,{offset:inst.element.offset()}),inst.options.tolerance)){childrenIntersection=true;return false}});if(childrenIntersection){return false}if(this.accept.call(this.element[0],(draggable.currentItem||draggable.element))){if(this.options.activeClass){this.element.removeClass(this.options.activeClass)}if(this.options.hoverClass){this.element.removeClass(this.options.hoverClass)}this._trigger("drop",event,this.ui(draggable));return this.element}return false},ui:function(c){return{draggable:(c.currentItem||c.element),helper:c.helper,position:c.position,offset:c.positionAbs}}});$.ui.intersect=function(draggable,droppable,toleranceMode){if(!droppable.offset){return false}var draggableLeft,draggableTop,x1=(draggable.positionAbs||draggable.position.absolute).left,x2=x1+draggable.helperProportions.width,y1=(draggable.positionAbs||draggable.position.absolute).top,y2=y1+draggable.helperProportions.height,l=droppable.offset.left,r=l+droppable.proportions.width,t=droppable.offset.top,b=t+droppable.proportions.height;switch(toleranceMode){case"fit":return(l<=x1&&x2<=r&&t<=y1&&y2<=b);case"intersect":return(l<x1+(draggable.helperProportions.width/2)&&x2-(draggable.helperProportions.width/2)<r&&t<y1+(draggable.helperProportions.height/2)&&y2-(draggable.helperProportions.height/2)<b);case"pointer":draggableLeft=((draggable.positionAbs||draggable.position.absolute).left+(draggable.clickOffset||draggable.offset.click).left);draggableTop=((draggable.positionAbs||draggable.position.absolute).top+(draggable.clickOffset||draggable.offset.click).top);return isOverAxis(draggableTop,t,droppable.proportions.height)&&isOverAxis(draggableLeft,l,droppable.proportions.width);case"touch":return((y1>=t&&y1<=b)||(y2>=t&&y2<=b)||(y1<t&&y2>b))&&((x1>=l&&x1<=r)||(x2>=l&&x2<=r)||(x1<l&&x2>r));default:return false}};$.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(t,event){var i,j,m=$.ui.ddmanager.droppables[t.options.scope]||[],type=event?event.type:null,list=(t.currentItem||t.element).find(":data(flix_ui-droppable)").addBack();droppablesLoop:for(i=0;i<m.length;i++){if(m[i].options.disabled||(t&&!m[i].accept.call(m[i].element[0],(t.currentItem||t.element)))){continue}for(j=0;j<list.length;j++){if(list[j]===m[i].element[0]){m[i].proportions.height=0;continue droppablesLoop}}m[i].visible=m[i].element.css("display")!=="none";if(!m[i].visible){continue}if(type==="mousedown"){m[i]._activate.call(m[i],event)}m[i].offset=m[i].element.offset();m[i].proportions={width:m[i].element[0].offsetWidth,height:m[i].element[0].offsetHeight}}},drop:function(draggable,event){var dropped=false;$.each(($.ui.ddmanager.droppables[draggable.options.scope]||[]).slice(),function(){if(!this.options){return}if(!this.options.disabled&&this.visible&&$.ui.intersect(draggable,this,this.options.tolerance)){dropped=this._drop.call(this,event)||dropped}if(!this.options.disabled&&this.visible&&this.accept.call(this.element[0],(draggable.currentItem||draggable.element))){this.isout=true;this.isover=false;this._deactivate.call(this,event)}});return dropped},dragStart:function(draggable,event){draggable.element.parentsUntil("body").bind("scroll.droppable",function(){if(!draggable.options.refreshPositions){$.ui.ddmanager.prepareOffsets(draggable,event)}})},drag:function(draggable,event){if(draggable.options.refreshPositions){$.ui.ddmanager.prepareOffsets(draggable,event)}$.each($.ui.ddmanager.droppables[draggable.options.scope]||[],function(){if(this.options.disabled||this.greedyChild||!this.visible){return}var parentInstance,scope,parent,intersects=$.ui.intersect(draggable,this,this.options.tolerance),c=!intersects&&this.isover?"isout":(intersects&&!this.isover?"isover":null);if(!c){return}if(this.options.greedy){scope=this.options.scope;parent=this.element.parents(":data(flix_ui-droppable)").filter(function(){return $.data(this,"flix_ui-droppable").options.scope===scope});if(parent.length){parentInstance=$.data(parent[0],"flix_ui-droppable");parentInstance.greedyChild=(c==="isover")}}if(parentInstance&&c==="isover"){parentInstance.isover=false;parentInstance.isout=true;parentInstance._out.call(parentInstance,event)}this[c]=true;this[c==="isout"?"isover":"isout"]=false;this[c==="isover"?"_over":"_out"].call(this,event);if(parentInstance&&c==="isout"){parentInstance.isout=false;parentInstance.isover=true;parentInstance._over.call(parentInstance,event)}})},dragStop:function(draggable,event){draggable.element.parentsUntil("body").unbind("scroll.droppable");if(!draggable.options.refreshPositions){$.ui.ddmanager.prepareOffsets(draggable,event)}}}})(FlixjQ);(function($,undefined){function num(v){return parseInt(v,10)||0}function isNumber(value){return!isNaN(parseInt(value,10))}$.widget("ui.resizable",$.ui.mouse,{version:"1.10.3",widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_create:function(){var n,i,handle,axis,hname,that=this,o=this.options;this.element.addClass("flix_ui-resizable");$.extend(this,{_aspectRatio:!!(o.aspectRatio),aspectRatio:o.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:o.helper||o.ghost||o.animate?o.helper||"flix_ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap($("<div class='flix_ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("flix_ui-resizable",this.element.data("flix_ui-resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=o.handles||(!$(".flix_ui-resizable-handle",this.element).length?"e,s,se":{n:".flix_ui-resizable-n",e:".flix_ui-resizable-e",s:".flix_ui-resizable-s",w:".flix_ui-resizable-w",se:".flix_ui-resizable-se",sw:".flix_ui-resizable-sw",ne:".flix_ui-resizable-ne",nw:".flix_ui-resizable-nw"});if(this.handles.constructor===String){if(this.handles==="all"){this.handles="n,e,s,w,se,sw,ne,nw"}n=this.handles.split(",");this.handles={};for(i=0;i<n.length;i++){handle=$.trim(n[i]);hname="flix_ui-resizable-"+handle;axis=$("<div class='flix_ui-resizable-handle "+hname+"'></div>");axis.css({zIndex:o.zIndex});if("se"===handle){axis.addClass("flix_ui-icon flix_ui-icon-gripsmall-diagonal-se")}this.handles[handle]=".flix_ui-resizable-"+handle;this.element.append(axis)}}this._renderAxis=function(target){var i,axis,padPos,padWrapper;target=target||this.element;for(i in this.handles){if(this.handles[i].constructor===String){this.handles[i]=$(this.handles[i],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){axis=$(this.handles[i],this.element);padWrapper=/sw|ne|nw|se|n|s/.test(i)?axis.outerHeight():axis.outerWidth();padPos=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join("");target.css(padPos,padWrapper);this._proportionallyResize()}if(!$(this.handles[i]).length){continue}}};this._renderAxis(this.element);this._handles=$(".flix_ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!that.resizing){if(this.className){axis=this.className.match(/flix_ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}that.axis=axis&&axis[1]?axis[1]:"se"}});if(o.autoHide){this._handles.hide();$(this.element).addClass("flix_ui-resizable-autohide").mouseenter(function(){if(o.disabled){return}$(this).removeClass("flix_ui-resizable-autohide");that._handles.show()}).mouseleave(function(){if(o.disabled){return}if(!that.resizing){$(this).addClass("flix_ui-resizable-autohide");that._handles.hide()}})}this._mouseInit()},_destroy:function(){this._mouseDestroy();var wrapper,_destroy=function(exp){$(exp).removeClass("flix_ui-resizable flix_ui-resizable-disabled flix_ui-resizable-resizing").removeData("resizable").removeData("flix_ui-resizable").unbind(".resizable").find(".flix_ui-resizable-handle").remove()};if(this.elementIsWrapper){_destroy(this.element);wrapper=this.element;this.originalElement.css({position:wrapper.css("position"),width:wrapper.outerWidth(),height:wrapper.outerHeight(),top:wrapper.css("top"),left:wrapper.css("left")}).insertAfter(wrapper);wrapper.remove()}this.originalElement.css("resize",this.originalResizeStyle);_destroy(this.originalElement);return this},_mouseCapture:function(event){var i,handle,capture=false;for(i in this.handles){handle=$(this.handles[i])[0];if(handle===event.target||$.contains(handle,event.target)){capture=true}}return!this.options.disabled&&capture},_mouseStart:function(event){var curleft,curtop,cursor,o=this.options,iniPos=this.element.position(),el=this.element;this.resizing=true;if((/absolute/).test(el.css("position"))){el.css({position:"absolute",top:el.css("top"),left:el.css("left")})}else if(el.is(".flix_ui-draggable")){el.css({position:"absolute",top:iniPos.top,left:iniPos.left})}this._renderProxy();curleft=num(this.helper.css("left"));curtop=num(this.helper.css("top"));if(o.containment){curleft+=$(o.containment).scrollLeft()||0;curtop+=$(o.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:curleft,top:curtop};this.size=this._helper?{width:el.outerWidth(),height:el.outerHeight()}:{width:el.width(),height:el.height()};this.originalSize=this._helper?{width:el.outerWidth(),height:el.outerHeight()}:{width:el.width(),height:el.height()};this.originalPosition={left:curleft,top:curtop};this.sizeDiff={width:el.outerWidth()-el.width(),height:el.outerHeight()-el.height()};this.originalMousePosition={left:event.pageX,top:event.pageY};this.aspectRatio=(typeof o.aspectRatio==="number")?o.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);cursor=$(".flix_ui-resizable-"+this.axis).css("cursor");$("body").css("cursor",cursor==="auto"?this.axis+"-resize":cursor);el.addClass("flix_ui-resizable-resizing");this._propagate("start",event);return true},_mouseDrag:function(event){var data,el=this.helper,props={},smp=this.originalMousePosition,a=this.axis,prevTop=this.position.top,prevLeft=this.position.left,prevWidth=this.size.width,prevHeight=this.size.height,dx=(event.pageX-smp.left)||0,dy=(event.pageY-smp.top)||0,trigger=this._change[a];if(!trigger){return false}data=trigger.apply(this,[event,dx,dy]);this._updateVirtualBoundaries(event.shiftKey);if(this._aspectRatio||event.shiftKey){data=this._updateRatio(data,event)}data=this._respectSize(data,event);this._updateCache(data);this._propagate("resize",event);if(this.position.top!==prevTop){props.top=this.position.top+"px"}if(this.position.left!==prevLeft){props.left=this.position.left+"px"}if(this.size.width!==prevWidth){props.width=this.size.width+"px"}if(this.size.height!==prevHeight){props.height=this.size.height+"px"}el.css(props);if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}if(!$.isEmptyObject(props)){this._trigger("resize",event,this.ui())}return false},_mouseStop:function(event){this.resizing=false;var pr,ista,soffseth,soffsetw,s,left,top,o=this.options,that=this;if(this._helper){pr=this._proportionallyResizeElements;ista=pr.length&&(/textarea/i).test(pr[0].nodeName);soffseth=ista&&$.ui.hasScroll(pr[0],"left")?0:that.sizeDiff.height;soffsetw=ista?0:that.sizeDiff.width;s={width:(that.helper.width()-soffsetw),height:(that.helper.height()-soffseth)};left=(parseInt(that.element.css("left"),10)+(that.position.left-that.originalPosition.left))||null;top=(parseInt(that.element.css("top"),10)+(that.position.top-that.originalPosition.top))||null;if(!o.animate){this.element.css($.extend(s,{top:top,left:left}))}that.helper.height(that.size.height);that.helper.width(that.size.width);if(this._helper&&!o.animate){this._proportionallyResize()}}$("body").css("cursor","auto");this.element.removeClass("flix_ui-resizable-resizing");this._propagate("stop",event);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(forceAspectRatio){var pMinWidth,pMaxWidth,pMinHeight,pMaxHeight,b,o=this.options;b={minWidth:isNumber(o.minWidth)?o.minWidth:0,maxWidth:isNumber(o.maxWidth)?o.maxWidth:Infinity,minHeight:isNumber(o.minHeight)?o.minHeight:0,maxHeight:isNumber(o.maxHeight)?o.maxHeight:Infinity};if(this._aspectRatio||forceAspectRatio){pMinWidth=b.minHeight*this.aspectRatio;pMinHeight=b.minWidth/this.aspectRatio;pMaxWidth=b.maxHeight*this.aspectRatio;pMaxHeight=b.maxWidth/this.aspectRatio;if(pMinWidth>b.minWidth){b.minWidth=pMinWidth}if(pMinHeight>b.minHeight){b.minHeight=pMinHeight}if(pMaxWidth<b.maxWidth){b.maxWidth=pMaxWidth}if(pMaxHeight<b.maxHeight){b.maxHeight=pMaxHeight}}this._vBoundaries=b},_updateCache:function(data){this.offset=this.helper.offset();if(isNumber(data.left)){this.position.left=data.left}if(isNumber(data.top)){this.position.top=data.top}if(isNumber(data.height)){this.size.height=data.height}if(isNumber(data.width)){this.size.width=data.width}},_updateRatio:function(data){var cpos=this.position,csize=this.size,a=this.axis;if(isNumber(data.height)){data.width=(data.height*this.aspectRatio)}else if(isNumber(data.width)){data.height=(data.width/this.aspectRatio)}if(a==="sw"){data.left=cpos.left+(csize.width-data.width);data.top=null}if(a==="nw"){data.top=cpos.top+(csize.height-data.height);data.left=cpos.left+(csize.width-data.width)}return data},_respectSize:function(data){var o=this._vBoundaries,a=this.axis,ismaxw=isNumber(data.width)&&o.maxWidth&&(o.maxWidth<data.width),ismaxh=isNumber(data.height)&&o.maxHeight&&(o.maxHeight<data.height),isminw=isNumber(data.width)&&o.minWidth&&(o.minWidth>data.width),isminh=isNumber(data.height)&&o.minHeight&&(o.minHeight>data.height),dw=this.originalPosition.left+this.originalSize.width,dh=this.position.top+this.size.height,cw=/sw|nw|w/.test(a),ch=/nw|ne|n/.test(a);if(isminw){data.width=o.minWidth}if(isminh){data.height=o.minHeight}if(ismaxw){data.width=o.maxWidth}if(ismaxh){data.height=o.maxHeight}if(isminw&&cw){data.left=dw-o.minWidth}if(ismaxw&&cw){data.left=dw-o.maxWidth}if(isminh&&ch){data.top=dh-o.minHeight}if(ismaxh&&ch){data.top=dh-o.maxHeight}if(!data.width&&!data.height&&!data.left&&data.top){data.top=null}else if(!data.width&&!data.height&&!data.top&&data.left){data.left=null}return data},_proportionallyResize:function(){if(!this._proportionallyResizeElements.length){return}var i,j,borders,paddings,prel,element=this.helper||this.element;for(i=0;i<this._proportionallyResizeElements.length;i++){prel=this._proportionallyResizeElements[i];if(!this.borderDif){this.borderDif=[];borders=[prel.css("borderTopWidth"),prel.css("borderRightWidth"),prel.css("borderBottomWidth"),prel.css("borderLeftWidth")];paddings=[prel.css("paddingTop"),prel.css("paddingRight"),prel.css("paddingBottom"),prel.css("paddingLeft")];for(j=0;j<borders.length;j++){this.borderDif[j]=(parseInt(borders[j],10)||0)+(parseInt(paddings[j],10)||0)}}prel.css({height:(element.height()-this.borderDif[0]-this.borderDif[2])||0,width:(element.width()-this.borderDif[1]-this.borderDif[3])||0})}},_renderProxy:function(){var el=this.element,o=this.options;this.elementOffset=el.offset();if(this._helper){this.helper=this.helper||$("<div style='overflow:hidden;'></div>");this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++o.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(event,dx){return{width:this.originalSize.width+dx}},w:function(event,dx){var cs=this.originalSize,sp=this.originalPosition;return{left:sp.left+dx,width:cs.width-dx}},n:function(event,dx,dy){var cs=this.originalSize,sp=this.originalPosition;return{top:sp.top+dy,height:cs.height-dy}},s:function(event,dx,dy){return{height:this.originalSize.height+dy}},se:function(event,dx,dy){return $.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[event,dx,dy]))},sw:function(event,dx,dy){return $.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[event,dx,dy]))},ne:function(event,dx,dy){return $.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[event,dx,dy]))},nw:function(event,dx,dy){return $.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[event,dx,dy]))}},_propagate:function(n,event){$.ui.plugin.call(this,n,[event,this.ui()]);(n!=="resize"&&this._trigger(n,event,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});$.ui.plugin.add("resizable","animate",{stop:function(event){var that=$(this).data("flix_ui-resizable"),o=that.options,pr=that._proportionallyResizeElements,ista=pr.length&&(/textarea/i).test(pr[0].nodeName),soffseth=ista&&$.ui.hasScroll(pr[0],"left")?0:that.sizeDiff.height,soffsetw=ista?0:that.sizeDiff.width,style={width:(that.size.width-soffsetw),height:(that.size.height-soffseth)},left=(parseInt(that.element.css("left"),10)+(that.position.left-that.originalPosition.left))||null,top=(parseInt(that.element.css("top"),10)+(that.position.top-that.originalPosition.top))||null;that.element.animate($.extend(style,top&&left?{top:top,left:left}:{}),{duration:o.animateDuration,easing:o.animateEasing,step:function(){var data={width:parseInt(that.element.css("width"),10),height:parseInt(that.element.css("height"),10),top:parseInt(that.element.css("top"),10),left:parseInt(that.element.css("left"),10)};if(pr&&pr.length){$(pr[0]).css({width:data.width,height:data.height})}that._updateCache(data);that._propagate("resize",event)}})}});$.ui.plugin.add("resizable","containment",{start:function(){var element,p,co,ch,cw,width,height,that=$(this).data("flix_ui-resizable"),o=that.options,el=that.element,oc=o.containment,ce=(oc instanceof $)?oc.get(0):(/parent/.test(oc))?el.parent().get(0):oc;if(!ce){return}that.containerElement=$(ce);if(/document/.test(oc)||oc===document){that.containerOffset={left:0,top:0};that.containerPosition={left:0,top:0};that.parentData={element:$(document),left:0,top:0,width:$(document).width(),height:$(document).height()||document.body.parentNode.scrollHeight}}else{element=$(ce);p=[];$(["Top","Right","Left","Bottom"]).each(function(i,name){p[i]=num(element.css("padding"+name))});that.containerOffset=element.offset();that.containerPosition=element.position();that.containerSize={height:(element.innerHeight()-p[3]),width:(element.innerWidth()-p[1])};co=that.containerOffset;ch=that.containerSize.height;cw=that.containerSize.width;width=($.ui.hasScroll(ce,"left")?ce.scrollWidth:cw);height=($.ui.hasScroll(ce)?ce.scrollHeight:ch);that.parentData={element:ce,left:co.left,top:co.top,width:width,height:height}}},resize:function(event){var woset,hoset,isParent,isOffsetRelative,that=$(this).data("flix_ui-resizable"),o=that.options,co=that.containerOffset,cp=that.position,pRatio=that._aspectRatio||event.shiftKey,cop={top:0,left:0},ce=that.containerElement;if(ce[0]!==document&&(/static/).test(ce.css("position"))){cop=co}if(cp.left<(that._helper?co.left:0)){that.size.width=that.size.width+(that._helper?(that.position.left-co.left):(that.position.left-cop.left));if(pRatio){that.size.height=that.size.width/that.aspectRatio}that.position.left=o.helper?co.left:0}if(cp.top<(that._helper?co.top:0)){that.size.height=that.size.height+(that._helper?(that.position.top-co.top):that.position.top);if(pRatio){that.size.width=that.size.height*that.aspectRatio}that.position.top=that._helper?co.top:0}that.offset.left=that.parentData.left+that.position.left;that.offset.top=that.parentData.top+that.position.top;woset=Math.abs((that._helper?that.offset.left-cop.left:(that.offset.left-cop.left))+that.sizeDiff.width);hoset=Math.abs((that._helper?that.offset.top-cop.top:(that.offset.top-co.top))+that.sizeDiff.height);isParent=that.containerElement.get(0)===that.element.parent().get(0);isOffsetRelative=/relative|absolute/.test(that.containerElement.css("position"));if(isParent&&isOffsetRelative){woset-=that.parentData.left}if(woset+that.size.width>=that.parentData.width){that.size.width=that.parentData.width-woset;if(pRatio){that.size.height=that.size.width/that.aspectRatio}}if(hoset+that.size.height>=that.parentData.height){that.size.height=that.parentData.height-hoset;if(pRatio){that.size.width=that.size.height*that.aspectRatio}}},stop:function(){var that=$(this).data("flix_ui-resizable"),o=that.options,co=that.containerOffset,cop=that.containerPosition,ce=that.containerElement,helper=$(that.helper),ho=helper.offset(),w=helper.outerWidth()-that.sizeDiff.width,h=helper.outerHeight()-that.sizeDiff.height;if(that._helper&&!o.animate&&(/relative/).test(ce.css("position"))){$(this).css({left:ho.left-cop.left-co.left,width:w,height:h})}if(that._helper&&!o.animate&&(/static/).test(ce.css("position"))){$(this).css({left:ho.left-cop.left-co.left,width:w,height:h})}}});$.ui.plugin.add("resizable","alsoResize",{start:function(){var that=$(this).data("flix_ui-resizable"),o=that.options,_store=function(exp){$(exp).each(function(){var el=$(this);el.data("flix_ui-resizable-alsoresize",{width:parseInt(el.width(),10),height:parseInt(el.height(),10),left:parseInt(el.css("left"),10),top:parseInt(el.css("top"),10)})})};if(typeof(o.alsoResize)==="object"&&!o.alsoResize.parentNode){if(o.alsoResize.length){o.alsoResize=o.alsoResize[0];_store(o.alsoResize)}else{$.each(o.alsoResize,function(exp){_store(exp)})}}else{_store(o.alsoResize)}},resize:function(event,ui){var that=$(this).data("flix_ui-resizable"),o=that.options,os=that.originalSize,op=that.originalPosition,delta={height:(that.size.height-os.height)||0,width:(that.size.width-os.width)||0,top:(that.position.top-op.top)||0,left:(that.position.left-op.left)||0},_alsoResize=function(exp,c){$(exp).each(function(){var el=$(this),start=$(this).data("flix_ui-resizable-alsoresize"),style={},css=c&&c.length?c:el.parents(ui.originalElement[0]).length?["width","height"]:["width","height","top","left"];$.each(css,function(i,prop){var sum=(start[prop]||0)+(delta[prop]||0);if(sum&&sum>=0){style[prop]=sum||null}});el.css(style)})};if(typeof(o.alsoResize)==="object"&&!o.alsoResize.nodeType){$.each(o.alsoResize,function(exp,c){_alsoResize(exp,c)})}else{_alsoResize(o.alsoResize)}},stop:function(){$(this).removeData("resizable-alsoresize")}});$.ui.plugin.add("resizable","ghost",{start:function(){var that=$(this).data("flix_ui-resizable"),o=that.options,cs=that.size;that.ghost=that.originalElement.clone();that.ghost.css({opacity:0.25,display:"block",position:"relative",height:cs.height,width:cs.width,margin:0,left:0,top:0}).addClass("flix_ui-resizable-ghost").addClass(typeof o.ghost==="string"?o.ghost:"");that.ghost.appendTo(that.helper)},resize:function(){var that=$(this).data("flix_ui-resizable");if(that.ghost){that.ghost.css({position:"relative",height:that.size.height,width:that.size.width})}},stop:function(){var that=$(this).data("flix_ui-resizable");if(that.ghost&&that.helper){that.helper.get(0).removeChild(that.ghost.get(0))}}});$.ui.plugin.add("resizable","grid",{resize:function(){var that=$(this).data("flix_ui-resizable"),o=that.options,cs=that.size,os=that.originalSize,op=that.originalPosition,a=that.axis,grid=typeof o.grid==="number"?[o.grid,o.grid]:o.grid,gridX=(grid[0]||1),gridY=(grid[1]||1),ox=Math.round((cs.width-os.width)/gridX)*gridX,oy=Math.round((cs.height-os.height)/gridY)*gridY,newWidth=os.width+ox,newHeight=os.height+oy,isMaxWidth=o.maxWidth&&(o.maxWidth<newWidth),isMaxHeight=o.maxHeight&&(o.maxHeight<newHeight),isMinWidth=o.minWidth&&(o.minWidth>newWidth),isMinHeight=o.minHeight&&(o.minHeight>newHeight);o.grid=grid;if(isMinWidth){newWidth=newWidth+gridX}if(isMinHeight){newHeight=newHeight+gridY}if(isMaxWidth){newWidth=newWidth-gridX}if(isMaxHeight){newHeight=newHeight-gridY}if(/^(se|s|e)$/.test(a)){that.size.width=newWidth;that.size.height=newHeight}else if(/^(ne)$/.test(a)){that.size.width=newWidth;that.size.height=newHeight;that.position.top=op.top-oy}else if(/^(sw)$/.test(a)){that.size.width=newWidth;that.size.height=newHeight;that.position.left=op.left-ox}else{that.size.width=newWidth;that.size.height=newHeight;that.position.top=op.top-oy;that.position.left=op.left-ox}}})})(FlixjQ);(function($,undefined){$.widget("ui.selectable",$.ui.mouse,{version:"1.10.3",options:{appendTo:"body",autoRefresh:true,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var selectees,that=this;this.element.addClass("flix_ui-selectable");this.dragged=false;this.refresh=function(){selectees=$(that.options.filter,that.element[0]);selectees.addClass("flix_ui-selectee");selectees.each(function(){var $this=$(this),pos=$this.offset();$.data(this,"selectable-item",{element:this,$element:$this,left:pos.left,top:pos.top,right:pos.left+$this.outerWidth(),bottom:pos.top+$this.outerHeight(),startselected:false,selected:$this.hasClass("flix_ui-selected"),selecting:$this.hasClass("flix_ui-selecting"),unselecting:$this.hasClass("flix_ui-unselecting")})})};this.refresh();this.selectees=selectees.addClass("flix_ui-selectee");this._mouseInit();this.helper=$("<div class='flix_ui-selectable-helper'></div>")},_destroy:function(){this.selectees.removeClass("flix_ui-selectee").removeData("selectable-item");this.element.removeClass("flix_ui-selectable flix_ui-selectable-disabled");this._mouseDestroy()},_mouseStart:function(event){var that=this,options=this.options;this.opos=[event.pageX,event.pageY];if(this.options.disabled){return}this.selectees=$(options.filter,this.element[0]);this._trigger("start",event);$(options.appendTo).append(this.helper);this.helper.css({"left":event.pageX,"top":event.pageY,"width":0,"height":0});if(options.autoRefresh){this.refresh()}this.selectees.filter(".flix_ui-selected").each(function(){var selectee=$.data(this,"selectable-item");selectee.startselected=true;if(!event.metaKey&&!event.ctrlKey){selectee.$element.removeClass("flix_ui-selected");selectee.selected=false;selectee.$element.addClass("flix_ui-unselecting");selectee.unselecting=true;that._trigger("unselecting",event,{unselecting:selectee.element})}});$(event.target).parents().addBack().each(function(){var doSelect,selectee=$.data(this,"selectable-item");if(selectee){doSelect=(!event.metaKey&&!event.ctrlKey)||!selectee.$element.hasClass("flix_ui-selected");selectee.$element.removeClass(doSelect?"flix_ui-unselecting":"flix_ui-selected").addClass(doSelect?"flix_ui-selecting":"flix_ui-unselecting");selectee.unselecting=!doSelect;selectee.selecting=doSelect;selectee.selected=doSelect;if(doSelect){that._trigger("selecting",event,{selecting:selectee.element})}else{that._trigger("unselecting",event,{unselecting:selectee.element})}return false}})},_mouseDrag:function(event){this.dragged=true;if(this.options.disabled){return}var tmp,that=this,options=this.options,x1=this.opos[0],y1=this.opos[1],x2=event.pageX,y2=event.pageY;if(x1>x2){tmp=x2;x2=x1;x1=tmp}if(y1>y2){tmp=y2;y2=y1;y1=tmp}this.helper.css({left:x1,top:y1,width:x2-x1,height:y2-y1});this.selectees.each(function(){var selectee=$.data(this,"selectable-item"),hit=false;if(!selectee||selectee.element===that.element[0]){return}if(options.tolerance==="touch"){hit=(!(selectee.left>x2||selectee.right<x1||selectee.top>y2||selectee.bottom<y1))}else if(options.tolerance==="fit"){hit=(selectee.left>x1&&selectee.right<x2&&selectee.top>y1&&selectee.bottom<y2)}if(hit){if(selectee.selected){selectee.$element.removeClass("flix_ui-selected");selectee.selected=false}if(selectee.unselecting){selectee.$element.removeClass("flix_ui-unselecting");selectee.unselecting=false}if(!selectee.selecting){selectee.$element.addClass("flix_ui-selecting");selectee.selecting=true;that._trigger("selecting",event,{selecting:selectee.element})}}else{if(selectee.selecting){if((event.metaKey||event.ctrlKey)&&selectee.startselected){selectee.$element.removeClass("flix_ui-selecting");selectee.selecting=false;selectee.$element.addClass("flix_ui-selected");selectee.selected=true}else{selectee.$element.removeClass("flix_ui-selecting");selectee.selecting=false;if(selectee.startselected){selectee.$element.addClass("flix_ui-unselecting");selectee.unselecting=true}that._trigger("unselecting",event,{unselecting:selectee.element})}}if(selectee.selected){if(!event.metaKey&&!event.ctrlKey&&!selectee.startselected){selectee.$element.removeClass("flix_ui-selected");selectee.selected=false;selectee.$element.addClass("flix_ui-unselecting");selectee.unselecting=true;that._trigger("unselecting",event,{unselecting:selectee.element})}}}});return false},_mouseStop:function(event){var that=this;this.dragged=false;$(".flix_ui-unselecting",this.element[0]).each(function(){var selectee=$.data(this,"selectable-item");selectee.$element.removeClass("flix_ui-unselecting");selectee.unselecting=false;selectee.startselected=false;that._trigger("unselected",event,{unselected:selectee.element})});$(".flix_ui-selecting",this.element[0]).each(function(){var selectee=$.data(this,"selectable-item");selectee.$element.removeClass("flix_ui-selecting").addClass("flix_ui-selected");selectee.selecting=false;selectee.selected=true;selectee.startselected=true;that._trigger("selected",event,{selected:selectee.element})});this._trigger("stop",event);this.helper.remove();return false}})})(FlixjQ);(function($,undefined){function isOverAxis(x,reference,size){return(x>reference)&&(x<(reference+size))}function isFloating(item){return(/left|right/).test(item.css("float"))||(/inline|table-cell/).test(item.css("display"))}$.widget("ui.sortable",$.ui.mouse,{version:"1.10.3",widgetEventPrefix:"sort",ready:false,options:{appendTo:"parent",axis:false,connectWith:false,containment:false,cursor:"auto",cursorAt:false,dropOnEmpty:true,forcePlaceholderSize:false,forceHelperSize:false,grid:false,handle:false,helper:"original",items:"> *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1000,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_create:function(){var o=this.options;this.containerCache={};this.element.addClass("flix_ui-sortable");this.refresh();this.floating=this.items.length?o.axis==="x"||isFloating(this.items[0].item):false;this.offset=this.element.offset();this._mouseInit();this.ready=true},_destroy:function(){this.element.removeClass("flix_ui-sortable flix_ui-sortable-disabled");this._mouseDestroy();for(var i=this.items.length-1;i>=0;i--){this.items[i].item.removeData(this.widgetName+"-item")}return this},_setOption:function(key,value){if(key==="disabled"){this.options[key]=value;this.widget().toggleClass("flix_ui-sortable-disabled",!!value)}else{$.Widget.prototype._setOption.apply(this,arguments)}},_mouseCapture:function(event,overrideHandle){var currentItem=null,validHandle=false,that=this;if(this.reverting){return false}if(this.options.disabled||this.options.type==="static"){return false}this._refreshItems(event);$(event.target).parents().each(function(){if($.data(this,that.widgetName+"-item")===that){currentItem=$(this);return false}});if($.data(event.target,that.widgetName+"-item")===that){currentItem=$(event.target)}if(!currentItem){return false}if(this.options.handle&&!overrideHandle){$(this.options.handle,currentItem).find("*").addBack().each(function(){if(this===event.target){validHandle=true}});if(!validHandle){return false}}this.currentItem=currentItem;this._removeCurrentsFromItems();return true},_mouseStart:function(event,overrideHandle,noActivation){var i,body,o=this.options;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(event);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};$.extend(this.offset,{click:{left:event.pageX-this.offset.left,top:event.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");this.originalPosition=this._generatePosition(event);this.originalPageX=event.pageX;this.originalPageY=event.pageY;(o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt));this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};if(this.helper[0]!==this.currentItem[0]){this.currentItem.hide()}this._createPlaceholder();if(o.containment){this._setContainment()}if(o.cursor&&o.cursor!=="auto"){body=this.document.find("body");this.storedCursor=body.css("cursor");body.css("cursor",o.cursor);this.storedStylesheet=$("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(body)}if(o.opacity){if(this.helper.css("opacity")){this._storedOpacity=this.helper.css("opacity")}this.helper.css("opacity",o.opacity)}if(o.zIndex){if(this.helper.css("zIndex")){this._storedZIndex=this.helper.css("zIndex")}this.helper.css("zIndex",o.zIndex)}if(this.scrollParent[0]!==document&&this.scrollParent[0].tagName!=="HTML"){this.overflowOffset=this.scrollParent.offset()}this._trigger("start",event,this._uiHash());if(!this._preserveHelperProportions){this._cacheHelperProportions()}if(!noActivation){for(i=this.containers.length-1;i>=0;i--){this.containers[i]._trigger("activate",event,this._uiHash(this))}}if($.ui.ddmanager){$.ui.ddmanager.current=this}if($.ui.ddmanager&&!o.dropBehaviour){$.ui.ddmanager.prepareOffsets(this,event)}this.dragging=true;this.helper.addClass("flix_ui-sortable-helper");this._mouseDrag(event);return true},_mouseDrag:function(event){var i,item,itemElement,intersection,o=this.options,scrolled=false;this.position=this._generatePosition(event);this.positionAbs=this._convertPositionTo("absolute");if(!this.lastPositionAbs){this.lastPositionAbs=this.positionAbs}if(this.options.scroll){if(this.scrollParent[0]!==document&&this.scrollParent[0].tagName!=="HTML"){if((this.overflowOffset.top+this.scrollParent[0].offsetHeight)-event.pageY<o.scrollSensitivity){this.scrollParent[0].scrollTop=scrolled=this.scrollParent[0].scrollTop+o.scrollSpeed}else if(event.pageY-this.overflowOffset.top<o.scrollSensitivity){this.scrollParent[0].scrollTop=scrolled=this.scrollParent[0].scrollTop-o.scrollSpeed}if((this.overflowOffset.left+this.scrollParent[0].offsetWidth)-event.pageX<o.scrollSensitivity){this.scrollParent[0].scrollLeft=scrolled=this.scrollParent[0].scrollLeft+o.scrollSpeed}else if(event.pageX-this.overflowOffset.left<o.scrollSensitivity){this.scrollParent[0].scrollLeft=scrolled=this.scrollParent[0].scrollLeft-o.scrollSpeed}}else{if(event.pageY-$(document).scrollTop()<o.scrollSensitivity){scrolled=$(document).scrollTop($(document).scrollTop()-o.scrollSpeed)}else if($(window).height()-(event.pageY-$(document).scrollTop())<o.scrollSensitivity){scrolled=$(document).scrollTop($(document).scrollTop()+o.scrollSpeed)}if(event.pageX-$(document).scrollLeft()<o.scrollSensitivity){scrolled=$(document).scrollLeft($(document).scrollLeft()-o.scrollSpeed)}else if($(window).width()-(event.pageX-$(document).scrollLeft())<o.scrollSensitivity){scrolled=$(document).scrollLeft($(document).scrollLeft()+o.scrollSpeed)}}if(scrolled!==false&&$.ui.ddmanager&&!o.dropBehaviour){$.ui.ddmanager.prepareOffsets(this,event)}}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!=="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!=="x"){this.helper[0].style.top=this.position.top+"px"}for(i=this.items.length-1;i>=0;i--){item=this.items[i];itemElement=item.item[0];intersection=this._intersectsWithPointer(item);if(!intersection){continue}if(item.instance!==this.currentContainer){continue}if(itemElement!==this.currentItem[0]&&this.placeholder[intersection===1?"next":"prev"]()[0]!==itemElement&&!$.contains(this.placeholder[0],itemElement)&&(this.options.type==="semi-dynamic"?!$.contains(this.element[0],itemElement):true)){this.direction=intersection===1?"down":"up";if(this.options.tolerance==="pointer"||this._intersectsWithSides(item)){this._rearrange(event,item)}else{break}this._trigger("change",event,this._uiHash());break}}this._contactContainers(event);if($.ui.ddmanager){$.ui.ddmanager.drag(this,event)}this._trigger("sort",event,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(event,noPropagation){if(!event){return}if($.ui.ddmanager&&!this.options.dropBehaviour){$.ui.ddmanager.drop(this,event)}if(this.options.revert){var that=this,cur=this.placeholder.offset(),axis=this.options.axis,animation={};if(!axis||axis==="x"){animation.left=cur.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)}if(!axis||axis==="y"){animation.top=cur.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)}this.reverting=true;$(this.helper).animate(animation,parseInt(this.options.revert,10)||500,function(){that._clear(event)})}else{this._clear(event,noPropagation)}return false},cancel:function(){if(this.dragging){this._mouseUp({target:null});if(this.options.helper==="original"){this.currentItem.css(this._storedCSS).removeClass("flix_ui-sortable-helper")}else{this.currentItem.show()}for(var i=this.containers.length-1;i>=0;i--){this.containers[i]._trigger("deactivate",null,this._uiHash(this));if(this.containers[i].containerCache.over){this.containers[i]._trigger("out",null,this._uiHash(this));this.containers[i].containerCache.over=0}}}if(this.placeholder){if(this.placeholder[0].parentNode){this.placeholder[0].parentNode.removeChild(this.placeholder[0])}if(this.options.helper!=="original"&&this.helper&&this.helper[0].parentNode){this.helper.remove()}$.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null});if(this.domPosition.prev){$(this.domPosition.prev).after(this.currentItem)}else{$(this.domPosition.parent).prepend(this.currentItem)}}return this},serialize:function(o){var items=this._getItemsAsFlixjQ(o&&o.connected),str=[];o=o||{};$(items).each(function(){var res=($(o.item||this).attr(o.attribute||"id")||"").match(o.expression||(/(.+)[\-=_](.+)/));if(res){str.push((o.key||res[1]+"[]")+"="+(o.key&&o.expression?res[1]:res[2]))}});if(!str.length&&o.key){str.push(o.key+"=")}return str.join("&")},toArray:function(o){var items=this._getItemsAsFlixjQ(o&&o.connected),ret=[];o=o||{};items.each(function(){ret.push($(o.item||this).attr(o.attribute||"id")||"")});return ret},_intersectsWith:function(item){var x1=this.positionAbs.left,x2=x1+this.helperProportions.width,y1=this.positionAbs.top,y2=y1+this.helperProportions.height,l=item.left,r=l+item.width,t=item.top,b=t+item.height,dyClick=this.offset.click.top,dxClick=this.offset.click.left,isOverElementHeight=(this.options.axis==="x")||((y1+dyClick)>t&&(y1+dyClick)<b),isOverElementWidth=(this.options.axis==="y")||((x1+dxClick)>l&&(x1+dxClick)<r),isOverElement=isOverElementHeight&&isOverElementWidth;if(this.options.tolerance==="pointer"||this.options.forcePointerForContainers||(this.options.tolerance!=="pointer"&&this.helperProportions[this.floating?"width":"height"]>item[this.floating?"width":"height"])){return isOverElement}else{return(l<x1+(this.helperProportions.width/2)&&x2-(this.helperProportions.width/2)<r&&t<y1+(this.helperProportions.height/2)&&y2-(this.helperProportions.height/2)<b);}},_intersectsWithPointer:function(item){var isOverElementHeight=(this.options.axis==="x")||isOverAxis(this.positionAbs.top+this.offset.click.top,item.top,item.height),isOverElementWidth=(this.options.axis==="y")||isOverAxis(this.positionAbs.left+this.offset.click.left,item.left,item.width),isOverElement=isOverElementHeight&&isOverElementWidth,verticalDirection=this._getDragVerticalDirection(),horizontalDirection=this._getDragHorizontalDirection();if(!isOverElement){return false}return this.floating?(((horizontalDirection&&horizontalDirection==="right")||verticalDirection==="down")?2:1):(verticalDirection&&(verticalDirection==="down"?2:1))},_intersectsWithSides:function(item){var isOverBottomHalf=isOverAxis(this.positionAbs.top+this.offset.click.top,item.top+(item.height/2),item.height),isOverRightHalf=isOverAxis(this.positionAbs.left+this.offset.click.left,item.left+(item.width/2),item.width),verticalDirection=this._getDragVerticalDirection(),horizontalDirection=this._getDragHorizontalDirection();if(this.floating&&horizontalDirection){return((horizontalDirection==="right"&&isOverRightHalf)||(horizontalDirection==="left"&&!isOverRightHalf))}else{return verticalDirection&&((verticalDirection==="down"&&isOverBottomHalf)||(verticalDirection==="up"&&!isOverBottomHalf))}},_getDragVerticalDirection:function(){var delta=this.positionAbs.top-this.lastPositionAbs.top;return delta!==0&&(delta>0?"down":"up")},_getDragHorizontalDirection:function(){var delta=this.positionAbs.left-this.lastPositionAbs.left;return delta!==0&&(delta>0?"right":"left")},refresh:function(event){this._refreshItems(event);this.refreshPositions();return this},_connectWith:function(){var options=this.options;return options.connectWith.constructor===String?[options.connectWith]:options.connectWith},_getItemsAsFlixjQ:function(connected){var i,j,cur,inst,items=[],queries=[],connectWith=this._connectWith();if(connectWith&&connected){for(i=connectWith.length-1;i>=0;i--){cur=$(connectWith[i]);for(j=cur.length-1;j>=0;j--){inst=$.data(cur[j],this.widgetFullName);if(inst&&inst!==this&&!inst.options.disabled){queries.push([$.isFunction(inst.options.items)?inst.options.items.call(inst.element):$(inst.options.items,inst.element).not(".flix_ui-sortable-helper").not(".flix_ui-sortable-placeholder"),inst])}}}}queries.push([$.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):$(this.options.items,this.element).not(".flix_ui-sortable-helper").not(".flix_ui-sortable-placeholder"),this]);for(i=queries.length-1;i>=0;i--){queries[i][0].each(function(){items.push(this)})}return $(items)},_removeCurrentsFromItems:function(){var list=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=$.grep(this.items,function(item){for(var j=0;j<list.length;j++){if(list[j]===item.item[0]){return false}}return true})},_refreshItems:function(event){this.items=[];this.containers=[this];var i,j,cur,inst,targetData,_queries,item,queriesLength,items=this.items,queries=[[$.isFunction(this.options.items)?this.options.items.call(this.element[0],event,{item:this.currentItem}):$(this.options.items,this.element),this]],connectWith=this._connectWith();if(connectWith&&this.ready){for(i=connectWith.length-1;i>=0;i--){cur=$(connectWith[i]);for(j=cur.length-1;j>=0;j--){inst=$.data(cur[j],this.widgetFullName);if(inst&&inst!==this&&!inst.options.disabled){queries.push([$.isFunction(inst.options.items)?inst.options.items.call(inst.element[0],event,{item:this.currentItem}):$(inst.options.items,inst.element),inst]);this.containers.push(inst)}}}}for(i=queries.length-1;i>=0;i--){targetData=queries[i][1];_queries=queries[i][0];for(j=0,queriesLength=_queries.length;j<queriesLength;j++){item=$(_queries[j]);item.data(this.widgetName+"-item",targetData);items.push({item:item,instance:targetData,width:0,height:0,left:0,top:0})}}},refreshPositions:function(fast){if(this.offsetParent&&this.helper){this.offset.parent=this._getParentOffset()}var i,item,t,p;for(i=this.items.length-1;i>=0;i--){item=this.items[i];if(item.instance!==this.currentContainer&&this.currentContainer&&item.item[0]!==this.currentItem[0]){continue}t=this.options.toleranceElement?$(this.options.toleranceElement,item.item):item.item;if(!fast){item.width=t.outerWidth();item.height=t.outerHeight()}p=t.offset();item.left=p.left;item.top=p.top}if(this.options.custom&&this.options.custom.refreshContainers){this.options.custom.refreshContainers.call(this)}else{for(i=this.containers.length-1;i>=0;i--){p=this.containers[i].element.offset();this.containers[i].containerCache.left=p.left;this.containers[i].containerCache.top=p.top;this.containers[i].containerCache.width=this.containers[i].element.outerWidth();this.containers[i].containerCache.height=this.containers[i].element.outerHeight()}}return this},_createPlaceholder:function(that){that=that||this;var className,o=that.options;if(!o.placeholder||o.placeholder.constructor===String){className=o.placeholder;o.placeholder={element:function(){var nodeName=that.currentItem[0].nodeName.toLowerCase(),element=$("<"+nodeName+">",that.document[0]).addClass(className||that.currentItem[0].className+" flix_ui-sortable-placeholder").removeClass("flix_ui-sortable-helper");if(nodeName==="tr"){that.currentItem.children().each(function(){$("<td>&#160;</td>",that.document[0]).attr("colspan",$(this).attr("colspan")||1).appendTo(element)})}else if(nodeName==="img"){element.attr("src",that.currentItem.attr("src"))}if(!className){element.css("visibility","hidden")}return element},update:function(container,p){if(className&&!o.forcePlaceholderSize){return}if(!p.height()){p.height(that.currentItem.innerHeight()-parseInt(that.currentItem.css("paddingTop")||0,10)-parseInt(that.currentItem.css("paddingBottom")||0,10))}if(!p.width()){p.width(that.currentItem.innerWidth()-parseInt(that.currentItem.css("paddingLeft")||0,10)-parseInt(that.currentItem.css("paddingRight")||0,10))}}}}that.placeholder=$(o.placeholder.element.call(that.element,that.currentItem));that.currentItem.after(that.placeholder);o.placeholder.update(that,that.placeholder)},_contactContainers:function(event){var i,j,dist,itemWithLeastDistance,posProperty,sizeProperty,base,cur,nearBottom,floating,innermostContainer=null,innermostIndex=null;for(i=this.containers.length-1;i>=0;i--){if($.contains(this.currentItem[0],this.containers[i].element[0])){continue}if(this._intersectsWith(this.containers[i].containerCache)){if(innermostContainer&&$.contains(this.containers[i].element[0],innermostContainer.element[0])){continue}innermostContainer=this.containers[i];innermostIndex=i}else{if(this.containers[i].containerCache.over){this.containers[i]._trigger("out",event,this._uiHash(this));this.containers[i].containerCache.over=0}}}if(!innermostContainer){return}if(this.containers.length===1){if(!this.containers[innermostIndex].containerCache.over){this.containers[innermostIndex]._trigger("over",event,this._uiHash(this));this.containers[innermostIndex].containerCache.over=1}}else{dist=10000;itemWithLeastDistance=null;floating=innermostContainer.floating||isFloating(this.currentItem);posProperty=floating?"left":"top";sizeProperty=floating?"width":"height";base=this.positionAbs[posProperty]+this.offset.click[posProperty];for(j=this.items.length-1;j>=0;j--){if(!$.contains(this.containers[innermostIndex].element[0],this.items[j].item[0])){continue}if(this.items[j].item[0]===this.currentItem[0]){continue}if(floating&&!isOverAxis(this.positionAbs.top+this.offset.click.top,this.items[j].top,this.items[j].height)){continue}cur=this.items[j].item.offset()[posProperty];nearBottom=false;if(Math.abs(cur-base)>Math.abs(cur+this.items[j][sizeProperty]-base)){nearBottom=true;cur+=this.items[j][sizeProperty]}if(Math.abs(cur-base)<dist){dist=Math.abs(cur-base);itemWithLeastDistance=this.items[j];this.direction=nearBottom?"up":"down"}}if(!itemWithLeastDistance&&!this.options.dropOnEmpty){return}if(this.currentContainer===this.containers[innermostIndex]){return}itemWithLeastDistance?this._rearrange(event,itemWithLeastDistance,null,true):this._rearrange(event,null,this.containers[innermostIndex].element,true);this._trigger("change",event,this._uiHash());this.containers[innermostIndex]._trigger("change",event,this._uiHash(this));this.currentContainer=this.containers[innermostIndex];this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[innermostIndex]._trigger("over",event,this._uiHash(this));this.containers[innermostIndex].containerCache.over=1}},_createHelper:function(event){var o=this.options,helper=$.isFunction(o.helper)?$(o.helper.apply(this.element[0],[event,this.currentItem])):(o.helper==="clone"?this.currentItem.clone():this.currentItem);if(!helper.parents("body").length){$(o.appendTo!=="parent"?o.appendTo:this.currentItem[0].parentNode)[0].appendChild(helper[0])}if(helper[0]===this.currentItem[0]){this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}}if(!helper[0].style.width||o.forceHelperSize){helper.width(this.currentItem.width())}if(!helper[0].style.height||o.forceHelperSize){helper.height(this.currentItem.height())}return helper},_adjustOffsetFromHelper:function(obj){if(typeof obj==="string"){obj=obj.split(" ")}if($.isArray(obj)){obj={left:+obj[0],top:+obj[1]||0}}if("left"in obj){this.offset.click.left=obj.left+this.margins.left}if("right"in obj){this.offset.click.left=this.helperProportions.width-obj.right+this.margins.left}if("top"in obj){this.offset.click.top=obj.top+this.margins.top}if("bottom"in obj){this.offset.click.top=this.helperProportions.height-obj.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var po=this.offsetParent.offset();if(this.cssPosition==="absolute"&&this.scrollParent[0]!==document&&$.contains(this.scrollParent[0],this.offsetParent[0])){po.left+=this.scrollParent.scrollLeft();po.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]===document.body||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()==="html"&&$.ui.ie)){po={top:0,left:0}}return{top:po.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:po.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==="relative"){var p=this.currentItem.position();return{top:p.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:p.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:(parseInt(this.currentItem.css("marginLeft"),10)||0),top:(parseInt(this.currentItem.css("marginTop"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var ce,co,over,o=this.options;if(o.containment==="parent"){o.containment=this.helper[0].parentNode}if(o.containment==="document"||o.containment==="window"){this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,$(o.containment==="document"?document:window).width()-this.helperProportions.width-this.margins.left,($(o.containment==="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!(/^(document|window|parent)$/).test(o.containment)){ce=$(o.containment)[0];co=$(o.containment).offset();over=($(ce).css("overflow")!=="hidden");this.containment=[co.left+(parseInt($(ce).css("borderLeftWidth"),10)||0)+(parseInt($(ce).css("paddingLeft"),10)||0)-this.margins.left,co.top+(parseInt($(ce).css("borderTopWidth"),10)||0)+(parseInt($(ce).css("paddingTop"),10)||0)-this.margins.top,co.left+(over?Math.max(ce.scrollWidth,ce.offsetWidth):ce.offsetWidth)-(parseInt($(ce).css("borderLeftWidth"),10)||0)-(parseInt($(ce).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,co.top+(over?Math.max(ce.scrollHeight,ce.offsetHeight):ce.offsetHeight)-(parseInt($(ce).css("borderTopWidth"),10)||0)-(parseInt($(ce).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(d,pos){if(!pos){pos=this.position}var mod=d==="absolute"?1:-1,scroll=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==document&&$.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,scrollIsRootNode=(/(html|body)/i).test(scroll[0].tagName);return{top:(pos.top+this.offset.relative.top*mod+this.offset.parent.top*mod-((this.cssPosition==="fixed"?-this.scrollParent.scrollTop():(scrollIsRootNode?0:scroll.scrollTop()))*mod)),left:(pos.left+this.offset.relative.left*mod+this.offset.parent.left*mod-((this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():scrollIsRootNode?0:scroll.scrollLeft())*mod))}},_generatePosition:function(event){var top,left,o=this.options,pageX=event.pageX,pageY=event.pageY,scroll=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==document&&$.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,scrollIsRootNode=(/(html|body)/i).test(scroll[0].tagName);if(this.cssPosition==="relative"&&!(this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0])){this.offset.relative=this._getRelativeOffset()}if(this.originalPosition){if(this.containment){if(event.pageX-this.offset.click.left<this.containment[0]){pageX=this.containment[0]+this.offset.click.left}if(event.pageY-this.offset.click.top<this.containment[1]){pageY=this.containment[1]+this.offset.click.top}if(event.pageX-this.offset.click.left>this.containment[2]){pageX=this.containment[2]+this.offset.click.left}if(event.pageY-this.offset.click.top>this.containment[3]){pageY=this.containment[3]+this.offset.click.top}}if(o.grid){top=this.originalPageY+Math.round((pageY-this.originalPageY)/o.grid[1])*o.grid[1];pageY=this.containment?((top-this.offset.click.top>=this.containment[1]&&top-this.offset.click.top<=this.containment[3])?top:((top-this.offset.click.top>=this.containment[1])?top-o.grid[1]:top+o.grid[1])):top;left=this.originalPageX+Math.round((pageX-this.originalPageX)/o.grid[0])*o.grid[0];pageX=this.containment?((left-this.offset.click.left>=this.containment[0]&&left-this.offset.click.left<=this.containment[2])?left:((left-this.offset.click.left>=this.containment[0])?left-o.grid[0]:left+o.grid[0])):left}}return{top:(pageY-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+((this.cssPosition==="fixed"?-this.scrollParent.scrollTop():(scrollIsRootNode?0:scroll.scrollTop())))),left:(pageX-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+((this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():scrollIsRootNode?0:scroll.scrollLeft())))}},_rearrange:function(event,i,a,hardRefresh){a?a[0].appendChild(this.placeholder[0]):i.item[0].parentNode.insertBefore(this.placeholder[0],(this.direction==="down"?i.item[0]:i.item[0].nextSibling));this.counter=this.counter?++this.counter:1;var counter=this.counter;this._delay(function(){if(counter===this.counter){this.refreshPositions(!hardRefresh)}})},_clear:function(event,noPropagation){this.reverting=false;var i,delayedTriggers=[];if(!this._noFinalSort&&this.currentItem.parent().length){this.placeholder.before(this.currentItem)}this._noFinalSort=null;if(this.helper[0]===this.currentItem[0]){for(i in this._storedCSS){if(this._storedCSS[i]==="auto"||this._storedCSS[i]==="static"){this._storedCSS[i]=""}}this.currentItem.css(this._storedCSS).removeClass("flix_ui-sortable-helper")}else{this.currentItem.show()}if(this.fromOutside&&!noPropagation){delayedTriggers.push(function(event){this._trigger("receive",event,this._uiHash(this.fromOutside))})}if((this.fromOutside||this.domPosition.prev!==this.currentItem.prev().not(".flix_ui-sortable-helper")[0]||this.domPosition.parent!==this.currentItem.parent()[0])&&!noPropagation){delayedTriggers.push(function(event){this._trigger("update",event,this._uiHash())})}if(this!==this.currentContainer){if(!noPropagation){delayedTriggers.push(function(event){this._trigger("remove",event,this._uiHash())});delayedTriggers.push((function(c){return function(event){c._trigger("receive",event,this._uiHash(this))}}).call(this,this.currentContainer));delayedTriggers.push((function(c){return function(event){c._trigger("update",event,this._uiHash(this))}}).call(this,this.currentContainer))}}for(i=this.containers.length-1;i>=0;i--){if(!noPropagation){delayedTriggers.push((function(c){return function(event){c._trigger("deactivate",event,this._uiHash(this))}}).call(this,this.containers[i]))}if(this.containers[i].containerCache.over){delayedTriggers.push((function(c){return function(event){c._trigger("out",event,this._uiHash(this))}}).call(this,this.containers[i]));this.containers[i].containerCache.over=0}}if(this.storedCursor){this.document.find("body").css("cursor",this.storedCursor);this.storedStylesheet.remove()}if(this._storedOpacity){this.helper.css("opacity",this._storedOpacity)}if(this._storedZIndex){this.helper.css("zIndex",this._storedZIndex==="auto"?"":this._storedZIndex)}this.dragging=false;if(this.cancelHelperRemoval){if(!noPropagation){this._trigger("beforeStop",event,this._uiHash());for(i=0;i<delayedTriggers.length;i++){delayedTriggers[i].call(this,event)}this._trigger("stop",event,this._uiHash())}this.fromOutside=false;return false}if(!noPropagation){this._trigger("beforeStop",event,this._uiHash())}this.placeholder[0].parentNode.removeChild(this.placeholder[0]);if(this.helper[0]!==this.currentItem[0]){this.helper.remove()}this.helper=null;if(!noPropagation){for(i=0;i<delayedTriggers.length;i++){delayedTriggers[i].call(this,event)}this._trigger("stop",event,this._uiHash())}this.fromOutside=false;return true},_trigger:function(){if($.Widget.prototype._trigger.apply(this,arguments)===false){this.cancel()}},_uiHash:function(_inst){var inst=_inst||this;return{helper:inst.helper,placeholder:inst.placeholder||$([]),position:inst.position,originalPosition:inst.originalPosition,offset:inst.positionAbs,item:inst.currentItem,sender:_inst?_inst.element:null}}})})(FlixjQ);(function($,undefined){var dataSpace="flix_ui-effects-";$.effects={effect:{}};(function(FlixjQ,undefined){var stepHooks="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",rplusequals=/^([\-+])=\s*(\d+\.?\d*)/,stringParsers=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(execResult){return[execResult[1],execResult[2],execResult[3],execResult[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(execResult){return[execResult[1]*2.55,execResult[2]*2.55,execResult[3]*2.55,execResult[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(execResult){return[parseInt(execResult[1],16),parseInt(execResult[2],16),parseInt(execResult[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(execResult){return[parseInt(execResult[1]+execResult[1],16),parseInt(execResult[2]+execResult[2],16),parseInt(execResult[3]+execResult[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(execResult){return[execResult[1],execResult[2]/100,execResult[3]/100,execResult[4]]}}],color=FlixjQ.Color=function(color,green,blue,alpha){return new FlixjQ.Color.fn.parse(color,green,blue,alpha)},spaces={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},propTypes={"byte":{floor:true,max:255},"percent":{max:1},"degrees":{mod:360,floor:true}},support=color.support={},supportElem=FlixjQ("<p>")[0],colors,each=FlixjQ.each;supportElem.style.cssText="background-color:rgba(1,1,1,.5)";support.rgba=supportElem.style.backgroundColor.indexOf("rgba")>-1;each(spaces,function(spaceName,space){space.cache="_"+spaceName;space.props.alpha={idx:3,type:"percent",def:1}});function clamp(value,prop,allowEmpty){var type=propTypes[prop.type]||{};if(value==null){return(allowEmpty||!prop.def)?null:prop.def}value=type.floor?~~value:parseFloat(value);if(isNaN(value)){return prop.def}if(type.mod){return(value+type.mod)%type.mod}return 0>value?0:type.max<value?type.max:value}function stringParse(string){var inst=color(),rgba=inst._rgba=[];string=string.toLowerCase();each(stringParsers,function(i,parser){var parsed,match=parser.re.exec(string),values=match&&parser.parse(match),spaceName=parser.space||"rgba";if(values){parsed=inst[spaceName](values);inst[spaces[spaceName].cache]=parsed[spaces[spaceName].cache];rgba=inst._rgba=parsed._rgba;return false}});if(rgba.length){if(rgba.join()==="0,0,0,0"){FlixjQ.extend(rgba,colors.transparent)}return inst}return colors[string]}color.fn=FlixjQ.extend(color.prototype,{parse:function(red,green,blue,alpha){if(red===undefined){this._rgba=[null,null,null,null];return this}if(red.FlixjQ||red.nodeType){red=FlixjQ(red).css(green);green=undefined}var inst=this,type=FlixjQ.type(red),rgba=this._rgba=[];if(green!==undefined){red=[red,green,blue,alpha];type="array"}if(type==="string"){return this.parse(stringParse(red)||colors._default)}if(type==="array"){each(spaces.rgba.props,function(key,prop){rgba[prop.idx]=clamp(red[prop.idx],prop)});return this}if(type==="object"){if(red instanceof color){each(spaces,function(spaceName,space){if(red[space.cache]){inst[space.cache]=red[space.cache].slice()}})}else{each(spaces,function(spaceName,space){var cache=space.cache;each(space.props,function(key,prop){if(!inst[cache]&&space.to){if(key==="alpha"||red[key]==null){return}inst[cache]=space.to(inst._rgba)}inst[cache][prop.idx]=clamp(red[key],prop,true)});if(inst[cache]&&FlixjQ.inArray(null,inst[cache].slice(0,3))<0){inst[cache][3]=1;if(space.from){inst._rgba=space.from(inst[cache])}}})}return this}},is:function(compare){var is=color(compare),same=true,inst=this;each(spaces,function(_,space){var localCache,isCache=is[space.cache];if(isCache){localCache=inst[space.cache]||space.to&&space.to(inst._rgba)||[];each(space.props,function(_,prop){if(isCache[prop.idx]!=null){same=(isCache[prop.idx]===localCache[prop.idx]);return same}})}return same});return same},_space:function(){var used=[],inst=this;each(spaces,function(spaceName,space){if(inst[space.cache]){used.push(spaceName)}});return used.pop()},transition:function(other,distance){var end=color(other),spaceName=end._space(),space=spaces[spaceName],startColor=this.alpha()===0?color("transparent"):this,start=startColor[space.cache]||space.to(startColor._rgba),result=start.slice();end=end[space.cache];each(space.props,function(key,prop){var index=prop.idx,startValue=start[index],endValue=end[index],type=propTypes[prop.type]||{};if(endValue===null){return}if(startValue===null){result[index]=endValue}else{if(type.mod){if(endValue-startValue>type.mod/2){startValue+=type.mod}else if(startValue-endValue>type.mod/2){startValue-=type.mod}}result[index]=clamp((endValue-startValue)*distance+startValue,prop)}});return this[spaceName](result)},blend:function(opaque){if(this._rgba[3]===1){return this}var rgb=this._rgba.slice(),a=rgb.pop(),blend=color(opaque)._rgba;return color(FlixjQ.map(rgb,function(v,i){return(1-a)*blend[i]+a*v}))},toRgbaString:function(){var prefix="rgba(",rgba=FlixjQ.map(this._rgba,function(v,i){return v==null?(i>2?1:0):v});if(rgba[3]===1){rgba.pop();prefix="rgb("}return prefix+rgba.join()+")"},toHslaString:function(){var prefix="hsla(",hsla=FlixjQ.map(this.hsla(),function(v,i){if(v==null){v=i>2?1:0}if(i&&i<3){v=Math.round(v*100)+"%"}return v});if(hsla[3]===1){hsla.pop();prefix="hsl("}return prefix+hsla.join()+")"},toHexString:function(includeAlpha){var rgba=this._rgba.slice(),alpha=rgba.pop();if(includeAlpha){rgba.push(~~(alpha*255))}return"#"+FlixjQ.map(rgba,function(v){v=(v||0).toString(16);return v.length===1?"0"+v:v}).join("")},toString:function(){return this._rgba[3]===0?"transparent":this.toRgbaString()}});color.fn.parse.prototype=color.fn;function hue2rgb(p,q,h){h=(h+1)%1;if(h*6<1){return p+(q-p)*h*6}if(h*2<1){return q}if(h*3<2){return p+(q-p)*((2/3)-h)*6}return p}spaces.hsla.to=function(rgba){if(rgba[0]==null||rgba[1]==null||rgba[2]==null){return[null,null,null,rgba[3]]}var r=rgba[0]/255,g=rgba[1]/255,b=rgba[2]/255,a=rgba[3],max=Math.max(r,g,b),min=Math.min(r,g,b),diff=max-min,add=max+min,l=add*0.5,h,s;if(min===max){h=0}else if(r===max){h=(60*(g-b)/diff)+360}else if(g===max){h=(60*(b-r)/diff)+120}else{h=(60*(r-g)/diff)+240}if(diff===0){s=0}else if(l<=0.5){s=diff/add}else{s=diff/(2-add)}return[Math.round(h)%360,s,l,a==null?1:a]};spaces.hsla.from=function(hsla){if(hsla[0]==null||hsla[1]==null||hsla[2]==null){return[null,null,null,hsla[3]]}var h=hsla[0]/360,s=hsla[1],l=hsla[2],a=hsla[3],q=l<=0.5?l*(1+s):l+s-l*s,p=2*l-q;return[Math.round(hue2rgb(p,q,h+(1/3))*255),Math.round(hue2rgb(p,q,h)*255),Math.round(hue2rgb(p,q,h-(1/3))*255),a]};each(spaces,function(spaceName,space){var props=space.props,cache=space.cache,to=space.to,from=space.from;color.fn[spaceName]=function(value){if(to&&!this[cache]){this[cache]=to(this._rgba)}if(value===undefined){return this[cache].slice()}var ret,type=FlixjQ.type(value),arr=(type==="array"||type==="object")?value:arguments,local=this[cache].slice();each(props,function(key,prop){var val=arr[type==="object"?key:prop.idx];if(val==null){val=local[prop.idx]}local[prop.idx]=clamp(val,prop)});if(from){ret=color(from(local));ret[cache]=local;return ret}else{return color(local)}};each(props,function(key,prop){if(color.fn[key]){return}color.fn[key]=function(value){var vtype=FlixjQ.type(value),fn=(key==="alpha"?(this._hsla?"hsla":"rgba"):spaceName),local=this[fn](),cur=local[prop.idx],match;if(vtype==="undefined"){return cur}if(vtype==="function"){value=value.call(this,cur);vtype=FlixjQ.type(value)}if(value==null&&prop.empty){return this}if(vtype==="string"){match=rplusequals.exec(value);if(match){value=cur+parseFloat(match[2])*(match[1]==="+"?1:-1)}}local[prop.idx]=value;return this[fn](local)}})});color.hook=function(hook){var hooks=hook.split(" ");each(hooks,function(i,hook){FlixjQ.cssHooks[hook]={set:function(elem,value){var parsed,curElem,backgroundColor="";if(value!=="transparent"&&(FlixjQ.type(value)!=="string"||(parsed=stringParse(value)))){value=color(parsed||value);if(!support.rgba&&value._rgba[3]!==1){curElem=hook==="backgroundColor"?elem.parentNode:elem;while((backgroundColor===""||backgroundColor==="transparent")&&curElem&&curElem.style){try{backgroundColor=FlixjQ.css(curElem,"backgroundColor");curElem=curElem.parentNode}catch(e){}}value=value.blend(backgroundColor&&backgroundColor!=="transparent"?backgroundColor:"_default")}value=value.toRgbaString()}try{elem.style[hook]=value}catch(e){}}};FlixjQ.fx.step[hook]=function(fx){if(!fx.colorInit){fx.start=color(fx.elem,hook);fx.end=color(fx.end);fx.colorInit=true}FlixjQ.cssHooks[hook].set(fx.elem,fx.start.transition(fx.end,fx.pos))}})};color.hook(stepHooks);FlixjQ.cssHooks.borderColor={expand:function(value){var expanded={};each(["Top","Right","Bottom","Left"],function(i,part){expanded["border"+part+"Color"]=value});return expanded}};colors=FlixjQ.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}})(FlixjQ);(function(){var classAnimationActions=["add","remove","toggle"],shorthandStyles={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};$.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(_,prop){$.fx.step[prop]=function(fx){if(fx.end!=="none"&&!fx.setAttr||fx.pos===1&&!fx.setAttr){FlixjQ.style(fx.elem,prop,fx.end);fx.setAttr=true}}});function getElementStyles(elem){var key,len,style=elem.ownerDocument.defaultView?elem.ownerDocument.defaultView.getComputedStyle(elem,null):elem.currentStyle,styles={};if(style&&style.length&&style[0]&&style[style[0]]){len=style.length;while(len--){key=style[len];if(typeof style[key]==="string"){styles[$.camelCase(key)]=style[key]}}}else{for(key in style){if(typeof style[key]==="string"){styles[key]=style[key]}}}return styles}function styleDifference(oldStyle,newStyle){var diff={},name,value;for(name in newStyle){value=newStyle[name];if(oldStyle[name]!==value){if(!shorthandStyles[name]){if($.fx.step[name]||!isNaN(parseFloat(value))){diff[name]=value}}}}return diff}if(!$.fn.addBack){$.fn.addBack=function(selector){return this.add(selector==null?this.prevObject:this.prevObject.filter(selector))}}$.effects.animateClass=function(value,duration,easing,callback){var o=$.speed(duration,easing,callback);return this.queue(function(){var animated=$(this),baseClass=animated.attr("class")||"",applyClassChange,allAnimations=o.children?animated.find("*").addBack():animated;allAnimations=allAnimations.map(function(){var el=$(this);return{el:el,start:getElementStyles(this)}});applyClassChange=function(){$.each(classAnimationActions,function(i,action){if(value[action]){animated[action+"Class"](value[action])}})};applyClassChange();allAnimations=allAnimations.map(function(){this.end=getElementStyles(this.el[0]);this.diff=styleDifference(this.start,this.end);return this});animated.attr("class",baseClass);allAnimations=allAnimations.map(function(){var styleInfo=this,dfd=$.Deferred(),opts=$.extend({},o,{queue:false,complete:function(){dfd.resolve(styleInfo)}});this.el.animate(this.diff,opts);return dfd.promise()});$.when.apply($,allAnimations.get()).done(function(){applyClassChange();$.each(arguments,function(){var el=this.el;$.each(this.diff,function(key){el.css(key,"")})});o.complete.call(animated[0])})})};$.fn.extend({addClass:(function(orig){return function(classNames,speed,easing,callback){return speed?$.effects.animateClass.call(this,{add:classNames},speed,easing,callback):orig.apply(this,arguments)}})($.fn.addClass),removeClass:(function(orig){return function(classNames,speed,easing,callback){return arguments.length>1?$.effects.animateClass.call(this,{remove:classNames},speed,easing,callback):orig.apply(this,arguments)}})($.fn.removeClass),toggleClass:(function(orig){return function(classNames,force,speed,easing,callback){if(typeof force==="boolean"||force===undefined){if(!speed){return orig.apply(this,arguments)}else{return $.effects.animateClass.call(this,(force?{add:classNames}:{remove:classNames}),speed,easing,callback)}}else{return $.effects.animateClass.call(this,{toggle:classNames},force,speed,easing)}}})($.fn.toggleClass),switchClass:function(remove,add,speed,easing,callback){return $.effects.animateClass.call(this,{add:add,remove:remove},speed,easing,callback)}})})();(function(){$.extend($.effects,{version:"1.10.3",save:function(element,set){for(var i=0;i<set.length;i++){if(set[i]!==null){element.data(dataSpace+set[i],element[0].style[set[i]])}}},restore:function(element,set){var val,i;for(i=0;i<set.length;i++){if(set[i]!==null){val=element.data(dataSpace+set[i]);if(val===undefined){val=""}element.css(set[i],val)}}},setMode:function(el,mode){if(mode==="toggle"){mode=el.is(":hidden")?"show":"hide"}return mode},getBaseline:function(origin,original){var y,x;switch(origin[0]){case"top":y=0;break;case"middle":y=0.5;break;case"bottom":y=1;break;default:y=origin[0]/original.height}switch(origin[1]){case"left":x=0;break;case"center":x=0.5;break;case"right":x=1;break;default:x=origin[1]/original.width}return{x:x,y:y}},createWrapper:function(element){if(element.parent().is(".flix_ui-effects-wrapper")){return element.parent()}var props={width:element.outerWidth(true),height:element.outerHeight(true),"float":element.css("float")},wrapper=$("<div></div>").addClass("flix_ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),size={width:element.width(),height:element.height()},active=document.activeElement;try{active.id}catch(e){active=document.body}element.wrap(wrapper);if(element[0]===active||$.contains(element[0],active)){$(active).focus()}wrapper=element.parent();if(element.css("position")==="static"){wrapper.css({position:"relative"});element.css({position:"relative"})}else{$.extend(props,{position:element.css("position"),zIndex:element.css("z-index")});$.each(["top","left","bottom","right"],function(i,pos){props[pos]=element.css(pos);if(isNaN(parseInt(props[pos],10))){props[pos]="auto"}});element.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}element.css(size);return wrapper.css(props).show()},removeWrapper:function(element){var active=document.activeElement;if(element.parent().is(".flix_ui-effects-wrapper")){element.parent().replaceWith(element);if(element[0]===active||$.contains(element[0],active)){$(active).focus()}}return element},setTransition:function(element,list,factor,value){value=value||{};$.each(list,function(i,x){var unit=element.cssUnit(x);if(unit[0]>0){value[x]=unit[0]*factor+unit[1]}});return value}});function _normalizeArguments(effect,options,speed,callback){if($.isPlainObject(effect)){options=effect;effect=effect.effect}effect={effect:effect};if(options==null){options={}}if($.isFunction(options)){callback=options;speed=null;options={}}if(typeof options==="number"||$.fx.speeds[options]){callback=speed;speed=options;options={}}if($.isFunction(speed)){callback=speed;speed=null}if(options){$.extend(effect,options)}speed=speed||options.duration;effect.duration=$.fx.off?0:typeof speed==="number"?speed:speed in $.fx.speeds?$.fx.speeds[speed]:$.fx.speeds._default;effect.complete=callback||options.complete;return effect}function standardAnimationOption(option){if(!option||typeof option==="number"||$.fx.speeds[option]){return true}if(typeof option==="string"&&!$.effects.effect[option]){return true}if($.isFunction(option)){return true}if(typeof option==="object"&&!option.effect){return true}return false}$.fn.extend({effect:function(){var args=_normalizeArguments.apply(this,arguments),mode=args.mode,queue=args.queue,effectMethod=$.effects.effect[args.effect];if($.fx.off||!effectMethod){if(mode){return this[mode](args.duration,args.complete)}else{return this.each(function(){if(args.complete){args.complete.call(this)}})}}function run(next){var elem=$(this),complete=args.complete,mode=args.mode;function done(){if($.isFunction(complete)){complete.call(elem[0])}if($.isFunction(next)){next()}}if(elem.is(":hidden")?mode==="hide":mode==="show"){elem[mode]();done()}else{effectMethod.call(elem[0],args,done)}}return queue===false?this.each(run):this.queue(queue||"fx",run)},show:(function(orig){return function(option){if(standardAnimationOption(option)){return orig.apply(this,arguments)}else{var args=_normalizeArguments.apply(this,arguments);args.mode="show";return this.effect.call(this,args)}}})($.fn.show),hide:(function(orig){return function(option){if(standardAnimationOption(option)){return orig.apply(this,arguments)}else{var args=_normalizeArguments.apply(this,arguments);args.mode="hide";return this.effect.call(this,args)}}})($.fn.hide),toggle:(function(orig){return function(option){if(standardAnimationOption(option)||typeof option==="boolean"){return orig.apply(this,arguments)}else{var args=_normalizeArguments.apply(this,arguments);args.mode="toggle";return this.effect.call(this,args)}}})($.fn.toggle),cssUnit:function(key){var style=this.css(key),val=[];$.each(["em","px","%","pt"],function(i,unit){if(style.indexOf(unit)>0){val=[parseFloat(style),unit]}});return val}})})();(function(){var baseEasings={};$.each(["Quad","Cubic","Quart","Quint","Expo"],function(i,name){baseEasings[name]=function(p){return Math.pow(p,i+2)}});$.extend(baseEasings,{Sine:function(p){return 1-Math.cos(p*Math.PI/2)},Circ:function(p){return 1-Math.sqrt(1-p*p)},Elastic:function(p){return p===0||p===1?p:-Math.pow(2,8*(p-1))*Math.sin(((p-1)*80-7.5)*Math.PI/15)},Back:function(p){return p*p*(3*p-2)},Bounce:function(p){var pow2,bounce=4;while(p<((pow2=Math.pow(2,--bounce))-1)/11){}return 1/Math.pow(4,3-bounce)-7.5625*Math.pow((pow2*3-2)/22-p,2)}});$.each(baseEasings,function(name,easeIn){$.easing["easeIn"+name]=easeIn;$.easing["easeOut"+name]=function(p){return 1-easeIn(1-p)};$.easing["easeInOut"+name]=function(p){return p<0.5?easeIn(p*2)/2:1-easeIn(p*-2+2)/2}})})()})(FlixjQ);(function($,undefined){var uid=0,hideProps={},showProps={};hideProps.height=hideProps.paddingTop=hideProps.paddingBottom=hideProps.borderTopWidth=hideProps.borderBottomWidth="hide";showProps.height=showProps.paddingTop=showProps.paddingBottom=showProps.borderTopWidth=showProps.borderBottomWidth="show";$.widget("ui.accordion",{version:"1.10.3",options:{active:0,animate:{},collapsible:false,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"flix_ui-icon-triangle-1-s",header:"flix_ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var options=this.options;this.prevShow=this.prevHide=$();this.element.addClass("flix_ui-accordion flix_ui-widget flix_ui-helper-reset").attr("role","tablist");if(!options.collapsible&&(options.active===false||options.active==null)){options.active=0}this._processPanels();if(options.active<0){options.active+=this.headers.length}this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:!this.active.length?$():this.active.next(),content:!this.active.length?$():this.active.next()}},_createIcons:function(){var icons=this.options.icons;if(icons){$("<span>").addClass("flix_ui-accordion-header-icon flix_ui-icon "+icons.header).prependTo(this.headers);this.active.children(".flix_ui-accordion-header-icon").removeClass(icons.header).addClass(icons.activeHeader);this.headers.addClass("flix_ui-accordion-icons")}},_destroyIcons:function(){this.headers.removeClass("flix_ui-accordion-icons").children(".flix_ui-accordion-header-icon").remove()},_destroy:function(){var contents;this.element.removeClass("flix_ui-accordion flix_ui-widget flix_ui-helper-reset").removeAttr("role");this.headers.removeClass("flix_ui-accordion-header flix_ui-accordion-header-active flix_ui-helper-reset flix_ui-state-default flix_ui-corner-all flix_ui-state-active flix_ui-state-disabled flix_ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){if(/^flix_ui-accordion/.test(this.id)){this.removeAttribute("id")}});this._destroyIcons();contents=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("flix_ui-helper-reset flix_ui-widget-content flix_ui-corner-bottom flix_ui-accordion-content flix_ui-accordion-content-active flix_ui-state-disabled").each(function(){if(/^flix_ui-accordion/.test(this.id)){this.removeAttribute("id")}});if(this.options.heightStyle!=="content"){contents.css("height","")}},_setOption:function(key,value){if(key==="active"){this._activate(value);return}if(key==="event"){if(this.options.event){this._off(this.headers,this.options.event)}this._setupEvents(value)}this._super(key,value);if(key==="collapsible"&&!value&&this.options.active===false){this._activate(0)}if(key==="icons"){this._destroyIcons();if(value){this._createIcons()}}if(key==="disabled"){this.headers.add(this.headers.next()).toggleClass("flix_ui-state-disabled",!!value)}},_keydown:function(event){if(event.altKey||event.ctrlKey){return}var keyCode=$.ui.keyCode,length=this.headers.length,currentIndex=this.headers.index(event.target),toFocus=false;switch(event.keyCode){case keyCode.RIGHT:case keyCode.DOWN:toFocus=this.headers[(currentIndex+1)%length];break;case keyCode.LEFT:case keyCode.UP:toFocus=this.headers[(currentIndex-1+length)%length];break;case keyCode.SPACE:case keyCode.ENTER:this._eventHandler(event);break;case keyCode.HOME:toFocus=this.headers[0];break;case keyCode.END:toFocus=this.headers[length-1];break}if(toFocus){$(event.target).attr("tabIndex",-1);$(toFocus).attr("tabIndex",0);toFocus.focus();event.preventDefault()}},_panelKeyDown:function(event){if(event.keyCode===$.ui.keyCode.UP&&event.ctrlKey){$(event.currentTarget).prev().focus()}},refresh:function(){var options=this.options;this._processPanels();if((options.active===false&&options.collapsible===true)||!this.headers.length){options.active=false;this.active=$()}else if(options.active===false){this._activate(0)}else if(this.active.length&&!$.contains(this.element[0],this.active[0])){if(this.headers.length===this.headers.find(".flix_ui-state-disabled").length){options.active=false;this.active=$()}else{this._activate(Math.max(0,options.active-1))}}else{options.active=this.headers.index(this.active)}this._destroyIcons();this._refresh()},_processPanels:function(){this.headers=this.element.find(this.options.header).addClass("flix_ui-accordion-header flix_ui-helper-reset flix_ui-state-default flix_ui-corner-all");this.headers.next().addClass("flix_ui-accordion-content flix_ui-helper-reset flix_ui-widget-content flix_ui-corner-bottom").filter(":not(.flix_ui-accordion-content-active)").hide()},_refresh:function(){var maxHeight,options=this.options,heightStyle=options.heightStyle,parent=this.element.parent(),accordionId=this.accordionId="flix_ui-accordion-"+(this.element.attr("id")||++uid);this.active=this._findActive(options.active).addClass("flix_ui-accordion-header-active flix_ui-state-active flix_ui-corner-top").removeClass("flix_ui-corner-all");this.active.next().addClass("flix_ui-accordion-content-active").show();this.headers.attr("role","tab").each(function(i){var header=$(this),headerId=header.attr("id"),panel=header.next(),panelId=panel.attr("id");if(!headerId){headerId=accordionId+"-header-"+i;header.attr("id",headerId)}if(!panelId){panelId=accordionId+"-panel-"+i;panel.attr("id",panelId)}header.attr("aria-controls",panelId);panel.attr("aria-labelledby",headerId)}).next().attr("role","tabpanel");this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide();if(!this.active.length){this.headers.eq(0).attr("tabIndex",0)}else{this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"})}this._createIcons();this._setupEvents(options.event);if(heightStyle==="fill"){maxHeight=parent.height();this.element.siblings(":visible").each(function(){var elem=$(this),position=elem.css("position");if(position==="absolute"||position==="fixed"){return}maxHeight-=elem.outerHeight(true)});this.headers.each(function(){maxHeight-=$(this).outerHeight(true)});this.headers.next().each(function(){$(this).height(Math.max(0,maxHeight-$(this).innerHeight()+$(this).height()))}).css("overflow","auto")}else if(heightStyle==="auto"){maxHeight=0;this.headers.next().each(function(){maxHeight=Math.max(maxHeight,$(this).css("height","").height())}).height(maxHeight)}},_activate:function(index){var active=this._findActive(index)[0];if(active===this.active[0]){return}active=active||this.active[0];this._eventHandler({target:active,currentTarget:active,preventDefault:$.noop})},_findActive:function(selector){return typeof selector==="number"?this.headers.eq(selector):$()},_setupEvents:function(event){var events={keydown:"_keydown"};if(event){$.each(event.split(" "),function(index,eventName){events[eventName]="_eventHandler"})}this._off(this.headers.add(this.headers.next()));this._on(this.headers,events);this._on(this.headers.next(),{keydown:"_panelKeyDown"});this._hoverable(this.headers);this._focusable(this.headers)},_eventHandler:function(event){var options=this.options,active=this.active,clicked=$(event.currentTarget),clickedIsActive=clicked[0]===active[0],collapsing=clickedIsActive&&options.collapsible,toShow=collapsing?$():clicked.next(),toHide=active.next(),eventData={oldHeader:active,oldPanel:toHide,newHeader:collapsing?$():clicked,newPanel:toShow};event.preventDefault();if((clickedIsActive&&!options.collapsible)||(this._trigger("beforeActivate",event,eventData)===false)){return}options.active=collapsing?false:this.headers.index(clicked);this.active=clickedIsActive?$():clicked;this._toggle(eventData);active.removeClass("flix_ui-accordion-header-active flix_ui-state-active");if(options.icons){active.children(".flix_ui-accordion-header-icon").removeClass(options.icons.activeHeader).addClass(options.icons.header)}if(!clickedIsActive){clicked.removeClass("flix_ui-corner-all").addClass("flix_ui-accordion-header-active flix_ui-state-active flix_ui-corner-top");if(options.icons){clicked.children(".flix_ui-accordion-header-icon").removeClass(options.icons.header).addClass(options.icons.activeHeader)}clicked.next().addClass("flix_ui-accordion-content-active")}},_toggle:function(data){var toShow=data.newPanel,toHide=this.prevShow.length?this.prevShow:data.oldPanel;this.prevShow.add(this.prevHide).stop(true,true);this.prevShow=toShow;this.prevHide=toHide;if(this.options.animate){this._animate(toShow,toHide,data)}else{toHide.hide();toShow.show();this._toggleComplete(data)}toHide.attr({"aria-expanded":"false","aria-hidden":"true"});toHide.prev().attr("aria-selected","false");if(toShow.length&&toHide.length){toHide.prev().attr("tabIndex",-1)}else if(toShow.length){this.headers.filter(function(){return $(this).attr("tabIndex")===0}).attr("tabIndex",-1)}toShow.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(toShow,toHide,data){var total,easing,duration,that=this,adjust=0,down=toShow.length&&(!toHide.length||(toShow.index()<toHide.index())),animate=this.options.animate||{},options=down&&animate.down||animate,complete=function(){that._toggleComplete(data)};if(typeof options==="number"){duration=options}if(typeof options==="string"){easing=options}easing=easing||options.easing||animate.easing;duration=duration||options.duration||animate.duration;if(!toHide.length){return toShow.animate(showProps,duration,easing,complete)}if(!toShow.length){return toHide.animate(hideProps,duration,easing,complete)}total=toShow.show().outerHeight();toHide.animate(hideProps,{duration:duration,easing:easing,step:function(now,fx){fx.now=Math.round(now)}});toShow.hide().animate(showProps,{duration:duration,easing:easing,complete:complete,step:function(now,fx){fx.now=Math.round(now);if(fx.prop!=="height"){adjust+=fx.now}else if(that.options.heightStyle!=="content"){fx.now=Math.round(total-toHide.outerHeight()-adjust);adjust=0}}})},_toggleComplete:function(data){var toHide=data.oldPanel;toHide.removeClass("flix_ui-accordion-content-active").prev().removeClass("flix_ui-corner-top").addClass("flix_ui-corner-all");if(toHide.length){toHide.parent()[0].className=toHide.parent()[0].className}this._trigger("activate",null,data)}})})(FlixjQ);(function($,undefined){var requestIndex=0;$.widget("ui.autocomplete",{version:"1.10.3",defaultElement:"<input>",options:{appendTo:null,autoFocus:false,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var suppressKeyPress,suppressKeyPressRepeat,suppressInput,nodeName=this.element[0].nodeName.toLowerCase(),isTextarea=nodeName==="textarea",isInput=nodeName==="input";this.isMultiLine=isTextarea?true:isInput?false:this.element.prop("isContentEditable");this.valueMethod=this.element[isTextarea||isInput?"val":"text"];this.isNewMenu=true;this.element.addClass("flix_ui-autocomplete-input").attr("autocomplete","off");this._on(this.element,{keydown:function(event){if(this.element.prop("readOnly")){suppressKeyPress=true;suppressInput=true;suppressKeyPressRepeat=true;return}suppressKeyPress=false;suppressInput=false;suppressKeyPressRepeat=false;var keyCode=$.ui.keyCode;switch(event.keyCode){case keyCode.PAGE_UP:suppressKeyPress=true;this._move("previousPage",event);break;case keyCode.PAGE_DOWN:suppressKeyPress=true;this._move("nextPage",event);break;case keyCode.UP:suppressKeyPress=true;this._keyEvent("previous",event);break;case keyCode.DOWN:suppressKeyPress=true;this._keyEvent("next",event);break;case keyCode.ENTER:case keyCode.NUMPAD_ENTER:if(this.menu.active){suppressKeyPress=true;event.preventDefault();this.menu.select(event)}break;case keyCode.TAB:if(this.menu.active){this.menu.select(event)}break;case keyCode.ESCAPE:if(this.menu.element.is(":visible")){this._value(this.term);this.close(event);event.preventDefault()}break;default:suppressKeyPressRepeat=true;this._searchTimeout(event);break}},keypress:function(event){if(suppressKeyPress){suppressKeyPress=false;if(!this.isMultiLine||this.menu.element.is(":visible")){event.preventDefault()}return}if(suppressKeyPressRepeat){return}var keyCode=$.ui.keyCode;switch(event.keyCode){case keyCode.PAGE_UP:this._move("previousPage",event);break;case keyCode.PAGE_DOWN:this._move("nextPage",event);break;case keyCode.UP:this._keyEvent("previous",event);break;case keyCode.DOWN:this._keyEvent("next",event);break}},input:function(event){if(suppressInput){suppressInput=false;event.preventDefault();return}this._searchTimeout(event)},focus:function(){this.selectedItem=null;this.previous=this._value()},blur:function(event){if(this.cancelBlur){delete this.cancelBlur;return}clearTimeout(this.searching);this.close(event);this._change(event)}});this._initSource();this.menu=$("<ul>").addClass("flix_ui-autocomplete flix_ui-front").appendTo(this._appendTo()).menu({role:null}).hide().data("flix_ui-menu");this._on(this.menu.element,{mousedown:function(event){event.preventDefault();this.cancelBlur=true;this._delay(function(){delete this.cancelBlur});var menuElement=this.menu.element[0];if(!$(event.target).closest(".flix_ui-menu-item").length){this._delay(function(){var that=this;this.document.one("mousedown",function(event){if(event.target!==that.element[0]&&event.target!==menuElement&&!$.contains(menuElement,event.target)){that.close()}})})}},menufocus:function(event,ui){if(this.isNewMenu){this.isNewMenu=false;if(event.originalEvent&&/^mouse/.test(event.originalEvent.type)){this.menu.blur();this.document.one("mousemove",function(){$(event.target).trigger(event.originalEvent)});return}}var item=ui.item.data("flix_ui-autocomplete-item");if(false!==this._trigger("focus",event,{item:item})){if(event.originalEvent&&/^key/.test(event.originalEvent.type)){this._value(item.value)}}else{this.liveRegion.text(item.value)}},menuselect:function(event,ui){var item=ui.item.data("flix_ui-autocomplete-item"),previous=this.previous;if(this.element[0]!==this.document[0].activeElement){this.element.focus();this.previous=previous;this._delay(function(){this.previous=previous;this.selectedItem=item})}if(false!==this._trigger("select",event,{item:item})){this._value(item.value)}this.term=this._value();this.close(event);this.selectedItem=item}});this.liveRegion=$("<span>",{role:"status","aria-live":"polite"}).addClass("flix_ui-helper-hidden-accessible").insertBefore(this.element);this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching);this.element.removeClass("flix_ui-autocomplete-input").removeAttr("autocomplete");this.menu.element.remove();this.liveRegion.remove()},_setOption:function(key,value){this._super(key,value);if(key==="source"){this._initSource()}if(key==="appendTo"){this.menu.element.appendTo(this._appendTo())}if(key==="disabled"&&value&&this.xhr){this.xhr.abort()}},_appendTo:function(){var element=this.options.appendTo;if(element){element=element.FlixjQ||element.nodeType?$(element):this.document.find(element).eq(0)}if(!element){element=this.element.closest(".flix_ui-front")}if(!element.length){element=this.document[0].body}return element},_initSource:function(){var array,url,that=this;if($.isArray(this.options.source)){array=this.options.source;this.source=function(request,response){response($.ui.autocomplete.filter(array,request.term))}}else if(typeof this.options.source==="string"){url=this.options.source;this.source=function(request,response){if(that.xhr){that.xhr.abort()}that.xhr=$.ajax({url:url,data:request,dataType:"json",success:function(data){response(data)},error:function(){response([])}})}}else{this.source=this.options.source}},_searchTimeout:function(event){clearTimeout(this.searching);this.searching=this._delay(function(){if(this.term!==this._value()){this.selectedItem=null;this.search(null,event)}},this.options.delay)},search:function(value,event){value=value!=null?value:this._value();this.term=this._value();if(value.length<this.options.minLength){return this.close(event)}if(this._trigger("search",event)===false){return}return this._search(value)},_search:function(value){this.pending++;this.element.addClass("flix_ui-autocomplete-loading");this.cancelSearch=false;this.source({term:value},this._response())},_response:function(){var that=this,index=++requestIndex;return function(content){if(index===requestIndex){that.__response(content)}that.pending--;if(!that.pending){that.element.removeClass("flix_ui-autocomplete-loading")}}},__response:function(content){if(content){content=this._normalize(content)}this._trigger("response",null,{content:content});if(!this.options.disabled&&content&&content.length&&!this.cancelSearch){this._suggest(content);this._trigger("open")}else{this._close()}},close:function(event){this.cancelSearch=true;this._close(event)},_close:function(event){if(this.menu.element.is(":visible")){this.menu.element.hide();this.menu.blur();this.isNewMenu=true;this._trigger("close",event)}},_change:function(event){if(this.previous!==this._value()){this._trigger("change",event,{item:this.selectedItem})}},_normalize:function(items){if(items.length&&items[0].label&&items[0].value){return items}return $.map(items,function(item){if(typeof item==="string"){return{label:item,value:item}}return $.extend({label:item.label||item.value,value:item.value||item.label},item)})},_suggest:function(items){var ul=this.menu.element.empty();this._renderMenu(ul,items);this.isNewMenu=true;this.menu.refresh();ul.show();this._resizeMenu();ul.position($.extend({of:this.element},this.options.position));if(this.options.autoFocus){this.menu.next()}},_resizeMenu:function(){var ul=this.menu.element;ul.outerWidth(Math.max(ul.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(ul,items){var that=this;$.each(items,function(index,item){that._renderItemData(ul,item)})},_renderItemData:function(ul,item){return this._renderItem(ul,item).data("flix_ui-autocomplete-item",item)},_renderItem:function(ul,item){return $("<li>").append($("<a>").text(item.label)).appendTo(ul)},_move:function(direction,event){if(!this.menu.element.is(":visible")){this.search(null,event);return}if(this.menu.isFirstItem()&&/^previous/.test(direction)||this.menu.isLastItem()&&/^next/.test(direction)){this._value(this.term);this.menu.blur();return}this.menu[direction](event)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(keyEvent,event){if(!this.isMultiLine||this.menu.element.is(":visible")){this._move(keyEvent,event);event.preventDefault()}}});$.extend($.ui.autocomplete,{escapeRegex:function(value){return value.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(array,term){var matcher=new RegExp($.ui.autocomplete.escapeRegex(term),"i");return $.grep(array,function(value){return matcher.test(value.label||value.value||value)})}});$.widget("ui.autocomplete",$.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(amount){return amount+(amount>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(content){var message;this._superApply(arguments);if(this.options.disabled||this.cancelSearch){return}if(content&&content.length){message=this.options.messages.results(content.length)}else{message=this.options.messages.noResults}this.liveRegion.text(message)}})}(FlixjQ));(function($,undefined){var lastActive,startXPos,startYPos,clickDragged,baseClasses="flix_ui-button flix_ui-widget flix_ui-state-default flix_ui-corner-all",stateClasses="flix_ui-state-hover flix_ui-state-active ",typeClasses="flix_ui-button-icons-only flix_ui-button-icon-only flix_ui-button-text-icons flix_ui-button-text-icon-primary flix_ui-button-text-icon-secondary flix_ui-button-text-only",formResetHandler=function(){var form=$(this);setTimeout(function(){form.find(":flix_ui-button").button("refresh")},1)},radioGroup=function(radio){var name=radio.name,form=radio.form,radios=$([]);if(name){name=name.replace(/'/g,"\\'");if(form){radios=$(form).find("[name='"+name+"']")}else{radios=$("[name='"+name+"']",radio.ownerDocument).filter(function(){return!this.form})}}return radios};$.widget("ui.button",{version:"1.10.3",defaultElement:"<button>",options:{disabled:null,text:true,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,formResetHandler);if(typeof this.options.disabled!=="boolean"){this.options.disabled=!!this.element.prop("disabled")}else{this.element.prop("disabled",this.options.disabled)}this._determineButtonType();this.hasTitle=!!this.buttonElement.attr("title");var that=this,options=this.options,toggleButton=this.type==="checkbox"||this.type==="radio",activeClass=!toggleButton?"flix_ui-state-active":"",focusClass="flix_ui-state-focus";if(options.label===null){options.label=(this.type==="input"?this.buttonElement.val():this.buttonElement.html())}this._hoverable(this.buttonElement);this.buttonElement.addClass(baseClasses).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){if(options.disabled){return}if(this===lastActive){$(this).addClass("flix_ui-state-active")}}).bind("mouseleave"+this.eventNamespace,function(){if(options.disabled){return}$(this).removeClass(activeClass)}).bind("click"+this.eventNamespace,function(event){if(options.disabled){event.preventDefault();event.stopImmediatePropagation()}});this.element.bind("focus"+this.eventNamespace,function(){that.buttonElement.addClass(focusClass)}).bind("blur"+this.eventNamespace,function(){that.buttonElement.removeClass(focusClass)});if(toggleButton){this.element.bind("change"+this.eventNamespace,function(){if(clickDragged){return}that.refresh()});this.buttonElement.bind("mousedown"+this.eventNamespace,function(event){if(options.disabled){return}clickDragged=false;startXPos=event.pageX;startYPos=event.pageY}).bind("mouseup"+this.eventNamespace,function(event){if(options.disabled){return}if(startXPos!==event.pageX||startYPos!==event.pageY){clickDragged=true}})}if(this.type==="checkbox"){this.buttonElement.bind("click"+this.eventNamespace,function(){if(options.disabled||clickDragged){return false}})}else if(this.type==="radio"){this.buttonElement.bind("click"+this.eventNamespace,function(){if(options.disabled||clickDragged){return false}$(this).addClass("flix_ui-state-active");that.buttonElement.attr("aria-pressed","true");var radio=that.element[0];radioGroup(radio).not(radio).map(function(){return $(this).button("widget")[0]}).removeClass("flix_ui-state-active").attr("aria-pressed","false")})}else{this.buttonElement.bind("mousedown"+this.eventNamespace,function(){if(options.disabled){return false}$(this).addClass("flix_ui-state-active");lastActive=this;that.document.one("mouseup",function(){lastActive=null})}).bind("mouseup"+this.eventNamespace,function(){if(options.disabled){return false}$(this).removeClass("flix_ui-state-active")}).bind("keydown"+this.eventNamespace,function(event){if(options.disabled){return false}if(event.keyCode===$.ui.keyCode.SPACE||event.keyCode===$.ui.keyCode.ENTER){$(this).addClass("flix_ui-state-active")}}).bind("keyup"+this.eventNamespace+" blur"+this.eventNamespace,function(){$(this).removeClass("flix_ui-state-active")});if(this.buttonElement.is("a")){this.buttonElement.keyup(function(event){if(event.keyCode===$.ui.keyCode.SPACE){$(this).click()}})}}this._setOption("disabled",options.disabled);this._resetButton()},_determineButtonType:function(){var ancestor,labelSelector,checked;if(this.element.is("[type=checkbox]")){this.type="checkbox"}else if(this.element.is("[type=radio]")){this.type="radio"}else if(this.element.is("input")){this.type="input"}else{this.type="button"}if(this.type==="checkbox"||this.type==="radio"){ancestor=this.element.parents().last();labelSelector="label[for='"+this.element.attr("id")+"']";this.buttonElement=ancestor.find(labelSelector);if(!this.buttonElement.length){ancestor=ancestor.length?ancestor.siblings():this.element.siblings();this.buttonElement=ancestor.filter(labelSelector);if(!this.buttonElement.length){this.buttonElement=ancestor.find(labelSelector)}}this.element.addClass("flix_ui-helper-hidden-accessible");checked=this.element.is(":checked");if(checked){this.buttonElement.addClass("flix_ui-state-active")}this.buttonElement.prop("aria-pressed",checked)}else{this.buttonElement=this.element}},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass("flix_ui-helper-hidden-accessible");this.buttonElement.removeClass(baseClasses+" "+stateClasses+" "+typeClasses).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".flix_ui-button-text").html());if(!this.hasTitle){this.buttonElement.removeAttr("title")}},_setOption:function(key,value){this._super(key,value);if(key==="disabled"){if(value){this.element.prop("disabled",true)}else{this.element.prop("disabled",false)}return}this._resetButton()},refresh:function(){var isDisabled=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("flix_ui-button-disabled");if(isDisabled!==this.options.disabled){this._setOption("disabled",isDisabled)}if(this.type==="radio"){radioGroup(this.element[0]).each(function(){if($(this).is(":checked")){$(this).button("widget").addClass("flix_ui-state-active").attr("aria-pressed","true")}else{$(this).button("widget").removeClass("flix_ui-state-active").attr("aria-pressed","false")}})}else if(this.type==="checkbox"){if(this.element.is(":checked")){this.buttonElement.addClass("flix_ui-state-active").attr("aria-pressed","true")}else{this.buttonElement.removeClass("flix_ui-state-active").attr("aria-pressed","false")}}},_resetButton:function(){if(this.type==="input"){if(this.options.label){this.element.val(this.options.label)}return}var buttonElement=this.buttonElement.removeClass(typeClasses),buttonText=$("<span></span>",this.document[0]).addClass("flix_ui-button-text").html(this.options.label).appendTo(buttonElement.empty()).text(),icons=this.options.icons,multipleIcons=icons.primary&&icons.secondary,buttonClasses=[];if(icons.primary||icons.secondary){if(this.options.text){buttonClasses.push("flix_ui-button-text-icon"+(multipleIcons?"s":(icons.primary?"-primary":"-secondary")))}if(icons.primary){buttonElement.prepend("<span class='flix_ui-button-icon-primary flix_ui-icon "+icons.primary+"'></span>")}if(icons.secondary){buttonElement.append("<span class='flix_ui-button-icon-secondary flix_ui-icon "+icons.secondary+"'></span>")}if(!this.options.text){buttonClasses.push(multipleIcons?"flix_ui-button-icons-only":"flix_ui-button-icon-only");if(!this.hasTitle){buttonElement.attr("title",$.trim(buttonText))}}}else{buttonClasses.push("flix_ui-button-text-only")}buttonElement.addClass(buttonClasses.join(" "))}});$.widget("ui.buttonset",{version:"1.10.3",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(flix_ui-button)"},_create:function(){this.element.addClass("flix_ui-buttonset")},_init:function(){this.refresh()},_setOption:function(key,value){if(key==="disabled"){this.buttons.button("option",key,value)}this._super(key,value)},refresh:function(){var rtl=this.element.css("direction")==="rtl";this.buttons=this.element.find(this.options.items).filter(":flix_ui-button").button("refresh").end().not(":flix_ui-button").button().end().map(function(){return $(this).button("widget")[0]}).removeClass("flix_ui-corner-all flix_ui-corner-left flix_ui-corner-right").filter(":first").addClass(rtl?"flix_ui-corner-right":"flix_ui-corner-left").end().filter(":last").addClass(rtl?"flix_ui-corner-left":"flix_ui-corner-right").end().end()},_destroy:function(){this.element.removeClass("flix_ui-buttonset");this.buttons.map(function(){return $(this).button("widget")[0]}).removeClass("flix_ui-corner-left flix_ui-corner-right").end().button("destroy")}})}(FlixjQ));(function($,undefined){$.extend($.ui,{datepicker:{version:"1.10.3"}});var PROP_NAME="datepicker",instActive;function Datepicker(){this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._datepickerShowing=false;this._inDialog=false;this._mainDivId="flix_ui-datepicker-div";this._inlineClass="flix_ui-datepicker-inline";this._appendClass="flix_ui-datepicker-append";this._triggerClass="flix_ui-datepicker-trigger";this._dialogClass="flix_ui-datepicker-dialog";this._disableClass="flix_ui-datepicker-disabled";this._unselectableClass="flix_ui-datepicker-unselectable";this._currentClass="flix_ui-datepicker-current-day";this._dayOverClass="flix_ui-datepicker-days-cell-over";this.regional=[];this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:false,showMonthAfterYear:false,yearSuffix:""};this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,yearRange:"c-10:c+10",showOtherMonths:false,selectOtherMonths:false,showWeek:false,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:true,showButtonPanel:false,autoSize:false,disabled:false};$.extend(this._defaults,this.regional[""]);this.dpDiv=bindHover($("<div id='"+this._mainDivId+"' class='flix_ui-datepicker flix_ui-widget flix_ui-widget-content flix_ui-helper-clearfix flix_ui-corner-all'></div>"))}$.extend(Datepicker.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(settings){extendRemove(this._defaults,settings||{});return this},_attachDatepicker:function(target,settings){var nodeName,inline,inst;nodeName=target.nodeName.toLowerCase();inline=(nodeName==="div"||nodeName==="span");if(!target.id){this.uuid+=1;target.id="dp"+this.uuid}inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{});if(nodeName==="input"){this._connectDatepicker(target,inst)}else if(inline){this._inlineDatepicker(target,inst)}},_newInst:function(target,inline){var id=target[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:id,input:target,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:inline,dpDiv:(!inline?this.dpDiv:bindHover($("<div class='"+this._inlineClass+" flix_ui-datepicker flix_ui-widget flix_ui-widget-content flix_ui-helper-clearfix flix_ui-corner-all'></div>")))}},_connectDatepicker:function(target,inst){var input=$(target);inst.append=$([]);inst.trigger=$([]);if(input.hasClass(this.markerClassName)){return}this._attachments(input,inst);input.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp);this._autoSize(inst);$.data(target,PROP_NAME,inst);if(inst.settings.disabled){this._disableDatepicker(target)}},_attachments:function(input,inst){var showOn,buttonText,buttonImage,appendText=this._get(inst,"appendText"),isRTL=this._get(inst,"isRTL");if(inst.append){inst.append.remove()}if(appendText){inst.append=$("<span class='"+this._appendClass+"'>"+appendText+"</span>");input[isRTL?"before":"after"](inst.append)}input.unbind("focus",this._showDatepicker);if(inst.trigger){inst.trigger.remove()}showOn=this._get(inst,"showOn");if(showOn==="focus"||showOn==="both"){input.focus(this._showDatepicker)}if(showOn==="button"||showOn==="both"){buttonText=this._get(inst,"buttonText");buttonImage=this._get(inst,"buttonImage");inst.trigger=$(this._get(inst,"buttonImageOnly")?$("<img/>").addClass(this._triggerClass).attr({src:buttonImage,alt:buttonText,title:buttonText}):$("<button type='button'></button>").addClass(this._triggerClass).html(!buttonImage?buttonText:$("<img/>").attr({src:buttonImage,alt:buttonText,title:buttonText})));input[isRTL?"before":"after"](inst.trigger);inst.trigger.click(function(){if($.datepicker._datepickerShowing&&$.datepicker._lastInput===input[0]){$.datepicker._hideDatepicker()}else if($.datepicker._datepickerShowing&&$.datepicker._lastInput!==input[0]){$.datepicker._hideDatepicker();$.datepicker._showDatepicker(input[0])}else{$.datepicker._showDatepicker(input[0])}return false})}},_autoSize:function(inst){if(this._get(inst,"autoSize")&&!inst.inline){var findMax,max,maxI,i,date=new Date(2009,12-1,20),dateFormat=this._get(inst,"dateFormat");if(dateFormat.match(/[DM]/)){findMax=function(names){max=0;maxI=0;for(i=0;i<names.length;i++){if(names[i].length>max){max=names[i].length;maxI=i}}return maxI};date.setMonth(findMax(this._get(inst,(dateFormat.match(/MM/)?"monthNames":"monthNamesShort"))));date.setDate(findMax(this._get(inst,(dateFormat.match(/DD/)?"dayNames":"dayNamesShort")))+20-date.getDay())}inst.input.attr("size",this._formatDate(inst,date).length)}},_inlineDatepicker:function(target,inst){var divSpan=$(target);if(divSpan.hasClass(this.markerClassName)){return}divSpan.addClass(this.markerClassName).append(inst.dpDiv);$.data(target,PROP_NAME,inst);this._setDate(inst,this._getDefaultDate(inst),true);this._updateDatepicker(inst);this._updateAlternate(inst);if(inst.settings.disabled){this._disableDatepicker(target)}inst.dpDiv.css("display","block")},_dialogDatepicker:function(input,date,onSelect,settings,pos){var id,browserWidth,browserHeight,scrollX,scrollY,inst=this._dialogInst;if(!inst){this.uuid+=1;id="dp"+this.uuid;this._dialogInput=$("<input type='text' id='"+id+"' style='position: absolute; top: -100px; width: 0px;'/>");this._dialogInput.keydown(this._doKeyDown);$("body").append(this._dialogInput);inst=this._dialogInst=this._newInst(this._dialogInput,false);inst.settings={};$.data(this._dialogInput[0],PROP_NAME,inst)}extendRemove(inst.settings,settings||{});date=(date&&date.constructor===Date?this._formatDate(inst,date):date);this._dialogInput.val(date);this._pos=(pos?(pos.length?pos:[pos.pageX,pos.pageY]):null);if(!this._pos){browserWidth=document.documentElement.clientWidth;browserHeight=document.documentElement.clientHeight;scrollX=document.documentElement.scrollLeft||document.body.scrollLeft;scrollY=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[(browserWidth/2)-100+scrollX,(browserHeight/2)-150+scrollY]}this._dialogInput.css("left",(this._pos[0]+20)+"px").css("top",this._pos[1]+"px");inst.settings.onSelect=onSelect;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);if($.blockUI){$.blockUI(this.dpDiv)}$.data(this._dialogInput[0],PROP_NAME,inst);return this},_destroyDatepicker:function(target){var nodeName,$target=$(target),inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}nodeName=target.nodeName.toLowerCase();$.removeData(target,PROP_NAME);if(nodeName==="input"){inst.append.remove();inst.trigger.remove();$target.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)}else if(nodeName==="div"||nodeName==="span"){$target.removeClass(this.markerClassName).empty()}},_enableDatepicker:function(target){var nodeName,inline,$target=$(target),inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}nodeName=target.nodeName.toLowerCase();if(nodeName==="input"){target.disabled=false;inst.trigger.filter("button").each(function(){this.disabled=false}).end().filter("img").css({opacity:"1.0",cursor:""})}else if(nodeName==="div"||nodeName==="span"){inline=$target.children("."+this._inlineClass);inline.children().removeClass("flix_ui-state-disabled");inline.find("select.flix_ui-datepicker-month, select.flix_ui-datepicker-year").prop("disabled",false)}this._disabledInputs=$.map(this._disabledInputs,function(value){return(value===target?null:value)})},_disableDatepicker:function(target){var nodeName,inline,$target=$(target),inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}nodeName=target.nodeName.toLowerCase();if(nodeName==="input"){target.disabled=true;inst.trigger.filter("button").each(function(){this.disabled=true}).end().filter("img").css({opacity:"0.5",cursor:"default"})}else if(nodeName==="div"||nodeName==="span"){inline=$target.children("."+this._inlineClass);inline.children().addClass("flix_ui-state-disabled");inline.find("select.flix_ui-datepicker-month, select.flix_ui-datepicker-year").prop("disabled",true)}this._disabledInputs=$.map(this._disabledInputs,function(value){return(value===target?null:value)});this._disabledInputs[this._disabledInputs.length]=target},_isDisabledDatepicker:function(target){if(!target){return false}for(var i=0;i<this._disabledInputs.length;i++){if(this._disabledInputs[i]===target){return true}}return false},_getInst:function(target){try{return $.data(target,PROP_NAME)}catch(err){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(target,name,value){var settings,date,minDate,maxDate,inst=this._getInst(target);if(arguments.length===2&&typeof name==="string"){return(name==="defaults"?$.extend({},$.datepicker._defaults):(inst?(name==="all"?$.extend({},inst.settings):this._get(inst,name)):null))}settings=name||{};if(typeof name==="string"){settings={};settings[name]=value}if(inst){if(this._curInst===inst){this._hideDatepicker()}date=this._getDateDatepicker(target,true);minDate=this._getMinMaxDate(inst,"min");maxDate=this._getMinMaxDate(inst,"max");extendRemove(inst.settings,settings);if(minDate!==null&&settings.dateFormat!==undefined&&settings.minDate===undefined){inst.settings.minDate=this._formatDate(inst,minDate)}if(maxDate!==null&&settings.dateFormat!==undefined&&settings.maxDate===undefined){inst.settings.maxDate=this._formatDate(inst,maxDate)}if("disabled"in settings){if(settings.disabled){this._disableDatepicker(target)}else{this._enableDatepicker(target)}}this._attachments($(target),inst);this._autoSize(inst);this._setDate(inst,date);this._updateAlternate(inst);this._updateDatepicker(inst)}},_changeDatepicker:function(target,name,value){this._optionDatepicker(target,name,value)},_refreshDatepicker:function(target){var inst=this._getInst(target);if(inst){this._updateDatepicker(inst)}},_setDateDatepicker:function(target,date){var inst=this._getInst(target);if(inst){this._setDate(inst,date);this._updateDatepicker(inst);this._updateAlternate(inst)}},_getDateDatepicker:function(target,noDefault){var inst=this._getInst(target);if(inst&&!inst.inline){this._setDateFromField(inst,noDefault)}return(inst?this._getDate(inst):null)},_doKeyDown:function(event){var onSelect,dateStr,sel,inst=$.datepicker._getInst(event.target),handled=true,isRTL=inst.dpDiv.is(".flix_ui-datepicker-rtl");inst._keyEvent=true;if($.datepicker._datepickerShowing){switch(event.keyCode){case 9:$.datepicker._hideDatepicker();handled=false;break;case 13:sel=$("td."+$.datepicker._dayOverClass+":not(."+$.datepicker._currentClass+")",inst.dpDiv);if(sel[0]){$.datepicker._selectDay(event.target,inst.selectedMonth,inst.selectedYear,sel[0])}onSelect=$.datepicker._get(inst,"onSelect");if(onSelect){dateStr=$.datepicker._formatDate(inst);onSelect.apply((inst.input?inst.input[0]:null),[dateStr,inst])}else{$.datepicker._hideDatepicker()}return false;case 27:$.datepicker._hideDatepicker();break;case 33:$.datepicker._adjustDate(event.target,(event.ctrlKey?-$.datepicker._get(inst,"stepBigMonths"):-$.datepicker._get(inst,"stepMonths")),"M");break;case 34:$.datepicker._adjustDate(event.target,(event.ctrlKey?+$.datepicker._get(inst,"stepBigMonths"):+$.datepicker._get(inst,"stepMonths")),"M");break;case 35:if(event.ctrlKey||event.metaKey){$.datepicker._clearDate(event.target)}handled=event.ctrlKey||event.metaKey;break;case 36:if(event.ctrlKey||event.metaKey){$.datepicker._gotoToday(event.target)}handled=event.ctrlKey||event.metaKey;break;case 37:if(event.ctrlKey||event.metaKey){$.datepicker._adjustDate(event.target,(isRTL?+1:-1),"D")}handled=event.ctrlKey||event.metaKey;if(event.originalEvent.altKey){$.datepicker._adjustDate(event.target,(event.ctrlKey?-$.datepicker._get(inst,"stepBigMonths"):-$.datepicker._get(inst,"stepMonths")),"M")}break;case 38:if(event.ctrlKey||event.metaKey){$.datepicker._adjustDate(event.target,-7,"D")}handled=event.ctrlKey||event.metaKey;break;case 39:if(event.ctrlKey||event.metaKey){$.datepicker._adjustDate(event.target,(isRTL?-1:+1),"D")}handled=event.ctrlKey||event.metaKey;if(event.originalEvent.altKey){$.datepicker._adjustDate(event.target,(event.ctrlKey?+$.datepicker._get(inst,"stepBigMonths"):+$.datepicker._get(inst,"stepMonths")),"M")}break;case 40:if(event.ctrlKey||event.metaKey){$.datepicker._adjustDate(event.target,+7,"D")}handled=event.ctrlKey||event.metaKey;break;default:handled=false}}else if(event.keyCode===36&&event.ctrlKey){$.datepicker._showDatepicker(this)}else{handled=false}if(handled){event.preventDefault();event.stopPropagation()}},_doKeyPress:function(event){var chars,chr,inst=$.datepicker._getInst(event.target);if($.datepicker._get(inst,"constrainInput")){chars=$.datepicker._possibleChars($.datepicker._get(inst,"dateFormat"));chr=String.fromCharCode(event.charCode==null?event.keyCode:event.charCode);return event.ctrlKey||event.metaKey||(chr<" "||!chars||chars.indexOf(chr)>-1)}},_doKeyUp:function(event){var date,inst=$.datepicker._getInst(event.target);if(inst.input.val()!==inst.lastVal){try{date=$.datepicker.parseDate($.datepicker._get(inst,"dateFormat"),(inst.input?inst.input.val():null),$.datepicker._getFormatConfig(inst));if(date){$.datepicker._setDateFromField(inst);$.datepicker._updateAlternate(inst);$.datepicker._updateDatepicker(inst)}}catch(err){}}return true},_showDatepicker:function(input){input=input.target||input;if(input.nodeName.toLowerCase()!=="input"){input=$("input",input.parentNode)[0]}if($.datepicker._isDisabledDatepicker(input)||$.datepicker._lastInput===input){return}var inst,beforeShow,beforeShowSettings,isFixed,offset,showAnim,duration;inst=$.datepicker._getInst(input);if($.datepicker._curInst&&$.datepicker._curInst!==inst){$.datepicker._curInst.dpDiv.stop(true,true);if(inst&&$.datepicker._datepickerShowing){$.datepicker._hideDatepicker($.datepicker._curInst.input[0])}}beforeShow=$.datepicker._get(inst,"beforeShow");beforeShowSettings=beforeShow?beforeShow.apply(input,[input,inst]):{};if(beforeShowSettings===false){return}extendRemove(inst.settings,beforeShowSettings);inst.lastVal=null;$.datepicker._lastInput=input;$.datepicker._setDateFromField(inst);if($.datepicker._inDialog){input.value=""}if(!$.datepicker._pos){$.datepicker._pos=$.datepicker._findPos(input);$.datepicker._pos[1]+=input.offsetHeight}isFixed=false;$(input).parents().each(function(){isFixed|=$(this).css("position")==="fixed";return!isFixed});offset={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};$.datepicker._pos=null;inst.dpDiv.empty();inst.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});$.datepicker._updateDatepicker(inst);offset=$.datepicker._checkOffset(inst,offset,isFixed);inst.dpDiv.css({position:($.datepicker._inDialog&&$.blockUI?"static":(isFixed?"fixed":"absolute")),display:"none",left:offset.left+"px",top:offset.top+"px"});if(!inst.inline){showAnim=$.datepicker._get(inst,"showAnim");duration=$.datepicker._get(inst,"duration");inst.dpDiv.zIndex($(input).zIndex()+1);$.datepicker._datepickerShowing=true;if($.effects&&$.effects.effect[showAnim]){inst.dpDiv.show(showAnim,$.datepicker._get(inst,"showOptions"),duration)}else{inst.dpDiv[showAnim||"show"](showAnim?duration:null)}if($.datepicker._shouldFocusInput(inst)){inst.input.focus()}$.datepicker._curInst=inst}},_updateDatepicker:function(inst){this.maxRows=4;instActive=inst;inst.dpDiv.empty().append(this._generateHTML(inst));this._attachHandlers(inst);inst.dpDiv.find("."+this._dayOverClass+" a").mouseover();var origyearshtml,numMonths=this._getNumberOfMonths(inst),cols=numMonths[1],width=17;inst.dpDiv.removeClass("flix_ui-datepicker-multi-2 flix_ui-datepicker-multi-3 flix_ui-datepicker-multi-4").width("");if(cols>1){inst.dpDiv.addClass("flix_ui-datepicker-multi-"+cols).css("width",(width*cols)+"em")}inst.dpDiv[(numMonths[0]!==1||numMonths[1]!==1?"add":"remove")+"Class"]("flix_ui-datepicker-multi");inst.dpDiv[(this._get(inst,"isRTL")?"add":"remove")+"Class"]("flix_ui-datepicker-rtl");if(inst===$.datepicker._curInst&&$.datepicker._datepickerShowing&&$.datepicker._shouldFocusInput(inst)){inst.input.focus()}if(inst.yearshtml){origyearshtml=inst.yearshtml;setTimeout(function(){if(origyearshtml===inst.yearshtml&&inst.yearshtml){inst.dpDiv.find("select.flix_ui-datepicker-year:first").replaceWith(inst.yearshtml)}origyearshtml=inst.yearshtml=null},0)}},_shouldFocusInput:function(inst){return inst.input&&inst.input.is(":visible")&&!inst.input.is(":disabled")&&!inst.input.is(":focus")},_checkOffset:function(inst,offset,isFixed){var dpWidth=inst.dpDiv.outerWidth(),dpHeight=inst.dpDiv.outerHeight(),inputWidth=inst.input?inst.input.outerWidth():0,inputHeight=inst.input?inst.input.outerHeight():0,viewWidth=document.documentElement.clientWidth+(isFixed?0:$(document).scrollLeft()),viewHeight=document.documentElement.clientHeight+(isFixed?0:$(document).scrollTop());offset.left-=(this._get(inst,"isRTL")?(dpWidth-inputWidth):0);offset.left-=(isFixed&&offset.left===inst.input.offset().left)?$(document).scrollLeft():0;offset.top-=(isFixed&&offset.top===(inst.input.offset().top+inputHeight))?$(document).scrollTop():0;offset.left-=Math.min(offset.left,(offset.left+dpWidth>viewWidth&&viewWidth>dpWidth)?Math.abs(offset.left+dpWidth-viewWidth):0);offset.top-=Math.min(offset.top,(offset.top+dpHeight>viewHeight&&viewHeight>dpHeight)?Math.abs(dpHeight+inputHeight):0);return offset},_findPos:function(obj){var position,inst=this._getInst(obj),isRTL=this._get(inst,"isRTL");while(obj&&(obj.type==="hidden"||obj.nodeType!==1||$.expr.filters.hidden(obj))){obj=obj[isRTL?"previousSibling":"nextSibling"]}position=$(obj).offset();return[position.left,position.top]},_hideDatepicker:function(input){var showAnim,duration,postProcess,onClose,inst=this._curInst;if(!inst||(input&&inst!==$.data(input,PROP_NAME))){return}if(this._datepickerShowing){showAnim=this._get(inst,"showAnim");duration=this._get(inst,"duration");postProcess=function(){$.datepicker._tidyDialog(inst)};if($.effects&&($.effects.effect[showAnim]||$.effects[showAnim])){inst.dpDiv.hide(showAnim,$.datepicker._get(inst,"showOptions"),duration,postProcess)}else{inst.dpDiv[(showAnim==="slideDown"?"slideUp":(showAnim==="fadeIn"?"fadeOut":"hide"))]((showAnim?duration:null),postProcess)}if(!showAnim){postProcess()}this._datepickerShowing=false;onClose=this._get(inst,"onClose");if(onClose){onClose.apply((inst.input?inst.input[0]:null),[(inst.input?inst.input.val():""),inst])}this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});if($.blockUI){$.unblockUI();$("body").append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(inst){inst.dpDiv.removeClass(this._dialogClass).unbind(".flix_ui-datepicker-calendar")},_checkExternalClick:function(event){if(!$.datepicker._curInst){return}var $target=$(event.target),inst=$.datepicker._getInst($target[0]);if((($target[0].id!==$.datepicker._mainDivId&&$target.parents("#"+$.datepicker._mainDivId).length===0&&!$target.hasClass($.datepicker.markerClassName)&&!$target.closest("."+$.datepicker._triggerClass).length&&$.datepicker._datepickerShowing&&!($.datepicker._inDialog&&$.blockUI)))||($target.hasClass($.datepicker.markerClassName)&&$.datepicker._curInst!==inst)){$.datepicker._hideDatepicker()}},_adjustDate:function(id,offset,period){var target=$(id),inst=this._getInst(target[0]);if(this._isDisabledDatepicker(target[0])){return}this._adjustInstDate(inst,offset+(period==="M"?this._get(inst,"showCurrentAtPos"):0),period);this._updateDatepicker(inst)},_gotoToday:function(id){var date,target=$(id),inst=this._getInst(target[0]);if(this._get(inst,"gotoCurrent")&&inst.currentDay){inst.selectedDay=inst.currentDay;inst.drawMonth=inst.selectedMonth=inst.currentMonth;inst.drawYear=inst.selectedYear=inst.currentYear}else{date=new Date();inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear()}this._notifyChange(inst);this._adjustDate(target)},_selectMonthYear:function(id,select,period){var target=$(id),inst=this._getInst(target[0]);inst["selected"+(period==="M"?"Month":"Year")]=inst["draw"+(period==="M"?"Month":"Year")]=parseInt(select.options[select.selectedIndex].value,10);this._notifyChange(inst);this._adjustDate(target)},_selectDay:function(id,month,year,td){var inst,target=$(id);if($(td).hasClass(this._unselectableClass)||this._isDisabledDatepicker(target[0])){return}inst=this._getInst(target[0]);inst.selectedDay=inst.currentDay=$("a",td).html();inst.selectedMonth=inst.currentMonth=month;inst.selectedYear=inst.currentYear=year;this._selectDate(id,this._formatDate(inst,inst.currentDay,inst.currentMonth,inst.currentYear))},_clearDate:function(id){var target=$(id);this._selectDate(target,"")},_selectDate:function(id,dateStr){var onSelect,target=$(id),inst=this._getInst(target[0]);dateStr=(dateStr!=null?dateStr:this._formatDate(inst));if(inst.input){inst.input.val(dateStr)}this._updateAlternate(inst);onSelect=this._get(inst,"onSelect");if(onSelect){onSelect.apply((inst.input?inst.input[0]:null),[dateStr,inst])}else if(inst.input){inst.input.trigger("change")}if(inst.inline){this._updateDatepicker(inst)}else{this._hideDatepicker();this._lastInput=inst.input[0];if(typeof(inst.input[0])!=="object"){inst.input.focus()}this._lastInput=null}},_updateAlternate:function(inst){var altFormat,date,dateStr,altField=this._get(inst,"altField");if(altField){altFormat=this._get(inst,"altFormat")||this._get(inst,"dateFormat");date=this._getDate(inst);dateStr=this.formatDate(altFormat,date,this._getFormatConfig(inst));$(altField).each(function(){$(this).val(dateStr)})}},noWeekends:function(date){var day=date.getDay();return[(day>0&&day<6),""]},iso8601Week:function(date){var time,checkDate=new Date(date.getTime());checkDate.setDate(checkDate.getDate()+4-(checkDate.getDay()||7));time=checkDate.getTime();checkDate.setMonth(0);checkDate.setDate(1);return Math.floor(Math.round((time-checkDate)/86400000)/7)+1},parseDate:function(format,value,settings){if(format==null||value==null){throw"Invalid arguments"}value=(typeof value==="object"?value.toString():value+"");if(value===""){return null}var iFormat,dim,extra,iValue=0,shortYearCutoffTemp=(settings?settings.shortYearCutoff:null)||this._defaults.shortYearCutoff,shortYearCutoff=(typeof shortYearCutoffTemp!=="string"?shortYearCutoffTemp:new Date().getFullYear()%100+parseInt(shortYearCutoffTemp,10)),dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort,dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames,monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort,monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames,year=-1,month=-1,day=-1,doy=-1,literal=false,date,lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)===match);if(matches){iFormat++}return matches},getNumber=function(match){var isDoubled=lookAhead(match),size=(match==="@"?14:(match==="!"?20:(match==="y"&&isDoubled?4:(match==="o"?3:2)))),digits=new RegExp("^\\d{1,"+size+"}"),num=value.substring(iValue).match(digits);if(!num){throw"Missing number at position "+iValue}iValue+=num[0].length;return parseInt(num[0],10)},getName=function(match,shortNames,longNames){var index=-1,names=$.map(lookAhead(match)?longNames:shortNames,function(v,k){return[[k,v]]}).sort(function(a,b){return-(a[1].length-b[1].length)});$.each(names,function(i,pair){var name=pair[1];if(value.substr(iValue,name.length).toLowerCase()===name.toLowerCase()){index=pair[0];iValue+=name.length;return false}});if(index!==-1){return index+1}else{throw"Unknown name at position "+iValue}},checkLiteral=function(){if(value.charAt(iValue)!==format.charAt(iFormat)){throw"Unexpected literal at position "+iValue}iValue++};for(iFormat=0;iFormat<format.length;iFormat++){if(literal){if(format.charAt(iFormat)==="'"&&!lookAhead("'")){literal=false}else{checkLiteral()}}else{switch(format.charAt(iFormat)){case"d":day=getNumber("d");break;case"D":getName("D",dayNamesShort,dayNames);break;case"o":doy=getNumber("o");break;case"m":month=getNumber("m");break;case"M":month=getName("M",monthNamesShort,monthNames);break;case"y":year=getNumber("y");break;case"@":date=new Date(getNumber("@"));year=date.getFullYear();month=date.getMonth()+1;day=date.getDate();break;case"!":date=new Date((getNumber("!")-this._ticksTo1970)/10000);year=date.getFullYear();month=date.getMonth()+1;day=date.getDate();break;case"'":if(lookAhead("'")){checkLiteral()}else{literal=true}break;default:checkLiteral()}}}if(iValue<value.length){extra=value.substr(iValue);if(!/^\s+/.test(extra)){throw"Extra/unparsed characters found in date: "+extra}}if(year===-1){year=new Date().getFullYear()}else if(year<100){year+=new Date().getFullYear()-new Date().getFullYear()%100+(year<=shortYearCutoff?0:-100)}if(doy>-1){month=1;day=doy;do{dim=this._getDaysInMonth(year,month-1);if(day<=dim){break}month++;day-=dim}while(true)}date=this._daylightSavingAdjust(new Date(year,month-1,day));if(date.getFullYear()!==year||date.getMonth()+1!==month||date.getDate()!==day){throw"Invalid date"}return date},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(((1970-1)*365+Math.floor(1970/4)-Math.floor(1970/100)+Math.floor(1970/400))*24*60*60*10000000),formatDate:function(format,date,settings){if(!date){return""}var iFormat,dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort,dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames,monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort,monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames,lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)===match);if(matches){iFormat++}return matches},formatNumber=function(match,value,len){var num=""+value;if(lookAhead(match)){while(num.length<len){num="0"+num}}return num},formatName=function(match,value,shortNames,longNames){return(lookAhead(match)?longNames[value]:shortNames[value])},output="",literal=false;if(date){for(iFormat=0;iFormat<format.length;iFormat++){if(literal){if(format.charAt(iFormat)==="'"&&!lookAhead("'")){literal=false}else{output+=format.charAt(iFormat)}}else{switch(format.charAt(iFormat)){case"d":output+=formatNumber("d",date.getDate(),2);break;case"D":output+=formatName("D",date.getDay(),dayNamesShort,dayNames);break;case"o":output+=formatNumber("o",Math.round((new Date(date.getFullYear(),date.getMonth(),date.getDate()).getTime()-new Date(date.getFullYear(),0,0).getTime())/86400000),3);break;case"m":output+=formatNumber("m",date.getMonth()+1,2);break;case"M":output+=formatName("M",date.getMonth(),monthNamesShort,monthNames);break;case"y":output+=(lookAhead("y")?date.getFullYear():(date.getYear()%100<10?"0":"")+date.getYear()%100);break;case"@":output+=date.getTime();break;case"!":output+=date.getTime()*10000+this._ticksTo1970;break;case"'":if(lookAhead("'")){output+="'"}else{literal=true}break;default:output+=format.charAt(iFormat)}}}}return output},_possibleChars:function(format){var iFormat,chars="",literal=false,lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)===match);if(matches){iFormat++}return matches};for(iFormat=0;iFormat<format.length;iFormat++){if(literal){if(format.charAt(iFormat)==="'"&&!lookAhead("'")){literal=false}else{chars+=format.charAt(iFormat)}}else{switch(format.charAt(iFormat)){case"d":case"m":case"y":case"@":chars+="0123456789";break;case"D":case"M":return null;case"'":if(lookAhead("'")){chars+="'"}else{literal=true}break;default:chars+=format.charAt(iFormat)}}}return chars},_get:function(inst,name){return inst.settings[name]!==undefined?inst.settings[name]:this._defaults[name]},_setDateFromField:function(inst,noDefault){if(inst.input.val()===inst.lastVal){return}var dateFormat=this._get(inst,"dateFormat"),dates=inst.lastVal=inst.input?inst.input.val():null,defaultDate=this._getDefaultDate(inst),date=defaultDate,settings=this._getFormatConfig(inst);try{date=this.parseDate(dateFormat,dates,settings)||defaultDate}catch(event){dates=(noDefault?"":dates)}inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();inst.currentDay=(dates?date.getDate():0);inst.currentMonth=(dates?date.getMonth():0);inst.currentYear=(dates?date.getFullYear():0);this._adjustInstDate(inst)},_getDefaultDate:function(inst){return this._restrictMinMax(inst,this._determineDate(inst,this._get(inst,"defaultDate"),new Date()))},_determineDate:function(inst,date,defaultDate){var offsetNumeric=function(offset){var date=new Date();date.setDate(date.getDate()+offset);return date},offsetString=function(offset){try{return $.datepicker.parseDate($.datepicker._get(inst,"dateFormat"),offset,$.datepicker._getFormatConfig(inst))}catch(e){}var date=(offset.toLowerCase().match(/^c/)?$.datepicker._getDate(inst):null)||new Date(),year=date.getFullYear(),month=date.getMonth(),day=date.getDate(),pattern=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,matches=pattern.exec(offset);while(matches){switch(matches[2]||"d"){case"d":case"D":day+=parseInt(matches[1],10);break;case"w":case"W":day+=parseInt(matches[1],10)*7;break;case"m":case"M":month+=parseInt(matches[1],10);day=Math.min(day,$.datepicker._getDaysInMonth(year,month));break;case"y":case"Y":year+=parseInt(matches[1],10);day=Math.min(day,$.datepicker._getDaysInMonth(year,month));break}matches=pattern.exec(offset)}return new Date(year,month,day)},newDate=(date==null||date===""?defaultDate:(typeof date==="string"?offsetString(date):(typeof date==="number"?(isNaN(date)?defaultDate:offsetNumeric(date)):new Date(date.getTime()))));newDate=(newDate&&newDate.toString()==="Invalid Date"?defaultDate:newDate);if(newDate){newDate.setHours(0);newDate.setMinutes(0);newDate.setSeconds(0);newDate.setMilliseconds(0)}return this._daylightSavingAdjust(newDate)},_daylightSavingAdjust:function(date){if(!date){return null}date.setHours(date.getHours()>12?date.getHours()+2:0);return date},_setDate:function(inst,date,noChange){var clear=!date,origMonth=inst.selectedMonth,origYear=inst.selectedYear,newDate=this._restrictMinMax(inst,this._determineDate(inst,date,new Date()));inst.selectedDay=inst.currentDay=newDate.getDate();inst.drawMonth=inst.selectedMonth=inst.currentMonth=newDate.getMonth();inst.drawYear=inst.selectedYear=inst.currentYear=newDate.getFullYear();if((origMonth!==inst.selectedMonth||origYear!==inst.selectedYear)&&!noChange){this._notifyChange(inst)}this._adjustInstDate(inst);if(inst.input){inst.input.val(clear?"":this._formatDate(inst))}},_getDate:function(inst){var startDate=(!inst.currentYear||(inst.input&&inst.input.val()==="")?null:this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return startDate},_attachHandlers:function(inst){var stepMonths=this._get(inst,"stepMonths"),id="#"+inst.id.replace(/\\\\/g,"\\");inst.dpDiv.find("[data-handler]").map(function(){var handler={prev:function(){$.datepicker._adjustDate(id,-stepMonths,"M")},next:function(){$.datepicker._adjustDate(id,+stepMonths,"M")},hide:function(){$.datepicker._hideDatepicker()},today:function(){$.datepicker._gotoToday(id)},selectDay:function(){$.datepicker._selectDay(id,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this);return false},selectMonth:function(){$.datepicker._selectMonthYear(id,this,"M");return false},selectYear:function(){$.datepicker._selectMonthYear(id,this,"Y");return false}};$(this).bind(this.getAttribute("data-event"),handler[this.getAttribute("data-handler")])})},_generateHTML:function(inst){var maxDraw,prevText,prev,nextText,next,currentText,gotoDate,controls,buttonPanel,firstDay,showWeek,dayNames,dayNamesMin,monthNames,monthNamesShort,beforeShowDay,showOtherMonths,selectOtherMonths,defaultDate,html,dow,row,group,col,selectedDate,cornerClass,calender,thead,day,daysInMonth,leadDays,curRows,numRows,printDate,dRow,tbody,daySettings,otherMonth,unselectable,tempDate=new Date(),today=this._daylightSavingAdjust(new Date(tempDate.getFullYear(),tempDate.getMonth(),tempDate.getDate())),isRTL=this._get(inst,"isRTL"),showButtonPanel=this._get(inst,"showButtonPanel"),hideIfNoPrevNext=this._get(inst,"hideIfNoPrevNext"),navigationAsDateFormat=this._get(inst,"navigationAsDateFormat"),numMonths=this._getNumberOfMonths(inst),showCurrentAtPos=this._get(inst,"showCurrentAtPos"),stepMonths=this._get(inst,"stepMonths"),isMultiMonth=(numMonths[0]!==1||numMonths[1]!==1),currentDate=this._daylightSavingAdjust((!inst.currentDay?new Date(9999,9,9):new Date(inst.currentYear,inst.currentMonth,inst.currentDay))),minDate=this._getMinMaxDate(inst,"min"),maxDate=this._getMinMaxDate(inst,"max"),drawMonth=inst.drawMonth-showCurrentAtPos,drawYear=inst.drawYear;if(drawMonth<0){drawMonth+=12;drawYear--}if(maxDate){maxDraw=this._daylightSavingAdjust(new Date(maxDate.getFullYear(),maxDate.getMonth()-(numMonths[0]*numMonths[1])+1,maxDate.getDate()));maxDraw=(minDate&&maxDraw<minDate?minDate:maxDraw);while(this._daylightSavingAdjust(new Date(drawYear,drawMonth,1))>maxDraw){drawMonth--;if(drawMonth<0){drawMonth=11;drawYear--}}}inst.drawMonth=drawMonth;inst.drawYear=drawYear;prevText=this._get(inst,"prevText");prevText=(!navigationAsDateFormat?prevText:this.formatDate(prevText,this._daylightSavingAdjust(new Date(drawYear,drawMonth-stepMonths,1)),this._getFormatConfig(inst)));prev=(this._canAdjustMonth(inst,-1,drawYear,drawMonth)?"<a class='flix_ui-datepicker-prev flix_ui-corner-all' data-handler='prev' data-event='click'"+" title='"+prevText+"'><span class='flix_ui-icon flix_ui-icon-circle-triangle-"+(isRTL?"e":"w")+"'>"+prevText+"</span></a>":(hideIfNoPrevNext?"":"<a class='flix_ui-datepicker-prev flix_ui-corner-all flix_ui-state-disabled' title='"+prevText+"'><span class='flix_ui-icon flix_ui-icon-circle-triangle-"+(isRTL?"e":"w")+"'>"+prevText+"</span></a>"));nextText=this._get(inst,"nextText");nextText=(!navigationAsDateFormat?nextText:this.formatDate(nextText,this._daylightSavingAdjust(new Date(drawYear,drawMonth+stepMonths,1)),this._getFormatConfig(inst)));next=(this._canAdjustMonth(inst,+1,drawYear,drawMonth)?"<a class='flix_ui-datepicker-next flix_ui-corner-all' data-handler='next' data-event='click'"+" title='"+nextText+"'><span class='flix_ui-icon flix_ui-icon-circle-triangle-"+(isRTL?"w":"e")+"'>"+nextText+"</span></a>":(hideIfNoPrevNext?"":"<a class='flix_ui-datepicker-next flix_ui-corner-all flix_ui-state-disabled' title='"+nextText+"'><span class='flix_ui-icon flix_ui-icon-circle-triangle-"+(isRTL?"w":"e")+"'>"+nextText+"</span></a>"));currentText=this._get(inst,"currentText");gotoDate=(this._get(inst,"gotoCurrent")&&inst.currentDay?currentDate:today);currentText=(!navigationAsDateFormat?currentText:this.formatDate(currentText,gotoDate,this._getFormatConfig(inst)));controls=(!inst.inline?"<button type='button' class='flix_ui-datepicker-close flix_ui-state-default flix_ui-priority-primary flix_ui-corner-all' data-handler='hide' data-event='click'>"+this._get(inst,"closeText")+"</button>":"");buttonPanel=(showButtonPanel)?"<div class='flix_ui-datepicker-buttonpane flix_ui-widget-content'>"+(isRTL?controls:"")+(this._isInRange(inst,gotoDate)?"<button type='button' class='flix_ui-datepicker-current flix_ui-state-default flix_ui-priority-secondary flix_ui-corner-all' data-handler='today' data-event='click'"+">"+currentText+"</button>":"")+(isRTL?"":controls)+"</div>":"";firstDay=parseInt(this._get(inst,"firstDay"),10);firstDay=(isNaN(firstDay)?0:firstDay);showWeek=this._get(inst,"showWeek");dayNames=this._get(inst,"dayNames");dayNamesMin=this._get(inst,"dayNamesMin");monthNames=this._get(inst,"monthNames");monthNamesShort=this._get(inst,"monthNamesShort");beforeShowDay=this._get(inst,"beforeShowDay");showOtherMonths=this._get(inst,"showOtherMonths");selectOtherMonths=this._get(inst,"selectOtherMonths");defaultDate=this._getDefaultDate(inst);html="";dow;for(row=0;row<numMonths[0];row++){group="";this.maxRows=4;for(col=0;col<numMonths[1];col++){selectedDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,inst.selectedDay));cornerClass=" flix_ui-corner-all";calender="";if(isMultiMonth){calender+="<div class='flix_ui-datepicker-group";if(numMonths[1]>1){switch(col){case 0:calender+=" flix_ui-datepicker-group-first";cornerClass=" flix_ui-corner-"+(isRTL?"right":"left");break;case numMonths[1]-1:calender+=" flix_ui-datepicker-group-last";cornerClass=" flix_ui-corner-"+(isRTL?"left":"right");break;default:calender+=" flix_ui-datepicker-group-middle";cornerClass="";break}}calender+="'>"}calender+="<div class='flix_ui-datepicker-header flix_ui-widget-header flix_ui-helper-clearfix"+cornerClass+"'>"+(/all|left/.test(cornerClass)&&row===0?(isRTL?next:prev):"")+(/all|right/.test(cornerClass)&&row===0?(isRTL?prev:next):"")+this._generateMonthYearHeader(inst,drawMonth,drawYear,minDate,maxDate,row>0||col>0,monthNames,monthNamesShort)+"</div><table class='flix_ui-datepicker-calendar'><thead>"+"<tr>";thead=(showWeek?"<th class='flix_ui-datepicker-week-col'>"+this._get(inst,"weekHeader")+"</th>":"");for(dow=0;dow<7;dow++){day=(dow+firstDay)%7;thead+="<th"+((dow+firstDay+6)%7>=5?" class='flix_ui-datepicker-week-end'":"")+">"+"<span title='"+dayNames[day]+"'>"+dayNamesMin[day]+"</span></th>"}calender+=thead+"</tr></thead><tbody>";daysInMonth=this._getDaysInMonth(drawYear,drawMonth);if(drawYear===inst.selectedYear&&drawMonth===inst.selectedMonth){inst.selectedDay=Math.min(inst.selectedDay,daysInMonth)}leadDays=(this._getFirstDayOfMonth(drawYear,drawMonth)-firstDay+7)%7;curRows=Math.ceil((leadDays+daysInMonth)/7);numRows=(isMultiMonth?this.maxRows>curRows?this.maxRows:curRows:curRows);this.maxRows=numRows;printDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,1-leadDays));for(dRow=0;dRow<numRows;dRow++){calender+="<tr>";tbody=(!showWeek?"":"<td class='flix_ui-datepicker-week-col'>"+this._get(inst,"calculateWeek")(printDate)+"</td>");for(dow=0;dow<7;dow++){daySettings=(beforeShowDay?beforeShowDay.apply((inst.input?inst.input[0]:null),[printDate]):[true,""]);otherMonth=(printDate.getMonth()!==drawMonth);unselectable=(otherMonth&&!selectOtherMonths)||!daySettings[0]||(minDate&&printDate<minDate)||(maxDate&&printDate>maxDate);tbody+="<td class='"+((dow+firstDay+6)%7>=5?" flix_ui-datepicker-week-end":"")+(otherMonth?" flix_ui-datepicker-other-month":"")+((printDate.getTime()===selectedDate.getTime()&&drawMonth===inst.selectedMonth&&inst._keyEvent)||(defaultDate.getTime()===printDate.getTime()&&defaultDate.getTime()===selectedDate.getTime())?" "+this._dayOverClass:"")+(unselectable?" "+this._unselectableClass+" flix_ui-state-disabled":"")+(otherMonth&&!showOtherMonths?"":" "+daySettings[1]+(printDate.getTime()===currentDate.getTime()?" "+this._currentClass:"")+(printDate.getTime()===today.getTime()?" flix_ui-datepicker-today":""))+"'"+((!otherMonth||showOtherMonths)&&daySettings[2]?" title='"+daySettings[2].replace(/'/g,"&#39;")+"'":"")+(unselectable?"":" data-handler='selectDay' data-event='click' data-month='"+printDate.getMonth()+"' data-year='"+printDate.getFullYear()+"'")+">"+(otherMonth&&!showOtherMonths?"&#xa0;":(unselectable?"<span class='flix_ui-state-default'>"+printDate.getDate()+"</span>":"<a class='flix_ui-state-default"+(printDate.getTime()===today.getTime()?" flix_ui-state-highlight":"")+(printDate.getTime()===currentDate.getTime()?" flix_ui-state-active":"")+(otherMonth?" flix_ui-priority-secondary":"")+"' href='#'>"+printDate.getDate()+"</a>"))+"</td>";printDate.setDate(printDate.getDate()+1);printDate=this._daylightSavingAdjust(printDate)}calender+=tbody+"</tr>"}drawMonth++;if(drawMonth>11){drawMonth=0;drawYear++}calender+="</tbody></table>"+(isMultiMonth?"</div>"+((numMonths[0]>0&&col===numMonths[1]-1)?"<div class='flix_ui-datepicker-row-break'></div>":""):"");group+=calender}html+=group}html+=buttonPanel;inst._keyEvent=false;return html},_generateMonthYearHeader:function(inst,drawMonth,drawYear,minDate,maxDate,secondary,monthNames,monthNamesShort){var inMinYear,inMaxYear,month,years,thisYear,determineYear,year,endYear,changeMonth=this._get(inst,"changeMonth"),changeYear=this._get(inst,"changeYear"),showMonthAfterYear=this._get(inst,"showMonthAfterYear"),html="<div class='flix_ui-datepicker-title'>",monthHtml="";if(secondary||!changeMonth){monthHtml+="<span class='flix_ui-datepicker-month'>"+monthNames[drawMonth]+"</span>"}else{inMinYear=(minDate&&minDate.getFullYear()===drawYear);inMaxYear=(maxDate&&maxDate.getFullYear()===drawYear);monthHtml+="<select class='flix_ui-datepicker-month' data-handler='selectMonth' data-event='change'>";for(month=0;month<12;month++){if((!inMinYear||month>=minDate.getMonth())&&(!inMaxYear||month<=maxDate.getMonth())){monthHtml+="<option value='"+month+"'"+(month===drawMonth?" selected='selected'":"")+">"+monthNamesShort[month]+"</option>"}}monthHtml+="</select>"}if(!showMonthAfterYear){html+=monthHtml+(secondary||!(changeMonth&&changeYear)?"&#xa0;":"")}if(!inst.yearshtml){inst.yearshtml="";if(secondary||!changeYear){html+="<span class='flix_ui-datepicker-year'>"+drawYear+"</span>"}else{years=this._get(inst,"yearRange").split(":");thisYear=new Date().getFullYear();determineYear=function(value){var year=(value.match(/c[+\-].*/)?drawYear+parseInt(value.substring(1),10):(value.match(/[+\-].*/)?thisYear+parseInt(value,10):parseInt(value,10)));return(isNaN(year)?thisYear:year)};year=determineYear(years[0]);endYear=Math.max(year,determineYear(years[1]||""));year=(minDate?Math.max(year,minDate.getFullYear()):year);endYear=(maxDate?Math.min(endYear,maxDate.getFullYear()):endYear);inst.yearshtml+="<select class='flix_ui-datepicker-year' data-handler='selectYear' data-event='change'>";for(;year<=endYear;year++){inst.yearshtml+="<option value='"+year+"'"+(year===drawYear?" selected='selected'":"")+">"+year+"</option>"}inst.yearshtml+="</select>";html+=inst.yearshtml;inst.yearshtml=null}}html+=this._get(inst,"yearSuffix");if(showMonthAfterYear){html+=(secondary||!(changeMonth&&changeYear)?"&#xa0;":"")+monthHtml}html+="</div>";return html},_adjustInstDate:function(inst,offset,period){var year=inst.drawYear+(period==="Y"?offset:0),month=inst.drawMonth+(period==="M"?offset:0),day=Math.min(inst.selectedDay,this._getDaysInMonth(year,month))+(period==="D"?offset:0),date=this._restrictMinMax(inst,this._daylightSavingAdjust(new Date(year,month,day)));inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();if(period==="M"||period==="Y"){this._notifyChange(inst)}},_restrictMinMax:function(inst,date){var minDate=this._getMinMaxDate(inst,"min"),maxDate=this._getMinMaxDate(inst,"max"),newDate=(minDate&&date<minDate?minDate:date);return(maxDate&&newDate>maxDate?maxDate:newDate)},_notifyChange:function(inst){var onChange=this._get(inst,"onChangeMonthYear");if(onChange){onChange.apply((inst.input?inst.input[0]:null),[inst.selectedYear,inst.selectedMonth+1,inst])}},_getNumberOfMonths:function(inst){var numMonths=this._get(inst,"numberOfMonths");return(numMonths==null?[1,1]:(typeof numMonths==="number"?[1,numMonths]:numMonths))},_getMinMaxDate:function(inst,minMax){return this._determineDate(inst,this._get(inst,minMax+"Date"),null)},_getDaysInMonth:function(year,month){return 32-this._daylightSavingAdjust(new Date(year,month,32)).getDate()},_getFirstDayOfMonth:function(year,month){return new Date(year,month,1).getDay()},_canAdjustMonth:function(inst,offset,curYear,curMonth){var numMonths=this._getNumberOfMonths(inst),date=this._daylightSavingAdjust(new Date(curYear,curMonth+(offset<0?offset:numMonths[0]*numMonths[1]),1));if(offset<0){date.setDate(this._getDaysInMonth(date.getFullYear(),date.getMonth()))}return this._isInRange(inst,date)},_isInRange:function(inst,date){var yearSplit,currentYear,minDate=this._getMinMaxDate(inst,"min"),maxDate=this._getMinMaxDate(inst,"max"),minYear=null,maxYear=null,years=this._get(inst,"yearRange");if(years){yearSplit=years.split(":");currentYear=new Date().getFullYear();minYear=parseInt(yearSplit[0],10);maxYear=parseInt(yearSplit[1],10);if(yearSplit[0].match(/[+\-].*/)){minYear+=currentYear}if(yearSplit[1].match(/[+\-].*/)){maxYear+=currentYear}}return((!minDate||date.getTime()>=minDate.getTime())&&(!maxDate||date.getTime()<=maxDate.getTime())&&(!minYear||date.getFullYear()>=minYear)&&(!maxYear||date.getFullYear()<=maxYear))},_getFormatConfig:function(inst){var shortYearCutoff=this._get(inst,"shortYearCutoff");shortYearCutoff=(typeof shortYearCutoff!=="string"?shortYearCutoff:new Date().getFullYear()%100+parseInt(shortYearCutoff,10));return{shortYearCutoff:shortYearCutoff,dayNamesShort:this._get(inst,"dayNamesShort"),dayNames:this._get(inst,"dayNames"),monthNamesShort:this._get(inst,"monthNamesShort"),monthNames:this._get(inst,"monthNames")}},_formatDate:function(inst,day,month,year){if(!day){inst.currentDay=inst.selectedDay;inst.currentMonth=inst.selectedMonth;inst.currentYear=inst.selectedYear}var date=(day?(typeof day==="object"?day:this._daylightSavingAdjust(new Date(year,month,day))):this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return this.formatDate(this._get(inst,"dateFormat"),date,this._getFormatConfig(inst))}});function bindHover(dpDiv){var selector="button, .flix_ui-datepicker-prev, .flix_ui-datepicker-next, .flix_ui-datepicker-calendar td a";return dpDiv.delegate(selector,"mouseout",function(){$(this).removeClass("flix_ui-state-hover");if(this.className.indexOf("flix_ui-datepicker-prev")!==-1){$(this).removeClass("flix_ui-datepicker-prev-hover")}if(this.className.indexOf("flix_ui-datepicker-next")!==-1){$(this).removeClass("flix_ui-datepicker-next-hover")}}).delegate(selector,"mouseover",function(){if(!$.datepicker._isDisabledDatepicker(instActive.inline?dpDiv.parent()[0]:instActive.input[0])){$(this).parents(".flix_ui-datepicker-calendar").find("a").removeClass("flix_ui-state-hover");$(this).addClass("flix_ui-state-hover");if(this.className.indexOf("flix_ui-datepicker-prev")!==-1){$(this).addClass("flix_ui-datepicker-prev-hover")}if(this.className.indexOf("flix_ui-datepicker-next")!==-1){$(this).addClass("flix_ui-datepicker-next-hover")}}})}function extendRemove(target,props){$.extend(target,props);for(var name in props){if(props[name]==null){target[name]=props[name]}}return target}$.fn.datepicker=function(options){if(!this.length){return this}if(!$.datepicker.initialized){$(document).mousedown($.datepicker._checkExternalClick);$.datepicker.initialized=true}if($("#"+$.datepicker._mainDivId).length===0){$("body").append($.datepicker.dpDiv)}var otherArgs=Array.prototype.slice.call(arguments,1);if(typeof options==="string"&&(options==="isDisabled"||options==="getDate"||options==="widget")){return $.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this[0]].concat(otherArgs))}if(options==="option"&&arguments.length===2&&typeof arguments[1]==="string"){return $.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this[0]].concat(otherArgs))}return this.each(function(){typeof options==="string"?$.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this].concat(otherArgs)):$.datepicker._attachDatepicker(this,options)})};$.datepicker=new Datepicker();$.datepicker.initialized=false;$.datepicker.uuid=new Date().getTime();$.datepicker.version="1.10.3"})(FlixjQ);(function($,undefined){var sizeRelatedOptions={buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},resizableRelatedOptions={maxHeight:true,maxWidth:true,minHeight:true,minWidth:true};$.widget("ui.dialog",{version:"1.10.3",options:{appendTo:"body",autoOpen:true,buttons:[],closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:false,position:{my:"center",at:"center",of:window,collision:"fit",using:function(pos){var topOffset=$(this).css(pos).offset().top;if(topOffset<0){$(this).css("top",pos.top-topOffset)}}},resizable:true,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height};this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)};this.originalTitle=this.element.attr("title");this.options.title=this.options.title||this.originalTitle;this._createWrapper();this.element.show().removeAttr("title").addClass("flix_ui-dialog-content flix_ui-widget-content").appendTo(this.uiDialog);this._createTitlebar();this._createButtonPane();if(this.options.draggable&&$.fn.draggable){this._makeDraggable()}if(this.options.resizable&&$.fn.resizable){this._makeResizable()}this._isOpen=false},_init:function(){if(this.options.autoOpen){this.open()}},_appendTo:function(){var element=this.options.appendTo;if(element&&(element.FlixjQ||element.nodeType)){return $(element)}return this.document.find(element||"body").eq(0)},_destroy:function(){var next,originalPosition=this.originalPosition;this._destroyOverlay();this.element.removeUniqueId().removeClass("flix_ui-dialog-content flix_ui-widget-content").css(this.originalCss).detach();this.uiDialog.stop(true,true).remove();if(this.originalTitle){this.element.attr("title",this.originalTitle)}next=originalPosition.parent.children().eq(originalPosition.index);if(next.length&&next[0]!==this.element[0]){next.before(this.element)}else{originalPosition.parent.append(this.element)}},widget:function(){return this.uiDialog},disable:$.noop,enable:$.noop,close:function(event){var that=this;if(!this._isOpen||this._trigger("beforeClose",event)===false){return}this._isOpen=false;this._destroyOverlay();if(!this.opener.filter(":focusable").focus().length){$(this.document[0].activeElement).blur()}this._hide(this.uiDialog,this.options.hide,function(){that._trigger("close",event)})},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(event,silent){var moved=!!this.uiDialog.nextAll(":visible").insertBefore(this.uiDialog).length;if(moved&&!silent){this._trigger("focus",event)}return moved},open:function(){var that=this;if(this._isOpen){if(this._moveToTop()){this._focusTabbable()}return}this._isOpen=true;this.opener=$(this.document[0].activeElement);this._size();this._position();this._createOverlay();this._moveToTop(null,true);this._show(this.uiDialog,this.options.show,function(){that._focusTabbable();that._trigger("focus")});this._trigger("open")},_focusTabbable:function(){var hasFocus=this.element.find("[autofocus]");if(!hasFocus.length){hasFocus=this.element.find(":tabbable")}if(!hasFocus.length){hasFocus=this.uiDialogButtonPane.find(":tabbable")}if(!hasFocus.length){hasFocus=this.uiDialogTitlebarClose.filter(":tabbable")}if(!hasFocus.length){hasFocus=this.uiDialog}hasFocus.eq(0).focus()},_keepFocus:function(event){function checkFocus(){var activeElement=this.document[0].activeElement,isActive=this.uiDialog[0]===activeElement||$.contains(this.uiDialog[0],activeElement);if(!isActive){this._focusTabbable()}}event.preventDefault();checkFocus.call(this);this._delay(checkFocus)},_createWrapper:function(){this.uiDialog=$("<div>").addClass("flix_ui-dialog flix_ui-widget flix_ui-widget-content flix_ui-corner-all flix_ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo());this._on(this.uiDialog,{keydown:function(event){if(this.options.closeOnEscape&&!event.isDefaultPrevented()&&event.keyCode&&event.keyCode===$.ui.keyCode.ESCAPE){event.preventDefault();this.close(event);return}if(event.keyCode!==$.ui.keyCode.TAB){return}var tabbables=this.uiDialog.find(":tabbable"),first=tabbables.filter(":first"),last=tabbables.filter(":last");if((event.target===last[0]||event.target===this.uiDialog[0])&&!event.shiftKey){first.focus(1);event.preventDefault()}else if((event.target===first[0]||event.target===this.uiDialog[0])&&event.shiftKey){last.focus(1);event.preventDefault()}},mousedown:function(event){if(this._moveToTop(event)){this._focusTabbable()}}});if(!this.element.find("[aria-describedby]").length){this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})}},_createTitlebar:function(){var uiDialogTitle;this.uiDialogTitlebar=$("<div>").addClass("flix_ui-dialog-titlebar flix_ui-widget-header flix_ui-corner-all flix_ui-helper-clearfix").prependTo(this.uiDialog);this._on(this.uiDialogTitlebar,{mousedown:function(event){if(!$(event.target).closest(".flix_ui-dialog-titlebar-close")){this.uiDialog.focus()}}});this.uiDialogTitlebarClose=$("<button></button>").button({label:this.options.closeText,icons:{primary:"flix_ui-icon-closethick"},text:false}).addClass("flix_ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar);this._on(this.uiDialogTitlebarClose,{click:function(event){event.preventDefault();this.close(event)}});uiDialogTitle=$("<span>").uniqueId().addClass("flix_ui-dialog-title").prependTo(this.uiDialogTitlebar);this._title(uiDialogTitle);this.uiDialog.attr({"aria-labelledby":uiDialogTitle.attr("id")})},_title:function(title){if(!this.options.title){title.html("&#160;")}title.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=$("<div>").addClass("flix_ui-dialog-buttonpane flix_ui-widget-content flix_ui-helper-clearfix");this.uiButtonSet=$("<div>").addClass("flix_ui-dialog-buttonset").appendTo(this.uiDialogButtonPane);this._createButtons()},_createButtons:function(){var that=this,buttons=this.options.buttons;this.uiDialogButtonPane.remove();this.uiButtonSet.empty();if($.isEmptyObject(buttons)||($.isArray(buttons)&&!buttons.length)){this.uiDialog.removeClass("flix_ui-dialog-buttons");return}$.each(buttons,function(name,props){var click,buttonOptions;props=$.isFunction(props)?{click:props,text:name}:props;props=$.extend({type:"button"},props);click=props.click;props.click=function(){click.apply(that.element[0],arguments)};buttonOptions={icons:props.icons,text:props.showText};delete props.icons;delete props.showText;$("<button></button>",props).button(buttonOptions).appendTo(that.uiButtonSet)});this.uiDialog.addClass("flix_ui-dialog-buttons");this.uiDialogButtonPane.appendTo(this.uiDialog)},_makeDraggable:function(){var that=this,options=this.options;function filteredUi(ui){return{position:ui.position,offset:ui.offset}}this.uiDialog.draggable({cancel:".flix_ui-dialog-content, .flix_ui-dialog-titlebar-close",handle:".flix_ui-dialog-titlebar",containment:"document",start:function(event,ui){$(this).addClass("flix_ui-dialog-dragging");that._blockFrames();that._trigger("dragStart",event,filteredUi(ui))},drag:function(event,ui){that._trigger("drag",event,filteredUi(ui))},stop:function(event,ui){options.position=[ui.position.left-that.document.scrollLeft(),ui.position.top-that.document.scrollTop()];$(this).removeClass("flix_ui-dialog-dragging");that._unblockFrames();that._trigger("dragStop",event,filteredUi(ui))}})},_makeResizable:function(){var that=this,options=this.options,handles=options.resizable,position=this.uiDialog.css("position"),resizeHandles=typeof handles==="string"?handles:"n,e,s,w,se,sw,ne,nw";function filteredUi(ui){return{originalPosition:ui.originalPosition,originalSize:ui.originalSize,position:ui.position,size:ui.size}}this.uiDialog.resizable({cancel:".flix_ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:options.maxWidth,maxHeight:options.maxHeight,minWidth:options.minWidth,minHeight:this._minHeight(),handles:resizeHandles,start:function(event,ui){$(this).addClass("flix_ui-dialog-resizing");that._blockFrames();that._trigger("resizeStart",event,filteredUi(ui))},resize:function(event,ui){that._trigger("resize",event,filteredUi(ui))},stop:function(event,ui){options.height=$(this).height();options.width=$(this).width();$(this).removeClass("flix_ui-dialog-resizing");that._unblockFrames();that._trigger("resizeStop",event,filteredUi(ui))}}).css("position",position)},_minHeight:function(){var options=this.options;return options.height==="auto"?options.minHeight:Math.min(options.minHeight,options.height)},_position:function(){var isVisible=this.uiDialog.is(":visible");if(!isVisible){this.uiDialog.show()}this.uiDialog.position(this.options.position);if(!isVisible){this.uiDialog.hide()}},_setOptions:function(options){var that=this,resize=false,resizableOptions={};$.each(options,function(key,value){that._setOption(key,value);if(key in sizeRelatedOptions){resize=true}if(key in resizableRelatedOptions){resizableOptions[key]=value}});if(resize){this._size();this._position()}if(this.uiDialog.is(":data(flix_ui-resizable)")){this.uiDialog.resizable("option",resizableOptions)}},_setOption:function(key,value){var isDraggable,isResizable,uiDialog=this.uiDialog;if(key==="dialogClass"){uiDialog.removeClass(this.options.dialogClass).addClass(value)}if(key==="disabled"){return}this._super(key,value);if(key==="appendTo"){this.uiDialog.appendTo(this._appendTo())}if(key==="buttons"){this._createButtons()}if(key==="closeText"){this.uiDialogTitlebarClose.button({label:""+value})}if(key==="draggable"){isDraggable=uiDialog.is(":data(flix_ui-draggable)");if(isDraggable&&!value){uiDialog.draggable("destroy")}if(!isDraggable&&value){this._makeDraggable()}}if(key==="position"){this._position()}if(key==="resizable"){isResizable=uiDialog.is(":data(flix_ui-resizable)");if(isResizable&&!value){uiDialog.resizable("destroy")}if(isResizable&&typeof value==="string"){uiDialog.resizable("option","handles",value)}if(!isResizable&&value!==false){this._makeResizable()}}if(key==="title"){this._title(this.uiDialogTitlebar.find(".flix_ui-dialog-title"))}},_size:function(){var nonContentHeight,minContentHeight,maxContentHeight,options=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0});if(options.minWidth>options.width){options.width=options.minWidth}nonContentHeight=this.uiDialog.css({height:"auto",width:options.width}).outerHeight();minContentHeight=Math.max(0,options.minHeight-nonContentHeight);maxContentHeight=typeof options.maxHeight==="number"?Math.max(0,options.maxHeight-nonContentHeight):"none";if(options.height==="auto"){this.element.css({minHeight:minContentHeight,maxHeight:maxContentHeight,height:"auto"})}else{this.element.height(Math.max(0,options.height-nonContentHeight))}if(this.uiDialog.is(":data(flix_ui-resizable)")){this.uiDialog.resizable("option","minHeight",this._minHeight())}},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var iframe=$(this);return $("<div>").css({position:"absolute",width:iframe.outerWidth(),height:iframe.outerHeight()}).appendTo(iframe.parent()).offset(iframe.offset())[0]})},_unblockFrames:function(){if(this.iframeBlocks){this.iframeBlocks.remove();delete this.iframeBlocks}},_allowInteraction:function(event){if($(event.target).closest(".flix_ui-dialog").length){return true}return!!$(event.target).closest(".flix_ui-datepicker").length},_createOverlay:function(){if(!this.options.modal){return}var that=this,widgetFullName=this.widgetFullName;if(!$.ui.dialog.overlayInstances){this._delay(function(){if($.ui.dialog.overlayInstances){this.document.bind("focusin.dialog",function(event){if(!that._allowInteraction(event)){event.preventDefault();$(".flix_ui-dialog:visible:last .flix_ui-dialog-content").data(widgetFullName)._focusTabbable()}})}})}this.overlay=$("<div>").addClass("flix_ui-widget-overlay flix_ui-front").appendTo(this._appendTo());this._on(this.overlay,{mousedown:"_keepFocus"});$.ui.dialog.overlayInstances++},_destroyOverlay:function(){if(!this.options.modal){return}if(this.overlay){$.ui.dialog.overlayInstances--;if(!$.ui.dialog.overlayInstances){this.document.unbind("focusin.dialog")}this.overlay.remove();this.overlay=null}}});$.ui.dialog.overlayInstances=0;if($.uiBackCompat!==false){$.widget("ui.dialog",$.ui.dialog,{_position:function(){var position=this.options.position,myAt=[],offset=[0,0],isVisible;if(position){if(typeof position==="string"||(typeof position==="object"&&"0"in position)){myAt=position.split?position.split(" "):[position[0],position[1]];if(myAt.length===1){myAt[1]=myAt[0]}$.each(["left","top"],function(i,offsetPosition){if(+myAt[i]===myAt[i]){offset[i]=myAt[i];myAt[i]=offsetPosition}});position={my:myAt[0]+(offset[0]<0?offset[0]:"+"+offset[0])+" "+myAt[1]+(offset[1]<0?offset[1]:"+"+offset[1]),at:myAt.join(" ")}}position=$.extend({},$.ui.dialog.prototype.options.position,position)}else{position=$.ui.dialog.prototype.options.position}isVisible=this.uiDialog.is(":visible");if(!isVisible){this.uiDialog.show()}this.uiDialog.position(position);if(!isVisible){this.uiDialog.hide()}}})}}(FlixjQ));(function($,undefined){var rvertical=/up|down|vertical/,rpositivemotion=/up|left|vertical|horizontal/;$.effects.effect.blind=function(o,done){var el=$(this),props=["position","top","bottom","left","right","height","width"],mode=$.effects.setMode(el,o.mode||"hide"),direction=o.direction||"up",vertical=rvertical.test(direction),ref=vertical?"height":"width",ref2=vertical?"top":"left",motion=rpositivemotion.test(direction),animation={},show=mode==="show",wrapper,distance,margin;if(el.parent().is(".flix_ui-effects-wrapper")){$.effects.save(el.parent(),props)}else{$.effects.save(el,props)}el.show();wrapper=$.effects.createWrapper(el).css({overflow:"hidden"});distance=wrapper[ref]();margin=parseFloat(wrapper.css(ref2))||0;animation[ref]=show?distance:0;if(!motion){el.css(vertical?"bottom":"right",0).css(vertical?"top":"left","auto").css({position:"absolute"});animation[ref2]=show?margin:distance+margin}if(show){wrapper.css(ref,0);if(!motion){wrapper.css(ref2,margin+distance)}}wrapper.animate(animation,{duration:o.duration,easing:o.easing,queue:false,complete:function(){if(mode==="hide"){el.hide()}$.effects.restore(el,props);$.effects.removeWrapper(el);done()}})}})(FlixjQ);(function($,undefined){$.effects.effect.bounce=function(o,done){var el=$(this),props=["position","top","bottom","left","right","height","width"],mode=$.effects.setMode(el,o.mode||"effect"),hide=mode==="hide",show=mode==="show",direction=o.direction||"up",distance=o.distance,times=o.times||5,anims=times*2+(show||hide?1:0),speed=o.duration/anims,easing=o.easing,ref=(direction==="up"||direction==="down")?"top":"left",motion=(direction==="up"||direction==="left"),i,upAnim,downAnim,queue=el.queue(),queuelen=queue.length;if(show||hide){props.push("opacity")}$.effects.save(el,props);el.show();$.effects.createWrapper(el);if(!distance){distance=el[ref==="top"?"outerHeight":"outerWidth"]()/3}if(show){downAnim={opacity:1};downAnim[ref]=0;el.css("opacity",0).css(ref,motion?-distance*2:distance*2).animate(downAnim,speed,easing)}if(hide){distance=distance/Math.pow(2,times-1)}downAnim={};downAnim[ref]=0;for(i=0;i<times;i++){upAnim={};upAnim[ref]=(motion?"-=":"+=")+distance;el.animate(upAnim,speed,easing).animate(downAnim,speed,easing);distance=hide?distance*2:distance/2}if(hide){upAnim={opacity:0};upAnim[ref]=(motion?"-=":"+=")+distance;el.animate(upAnim,speed,easing)}el.queue(function(){if(hide){el.hide()}$.effects.restore(el,props);$.effects.removeWrapper(el);done()});if(queuelen>1){queue.splice.apply(queue,[1,0].concat(queue.splice(queuelen,anims+1)))}el.dequeue()}})(FlixjQ);(function($,undefined){$.effects.effect.clip=function(o,done){var el=$(this),props=["position","top","bottom","left","right","height","width"],mode=$.effects.setMode(el,o.mode||"hide"),show=mode==="show",direction=o.direction||"vertical",vert=direction==="vertical",size=vert?"height":"width",position=vert?"top":"left",animation={},wrapper,animate,distance;$.effects.save(el,props);el.show();wrapper=$.effects.createWrapper(el).css({overflow:"hidden"});animate=(el[0].tagName==="IMG")?wrapper:el;distance=animate[size]();if(show){animate.css(size,0);animate.css(position,distance/2)}animation[size]=show?distance:0;animation[position]=show?0:distance/2;animate.animate(animation,{queue:false,duration:o.duration,easing:o.easing,complete:function(){if(!show){el.hide()}$.effects.restore(el,props);$.effects.removeWrapper(el);done()}})}})(FlixjQ);(function($,undefined){$.effects.effect.drop=function(o,done){var el=$(this),props=["position","top","bottom","left","right","opacity","height","width"],mode=$.effects.setMode(el,o.mode||"hide"),show=mode==="show",direction=o.direction||"left",ref=(direction==="up"||direction==="down")?"top":"left",motion=(direction==="up"||direction==="left")?"pos":"neg",animation={opacity:show?1:0},distance;$.effects.save(el,props);el.show();$.effects.createWrapper(el);distance=o.distance||el[ref==="top"?"outerHeight":"outerWidth"](true)/2;if(show){el.css("opacity",0).css(ref,motion==="pos"?-distance:distance)}animation[ref]=(show?(motion==="pos"?"+=":"-="):(motion==="pos"?"-=":"+="))+distance;el.animate(animation,{queue:false,duration:o.duration,easing:o.easing,complete:function(){if(mode==="hide"){el.hide()}$.effects.restore(el,props);$.effects.removeWrapper(el);done()}})}})(FlixjQ);(function($,undefined){$.effects.effect.explode=function(o,done){var rows=o.pieces?Math.round(Math.sqrt(o.pieces)):3,cells=rows,el=$(this),mode=$.effects.setMode(el,o.mode||"hide"),show=mode==="show",offset=el.show().css("visibility","hidden").offset(),width=Math.ceil(el.outerWidth()/cells),height=Math.ceil(el.outerHeight()/rows),pieces=[],i,j,left,top,mx,my;function childComplete(){pieces.push(this);if(pieces.length===rows*cells){animComplete()}}for(i=0;i<rows;i++){top=offset.top+i*height;my=i-(rows-1)/2;for(j=0;j<cells;j++){left=offset.left+j*width;mx=j-(cells-1)/2;el.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-j*width,top:-i*height}).parent().addClass("flix_ui-effects-explode").css({position:"absolute",overflow:"hidden",width:width,height:height,left:left+(show?mx*width:0),top:top+(show?my*height:0),opacity:show?0:1}).animate({left:left+(show?0:mx*width),top:top+(show?0:my*height),opacity:show?1:0},o.duration||500,o.easing,childComplete)}}function animComplete(){el.css({visibility:"visible"});$(pieces).remove();if(!show){el.hide()}done()}}})(FlixjQ);(function($,undefined){$.effects.effect.fade=function(o,done){var el=$(this),mode=$.effects.setMode(el,o.mode||"toggle");el.animate({opacity:mode},{queue:false,duration:o.duration,easing:o.easing,complete:done})}})(FlixjQ);(function($,undefined){$.effects.effect.fold=function(o,done){var el=$(this),props=["position","top","bottom","left","right","height","width"],mode=$.effects.setMode(el,o.mode||"hide"),show=mode==="show",hide=mode==="hide",size=o.size||15,percent=/([0-9]+)%/.exec(size),horizFirst=!!o.horizFirst,widthFirst=show!==horizFirst,ref=widthFirst?["width","height"]:["height","width"],duration=o.duration/2,wrapper,distance,animation1={},animation2={};$.effects.save(el,props);el.show();wrapper=$.effects.createWrapper(el).css({overflow:"hidden"});distance=widthFirst?[wrapper.width(),wrapper.height()]:[wrapper.height(),wrapper.width()];if(percent){size=parseInt(percent[1],10)/100*distance[hide?0:1]}if(show){wrapper.css(horizFirst?{height:0,width:size}:{height:size,width:0})}animation1[ref[0]]=show?distance[0]:size;animation2[ref[1]]=show?distance[1]:0;wrapper.animate(animation1,duration,o.easing).animate(animation2,duration,o.easing,function(){if(hide){el.hide()}$.effects.restore(el,props);$.effects.removeWrapper(el);done()})}})(FlixjQ);(function($,undefined){$.effects.effect.highlight=function(o,done){var elem=$(this),props=["backgroundImage","backgroundColor","opacity"],mode=$.effects.setMode(elem,o.mode||"show"),animation={backgroundColor:elem.css("backgroundColor")};if(mode==="hide"){animation.opacity=0}$.effects.save(elem,props);elem.show().css({backgroundImage:"none",backgroundColor:o.color||"#ffff99"}).animate(animation,{queue:false,duration:o.duration,easing:o.easing,complete:function(){if(mode==="hide"){elem.hide()}$.effects.restore(elem,props);done()}})}})(FlixjQ);(function($,undefined){$.effects.effect.pulsate=function(o,done){var elem=$(this),mode=$.effects.setMode(elem,o.mode||"show"),show=mode==="show",hide=mode==="hide",showhide=(show||mode==="hide"),anims=((o.times||5)*2)+(showhide?1:0),duration=o.duration/anims,animateTo=0,queue=elem.queue(),queuelen=queue.length,i;if(show||!elem.is(":visible")){elem.css("opacity",0).show();animateTo=1}for(i=1;i<anims;i++){elem.animate({opacity:animateTo},duration,o.easing);animateTo=1-animateTo}elem.animate({opacity:animateTo},duration,o.easing);elem.queue(function(){if(hide){elem.hide()}done()});if(queuelen>1){queue.splice.apply(queue,[1,0].concat(queue.splice(queuelen,anims+1)))}elem.dequeue()}})(FlixjQ);(function($,undefined){$.effects.effect.puff=function(o,done){var elem=$(this),mode=$.effects.setMode(elem,o.mode||"hide"),hide=mode==="hide",percent=parseInt(o.percent,10)||150,factor=percent/100,original={height:elem.height(),width:elem.width(),outerHeight:elem.outerHeight(),outerWidth:elem.outerWidth()};$.extend(o,{effect:"scale",queue:false,fade:true,mode:mode,complete:done,percent:hide?percent:100,from:hide?original:{height:original.height*factor,width:original.width*factor,outerHeight:original.outerHeight*factor,outerWidth:original.outerWidth*factor}});elem.effect(o)};$.effects.effect.scale=function(o,done){var el=$(this),options=$.extend(true,{},o),mode=$.effects.setMode(el,o.mode||"effect"),percent=parseInt(o.percent,10)||(parseInt(o.percent,10)===0?0:(mode==="hide"?0:100)),direction=o.direction||"both",origin=o.origin,original={height:el.height(),width:el.width(),outerHeight:el.outerHeight(),outerWidth:el.outerWidth()},factor={y:direction!=="horizontal"?(percent/100):1,x:direction!=="vertical"?(percent/100):1};options.effect="size";options.queue=false;options.complete=done;if(mode!=="effect"){options.origin=origin||["middle","center"];options.restore=true}options.from=o.from||(mode==="show"?{height:0,width:0,outerHeight:0,outerWidth:0}:original);options.to={height:original.height*factor.y,width:original.width*factor.x,outerHeight:original.outerHeight*factor.y,outerWidth:original.outerWidth*factor.x};if(options.fade){if(mode==="show"){options.from.opacity=0;options.to.opacity=1}if(mode==="hide"){options.from.opacity=1;options.to.opacity=0}}el.effect(options)};$.effects.effect.size=function(o,done){var original,baseline,factor,el=$(this),props0=["position","top","bottom","left","right","width","height","overflow","opacity"],props1=["position","top","bottom","left","right","overflow","opacity"],props2=["width","height","overflow"],cProps=["fontSize"],vProps=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],hProps=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],mode=$.effects.setMode(el,o.mode||"effect"),restore=o.restore||mode!=="effect",scale=o.scale||"both",origin=o.origin||["middle","center"],position=el.css("position"),props=restore?props0:props1,zero={height:0,width:0,outerHeight:0,outerWidth:0};if(mode==="show"){el.show()}original={height:el.height(),width:el.width(),outerHeight:el.outerHeight(),outerWidth:el.outerWidth()};if(o.mode==="toggle"&&mode==="show"){el.from=o.to||zero;el.to=o.from||original}else{el.from=o.from||(mode==="show"?zero:original);el.to=o.to||(mode==="hide"?zero:original)}factor={from:{y:el.from.height/original.height,x:el.from.width/original.width},to:{y:el.to.height/original.height,x:el.to.width/original.width}};if(scale==="box"||scale==="both"){if(factor.from.y!==factor.to.y){props=props.concat(vProps);el.from=$.effects.setTransition(el,vProps,factor.from.y,el.from);el.to=$.effects.setTransition(el,vProps,factor.to.y,el.to)}if(factor.from.x!==factor.to.x){props=props.concat(hProps);el.from=$.effects.setTransition(el,hProps,factor.from.x,el.from);el.to=$.effects.setTransition(el,hProps,factor.to.x,el.to)}}if(scale==="content"||scale==="both"){if(factor.from.y!==factor.to.y){props=props.concat(cProps).concat(props2);el.from=$.effects.setTransition(el,cProps,factor.from.y,el.from);el.to=$.effects.setTransition(el,cProps,factor.to.y,el.to)}}$.effects.save(el,props);el.show();$.effects.createWrapper(el);el.css("overflow","hidden").css(el.from);if(origin){baseline=$.effects.getBaseline(origin,original);el.from.top=(original.outerHeight-el.outerHeight())*baseline.y;el.from.left=(original.outerWidth-el.outerWidth())*baseline.x;el.to.top=(original.outerHeight-el.to.outerHeight)*baseline.y;el.to.left=(original.outerWidth-el.to.outerWidth)*baseline.x}el.css(el.from);if(scale==="content"||scale==="both"){vProps=vProps.concat(["marginTop","marginBottom"]).concat(cProps);hProps=hProps.concat(["marginLeft","marginRight"]);props2=props0.concat(vProps).concat(hProps);el.find("*[width]").each(function(){var child=$(this),c_original={height:child.height(),width:child.width(),outerHeight:child.outerHeight(),outerWidth:child.outerWidth()};if(restore){$.effects.save(child,props2)}child.from={height:c_original.height*factor.from.y,width:c_original.width*factor.from.x,outerHeight:c_original.outerHeight*factor.from.y,outerWidth:c_original.outerWidth*factor.from.x};child.to={height:c_original.height*factor.to.y,width:c_original.width*factor.to.x,outerHeight:c_original.height*factor.to.y,outerWidth:c_original.width*factor.to.x};if(factor.from.y!==factor.to.y){child.from=$.effects.setTransition(child,vProps,factor.from.y,child.from);child.to=$.effects.setTransition(child,vProps,factor.to.y,child.to)}if(factor.from.x!==factor.to.x){child.from=$.effects.setTransition(child,hProps,factor.from.x,child.from);child.to=$.effects.setTransition(child,hProps,factor.to.x,child.to)}child.css(child.from);child.animate(child.to,o.duration,o.easing,function(){if(restore){$.effects.restore(child,props2)}})})}el.animate(el.to,{queue:false,duration:o.duration,easing:o.easing,complete:function(){if(el.to.opacity===0){el.css("opacity",el.from.opacity)}if(mode==="hide"){el.hide()}$.effects.restore(el,props);if(!restore){if(position==="static"){el.css({position:"relative",top:el.to.top,left:el.to.left})}else{$.each(["top","left"],function(idx,pos){el.css(pos,function(_,str){var val=parseInt(str,10),toRef=idx?el.to.left:el.to.top;if(str==="auto"){return toRef+"px"}return val+toRef+"px"})})}}$.effects.removeWrapper(el);done()}})}})(FlixjQ);(function($,undefined){$.effects.effect.shake=function(o,done){var el=$(this),props=["position","top","bottom","left","right","height","width"],mode=$.effects.setMode(el,o.mode||"effect"),direction=o.direction||"left",distance=o.distance||20,times=o.times||3,anims=times*2+1,speed=Math.round(o.duration/anims),ref=(direction==="up"||direction==="down")?"top":"left",positiveMotion=(direction==="up"||direction==="left"),animation={},animation1={},animation2={},i,queue=el.queue(),queuelen=queue.length;$.effects.save(el,props);el.show();$.effects.createWrapper(el);animation[ref]=(positiveMotion?"-=":"+=")+distance;animation1[ref]=(positiveMotion?"+=":"-=")+distance*2;animation2[ref]=(positiveMotion?"-=":"+=")+distance*2;el.animate(animation,speed,o.easing);for(i=1;i<times;i++){el.animate(animation1,speed,o.easing).animate(animation2,speed,o.easing)}el.animate(animation1,speed,o.easing).animate(animation,speed/2,o.easing).queue(function(){if(mode==="hide"){el.hide()}$.effects.restore(el,props);$.effects.removeWrapper(el);done()});if(queuelen>1){queue.splice.apply(queue,[1,0].concat(queue.splice(queuelen,anims+1)))}el.dequeue()}})(FlixjQ);(function($,undefined){$.effects.effect.slide=function(o,done){var el=$(this),props=["position","top","bottom","left","right","width","height"],mode=$.effects.setMode(el,o.mode||"show"),show=mode==="show",direction=o.direction||"left",ref=(direction==="up"||direction==="down")?"top":"left",positiveMotion=(direction==="up"||direction==="left"),distance,animation={};$.effects.save(el,props);el.show();distance=o.distance||el[ref==="top"?"outerHeight":"outerWidth"](true);$.effects.createWrapper(el).css({overflow:"hidden"});if(show){el.css(ref,positiveMotion?(isNaN(distance)?"-"+distance:-distance):distance)}animation[ref]=(show?(positiveMotion?"+=":"-="):(positiveMotion?"-=":"+="))+distance;el.animate(animation,{queue:false,duration:o.duration,easing:o.easing,complete:function(){if(mode==="hide"){el.hide()}$.effects.restore(el,props);$.effects.removeWrapper(el);done()}})}})(FlixjQ);(function($,undefined){$.effects.effect.transfer=function(o,done){var elem=$(this),target=$(o.to),targetFixed=target.css("position")==="fixed",body=$("body"),fixTop=targetFixed?body.scrollTop():0,fixLeft=targetFixed?body.scrollLeft():0,endPosition=target.offset(),animation={top:endPosition.top-fixTop,left:endPosition.left-fixLeft,height:target.innerHeight(),width:target.innerWidth()},startPosition=elem.offset(),transfer=$("<div class='flix_ui-effects-transfer'></div>").appendTo(document.body).addClass(o.className).css({top:startPosition.top-fixTop,left:startPosition.left-fixLeft,height:elem.innerHeight(),width:elem.innerWidth(),position:targetFixed?"fixed":"absolute"}).animate(animation,o.duration,o.easing,function(){transfer.remove();done()})}})(FlixjQ);(function($,undefined){$.widget("ui.menu",{version:"1.10.3",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"flix_ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element;this.mouseHandled=false;this.element.uniqueId().addClass("flix_ui-menu flix_ui-widget flix_ui-widget-content flix_ui-corner-all").toggleClass("flix_ui-menu-icons",!!this.element.find(".flix_ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,$.proxy(function(event){if(this.options.disabled){event.preventDefault()}},this));if(this.options.disabled){this.element.addClass("flix_ui-state-disabled").attr("aria-disabled","true")}this._on({"mousedown .flix_ui-menu-item > a":function(event){event.preventDefault()},"click .flix_ui-state-disabled > a":function(event){event.preventDefault()},"click .flix_ui-menu-item:has(a)":function(event){var target=$(event.target).closest(".flix_ui-menu-item");if(!this.mouseHandled&&target.not(".flix_ui-state-disabled").length){this.mouseHandled=true;this.select(event);if(target.has(".flix_ui-menu").length){this.expand(event)}else if(!this.element.is(":focus")){this.element.trigger("focus",[true]);if(this.active&&this.active.parents(".flix_ui-menu").length===1){clearTimeout(this.timer)}}}},"mouseenter .flix_ui-menu-item":function(event){var target=$(event.currentTarget);target.siblings().children(".flix_ui-state-active").removeClass("flix_ui-state-active");this.focus(event,target)},mouseleave:"collapseAll","mouseleave .flix_ui-menu":"collapseAll",focus:function(event,keepActiveItem){var item=this.active||this.element.children(".flix_ui-menu-item").eq(0);if(!keepActiveItem){this.focus(event,item)}},blur:function(event){this._delay(function(){if(!$.contains(this.element[0],this.document[0].activeElement)){this.collapseAll(event)}})},keydown:"_keydown"});this.refresh();this._on(this.document,{click:function(event){if(!$(event.target).closest(".flix_ui-menu").length){this.collapseAll(event)}this.mouseHandled=false}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".flix_ui-menu").addBack().removeClass("flix_ui-menu flix_ui-widget flix_ui-widget-content flix_ui-corner-all flix_ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show();this.element.find(".flix_ui-menu-item").removeClass("flix_ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("flix_ui-corner-all flix_ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var elem=$(this);if(elem.data("flix_ui-menu-submenu-carat")){elem.remove()}});this.element.find(".flix_ui-menu-divider").removeClass("flix_ui-menu-divider flix_ui-widget-content")},_keydown:function(event){var match,prev,character,skip,regex,preventDefault=true;function escape(value){return value.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}switch(event.keyCode){case $.ui.keyCode.PAGE_UP:this.previousPage(event);break;case $.ui.keyCode.PAGE_DOWN:this.nextPage(event);break;case $.ui.keyCode.HOME:this._move("first","first",event);break;case $.ui.keyCode.END:this._move("last","last",event);break;case $.ui.keyCode.UP:this.previous(event);break;case $.ui.keyCode.DOWN:this.next(event);break;case $.ui.keyCode.LEFT:this.collapse(event);break;case $.ui.keyCode.RIGHT:if(this.active&&!this.active.is(".flix_ui-state-disabled")){this.expand(event)}break;case $.ui.keyCode.ENTER:case $.ui.keyCode.SPACE:this._activate(event);break;case $.ui.keyCode.ESCAPE:this.collapse(event);break;default:preventDefault=false;prev=this.previousFilter||"";character=String.fromCharCode(event.keyCode);skip=false;clearTimeout(this.filterTimer);if(character===prev){skip=true}else{character=prev+character}regex=new RegExp("^"+escape(character),"i");match=this.activeMenu.children(".flix_ui-menu-item").filter(function(){return regex.test($(this).children("a").text())});match=skip&&match.index(this.active.next())!==-1?this.active.nextAll(".flix_ui-menu-item"):match;if(!match.length){character=String.fromCharCode(event.keyCode);regex=new RegExp("^"+escape(character),"i");match=this.activeMenu.children(".flix_ui-menu-item").filter(function(){return regex.test($(this).children("a").text())})}if(match.length){this.focus(event,match);if(match.length>1){this.previousFilter=character;this.filterTimer=this._delay(function(){delete this.previousFilter},1000)}else{delete this.previousFilter}}else{delete this.previousFilter}}if(preventDefault){event.preventDefault()}},_activate:function(event){if(!this.active.is(".flix_ui-state-disabled")){if(this.active.children("a[aria-haspopup='true']").length){this.expand(event)}else{this.select(event)}}},refresh:function(){var menus,icon=this.options.icons.submenu,submenus=this.element.find(this.options.menus);submenus.filter(":not(.flix_ui-menu)").addClass("flix_ui-menu flix_ui-widget flix_ui-widget-content flix_ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var menu=$(this),item=menu.prev("a"),submenuCarat=$("<span>").addClass("flix_ui-menu-icon flix_ui-icon "+icon).data("flix_ui-menu-submenu-carat",true);item.attr("aria-haspopup","true").prepend(submenuCarat);menu.attr("aria-labelledby",item.attr("id"))});menus=submenus.add(this.element);menus.children(":not(.flix_ui-menu-item):has(a)").addClass("flix_ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("flix_ui-corner-all").attr({tabIndex:-1,role:this._itemRole()});menus.children(":not(.flix_ui-menu-item)").each(function(){var item=$(this);if(!/[^\-\u2014\u2013\s]/.test(item.text())){item.addClass("flix_ui-widget-content flix_ui-menu-divider")}});menus.children(".flix_ui-state-disabled").attr("aria-disabled","true");if(this.active&&!$.contains(this.element[0],this.active[0])){this.blur()}},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(key,value){if(key==="icons"){this.element.find(".flix_ui-menu-icon").removeClass(this.options.icons.submenu).addClass(value.submenu)}this._super(key,value)},focus:function(event,item){var nested,focused;this.blur(event,event&&event.type==="focus");this._scrollIntoView(item);this.active=item.first();focused=this.active.children("a").addClass("flix_ui-state-focus");if(this.options.role){this.element.attr("aria-activedescendant",focused.attr("id"))}this.active.parent().closest(".flix_ui-menu-item").children("a:first").addClass("flix_ui-state-active");if(event&&event.type==="keydown"){this._close()}else{this.timer=this._delay(function(){this._close()},this.delay)}nested=item.children(".flix_ui-menu");if(nested.length&&(/^mouse/.test(event.type))){this._startOpening(nested)}this.activeMenu=item.parent();this._trigger("focus",event,{item:item})},_scrollIntoView:function(item){var borderTop,paddingTop,offset,scroll,elementHeight,itemHeight;if(this._hasScroll()){borderTop=parseFloat($.css(this.activeMenu[0],"borderTopWidth"))||0;paddingTop=parseFloat($.css(this.activeMenu[0],"paddingTop"))||0;offset=item.offset().top-this.activeMenu.offset().top-borderTop-paddingTop;scroll=this.activeMenu.scrollTop();elementHeight=this.activeMenu.height();itemHeight=item.height();if(offset<0){this.activeMenu.scrollTop(scroll+offset)}else if(offset+itemHeight>elementHeight){this.activeMenu.scrollTop(scroll+offset-elementHeight+itemHeight)}}},blur:function(event,fromFocus){if(!fromFocus){clearTimeout(this.timer)}if(!this.active){return}this.active.children("a").removeClass("flix_ui-state-focus");this.active=null;this._trigger("blur",event,{item:this.active})},_startOpening:function(submenu){clearTimeout(this.timer);if(submenu.attr("aria-hidden")!=="true"){return}this.timer=this._delay(function(){this._close();this._open(submenu)},this.delay)},_open:function(submenu){var position=$.extend({of:this.active},this.options.position);clearTimeout(this.timer);this.element.find(".flix_ui-menu").not(submenu.parents(".flix_ui-menu")).hide().attr("aria-hidden","true");submenu.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(position)},collapseAll:function(event,all){clearTimeout(this.timer);this.timer=this._delay(function(){var currentMenu=all?this.element:$(event&&event.target).closest(this.element.find(".flix_ui-menu"));if(!currentMenu.length){currentMenu=this.element}this._close(currentMenu);this.blur(event);this.activeMenu=currentMenu},this.delay)},_close:function(startMenu){if(!startMenu){startMenu=this.active?this.active.parent():this.element}startMenu.find(".flix_ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.flix_ui-state-active").removeClass("flix_ui-state-active")},collapse:function(event){var newItem=this.active&&this.active.parent().closest(".flix_ui-menu-item",this.element);if(newItem&&newItem.length){this._close();this.focus(event,newItem)}},expand:function(event){var newItem=this.active&&this.active.children(".flix_ui-menu ").children(".flix_ui-menu-item").first();if(newItem&&newItem.length){this._open(newItem.parent());this._delay(function(){this.focus(event,newItem)})}},next:function(event){this._move("next","first",event)},previous:function(event){this._move("prev","last",event)},isFirstItem:function(){return this.active&&!this.active.prevAll(".flix_ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".flix_ui-menu-item").length},_move:function(direction,filter,event){var next;if(this.active){if(direction==="first"||direction==="last"){next=this.active[direction==="first"?"prevAll":"nextAll"](".flix_ui-menu-item").eq(-1)}else{next=this.active[direction+"All"](".flix_ui-menu-item").eq(0)}}if(!next||!next.length||!this.active){next=this.activeMenu.children(".flix_ui-menu-item")[filter]()}this.focus(event,next)},nextPage:function(event){var item,base,height;if(!this.active){this.next(event);return}if(this.isLastItem()){return}if(this._hasScroll()){base=this.active.offset().top;height=this.element.height();this.active.nextAll(".flix_ui-menu-item").each(function(){item=$(this);return item.offset().top-base-height<0});this.focus(event,item)}else{this.focus(event,this.activeMenu.children(".flix_ui-menu-item")[!this.active?"first":"last"]())}},previousPage:function(event){var item,base,height;if(!this.active){this.next(event);return}if(this.isFirstItem()){return}if(this._hasScroll()){base=this.active.offset().top;height=this.element.height();this.active.prevAll(".flix_ui-menu-item").each(function(){item=$(this);return item.offset().top-base+height>0});this.focus(event,item)}else{this.focus(event,this.activeMenu.children(".flix_ui-menu-item").first())}},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(event){this.active=this.active||$(event.target).closest(".flix_ui-menu-item");var ui={item:this.active};if(!this.active.has(".flix_ui-menu").length){this.collapseAll(event,true)}this._trigger("select",event,ui)}})}(FlixjQ));(function($,undefined){$.ui=$.ui||{};var cachedScrollbarWidth,max=Math.max,abs=Math.abs,round=Math.round,rhorizontal=/left|center|right/,rvertical=/top|center|bottom/,roffset=/[\+\-]\d+(\.[\d]+)?%?/,rposition=/^\w+/,rpercent=/%$/,_position=$.fn.position;function getOffsets(offsets,width,height){return[parseFloat(offsets[0])*(rpercent.test(offsets[0])?width/100:1),parseFloat(offsets[1])*(rpercent.test(offsets[1])?height/100:1)]}function parseCss(element,property){return parseInt($.css(element,property),10)||0}function getDimensions(elem){var raw=elem[0];if(raw.nodeType===9){return{width:elem.width(),height:elem.height(),offset:{top:0,left:0}}}if($.isWindow(raw)){return{width:elem.width(),height:elem.height(),offset:{top:elem.scrollTop(),left:elem.scrollLeft()}}}if(raw.preventDefault){return{width:0,height:0,offset:{top:raw.pageY,left:raw.pageX}}}return{width:elem.outerWidth(),height:elem.outerHeight(),offset:elem.offset()}}$.position={scrollbarWidth:function(){if(cachedScrollbarWidth!==undefined){return cachedScrollbarWidth}var w1,w2,div=$("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),innerDiv=div.children()[0];$("body").append(div);w1=innerDiv.offsetWidth;div.css("overflow","scroll");w2=innerDiv.offsetWidth;if(w1===w2){w2=div[0].clientWidth}div.remove();return(cachedScrollbarWidth=w1-w2)},getScrollInfo:function(within){var overflowX=within.isWindow?"":within.element.css("overflow-x"),overflowY=within.isWindow?"":within.element.css("overflow-y"),hasOverflowX=overflowX==="scroll"||(overflowX==="auto"&&within.width<within.element[0].scrollWidth),hasOverflowY=overflowY==="scroll"||(overflowY==="auto"&&within.height<within.element[0].scrollHeight);return{width:hasOverflowY?$.position.scrollbarWidth():0,height:hasOverflowX?$.position.scrollbarWidth():0}},getWithinInfo:function(element){var withinElement=$(element||window),isWindow=$.isWindow(withinElement[0]);return{element:withinElement,isWindow:isWindow,offset:withinElement.offset()||{left:0,top:0},scrollLeft:withinElement.scrollLeft(),scrollTop:withinElement.scrollTop(),width:isWindow?withinElement.width():withinElement.outerWidth(),height:isWindow?withinElement.height():withinElement.outerHeight()}}};$.fn.position=function(options){if(!options||!options.of){return _position.apply(this,arguments)}options=$.extend({},options);var atOffset,targetWidth,targetHeight,targetOffset,basePosition,dimensions,target=$(options.of),within=$.position.getWithinInfo(options.within),scrollInfo=$.position.getScrollInfo(within),collision=(options.collision||"flip").split(" "),offsets={};dimensions=getDimensions(target);if(target[0].preventDefault){options.at="left top"}targetWidth=dimensions.width;targetHeight=dimensions.height;targetOffset=dimensions.offset;basePosition=$.extend({},targetOffset);$.each(["my","at"],function(){var pos=(options[this]||"").split(" "),horizontalOffset,verticalOffset;if(pos.length===1){pos=rhorizontal.test(pos[0])?pos.concat(["center"]):rvertical.test(pos[0])?["center"].concat(pos):["center","center"]}pos[0]=rhorizontal.test(pos[0])?pos[0]:"center";pos[1]=rvertical.test(pos[1])?pos[1]:"center";horizontalOffset=roffset.exec(pos[0]);verticalOffset=roffset.exec(pos[1]);offsets[this]=[horizontalOffset?horizontalOffset[0]:0,verticalOffset?verticalOffset[0]:0];options[this]=[rposition.exec(pos[0])[0],rposition.exec(pos[1])[0]]});if(collision.length===1){collision[1]=collision[0]}if(options.at[0]==="right"){basePosition.left+=targetWidth}else if(options.at[0]==="center"){basePosition.left+=targetWidth/2}if(options.at[1]==="bottom"){basePosition.top+=targetHeight}else if(options.at[1]==="center"){basePosition.top+=targetHeight/2}atOffset=getOffsets(offsets.at,targetWidth,targetHeight);basePosition.left+=atOffset[0];basePosition.top+=atOffset[1];return this.each(function(){var collisionPosition,using,elem=$(this),elemWidth=elem.outerWidth(),elemHeight=elem.outerHeight(),marginLeft=parseCss(this,"marginLeft"),marginTop=parseCss(this,"marginTop"),collisionWidth=elemWidth+marginLeft+parseCss(this,"marginRight")+scrollInfo.width,collisionHeight=elemHeight+marginTop+parseCss(this,"marginBottom")+scrollInfo.height,position=$.extend({},basePosition),myOffset=getOffsets(offsets.my,elem.outerWidth(),elem.outerHeight());if(options.my[0]==="right"){position.left-=elemWidth}else if(options.my[0]==="center"){position.left-=elemWidth/2}if(options.my[1]==="bottom"){position.top-=elemHeight}else if(options.my[1]==="center"){position.top-=elemHeight/2}position.left+=myOffset[0];position.top+=myOffset[1];if(!$.support.offsetFractions){position.left=round(position.left);position.top=round(position.top)}collisionPosition={marginLeft:marginLeft,marginTop:marginTop};$.each(["left","top"],function(i,dir){if($.ui.position[collision[i]]){$.ui.position[collision[i]][dir](position,{targetWidth:targetWidth,targetHeight:targetHeight,elemWidth:elemWidth,elemHeight:elemHeight,collisionPosition:collisionPosition,collisionWidth:collisionWidth,collisionHeight:collisionHeight,offset:[atOffset[0]+myOffset[0],atOffset[1]+myOffset[1]],my:options.my,at:options.at,within:within,elem:elem})}});if(options.using){using=function(props){var left=targetOffset.left-position.left,right=left+targetWidth-elemWidth,top=targetOffset.top-position.top,bottom=top+targetHeight-elemHeight,feedback={target:{element:target,left:targetOffset.left,top:targetOffset.top,width:targetWidth,height:targetHeight},element:{element:elem,left:position.left,top:position.top,width:elemWidth,height:elemHeight},horizontal:right<0?"left":left>0?"right":"center",vertical:bottom<0?"top":top>0?"bottom":"middle"};if(targetWidth<elemWidth&&abs(left+right)<targetWidth){feedback.horizontal="center"}if(targetHeight<elemHeight&&abs(top+bottom)<targetHeight){feedback.vertical="middle"}if(max(abs(left),abs(right))>max(abs(top),abs(bottom))){feedback.important="horizontal"}else{feedback.important="vertical"}options.using.call(this,props,feedback)}}elem.offset($.extend(position,{using:using}))})};$.ui.position={fit:{left:function(position,data){var within=data.within,withinOffset=within.isWindow?within.scrollLeft:within.offset.left,outerWidth=within.width,collisionPosLeft=position.left-data.collisionPosition.marginLeft,overLeft=withinOffset-collisionPosLeft,overRight=collisionPosLeft+data.collisionWidth-outerWidth-withinOffset,newOverRight;if(data.collisionWidth>outerWidth){if(overLeft>0&&overRight<=0){newOverRight=position.left+overLeft+data.collisionWidth-outerWidth-withinOffset;position.left+=overLeft-newOverRight}else if(overRight>0&&overLeft<=0){position.left=withinOffset}else{if(overLeft>overRight){position.left=withinOffset+outerWidth-data.collisionWidth}else{position.left=withinOffset}}}else if(overLeft>0){position.left+=overLeft}else if(overRight>0){position.left-=overRight}else{position.left=max(position.left-collisionPosLeft,position.left)}},top:function(position,data){var within=data.within,withinOffset=within.isWindow?within.scrollTop:within.offset.top,outerHeight=data.within.height,collisionPosTop=position.top-data.collisionPosition.marginTop,overTop=withinOffset-collisionPosTop,overBottom=collisionPosTop+data.collisionHeight-outerHeight-withinOffset,newOverBottom;if(data.collisionHeight>outerHeight){if(overTop>0&&overBottom<=0){newOverBottom=position.top+overTop+data.collisionHeight-outerHeight-withinOffset;position.top+=overTop-newOverBottom}else if(overBottom>0&&overTop<=0){position.top=withinOffset}else{if(overTop>overBottom){position.top=withinOffset+outerHeight-data.collisionHeight}else{position.top=withinOffset}}}else if(overTop>0){position.top+=overTop}else if(overBottom>0){position.top-=overBottom}else{position.top=max(position.top-collisionPosTop,position.top)}}},flip:{left:function(position,data){var within=data.within,withinOffset=within.offset.left+within.scrollLeft,outerWidth=within.width,offsetLeft=within.isWindow?within.scrollLeft:within.offset.left,collisionPosLeft=position.left-data.collisionPosition.marginLeft,overLeft=collisionPosLeft-offsetLeft,overRight=collisionPosLeft+data.collisionWidth-outerWidth-offsetLeft,myOffset=data.my[0]==="left"?-data.elemWidth:data.my[0]==="right"?data.elemWidth:0,atOffset=data.at[0]==="left"?data.targetWidth:data.at[0]==="right"?-data.targetWidth:0,offset=-2*data.offset[0],newOverRight,newOverLeft;if(overLeft<0){newOverRight=position.left+myOffset+atOffset+offset+data.collisionWidth-outerWidth-withinOffset;if(newOverRight<0||newOverRight<abs(overLeft)){position.left+=myOffset+atOffset+offset}}else if(overRight>0){newOverLeft=position.left-data.collisionPosition.marginLeft+myOffset+atOffset+offset-offsetLeft;if(newOverLeft>0||abs(newOverLeft)<overRight){position.left+=myOffset+atOffset+offset}}},top:function(position,data){var within=data.within,withinOffset=within.offset.top+within.scrollTop,outerHeight=within.height,offsetTop=within.isWindow?within.scrollTop:within.offset.top,collisionPosTop=position.top-data.collisionPosition.marginTop,overTop=collisionPosTop-offsetTop,overBottom=collisionPosTop+data.collisionHeight-outerHeight-offsetTop,top=data.my[1]==="top",myOffset=top?-data.elemHeight:data.my[1]==="bottom"?data.elemHeight:0,atOffset=data.at[1]==="top"?data.targetHeight:data.at[1]==="bottom"?-data.targetHeight:0,offset=-2*data.offset[1],newOverTop,newOverBottom;if(overTop<0){newOverBottom=position.top+myOffset+atOffset+offset+data.collisionHeight-outerHeight-withinOffset;if((position.top+myOffset+atOffset+offset)>overTop&&(newOverBottom<0||newOverBottom<abs(overTop))){position.top+=myOffset+atOffset+offset}}else if(overBottom>0){newOverTop=position.top-data.collisionPosition.marginTop+myOffset+atOffset+offset-offsetTop;if((position.top+myOffset+atOffset+offset)>overBottom&&(newOverTop>0||abs(newOverTop)<overBottom)){position.top+=myOffset+atOffset+offset}}}},flipfit:{left:function(){$.ui.position.flip.left.apply(this,arguments);$.ui.position.fit.left.apply(this,arguments)},top:function(){$.ui.position.flip.top.apply(this,arguments);$.ui.position.fit.top.apply(this,arguments)}}};(function(){var testElement,testElementParent,testElementStyle,offsetLeft,i,body=document.getElementsByTagName("body")[0],div=document.createElement("div");testElement=document.createElement(body?"div":"body");testElementStyle={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};if(body){$.extend(testElementStyle,{position:"absolute",left:"-1000px",top:"-1000px"})}for(i in testElementStyle){testElement.style[i]=testElementStyle[i]}testElement.appendChild(div);testElementParent=body||document.documentElement;testElementParent.insertBefore(testElement,testElementParent.firstChild);div.style.cssText="position: absolute; left: 10.7432222px;";offsetLeft=$(div).offset().left;$.support.offsetFractions=offsetLeft>10&&offsetLeft<11;testElement.innerHTML="";testElementParent.removeChild(testElement)})()}(FlixjQ));(function($,undefined){$.widget("ui.progressbar",{version:"1.10.3",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue();this.element.addClass("flix_ui-progressbar flix_ui-widget flix_ui-widget-content flix_ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min});this.valueDiv=$("<div class='flix_ui-progressbar-value flix_ui-widget-header flix_ui-corner-left'></div>").appendTo(this.element);this._refreshValue()},_destroy:function(){this.element.removeClass("flix_ui-progressbar flix_ui-widget flix_ui-widget-content flix_ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow");this.valueDiv.remove()},value:function(newValue){if(newValue===undefined){return this.options.value}this.options.value=this._constrainedValue(newValue);this._refreshValue()},_constrainedValue:function(newValue){if(newValue===undefined){newValue=this.options.value}this.indeterminate=newValue===false;if(typeof newValue!=="number"){newValue=0}return this.indeterminate?false:Math.min(this.options.max,Math.max(this.min,newValue))},_setOptions:function(options){var value=options.value;delete options.value;this._super(options);this.options.value=this._constrainedValue(value);this._refreshValue()},_setOption:function(key,value){if(key==="max"){value=Math.max(this.min,value)}this._super(key,value)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var value=this.options.value,percentage=this._percentage();this.valueDiv.toggle(this.indeterminate||value>this.min).toggleClass("flix_ui-corner-right",value===this.options.max).width(percentage.toFixed(0)+"%");this.element.toggleClass("flix_ui-progressbar-indeterminate",this.indeterminate);if(this.indeterminate){this.element.removeAttr("aria-valuenow");if(!this.overlayDiv){this.overlayDiv=$("<div class='flix_ui-progressbar-overlay'></div>").appendTo(this.valueDiv)}}else{this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":value});if(this.overlayDiv){this.overlayDiv.remove();this.overlayDiv=null}}if(this.oldValue!==value){this.oldValue=value;this._trigger("change")}if(value===this.options.max){this._trigger("complete")}}})})(FlixjQ);(function($,undefined){var numPages=5;$.widget("ui.slider",$.ui.mouse,{version:"1.10.3",widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=false;this._mouseSliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("flix_ui-slider"+" flix_ui-slider-"+this.orientation+" flix_ui-widget"+" flix_ui-widget-content"+" flix_ui-corner-all");this._refresh();this._setOption("disabled",this.options.disabled);this._animateOff=false},_refresh:function(){this._createRange();this._createHandles();this._setupEvents();this._refreshValue()},_createHandles:function(){var i,handleCount,options=this.options,existingHandles=this.element.find(".flix_ui-slider-handle").addClass("flix_ui-state-default flix_ui-corner-all"),handle="<a class='flix_ui-slider-handle flix_ui-state-default flix_ui-corner-all' href='#'></a>",handles=[];handleCount=(options.values&&options.values.length)||1;if(existingHandles.length>handleCount){existingHandles.slice(handleCount).remove();existingHandles=existingHandles.slice(0,handleCount)}for(i=existingHandles.length;i<handleCount;i++){handles.push(handle)}this.handles=existingHandles.add($(handles.join("")).appendTo(this.element));this.handle=this.handles.eq(0);this.handles.each(function(i){$(this).data("flix_ui-slider-handle-index",i)})},_createRange:function(){var options=this.options,classes="";if(options.range){if(options.range===true){if(!options.values){options.values=[this._valueMin(),this._valueMin()]}else if(options.values.length&&options.values.length!==2){options.values=[options.values[0],options.values[0]]}else if($.isArray(options.values)){options.values=options.values.slice(0)}}if(!this.range||!this.range.length){this.range=$("<div></div>").appendTo(this.element);classes="flix_ui-slider-range"+" flix_ui-widget-header flix_ui-corner-all"}else{this.range.removeClass("flix_ui-slider-range-min flix_ui-slider-range-max").css({"left":"","bottom":""})}this.range.addClass(classes+((options.range==="min"||options.range==="max")?" flix_ui-slider-range-"+options.range:""))}else{this.range=$([])}},_setupEvents:function(){var elements=this.handles.add(this.range).filter("a");this._off(elements);this._on(elements,this._handleEvents);this._hoverable(elements);this._focusable(elements)},_destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("flix_ui-slider"+" flix_ui-slider-horizontal"+" flix_ui-slider-vertical"+" flix_ui-widget"+" flix_ui-widget-content"+" flix_ui-corner-all");this._mouseDestroy()},_mouseCapture:function(event){var position,normValue,distance,closestHandle,index,allowed,offset,mouseOverHandle,that=this,o=this.options;if(o.disabled){return false}this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();position={x:event.pageX,y:event.pageY};normValue=this._normValueFromMouse(position);distance=this._valueMax()-this._valueMin()+1;this.handles.each(function(i){var thisDistance=Math.abs(normValue-that.values(i));if((distance>thisDistance)||(distance===thisDistance&&(i===that._lastChangedValue||that.values(i)===o.min))){distance=thisDistance;closestHandle=$(this);index=i}});allowed=this._start(event,index);if(allowed===false){return false}this._mouseSliding=true;this._handleIndex=index;closestHandle.addClass("flix_ui-state-active").focus();offset=closestHandle.offset();mouseOverHandle=!$(event.target).parents().addBack().is(".flix_ui-slider-handle");this._clickOffset=mouseOverHandle?{left:0,top:0}:{left:event.pageX-offset.left-(closestHandle.width()/2),top:event.pageY-offset.top-(closestHandle.height()/2)-(parseInt(closestHandle.css("borderTopWidth"),10)||0)-(parseInt(closestHandle.css("borderBottomWidth"),10)||0)+(parseInt(closestHandle.css("marginTop"),10)||0)};if(!this.handles.hasClass("flix_ui-state-hover")){this._slide(event,index,normValue)}this._animateOff=true;return true},_mouseStart:function(){return true},_mouseDrag:function(event){var position={x:event.pageX,y:event.pageY},normValue=this._normValueFromMouse(position);this._slide(event,this._handleIndex,normValue);return false},_mouseStop:function(event){this.handles.removeClass("flix_ui-state-active");this._mouseSliding=false;this._stop(event,this._handleIndex);this._change(event,this._handleIndex);this._handleIndex=null;this._clickOffset=null;this._animateOff=false;return false},_detectOrientation:function(){this.orientation=(this.options.orientation==="vertical")?"vertical":"horizontal"},_normValueFromMouse:function(position){var pixelTotal,pixelMouse,percentMouse,valueTotal,valueMouse;if(this.orientation==="horizontal"){pixelTotal=this.elementSize.width;pixelMouse=position.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{pixelTotal=this.elementSize.height;pixelMouse=position.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}percentMouse=(pixelMouse/pixelTotal);if(percentMouse>1){percentMouse=1}if(percentMouse<0){percentMouse=0}if(this.orientation==="vertical"){percentMouse=1-percentMouse}valueTotal=this._valueMax()-this._valueMin();valueMouse=this._valueMin()+percentMouse*valueTotal;return this._trimAlignValue(valueMouse)},_start:function(event,index){var uiHash={handle:this.handles[index],value:this.value()};if(this.options.values&&this.options.values.length){uiHash.value=this.values(index);uiHash.values=this.values()}return this._trigger("start",event,uiHash)},_slide:function(event,index,newVal){var otherVal,newValues,allowed;if(this.options.values&&this.options.values.length){otherVal=this.values(index?0:1);if((this.options.values.length===2&&this.options.range===true)&&((index===0&&newVal>otherVal)||(index===1&&newVal<otherVal))){newVal=otherVal}if(newVal!==this.values(index)){newValues=this.values();newValues[index]=newVal;allowed=this._trigger("slide",event,{handle:this.handles[index],value:newVal,values:newValues});otherVal=this.values(index?0:1);if(allowed!==false){this.values(index,newVal,true)}}}else{if(newVal!==this.value()){allowed=this._trigger("slide",event,{handle:this.handles[index],value:newVal});if(allowed!==false){this.value(newVal)}}}},_stop:function(event,index){var uiHash={handle:this.handles[index],value:this.value()};if(this.options.values&&this.options.values.length){uiHash.value=this.values(index);uiHash.values=this.values()}this._trigger("stop",event,uiHash)},_change:function(event,index){if(!this._keySliding&&!this._mouseSliding){var uiHash={handle:this.handles[index],value:this.value()};if(this.options.values&&this.options.values.length){uiHash.value=this.values(index);uiHash.values=this.values()}this._lastChangedValue=index;this._trigger("change",event,uiHash)}},value:function(newValue){if(arguments.length){this.options.value=this._trimAlignValue(newValue);this._refreshValue();this._change(null,0);return}return this._value()},values:function(index,newValue){var vals,newValues,i;if(arguments.length>1){this.options.values[index]=this._trimAlignValue(newValue);this._refreshValue();this._change(null,index);return}if(arguments.length){if($.isArray(arguments[0])){vals=this.options.values;newValues=arguments[0];for(i=0;i<vals.length;i+=1){vals[i]=this._trimAlignValue(newValues[i]);this._change(null,i)}this._refreshValue()}else{if(this.options.values&&this.options.values.length){return this._values(index)}else{return this.value()}}}else{return this._values()}},_setOption:function(key,value){var i,valsLength=0;if(key==="range"&&this.options.range===true){if(value==="min"){this.options.value=this._values(0);this.options.values=null}else if(value==="max"){this.options.value=this._values(this.options.values.length-1);this.options.values=null}}if($.isArray(this.options.values)){valsLength=this.options.values.length}$.Widget.prototype._setOption.apply(this,arguments);switch(key){case"orientation":this._detectOrientation();this.element.removeClass("flix_ui-slider-horizontal flix_ui-slider-vertical").addClass("flix_ui-slider-"+this.orientation);this._refreshValue();break;case"value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case"values":this._animateOff=true;this._refreshValue();for(i=0;i<valsLength;i+=1){this._change(null,i)}this._animateOff=false;break;case"min":case"max":this._animateOff=true;this._refreshValue();this._animateOff=false;break;case"range":this._animateOff=true;this._refresh();this._animateOff=false;break}},_value:function(){var val=this.options.value;val=this._trimAlignValue(val);return val},_values:function(index){var val,vals,i;if(arguments.length){val=this.options.values[index];val=this._trimAlignValue(val);return val}else if(this.options.values&&this.options.values.length){vals=this.options.values.slice();for(i=0;i<vals.length;i+=1){vals[i]=this._trimAlignValue(vals[i])}return vals}else{return[]}},_trimAlignValue:function(val){if(val<=this._valueMin()){return this._valueMin()}if(val>=this._valueMax()){return this._valueMax()}var step=(this.options.step>0)?this.options.step:1,valModStep=(val-this._valueMin())%step,alignValue=val-valModStep;if(Math.abs(valModStep)*2>=step){alignValue+=(valModStep>0)?step:(-step)}return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var lastValPercent,valPercent,value,valueMin,valueMax,oRange=this.options.range,o=this.options,that=this,animate=(!this._animateOff)?o.animate:false,_set={};if(this.options.values&&this.options.values.length){this.handles.each(function(i){valPercent=(that.values(i)-that._valueMin())/(that._valueMax()-that._valueMin())*100;_set[that.orientation==="horizontal"?"left":"bottom"]=valPercent+"%";$(this).stop(1,1)[animate?"animate":"css"](_set,o.animate);if(that.options.range===true){if(that.orientation==="horizontal"){if(i===0){that.range.stop(1,1)[animate?"animate":"css"]({left:valPercent+"%"},o.animate)}if(i===1){that.range[animate?"animate":"css"]({width:(valPercent-lastValPercent)+"%"},{queue:false,duration:o.animate})}}else{if(i===0){that.range.stop(1,1)[animate?"animate":"css"]({bottom:(valPercent)+"%"},o.animate)}if(i===1){that.range[animate?"animate":"css"]({height:(valPercent-lastValPercent)+"%"},{queue:false,duration:o.animate})}}}lastValPercent=valPercent})}else{value=this.value();valueMin=this._valueMin();valueMax=this._valueMax();valPercent=(valueMax!==valueMin)?(value-valueMin)/(valueMax-valueMin)*100:0;_set[this.orientation==="horizontal"?"left":"bottom"]=valPercent+"%";this.handle.stop(1,1)[animate?"animate":"css"](_set,o.animate);if(oRange==="min"&&this.orientation==="horizontal"){this.range.stop(1,1)[animate?"animate":"css"]({width:valPercent+"%"},o.animate)}if(oRange==="max"&&this.orientation==="horizontal"){this.range[animate?"animate":"css"]({width:(100-valPercent)+"%"},{queue:false,duration:o.animate})}if(oRange==="min"&&this.orientation==="vertical"){this.range.stop(1,1)[animate?"animate":"css"]({height:valPercent+"%"},o.animate)}if(oRange==="max"&&this.orientation==="vertical"){this.range[animate?"animate":"css"]({height:(100-valPercent)+"%"},{queue:false,duration:o.animate})}}},_handleEvents:{keydown:function(event){var allowed,curVal,newVal,step,index=$(event.target).data("flix_ui-slider-handle-index");switch(event.keyCode){case $.ui.keyCode.HOME:case $.ui.keyCode.END:case $.ui.keyCode.PAGE_UP:case $.ui.keyCode.PAGE_DOWN:case $.ui.keyCode.UP:case $.ui.keyCode.RIGHT:case $.ui.keyCode.DOWN:case $.ui.keyCode.LEFT:event.preventDefault();if(!this._keySliding){this._keySliding=true;$(event.target).addClass("flix_ui-state-active");allowed=this._start(event,index);if(allowed===false){return}}break}step=this.options.step;if(this.options.values&&this.options.values.length){curVal=newVal=this.values(index)}else{curVal=newVal=this.value()}switch(event.keyCode){case $.ui.keyCode.HOME:newVal=this._valueMin();break;case $.ui.keyCode.END:newVal=this._valueMax();break;case $.ui.keyCode.PAGE_UP:newVal=this._trimAlignValue(curVal+((this._valueMax()-this._valueMin())/numPages));break;case $.ui.keyCode.PAGE_DOWN:newVal=this._trimAlignValue(curVal-((this._valueMax()-this._valueMin())/numPages));break;case $.ui.keyCode.UP:case $.ui.keyCode.RIGHT:if(curVal===this._valueMax()){return}newVal=this._trimAlignValue(curVal+step);break;case $.ui.keyCode.DOWN:case $.ui.keyCode.LEFT:if(curVal===this._valueMin()){return}newVal=this._trimAlignValue(curVal-step);break}this._slide(event,index,newVal)},click:function(event){event.preventDefault()},keyup:function(event){var index=$(event.target).data("flix_ui-slider-handle-index");if(this._keySliding){this._keySliding=false;this._stop(event,index);this._change(event,index);$(event.target).removeClass("flix_ui-state-active")}}}})}(FlixjQ));(function($){function modifier(fn){return function(){var previous=this.element.val();fn.apply(this,arguments);this._refresh();if(previous!==this.element.val()){this._trigger("change")}}}$.widget("ui.spinner",{version:"1.10.3",defaultElement:"<input>",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"flix_ui-icon-triangle-1-s",up:"flix_ui-icon-triangle-1-n"},incremental:true,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max);this._setOption("min",this.options.min);this._setOption("step",this.options.step);this._value(this.element.val(),true);this._draw();this._on(this._events);this._refresh();this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var options={},element=this.element;$.each(["min","max","step"],function(i,option){var value=element.attr(option);if(value!==undefined&&value.length){options[option]=value}});return options},_events:{keydown:function(event){if(this._start(event)&&this._keydown(event)){event.preventDefault()}},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(event){if(this.cancelBlur){delete this.cancelBlur;return}this._stop();this._refresh();if(this.previous!==this.element.val()){this._trigger("change",event)}},mousewheel:function(event,delta){if(!delta){return}if(!this.spinning&&!this._start(event)){return false}this._spin((delta>0?1:-1)*this.options.step,event);clearTimeout(this.mousewheelTimer);this.mousewheelTimer=this._delay(function(){if(this.spinning){this._stop(event)}},100);event.preventDefault()},"mousedown .flix_ui-spinner-button":function(event){var previous;previous=this.element[0]===this.document[0].activeElement?this.previous:this.element.val();function checkFocus(){var isActive=this.element[0]===this.document[0].activeElement;if(!isActive){this.element.focus();this.previous=previous;this._delay(function(){this.previous=previous})}}event.preventDefault();checkFocus.call(this);this.cancelBlur=true;this._delay(function(){delete this.cancelBlur;checkFocus.call(this)});if(this._start(event)===false){return}this._repeat(null,$(event.currentTarget).hasClass("flix_ui-spinner-up")?1:-1,event)},"mouseup .flix_ui-spinner-button":"_stop","mouseenter .flix_ui-spinner-button":function(event){if(!$(event.currentTarget).hasClass("flix_ui-state-active")){return}if(this._start(event)===false){return false}this._repeat(null,$(event.currentTarget).hasClass("flix_ui-spinner-up")?1:-1,event)},"mouseleave .flix_ui-spinner-button":"_stop"},_draw:function(){var uiSpinner=this.uiSpinner=this.element.addClass("flix_ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton");this.buttons=uiSpinner.find(".flix_ui-spinner-button").attr("tabIndex",-1).button().removeClass("flix_ui-corner-all");if(this.buttons.height()>Math.ceil(uiSpinner.height()*0.5)&&uiSpinner.height()>0){uiSpinner.height(uiSpinner.height())}if(this.options.disabled){this.disable()}},_keydown:function(event){var options=this.options,keyCode=$.ui.keyCode;switch(event.keyCode){case keyCode.UP:this._repeat(null,1,event);return true;case keyCode.DOWN:this._repeat(null,-1,event);return true;case keyCode.PAGE_UP:this._repeat(null,options.page,event);return true;case keyCode.PAGE_DOWN:this._repeat(null,-options.page,event);return true}return false},_uiSpinnerHtml:function(){return"<span class='flix_ui-spinner flix_ui-widget flix_ui-widget-content flix_ui-corner-all'></span>"},_buttonHtml:function(){return""+"<a class='flix_ui-spinner-button flix_ui-spinner-up flix_ui-corner-tr'>"+"<span class='flix_ui-icon "+this.options.icons.up+"'>&#9650;</span>"+"</a>"+"<a class='flix_ui-spinner-button flix_ui-spinner-down flix_ui-corner-br'>"+"<span class='flix_ui-icon "+this.options.icons.down+"'>&#9660;</span>"+"</a>"},_start:function(event){if(!this.spinning&&this._trigger("start",event)===false){return false}if(!this.counter){this.counter=1}this.spinning=true;return true},_repeat:function(i,steps,event){i=i||500;clearTimeout(this.timer);this.timer=this._delay(function(){this._repeat(40,steps,event)},i);this._spin(steps*this.options.step,event)},_spin:function(step,event){var value=this.value()||0;if(!this.counter){this.counter=1}value=this._adjustValue(value+step*this._increment(this.counter));if(!this.spinning||this._trigger("spin",event,{value:value})!==false){this._value(value);this.counter++}},_increment:function(i){var incremental=this.options.incremental;if(incremental){return $.isFunction(incremental)?incremental(i):Math.floor(i*i*i/50000-i*i/500+17*i/200+1)}return 1},_precision:function(){var precision=this._precisionOf(this.options.step);if(this.options.min!==null){precision=Math.max(precision,this._precisionOf(this.options.min))}return precision},_precisionOf:function(num){var str=num.toString(),decimal=str.indexOf(".");return decimal===-1?0:str.length-decimal-1},_adjustValue:function(value){var base,aboveMin,options=this.options;base=options.min!==null?options.min:0;aboveMin=value-base;aboveMin=Math.round(aboveMin/options.step)*options.step;value=base+aboveMin;value=parseFloat(value.toFixed(this._precision()));if(options.max!==null&&value>options.max){return options.max}if(options.min!==null&&value<options.min){return options.min}return value},_stop:function(event){if(!this.spinning){return}clearTimeout(this.timer);clearTimeout(this.mousewheelTimer);this.counter=0;this.spinning=false;this._trigger("stop",event)},_setOption:function(key,value){if(key==="culture"||key==="numberFormat"){var prevValue=this._parse(this.element.val());this.options[key]=value;this.element.val(this._format(prevValue));return}if(key==="max"||key==="min"||key==="step"){if(typeof value==="string"){value=this._parse(value)}}if(key==="icons"){this.buttons.first().find(".flix_ui-icon").removeClass(this.options.icons.up).addClass(value.up);this.buttons.last().find(".flix_ui-icon").removeClass(this.options.icons.down).addClass(value.down)}this._super(key,value);if(key==="disabled"){if(value){this.element.prop("disabled",true);this.buttons.button("disable")}else{this.element.prop("disabled",false);this.buttons.button("enable")}}},_setOptions:modifier(function(options){this._super(options);this._value(this.element.val())}),_parse:function(val){if(typeof val==="string"&&val!==""){val=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(val,10,this.options.culture):+val}return val===""||isNaN(val)?null:val},_format:function(value){if(value===""){return""}return window.Globalize&&this.options.numberFormat?Globalize.format(value,this.options.numberFormat,this.options.culture):value},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},_value:function(value,allowAny){var parsed;if(value!==""){parsed=this._parse(value);if(parsed!==null){if(!allowAny){parsed=this._adjustValue(parsed)}value=this._format(parsed)}}this.element.val(value);this._refresh()},_destroy:function(){this.element.removeClass("flix_ui-spinner-input").prop("disabled",false).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow");this.uiSpinner.replaceWith(this.element)},stepUp:modifier(function(steps){this._stepUp(steps)}),_stepUp:function(steps){if(this._start()){this._spin((steps||1)*this.options.step);this._stop()}},stepDown:modifier(function(steps){this._stepDown(steps)}),_stepDown:function(steps){if(this._start()){this._spin((steps||1)*-this.options.step);this._stop()}},pageUp:modifier(function(pages){this._stepUp((pages||1)*this.options.page)}),pageDown:modifier(function(pages){this._stepDown((pages||1)*this.options.page)}),value:function(newVal){if(!arguments.length){return this._parse(this.element.val())}modifier(this._value).call(this,newVal)},widget:function(){return this.uiSpinner}})}(FlixjQ));(function($,undefined){var tabId=0,rhash=/#.*$/;function getNextTabId(){return++tabId}function isLocal(anchor){return anchor.hash.length>1&&decodeURIComponent(anchor.href.replace(rhash,""))===decodeURIComponent(location.href.replace(rhash,""))}$.widget("ui.tabs",{version:"1.10.3",delay:300,options:{active:null,collapsible:false,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var that=this,options=this.options;this.running=false;this.element.addClass("flix_ui-tabs flix_ui-widget flix_ui-widget-content flix_ui-corner-all").toggleClass("flix_ui-tabs-collapsible",options.collapsible).delegate(".flix_ui-tabs-nav > li","mousedown"+this.eventNamespace,function(event){if($(this).is(".flix_ui-state-disabled")){event.preventDefault()}}).delegate(".flix_ui-tabs-anchor","focus"+this.eventNamespace,function(){if($(this).closest("li").is(".flix_ui-state-disabled")){this.blur()}});this._processTabs();options.active=this._initialActive();if($.isArray(options.disabled)){options.disabled=$.unique(options.disabled.concat($.map(this.tabs.filter(".flix_ui-state-disabled"),function(li){return that.tabs.index(li)}))).sort()}if(this.options.active!==false&&this.anchors.length){this.active=this._findActive(options.active)}else{this.active=$()}this._refresh();if(this.active.length){this.load(options.active)}},_initialActive:function(){var active=this.options.active,collapsible=this.options.collapsible,locationHash=location.hash.substring(1);if(active===null){if(locationHash){this.tabs.each(function(i,tab){if($(tab).attr("aria-controls")===locationHash){active=i;return false}})}if(active===null){active=this.tabs.index(this.tabs.filter(".flix_ui-tabs-active"))}if(active===null||active===-1){active=this.tabs.length?0:false}}if(active!==false){active=this.tabs.index(this.tabs.eq(active));if(active===-1){active=collapsible?false:0}}if(!collapsible&&active===false&&this.anchors.length){active=0}return active},_getCreateEventData:function(){return{tab:this.active,panel:!this.active.length?$():this._getPanelForTab(this.active)}},_tabKeydown:function(event){var focusedTab=$(this.document[0].activeElement).closest("li"),selectedIndex=this.tabs.index(focusedTab),goingForward=true;if(this._handlePageNav(event)){return}switch(event.keyCode){case $.ui.keyCode.RIGHT:case $.ui.keyCode.DOWN:selectedIndex++;break;case $.ui.keyCode.UP:case $.ui.keyCode.LEFT:goingForward=false;selectedIndex--;break;case $.ui.keyCode.END:selectedIndex=this.anchors.length-1;break;case $.ui.keyCode.HOME:selectedIndex=0;break;case $.ui.keyCode.SPACE:event.preventDefault();clearTimeout(this.activating);this._activate(selectedIndex);return;case $.ui.keyCode.ENTER:event.preventDefault();clearTimeout(this.activating);this._activate(selectedIndex===this.options.active?false:selectedIndex);return;default:return}event.preventDefault();clearTimeout(this.activating);selectedIndex=this._focusNextTab(selectedIndex,goingForward);if(!event.ctrlKey){focusedTab.attr("aria-selected","false");this.tabs.eq(selectedIndex).attr("aria-selected","true");this.activating=this._delay(function(){this.option("active",selectedIndex)},this.delay)}},_panelKeydown:function(event){if(this._handlePageNav(event)){return}if(event.ctrlKey&&event.keyCode===$.ui.keyCode.UP){event.preventDefault();this.active.focus()}},_handlePageNav:function(event){if(event.altKey&&event.keyCode===$.ui.keyCode.PAGE_UP){this._activate(this._focusNextTab(this.options.active-1,false));return true}if(event.altKey&&event.keyCode===$.ui.keyCode.PAGE_DOWN){this._activate(this._focusNextTab(this.options.active+1,true));return true}},_findNextTab:function(index,goingForward){var lastTabIndex=this.tabs.length-1;function constrain(){if(index>lastTabIndex){index=0}if(index<0){index=lastTabIndex}return index}while($.inArray(constrain(),this.options.disabled)!==-1){index=goingForward?index+1:index-1}return index},_focusNextTab:function(index,goingForward){index=this._findNextTab(index,goingForward);this.tabs.eq(index).focus();return index},_setOption:function(key,value){if(key==="active"){this._activate(value);return}if(key==="disabled"){this._setupDisabled(value);return}this._super(key,value);if(key==="collapsible"){this.element.toggleClass("flix_ui-tabs-collapsible",value);if(!value&&this.options.active===false){this._activate(0)}}if(key==="event"){this._setupEvents(value)}if(key==="heightStyle"){this._setupHeightStyle(value)}},_tabId:function(tab){return tab.attr("aria-controls")||"flix_ui-tabs-"+getNextTabId()},_sanitizeSelector:function(hash){return hash?hash.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var options=this.options,lis=this.tablist.children(":has(a[href])");options.disabled=$.map(lis.filter(".flix_ui-state-disabled"),function(tab){return lis.index(tab)});this._processTabs();if(options.active===false||!this.anchors.length){options.active=false;this.active=$()}else if(this.active.length&&!$.contains(this.tablist[0],this.active[0])){if(this.tabs.length===options.disabled.length){options.active=false;this.active=$()}else{this._activate(this._findNextTab(Math.max(0,options.active-1),false))}}else{options.active=this.tabs.index(this.active)}this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled);this._setupEvents(this.options.event);this._setupHeightStyle(this.options.heightStyle);this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1});this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"});if(!this.active.length){this.tabs.eq(0).attr("tabIndex",0)}else{this.active.addClass("flix_ui-tabs-active flix_ui-state-active").attr({"aria-selected":"true",tabIndex:0});this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})}},_processTabs:function(){var that=this;this.tablist=this._getList().addClass("flix_ui-tabs-nav flix_ui-helper-reset flix_ui-helper-clearfix flix_ui-widget-header flix_ui-corner-all").attr("role","tablist");this.tabs=this.tablist.find("> li:has(a[href])").addClass("flix_ui-state-default flix_ui-corner-top").attr({role:"tab",tabIndex:-1});this.anchors=this.tabs.map(function(){return $("a",this)[0]}).addClass("flix_ui-tabs-anchor").attr({role:"presentation",tabIndex:-1});this.panels=$();this.anchors.each(function(i,anchor){var selector,panel,panelId,anchorId=$(anchor).uniqueId().attr("id"),tab=$(anchor).closest("li"),originalAriaControls=tab.attr("aria-controls");if(isLocal(anchor)){selector=anchor.hash;panel=that.element.find(that._sanitizeSelector(selector))}else{panelId=that._tabId(tab);selector="#"+panelId;panel=that.element.find(selector);if(!panel.length){panel=that._createPanel(panelId);panel.insertAfter(that.panels[i-1]||that.tablist)}panel.attr("aria-live","polite")}if(panel.length){that.panels=that.panels.add(panel)}if(originalAriaControls){tab.data("flix_ui-tabs-aria-controls",originalAriaControls)}tab.attr({"aria-controls":selector.substring(1),"aria-labelledby":anchorId});panel.attr("aria-labelledby",anchorId)});this.panels.addClass("flix_ui-tabs-panel flix_ui-widget-content flix_ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(id){return $("<div>").attr("id",id).addClass("flix_ui-tabs-panel flix_ui-widget-content flix_ui-corner-bottom").data("flix_ui-tabs-destroy",true)},_setupDisabled:function(disabled){if($.isArray(disabled)){if(!disabled.length){disabled=false}else if(disabled.length===this.anchors.length){disabled=true}}for(var i=0,li;(li=this.tabs[i]);i++){if(disabled===true||$.inArray(i,disabled)!==-1){$(li).addClass("flix_ui-state-disabled").attr("aria-disabled","true")}else{$(li).removeClass("flix_ui-state-disabled").removeAttr("aria-disabled")}}this.options.disabled=disabled},_setupEvents:function(event){var events={click:function(event){event.preventDefault()}};if(event){$.each(event.split(" "),function(index,eventName){events[eventName]="_eventHandler"})}this._off(this.anchors.add(this.tabs).add(this.panels));this._on(this.anchors,events);this._on(this.tabs,{keydown:"_tabKeydown"});this._on(this.panels,{keydown:"_panelKeydown"});this._focusable(this.tabs);this._hoverable(this.tabs)},_setupHeightStyle:function(heightStyle){var maxHeight,parent=this.element.parent();if(heightStyle==="fill"){maxHeight=parent.height();maxHeight-=this.element.outerHeight()-this.element.height();this.element.siblings(":visible").each(function(){var elem=$(this),position=elem.css("position");if(position==="absolute"||position==="fixed"){return}maxHeight-=elem.outerHeight(true)});this.element.children().not(this.panels).each(function(){maxHeight-=$(this).outerHeight(true)});this.panels.each(function(){$(this).height(Math.max(0,maxHeight-$(this).innerHeight()+$(this).height()))}).css("overflow","auto")}else if(heightStyle==="auto"){maxHeight=0;this.panels.each(function(){maxHeight=Math.max(maxHeight,$(this).height("").height())}).height(maxHeight)}},_eventHandler:function(event){var options=this.options,active=this.active,anchor=$(event.currentTarget),tab=anchor.closest("li"),clickedIsActive=tab[0]===active[0],collapsing=clickedIsActive&&options.collapsible,toShow=collapsing?$():this._getPanelForTab(tab),toHide=!active.length?$():this._getPanelForTab(active),eventData={oldTab:active,oldPanel:toHide,newTab:collapsing?$():tab,newPanel:toShow};event.preventDefault();if(tab.hasClass("flix_ui-state-disabled")||tab.hasClass("flix_ui-tabs-loading")||this.running||(clickedIsActive&&!options.collapsible)||(this._trigger("beforeActivate",event,eventData)===false)){return}options.active=collapsing?false:this.tabs.index(tab);this.active=clickedIsActive?$():tab;if(this.xhr){this.xhr.abort()}if(!toHide.length&&!toShow.length){$.error("FlixjQ UI Tabs: Mismatching fragment identifier.")}if(toShow.length){this.load(this.tabs.index(tab),event)}this._toggle(event,eventData)},_toggle:function(event,eventData){var that=this,toShow=eventData.newPanel,toHide=eventData.oldPanel;this.running=true;function complete(){that.running=false;that._trigger("activate",event,eventData)}function show(){eventData.newTab.closest("li").addClass("flix_ui-tabs-active flix_ui-state-active");if(toShow.length&&that.options.show){that._show(toShow,that.options.show,complete)}else{toShow.show();complete()}}if(toHide.length&&this.options.hide){this._hide(toHide,this.options.hide,function(){eventData.oldTab.closest("li").removeClass("flix_ui-tabs-active flix_ui-state-active");show()})}else{eventData.oldTab.closest("li").removeClass("flix_ui-tabs-active flix_ui-state-active");toHide.hide();show()}toHide.attr({"aria-expanded":"false","aria-hidden":"true"});eventData.oldTab.attr("aria-selected","false");if(toShow.length&&toHide.length){eventData.oldTab.attr("tabIndex",-1)}else if(toShow.length){this.tabs.filter(function(){return $(this).attr("tabIndex")===0}).attr("tabIndex",-1)}toShow.attr({"aria-expanded":"true","aria-hidden":"false"});eventData.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(index){var anchor,active=this._findActive(index);if(active[0]===this.active[0]){return}if(!active.length){active=this.active}anchor=active.find(".flix_ui-tabs-anchor")[0];this._eventHandler({target:anchor,currentTarget:anchor,preventDefault:$.noop})},_findActive:function(index){return index===false?$():this.tabs.eq(index)},_getIndex:function(index){if(typeof index==="string"){index=this.anchors.index(this.anchors.filter("[href$='"+index+"']"))}return index},_destroy:function(){if(this.xhr){this.xhr.abort()}this.element.removeClass("flix_ui-tabs flix_ui-widget flix_ui-widget-content flix_ui-corner-all flix_ui-tabs-collapsible");this.tablist.removeClass("flix_ui-tabs-nav flix_ui-helper-reset flix_ui-helper-clearfix flix_ui-widget-header flix_ui-corner-all").removeAttr("role");this.anchors.removeClass("flix_ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId();this.tabs.add(this.panels).each(function(){if($.data(this,"flix_ui-tabs-destroy")){$(this).remove()}else{$(this).removeClass("flix_ui-state-default flix_ui-state-active flix_ui-state-disabled "+"flix_ui-corner-top flix_ui-corner-bottom flix_ui-widget-content flix_ui-tabs-active flix_ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}});this.tabs.each(function(){var li=$(this),prev=li.data("flix_ui-tabs-aria-controls");if(prev){li.attr("aria-controls",prev).removeData("flix_ui-tabs-aria-controls")}else{li.removeAttr("aria-controls")}});this.panels.show();if(this.options.heightStyle!=="content"){this.panels.css("height","")}},enable:function(index){var disabled=this.options.disabled;if(disabled===false){return}if(index===undefined){disabled=false}else{index=this._getIndex(index);if($.isArray(disabled)){disabled=$.map(disabled,function(num){return num!==index?num:null})}else{disabled=$.map(this.tabs,function(li,num){return num!==index?num:null})}}this._setupDisabled(disabled)},disable:function(index){var disabled=this.options.disabled;if(disabled===true){return}if(index===undefined){disabled=true}else{index=this._getIndex(index);if($.inArray(index,disabled)!==-1){return}if($.isArray(disabled)){disabled=$.merge([index],disabled).sort()}else{disabled=[index]}}this._setupDisabled(disabled)},load:function(index,event){index=this._getIndex(index);var that=this,tab=this.tabs.eq(index),anchor=tab.find(".flix_ui-tabs-anchor"),panel=this._getPanelForTab(tab),eventData={tab:tab,panel:panel};if(isLocal(anchor[0])){return}this.xhr=$.ajax(this._ajaxSettings(anchor,event,eventData));if(this.xhr&&this.xhr.statusText!=="canceled"){tab.addClass("flix_ui-tabs-loading");panel.attr("aria-busy","true");this.xhr.success(function(response){setTimeout(function(){panel.html(response);that._trigger("load",event,eventData)},1)}).complete(function(jqXHR,status){setTimeout(function(){if(status==="abort"){that.panels.stop(false,true)}tab.removeClass("flix_ui-tabs-loading");panel.removeAttr("aria-busy");if(jqXHR===that.xhr){delete that.xhr}},1)})}},_ajaxSettings:function(anchor,event,eventData){var that=this;return{url:anchor.attr("href"),beforeSend:function(jqXHR,settings){return that._trigger("beforeLoad",event,$.extend({jqXHR:jqXHR,ajaxSettings:settings},eventData))}}},_getPanelForTab:function(tab){var id=$(tab).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+id))}})})(FlixjQ);(function($){var increments=0;function addDescribedBy(elem,id){var describedby=(elem.attr("aria-describedby")||"").split(/\s+/);describedby.push(id);elem.data("flix_ui-tooltip-id",id).attr("aria-describedby",$.trim(describedby.join(" ")))}function removeDescribedBy(elem){var id=elem.data("flix_ui-tooltip-id"),describedby=(elem.attr("aria-describedby")||"").split(/\s+/),index=$.inArray(id,describedby);if(index!==-1){describedby.splice(index,1)}elem.removeData("flix_ui-tooltip-id");describedby=$.trim(describedby.join(" "));if(describedby){elem.attr("aria-describedby",describedby)}else{elem.removeAttr("aria-describedby")}}$.widget("ui.tooltip",{version:"1.10.3",options:{content:function(){var title=$(this).attr("title")||"";return $("<a>").text(title).html()},hide:true,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:true,tooltipClass:null,track:false,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"});this.tooltips={};this.parents={};if(this.options.disabled){this._disable()}},_setOption:function(key,value){var that=this;if(key==="disabled"){this[value?"_disable":"_enable"]();this.options[key]=value;return}this._super(key,value);if(key==="content"){$.each(this.tooltips,function(id,element){that._updateContent(element)})}},_disable:function(){var that=this;$.each(this.tooltips,function(id,element){var event=$.Event("blur");event.target=event.currentTarget=element[0];that.close(event,true)});this.element.find(this.options.items).addBack().each(function(){var element=$(this);if(element.is("[title]")){element.data("flix_ui-tooltip-title",element.attr("title")).attr("title","")}})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var element=$(this);if(element.data("flix_ui-tooltip-title")){element.attr("title",element.data("flix_ui-tooltip-title"))}})},open:function(event){var that=this,target=$(event?event.target:this.element).closest(this.options.items);if(!target.length||target.data("flix_ui-tooltip-id")){return}if(target.attr("title")){target.data("flix_ui-tooltip-title",target.attr("title"))}target.data("flix_ui-tooltip-open",true);if(event&&event.type==="mouseover"){target.parents().each(function(){var parent=$(this),blurEvent;if(parent.data("flix_ui-tooltip-open")){blurEvent=$.Event("blur");blurEvent.target=blurEvent.currentTarget=this;that.close(blurEvent,true)}if(parent.attr("title")){parent.uniqueId();that.parents[this.id]={element:this,title:parent.attr("title")};parent.attr("title","")}})}this._updateContent(target,event)},_updateContent:function(target,event){var content,contentOption=this.options.content,that=this,eventType=event?event.type:null;if(typeof contentOption==="string"){return this._open(event,target,contentOption)}content=contentOption.call(target[0],function(response){if(!target.data("flix_ui-tooltip-open")){return}that._delay(function(){if(event){event.type=eventType}this._open(event,target,response)})});if(content){this._open(event,target,content)}},_open:function(event,target,content){var tooltip,events,delayedShow,positionOption=$.extend({},this.options.position);if(!content){return}tooltip=this._find(target);if(tooltip.length){tooltip.find(".flix_ui-tooltip-content").html(content);return}if(target.is("[title]")){if(event&&event.type==="mouseover"){target.attr("title","")}else{target.removeAttr("title")}}tooltip=this._tooltip(target);addDescribedBy(target,tooltip.attr("id"));tooltip.find(".flix_ui-tooltip-content").html(content);function position(event){positionOption.of=event;if(tooltip.is(":hidden")){return}tooltip.position(positionOption)}if(this.options.track&&event&&/^mouse/.test(event.type)){this._on(this.document,{mousemove:position});position(event)}else{tooltip.position($.extend({of:target},this.options.position))}tooltip.hide();this._show(tooltip,this.options.show);if(this.options.show&&this.options.show.delay){delayedShow=this.delayedShow=setInterval(function(){if(tooltip.is(":visible")){position(positionOption.of);clearInterval(delayedShow)}},$.fx.interval)}this._trigger("open",event,{tooltip:tooltip});events={keyup:function(event){if(event.keyCode===$.ui.keyCode.ESCAPE){var fakeEvent=$.Event(event);fakeEvent.currentTarget=target[0];this.close(fakeEvent,true)}},remove:function(){this._removeTooltip(tooltip)}};if(!event||event.type==="mouseover"){events.mouseleave="close"}if(!event||event.type==="focusin"){events.focusout="close"}this._on(true,target,events)},close:function(event){var that=this,target=$(event?event.currentTarget:this.element),tooltip=this._find(target);if(this.closing){return}clearInterval(this.delayedShow);if(target.data("flix_ui-tooltip-title")){target.attr("title",target.data("flix_ui-tooltip-title"))}removeDescribedBy(target);tooltip.stop(true);this._hide(tooltip,this.options.hide,function(){that._removeTooltip($(this))});target.removeData("flix_ui-tooltip-open");this._off(target,"mouseleave focusout keyup");if(target[0]!==this.element[0]){this._off(target,"remove")}this._off(this.document,"mousemove");if(event&&event.type==="mouseleave"){$.each(this.parents,function(id,parent){$(parent.element).attr("title",parent.title);delete that.parents[id]})}this.closing=true;this._trigger("close",event,{tooltip:tooltip});this.closing=false},_tooltip:function(element){var id="flix_ui-tooltip-"+increments++,tooltip=$("<div>").attr({id:id,role:"tooltip"}).addClass("flix_ui-tooltip flix_ui-widget flix_ui-corner-all flix_ui-widget-content "+(this.options.tooltipClass||""));$("<div>").addClass("flix_ui-tooltip-content").appendTo(tooltip);tooltip.appendTo(this.document[0].body);this.tooltips[id]=element;return tooltip},_find:function(target){var id=target.data("flix_ui-tooltip-id");return id?$("#"+id):$()},_removeTooltip:function(tooltip){tooltip.remove();delete this.tooltips[tooltip.attr("id")]},_destroy:function(){var that=this;$.each(this.tooltips,function(id,element){var event=$.Event("blur");event.target=event.currentTarget=element[0];that.close(event,true);$("#"+id).remove();if(element.data("flix_ui-tooltip-title")){element.attr("title",element.data("flix_ui-tooltip-title"));element.removeData("flix_ui-tooltip-title")}})}})}(FlixjQ));}
(function($){$.fn.touchwipe=function(settings){var config={min_move_x:20,min_move_y:20,wipeLeft:function(){},wipeRight:function(){},wipeUp:function(){},wipeDown:function(){},preventDefaultEvents:false};if(settings)$.extend(config,settings);this.each(function(){var startX;var startY;var isMoving=false;function cancelTouch(){this.removeEventListener('touchmove',onTouchMove);startX=null;isMoving=false}function onTouchMove(e){if(config.preventDefaultEvents){e.preventDefault()}if(isMoving){var x=e.touches[0].pageX;var y=e.touches[0].pageY;var dx=startX-x;var dy=startY-y;if(Math.abs(dx)>=config.min_move_x){cancelTouch();if(dx>0){config.wipeLeft()}else{config.wipeRight()}}else if(Math.abs(dy)>=config.min_move_y){cancelTouch();if(dy>0){config.wipeDown()}else{config.wipeUp()}}}}function onTouchStart(e){function hasSomeParentTheClass(element,classname){if(!element.parentNode)return false;if(element.className.length&&element.className.split(' ').indexOf(classname)>=0)return true;return hasSomeParentTheClass(element.parentNode,classname);}var noswipe=hasSomeParentTheClass(e.target,'flix-noswipe');if(e.touches.length==1&&noswipe==false){startX=e.touches[0].pageX;startY=e.touches[0].pageY;isMoving=true;this.addEventListener('touchmove',onTouchMove,false)}}if('ontouchstart'in document.documentElement){this.addEventListener('touchstart',onTouchStart,false)}});return this}})(FlixjQ);var ENV='-prod'
var flixmain_base_url='//media.flixcar.com/delivery/';var flixmain_api_base_url='//media.flixcar.com/modular/';var flixmain_base_modular_url='https://media.flixcar.com/modular/';var flixmain_api_call_url='json/modular-comp-prods.json';var flixmain_api_call_url_dummy=false;var flixmain_product_id='';var flixmain_distributor='';var flixmain_abtesting=false;var flixmain_stop_tracking=false;var flixmain_language='';var flixmain_language_fliso='';var flixmain_dmn='';var flixmain_button_img='';var flixmain_mpn='';var flixmain_ean='';var flixmain_adjacent_codes='';var flixmain_smart_config_id='';var flixmain_HS_pos='';var flixmain_HS_container='';var flixRetailerUrlStore=window.location.href;var initialUrl=window.location.href;if(typeof URLSearchParams=='function'){var flixurlParams=new URLSearchParams(window.location.search);var myScript=document.querySelector('script[src*="/js/service.js"]');if(document.currentScript){myScript=document.currentScript}
if(myScript){var myScriptSrc=myScript.getAttribute('src');var serviceurl=new URLSearchParams(myScriptSrc);if(serviceurl.get('mpn')||serviceurl.get('ean')){if(serviceurl.get('l'))
serviceurl.set('iso',serviceurl.get('l').toLowerCase());if(serviceurl.get('fl'))
serviceurl.set('flIso',serviceurl.get('fl').toLowerCase());if(serviceurl.get('d'))
serviceurl.set('distId',serviceurl.get('d'));if(serviceurl.get('mpn'))
serviceurl.set('mpn',encodeURIComponent(serviceurl.get('mpn')));if(serviceurl.get('ean'))
serviceurl.set('ean',encodeURIComponent(serviceurl.get('ean')));flixurlParams=serviceurl;}}
var flixloaderjs=document.querySelector('script[src*="/js/loader.js"]');if(!myScript){if(flixloaderjs){var serviceurl=new URLSearchParams(flixurlParams);if(flixloaderjs.getAttribute('data-flix-mpn')||flixloaderjs.getAttribute('data-flix-ean')){if(flixloaderjs.getAttribute('data-flix-language'))
serviceurl.set('iso',flixloaderjs.getAttribute('data-flix-language').toLowerCase());if(flixloaderjs.getAttribute('data-flix-fallback-language'))
serviceurl.set('flIso',flixloaderjs.getAttribute('data-flix-fallback-language').toLowerCase());if(flixloaderjs.getAttribute('data-flix-distributor'))
serviceurl.set('distId',flixloaderjs.getAttribute('data-flix-distributor'));if(flixloaderjs.getAttribute('data-flix-mpn'))
serviceurl.set('mpn',encodeURIComponent(flixloaderjs.getAttribute('data-flix-mpn')));if(flixloaderjs.getAttribute('data-flix-ean'))
serviceurl.set('ean',encodeURIComponent(flixloaderjs.getAttribute('data-flix-ean')));if(flixloaderjs.getAttribute('data-flix-sku'))
serviceurl.set('sku',encodeURIComponent(flixloaderjs.getAttribute('data-flix-sku')));flixurlParams=serviceurl;}}}
if(flixurlParams.get('mpn')||flixurlParams.get('ean')){flixmain_mpn=flixurlParams.get('mpn')?flixurlParams.get('mpn'):'';flixmain_ean=flixurlParams.get('ean')?flixurlParams.get('ean'):'';if(flixloaderjs){if(flixloaderjs.getAttribute('data-flix-mpn')&&flixloaderjs.getAttribute('data-flix-mpn').length>2){flixmain_mpn=encodeURIComponent(flixloaderjs.getAttribute('data-flix-mpn'));}
if(flixloaderjs.getAttribute('data-flix-ean')&&flixloaderjs.getAttribute('data-flix-ean').length>2){flixmain_ean=encodeURIComponent(flixloaderjs.getAttribute('data-flix-ean'));if(flixmain_ean.length<13){flixmain_ean=Array(13+1-flixmain_ean.length).join('0')+flixmain_ean;}}}
flixmain_distributor=flixurlParams.get('distId')?flixurlParams.get('distId'):'';flixmain_language=flixurlParams.get('iso')?flixurlParams.get('iso'):'';flixmain_adjacent_codes=flixurlParams.get('adjacent_codes')?flixurlParams.get('adjacent_codes'):'';flixmain_abtesting=flixurlParams.get('abtesting')?flixurlParams.get('abtesting'):false;flixmain_HS_pos=flixurlParams.get('hotposition')?flixurlParams.get('hotposition'):'';flixmain_HS_container=flixurlParams.get('hotimage_container')?flixurlParams.get('hotimage_container'):'';flixmain_language_fliso=flixurlParams.get('flIso')?flixurlParams.get('flIso'):'';flixmain_api_call_url_dummy=flixurlParams.get('dummy')?flixurlParams.get('dummy'):false;flixmain_smart_config_id=flixurlParams.get('flix-smart')?flixurlParams.get('flix-smart'):'';flixmain_stop_tracking=flixurlParams.get('flix-stoptrack')?true:false;flixmain_button_img=flixurlParams.get('img')?flixurlParams.get('img'):'';flixmain_dmn=flixurlParams.get('dmn')?flixurlParams.get('dmn'):false;var flixmain_mpn_ean='';if(flixmain_mpn){flixmain_mpn_ean+=flixmain_mpn}
if(flixmain_ean){flixmain_mpn_ean+=flixmain_ean}
if(flixRetailerUrlStore.search('ecogadgetmart')!=-1){flixmain_dmn=window.btoa((window.location&&window.location.hostname)?window.location.hostname:(window.location&&window.location.host)?window.location.host:'')}
if(flixmain_dmn){flixmain_mpn_ean+=flixmain_dmn}
if(typeof flixmain_mpn_ean==='string'){flixmain_mpn_ean=flixmain_mpn_ean.replace(/[^a-zA-Z0-9]+/g,'-').replace(/^-+|-+$/g,'');}
flixmain_api_call_url='web-api/'+flixmain_language+'/'+flixmain_distributor+'/'+flixmain_mpn_ean+'/t.json?mpn='+flixmain_mpn+'&ean='+flixmain_ean+'&distId='+flixmain_distributor+'&iso='+flixmain_language+'&flIso='+flixmain_language_fliso;}}
var distributorIdsDE=[171,877,492,12498,546,4904];if(distributorIdsDE.indexOf(parseInt(flixmain_distributor))!=-1){flixmain_api_base_url=flixmain_api_base_url.replace('modular-alpha.flix360.io','syndication-de-alpha.flix360.io')
flixmain_api_base_url=flixmain_api_base_url.replace('media.flixcar.com','syndication.flix360.com');flixmain_base_modular_url=flixmain_base_modular_url.replace('media.flixcar.com','syndication.flix360.com')}
if(flixmain_stop_tracking){var flixtracking=false;}
var flixtopurl=document.URL;var flixs=flixtopurl.indexOf("#");if(flixs!=-1){flixtopurl=flixtopurl.substring(0,flixs);}
if(typeof window.flixJsCallbacks!="undefined"&&typeof window.flixJsCallbacks._loadCallback=="undefined"&&window.flixJsCallbacks.pageCapture&&window.flixJsCallbacks.pageCapture.pn&&window.flixJsCallbacks.pageCapture.pn!=flixtopurl){window.flixJsCallbacks={};}
window.flixJsCallbacks=window.flixJsCallbacks||{};window.flixJsCallbacks.pageGeneric=window.flixJsCallbacks.pageGeneric||{};window.flixJsCallbacks.pageSpecific=window.flixJsCallbacks.pageSpecific||{};window.flixJsCallbacks.pageGeneric.pageSpecific=window.flixJsCallbacks.pageSpecific||{};FlixjQ.fn.logging=function(){};window.log5=function(){};window.log4=function(){};window.log3=function(){};window.log2=function(){};if(location.href.search('flix-log')!=-1)
window.logflix=function(){logflix.history=logflix.history||[];logflix.history.push(arguments);if(this.console){console.log(Array.prototype.slice.call(arguments));}};else
window.logflix=function(){};FlixjQ.fn.logging.noTracking=false;window.FlixServices={flixmain_base_url:null,time_stamp:null,inpage_holder:null,modular_match_data:null,modular_updated:false,modular_hotspot_data:null,modular_hotspot_settings:null,hotspot_results_hold:null,impage_preloader:null,is_content_loaded:false,minisite_loaded:false,hotspotCss_loaded:false,service_lock_inpage:false,service_lock_minisite:false,service_lock_hotspot:false,webar_cloud_url:"https://d15mv1adrb1s6e.cloudfront.net/",webar_usdz_url:null,Tracreplacer:true,smart_abtest_object:null,inpcontainername:'#flix-inpage',mipcontainername:'flix-minisite',init:function(obj){var d=new Date();var i=d.getTime();var itemplate_node=i;FlixServices.time_stamp=itemplate_node
inpcontainer=FlixjQ(FlixServices.inpcontainername,FlixjQ("body"));FlixServices.inpage_holder=inpcontainer
FlixServices.flixmain_base_url=obj.base_url
if(ENV=='-alpha'){FlixServices.loadFlixJs('https://delivery'+ENV+'.flix360.io/static/distributor/'+flixmain_distributor+'/pagedata-specific.js');}else{FlixServices.loadFlixJs(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=static/distributor/'+flixmain_distributor+'/pagedata-specific.js');}
window.flixJsCallbacks=window.flixJsCallbacks||{};window.flixJsCallbacks.pageGeneric=window.flixJsCallbacks.pageGeneric||{};window.flixJsCallbacks.pageSpecific=window.flixJsCallbacks.pageSpecific||{};FlixServices.flixgeneric();FlixServices.appendGeneric();FlixServices.pagedataGeneric();window.flixJsCallbacks.pageGeneric.pageSpecific=window.flixJsCallbacks.pageSpecific||{};if(flixmain_distributor=='18128'){setTimeout(function(){if(FlixServices!=undefined)
FlixServices.triggerApiCallForModular(obj);logflix("18128 retailer check")},3000);}else{if(flixmain_abtesting){logflix("flixmain_abtesting is running")
setTimeout(function(){if(FlixServices!=undefined&&FlixServices.abTestingCallMaker()){logflix("abTestingCallMaker is true")
if(FlixServices!=undefined)
FlixServices.triggerFallback();}else{if(FlixServices!=undefined)
FlixServices.triggerApiCallForModular(obj);}},1000);}else{if(FlixServices!=undefined)
FlixServices.triggerApiCallForModular(obj);}}
FlixServices.checkModuleExists('.flix-new-template,.flix-jw, .flix_jw_videoid, #fullMultidata, .flix-jwlight,#flix-lg-inpage .flix-C0059 .flix-see-video,.flix-gp1').then((elm)=>{if(FlixServices!=undefined){if(ENV=='-alpha'){FlixServices.loadFlixJs('https://delivery-alpha.flix360.io/static/jwplayer/js/video.js');}else if(location.href.indexOf('flix-videov3')!==-1||sessionStorage.getItem('videov3')==='1'){FlixServices.loadFlixJs(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/static/jwplayer/js/videov3.js');}else{FlixServices.loadFlixJs(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/static/jwplayer/js/video.js');}}});},triggerApiCallForModular:function(obj){if(!flixmain_api_call_url&&!flixmain_api_call_url_dummy){return false;}
if(flixmain_smart_config_id){FlixServices.smart_abtest_object={};FlixServices.smart_abtest_object.p='qa';FlixServices.smart_abtest_object.config_id=flixmain_smart_config_id;FlixServices.smart_abtest_object.active=true;}
if(FlixServices.smart_abtest_object){try{flixmain_api_call_url=flixmain_api_call_url+'&smart='+btoa(JSON.stringify(FlixServices.smart_abtest_object))}catch(error){}}
initialUrl=FlixServices.flixGetURL();window.fetch(!flixmain_api_call_url_dummy?obj.flixmain_api_base_url+flixmain_api_call_url:flixmain_api_call_url_dummy).then(function(res){return res.json()}).then(function(data){if(flixmain_distributor==9265){try{new MutationObserver(()=>{const url=window.location.href;if(!url.includes(flixRetailerUrlStore)){lastUrl=url;if(document.querySelector('script[src*="//media.flixfacts.com/js/loader.js"]')!=null){document.querySelector('script[src*="//media.flixfacts.com/js/loader.js"]').remove();}
if(typeof(flixJsCallbacks)==="object"&&typeof window.flixJsCallbacks.reset!='undefined'){window.flixJsCallbacks.reset();}}}).observe(document,{subtree:true,childList:true});var afterResponseUrl=window.location.href;if(!afterResponseUrl.includes(flixRetailerUrlStore)){logflix('url changed');return false;}else{logflix('url matched')}}catch(ignore){}};if((flixmain_distributor==859||flixmain_distributor==5758||flixmain_distributor==18394||flixmain_distributor==6579)&&initialUrl!==FlixServices.flixGetURL()){return;};if(!data.oem&&data!='wildcard_failure'){data=FlixServices.contentCustomization(data);}
FlixServices.modular_match_data=data
var t_modular_hotspot_data={}
var d_modular_hotspot_settings={}
if(data=='wildcard_failure'){FlixServices.loadFlixJs(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/static/tracking/tracking.js');}
if(!data.oem){var hotspot_key=0;data.forEach(function(product,index){window.flixprodurls=window.flixprodurls||{};var pnurl=FlixServices.flixGetURL()
if(initialUrl!==FlixServices.flixGetURL()&&flixmain_distributor==620){pnurl='';}
if(typeof(product.product_meta.product_id)!='undefined')
window.flixprodurls[product.product_meta.product_id]=pnurl
if(typeof(product.product_meta.inpage)!='undefined'&&product.product_meta.inpage.disabled=="0"){}else{return;}
var customContentChoice=[]
if(product.settings&&typeof(product.settings.smart)!='undefined'){if(product.settings.smart.active){if(typeof(product.settings.smart.rule)!='undefined'&&typeof(product.settings.smart.rule.Hotspot)!='undefined'){customContentChoice=product.settings.smart.rule.Hotspot;}}}
var custom_loaded_asset_type=null
if(customContentChoice.length){customContentChoice.forEach(function(settings,index){switch(settings.pattern){case"primaryLayout":if(typeof(settings.loaded_asset_type)!=='undefined'){if(typeof(settings.validate)!=='undefined'){var keysArray=settings.validate.key.split('.');var result=FlixServices.getValueByNestedKeys(product,keysArray);if(result==settings.validate.value){}else{logflix("hotspot not matching .. skipping",result)
return false;}}
custom_loaded_asset_type=settings.loaded_asset_type}
break;}});}
if(typeof(product.modules)!='undefined'){setTimeout(function(){if(FlixServices!=undefined)
FlixServices.modular_updated=true;},100);if(typeof(product.product_meta.hotspot)!='undefined'&&product.product_meta.hotspot&&product.product_meta.hotspot.disabled=="0"){if(product.modules.hotspot){if(product.modules.viewWebar&&typeof(product.modules.viewWebar)!=='undefined'){if(typeof(product.modules.viewWebar.type_web_id)!=='undefined'){if(typeof(product.modules.viewWebar.url)!=='undefined'&&product.modules.viewWebar.url.includes('player/index.html')){FlixServices.setWebArUrlsNew(product.modules.viewWebar.type_web_id);}else{FlixServices.setWebArUrls(product.modules.viewWebar.type_web_id);}}}
var modular_has_reviews=false;var modular_has_comparison=false;var modular_has_thirdpartyapp=false;var modular_has_viewWebar=false;var modular_has_ugcs=false;var modular_has_accessory_widget=false;if(typeof(product.modules)!='undefined'){FlixjQ.each(product.modules,function(ix,main_data){if(main_data&&main_data.module_mapper){var clonedObj=JSON.parse(JSON.stringify(main_data));switch(main_data.module_mapper){case"ugcs":break;case"thirdPartyApp":modular_has_thirdpartyapp=FlixServices.flixinpage.processor(clonedObj,product);try{modular_has_thirdpartyapp=modular_has_thirdpartyapp.replace(clonedObj.module_id,product.modules.hotspot["product_thirdpartyapp"].module_id)
modular_has_thirdpartyapp=modular_has_thirdpartyapp.replace("{{flix_distributor_id}}",flixmain_distributor);}catch(error){}
break;case"accessory_widget":modular_has_accessory_widget=FlixServices.flixinpage.processor(clonedObj,product);try{modular_has_accessory_widget=modular_has_accessory_widget.replace(clonedObj.module_id,product.modules.hotspot["accessory_widget"].module_id)}catch(error){}
break;case"reviews":modular_has_reviews=FlixServices.flixinpage.processor(clonedObj,product);try{modular_has_reviews=modular_has_reviews.replace(clonedObj.module_id,product.modules.hotspot["product_review"].module_id)}catch(error){}
break;case"view3dfm":if(typeof(product.modules.viewWebar)!='undefined'&&product.modules.viewWebar){clonedObj.is_other="1";clonedObj.is_hexaeyekandy="";clonedObj.url=clonedObj.mobileUrl||clonedObj.url;modular_has_viewWebar=FlixServices.flixinpage.processor(clonedObj,product);try{modular_has_viewWebar=modular_has_viewWebar.replace(clonedObj.module_id,product.modules.hotspot["desktop_webar"].module_id)}catch(error){}}
break;case"comparison_tables":modular_has_comparison=FlixServices.flixinpage.processor(clonedObj,product);try{modular_has_comparison=modular_has_comparison.replace(clonedObj.module_id,product.modules.hotspot["product_comparison"].module_id)}catch(error){}
break;}
clonedObj=null;}});}
for(let key in product.modules.hotspot){if(custom_loaded_asset_type){if(custom_loaded_asset_type.hasOwnProperty(key)){product.modules.hotspot[key].priority_order=custom_loaded_asset_type[key]}else{logflix("hotspot key not matching .. skipping",key)
continue;}}
if(!t_modular_hotspot_data.hasOwnProperty(key)){if(key=="product_webar"||key=="desktop_webar"){if(!modular_has_viewWebar){continue;}else{if(product.modules.hotspot[key].html){var resolved=product.modules.hotspot[key].html.replace(/&d=6&/g,'&d='+flixmain_distributor+'&')
resolved=resolved.replace(/&amp;d=6&amp;/g,'&amp;d='+flixmain_distributor+'&amp;')}
product.modules.hotspot[key].html=modular_has_viewWebar
var hs_webar_provider=(typeof(product.modules.viewWebar)!='undefined'&&typeof(product.modules.viewWebar.webar_provider)!='undefined')?product.modules.viewWebar.webar_provider:"";product.modules.hotspot[key].ui_default=product.modules.hotspot[key].ui_hover=flixmain_base_modular_url+'flix-button/?env=prod&switch=ArButton&isoCode='+product.product_meta.language_iso+'&template='+hs_webar_provider+'&distId='+flixmain_distributor}}
if(FlixServices.ismobile()){if(typeof(product.settings.manufacturer_settings)=='undefined'){if(key=="product_webar"||key=="desktop_webar"){}else{continue;}}
if(key=="product_webar"||key=="desktop_webar"){var hs_dist_settings=product.settings.distributor_settings;if((typeof(hs_dist_settings.apply_viewwebar)!='undefined'&&hs_dist_settings.apply_viewwebar=="0")){continue;}}}
if(key=="product_comparison"){if(!modular_has_comparison){continue;}else{product.modules.hotspot[key].html=modular_has_comparison;}}
if(key=="product_thirdpartyapp"){if(!modular_has_thirdpartyapp){continue;}else{product.modules.hotspot[key].html=modular_has_thirdpartyapp;}}
if(key=="accessory_widget"){if(!modular_has_accessory_widget){continue;}else{product.modules.hotspot[key].html=modular_has_accessory_widget;}}
if(key=="product_review"){if(!modular_has_reviews){continue;}else{product.modules.hotspot[key].html=modular_has_reviews;}}
if(distributorIdsDE.indexOf(parseInt(flixmain_distributor))!=-1&&product.modules.hotspot[key]&&product.modules.hotspot[key].html){product.modules.hotspot[key].html=product.modules.hotspot[key].html.replace(/\/\/delivery-alpha.flix360.io\//g,'//syndication-de-alpha.flix360.io/');product.modules.hotspot[key].html=product.modules.hotspot[key].html.replace(/\/\/alpha-assets.flix360.io\//g,'//syndication-de-alpha.flix360.io/f360cdn/');product.modules.hotspot[key].html=product.modules.hotspot[key].html.replace(/\/\/media.flixcar.com\//g,'//syndication.flix360.com/');product.modules.hotspot[key].html=product.modules.hotspot[key].html.replace(/media.flixfacts.com\//g,'syndication.flix360.com/static-assets/');}
if(hotspot_key>0){if(typeof window.OemHsAvailable=='undefined'&&FlixServices.ismobile()&&typeof(product.settings.manufacturer_settings)!='undefined'&&typeof t_modular_hotspot_data!='undefined'&&typeof d_modular_hotspot_settings.length=='undefined'){product.settings.distributor_settings.adjacent_codes=typeof(product.settings.adjacent_codes)!=='undefined'?product.settings.adjacent_codes:flixmain_adjacent_codes;product.settings.distributor_settings.using_hotspot_v2=true;dist_settings=product.settings.distributor_settings;d_modular_hotspot_settings={"image_src":dist_settings.image_src?dist_settings.image_src:'',"image_id":dist_settings.image_id?dist_settings.image_id:'',"alignment":dist_settings.alignment?dist_settings.alignment:false,"desktop_webar":dist_settings.desktop_webar?dist_settings.desktop_webar:'',"qr_only":dist_settings.qr_only?dist_settings.qr_only:'',"no_hotspots":parseInt(dist_settings.no_hotspots)?dist_settings.no_hotspots:false,"ar_google":false,"color_hash":dist_settings.color_hash?dist_settings.color_hash:null,"image_container":dist_settings.image_container?dist_settings.image_container:'',"logo_program_container":dist_settings.logo_program_container?dist_settings.logo_program_container:'',"prefix":dist_settings.prefix?dist_settings.prefix:"flix_","using_hotspot_v2":dist_settings.using_hotspot_v2?dist_settings.using_hotspot_v2:true,"load3dfw":1}
if(key!="comp_product_summary"){var total_obj=Object.keys(t_modular_hotspot_data).length
var _priority_order=product.modules.hotspot[key].priority_order
if(key=="product_webar"||key=="desktop_webar"){t_modular_hotspot_data[key]=product.modules.hotspot[key];}else if(total_obj<5){t_modular_hotspot_data[key]=product.modules.hotspot[key];}else{var lowest_priority_key=null;var lowest_priority_value=0;for(var existing_key in t_modular_hotspot_data){if(key=="product_webar"||key=="desktop_webar"){continue;}
if(t_modular_hotspot_data[existing_key].priority_order>lowest_priority_value){lowest_priority_key=existing_key;lowest_priority_value=t_modular_hotspot_data[existing_key].priority_order;}}
if(lowest_priority_key!==null&&_priority_order<lowest_priority_value){delete t_modular_hotspot_data[lowest_priority_key];t_modular_hotspot_data[key]=product.modules.hotspot[key];}}}}
if(!FlixServices.isEmptyObject(t_modular_hotspot_data)){var total_obj=Object.keys(t_modular_hotspot_data).length;var Compcondition=true;for(const key in t_modular_hotspot_data){if(key.startsWith('comp_')){Compcondition=false;break;}}
if(total_obj<4&&key==='smart_content'){t_modular_hotspot_data[key]=product.modules.hotspot[key];}else if(total_obj<4&&key==='comp_product_summary'&&Compcondition){t_modular_hotspot_data[key]=product.modules.hotspot[key];}}}else{product.settings.distributor_settings.adjacent_codes=typeof(product.settings.adjacent_codes)!=='undefined'?product.settings.adjacent_codes:flixmain_adjacent_codes;product.settings.distributor_settings.using_hotspot_v2=true;dist_settings=product.settings.distributor_settings;d_modular_hotspot_settings={"image_src":dist_settings.image_src?dist_settings.image_src:'',"image_id":dist_settings.image_id?dist_settings.image_id:'',"alignment":dist_settings.alignment?dist_settings.alignment:false,"desktop_webar":dist_settings.desktop_webar?dist_settings.desktop_webar:'',"qr_only":dist_settings.qr_only?dist_settings.qr_only:'',"no_hotspots":parseInt(dist_settings.no_hotspots)?dist_settings.no_hotspots:false,"ar_google":false,"color_hash":dist_settings.color_hash?dist_settings.color_hash:null,"image_container":dist_settings.image_container?dist_settings.image_container:'',"logo_program_container":dist_settings.logo_program_container?dist_settings.logo_program_container:'',"prefix":dist_settings.prefix?dist_settings.prefix:"flix_","using_hotspot_v2":dist_settings.using_hotspot_v2?dist_settings.using_hotspot_v2:true,"load3dfw":1}
if(key!="comp_product_summary"){var total_obj=Object.keys(t_modular_hotspot_data).length
var _priority_order=product.modules.hotspot[key].priority_order
if(key=="product_webar"||key=="desktop_webar"){t_modular_hotspot_data[key]=product.modules.hotspot[key];}else if(total_obj<4){t_modular_hotspot_data[key]=product.modules.hotspot[key];window.OemHsAvailable=true;}else{var lowest_priority_key=null;var lowest_priority_value=0;for(var existing_key in t_modular_hotspot_data){if(key=="product_webar"||key=="desktop_webar"){continue;}
if(t_modular_hotspot_data[existing_key].priority_order>lowest_priority_value){lowest_priority_key=existing_key;lowest_priority_value=t_modular_hotspot_data[existing_key].priority_order;}}
if(lowest_priority_key!==null&&_priority_order<lowest_priority_value){delete t_modular_hotspot_data[lowest_priority_key];t_modular_hotspot_data[key]=product.modules.hotspot[key];}}}}
if(typeof(product.modules.hotspot[key])!='undefined'&&!product.modules.hotspot[key].html){var module_data_mappers=typeof(product.modules.hotspot[key].module_data_mapper)!='undefined'?product.modules.hotspot[key].module_data_mapper:'';var module_inline_code=typeof(product.modules.hotspot[key].inline_code)!='undefined'?product.modules.hotspot[key].inline_code:'';if(module_data_mappers){var module_data_mappers_arr=module_data_mappers.split('|')
var data_holding_obj=[]
module_data_mappers_arr.forEach(function(nestedKeys,ii){const keysArray=nestedKeys.split('.');var result=FlixServices.getValueByNestedKeys(product,keysArray);data_holding_obj.push(result)})
switch(key){case"key_specification":case"sis_widget":case"product_ugc":data_holding_obj.forEach(function(result,ii){var raw_test=FlixServices.flixinpage.processor(result,product);if(raw_test){product.modules.hotspot[key].html=raw_test;try{product.modules.hotspot[key].html=product.modules.hotspot[key].html.replace(result.module_id,product.modules.hotspot[key].module_id)}catch(error){}}});break;case"comp_product_benefits":case"comp_product_summary":case"comp_product_features":case"comp_product_video":case"product-overview":case"comp_product-overview":case"comp_product_comparison":case"product_gallery":case"key_features":case"product_video":case"product_threesixty":case"accessory_widget":let arrayOfObjects=[];var myObject={};myObject["module_id"]=product.modules.hotspot[key].module_id;myObject["tooltip_title"]=product.modules.hotspot[key].tooltip_title;myObject["manufacturer_id"]=product.product_meta.manufacturer_id||'';myObject["product_id"]=product.product_meta.product_id||'';myObject["inline_code"]=module_inline_code;var xx=1;data_holding_obj.forEach(function(result,ii){if(result&&typeof(result)=='object'){if(Array.isArray(result)){for(const obj of result){var this_object={"title":obj.title||obj.ctitle||'',"html":obj.html||'',"description":obj.description||obj.html||'',"video_html":obj.video_html||obj.video_frame_data||'',"class_name":obj.class_name||'',"custom_style":obj.custom_style||'',"url":obj.url||'',"loop_index":xx,}
if(obj.background_image&&obj.background_image.length>0){this_object["image_url"]=obj.background_image[0].img_400_url;}
if(typeof(obj.background_image)=="string"&&obj.background_image){this_object["image_url"]=obj.background_image;}
if(typeof(obj.image_url)=="string"&&obj.image_url){this_object["image_url"]=obj.image_url;}
if(!this_object["image_url"]&&!this_object["url"]&&!this_object["video_html"]&&!this_object["description"]&&!this_object["html"]){}else{arrayOfObjects.push(this_object);xx++;}}
myObject[key]=arrayOfObjects;}else{var this_object={"description":result.description||result.html||'',"html":result.html||'',"title":result.title||result.ctitle||'',"video_html":result.video_html||result.video_frame_data||'',"loop_index":xx,"class_name":result.class_name||'',"url":result.url||'',"custom_style":result.custom_style||'',}
if(result.background_image&&result.background_image.length>0){this_object["image_url"]=result.background_image[0].img_400_url;}
if(!this_object["image_url"]&&!this_object["url"]&&!this_object["video_html"]&&!this_object["description"]&&!this_object["html"]){}else{xx++;myObject={...myObject,...this_object}}}}})
product.modules.hotspot[key].html=FlixServices.flixinpage.processor(myObject,product);break;default:break;}}}}}
hotspot_key++;}}
if(typeof(product.settings.distributor_settings.service_lock_minisite)!=='undefined'){FlixServices.service_lock_minisite=true;}
if(typeof(product.settings.distributor_settings.service_lock_inpage)!=='undefined'){FlixServices.service_lock_inpage=true;}
if(typeof(product.settings.distributor_settings.service_lock_hotspot)!=='undefined'){FlixServices.service_lock_hotspot=true;}}});}
if(d_modular_hotspot_settings.image_container){FlixServices.modular_hotspot_data=t_modular_hotspot_data
FlixServices.modular_hotspot_settings=[d_modular_hotspot_settings];FlixServices.hotspot_results_hold=JSON.parse(JSON.stringify({"hotspots":t_modular_hotspot_data,"settings":[d_modular_hotspot_settings]}));}
if(data.oem){window.flixprodurls=window.flixprodurls||{};window.flixprodurls[0]=FlixServices.flixGetURL();if(data.oem.not_migrated){if(flixmain_distributor!=11395)
FlixServices.triggerFallback();}
if(data.oem.match_failed){logflix('match_failed--'+typeof(window.flixJsCallbacks)+"__"+typeof(window.flixJsCallbacks["_loadNoshowCallback"]))
var callnoshowcc=0
function callnoshow(){if(typeof(window.flixJsCallbacks)==="object"&&typeof(window.flixJsCallbacks["_loadNoshowCallback"])==="function"){logflix('match_failed2');var flixCBfunctions=window.flixJsCallbacks["_loadNoshowCallback"];flixCBfunctions();window.flixJsCallbacks["_loadNoshowCallback"]=function(){};}else{setTimeout(function(){logflix('callnoshow again');callnoshowcc++;if(callnoshowcc<5)
callnoshow();},2000)}}
callnoshow();}}
if(typeof flixtracking=='undefined'){if(!data.oem||(data.oem&&typeof data.oem.not_migrated=='undefined')){if(location.href.search('localhost/demo-flix360-io')!=-1||location.href.search('flix-localtrack')!=-1)
FlixServices.loadFlixJs('https://localhost/demo-flix360-io/performance/modularvnew/js/tracking.js');else if(ENV=='-alpha'&&distributorIdsDE.indexOf(parseInt(flixmain_distributor))!=-1)
FlixServices.loadFlixJs('https://syndication-de-alpha.flix360.io/performance/modularvnew/js/tracking.js');else if(location.href.search('http://demo-local.flix360.io/')!=-1)
FlixServices.loadFlixJs('http://demo-local.flix360.io/performance/modularvnew/js/tracking.js');else if(ENV=='-alpha')
FlixServices.loadFlixJs('https://demo.flix360.io/performance/modularvnew/js/tracking.js');else
FlixServices.loadFlixJs(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/static/tracking/tracking.js');}}}).catch(function(err){FlixServices.fetchfailed=true});},contentCustomization:function(matchData,isHotspost){if(!matchData.length){return matchData;}
var newMatchData=[]
matchData.forEach(function(product,index){var customContentChoice=[]
if(product.settings&&typeof(product.settings.smart)!='undefined'){if(product.settings.smart.active){if(typeof(product.settings.smart.rule)!='undefined'&&typeof(product.settings.smart.rule.Inpage)!='undefined'){customContentChoice=product.settings.smart.rule.Inpage;}else{customContentChoice=product.settings.smart.rule;}}}
if(customContentChoice.length){customContentChoice.forEach(function(settings,index){switch(settings.pattern){case"randomShuffle":switch(settings.choice){case"features":if(product.modules&&product.modules.features.length>0){product.modules.features=product.modules.features.sort(()=>Math.random()-0.5);}
break;}
case"locateFeatureModule":if(settings.choice){if(product.modules&&product.modules.features&&product.modules.features.length>0){product.modules.features=FlixServices.repositionModuleData(settings,product.modules.features);}}
break;case"maxFeatureCount":if(settings.choice){product.modules.features=product.modules.features.slice(0,+settings.choice);if(product.modules.hotspot.key_features.data){product.modules.hotspot.key_features.data=product.modules.hotspot.key_features.data.slice(0,+settings.choice);}}
break;case"switchFeatureModule":case"switchModule":if(settings.nextChoice&&product.settings.loaded_modules[settings.choice]){if(typeof(settings.loaded_modules)!=='undefined'&&settings.loaded_modules[settings.nextChoice]){product.settings.loaded_modules[settings.nextChoice]=settings.loaded_modules[settings.nextChoice];}
if(typeof(settings.loaded_module_files)!=='undefined'){if(settings.loaded_module_files['css']){product.settings.inpage_settings.css_urls_to_load.push(flixmain_base_modular_url+'js/minify/?url='+settings.loaded_module_files['css']);}
if(settings.loaded_module_files['js']){product.settings.inpage_settings.js_urls_to_load.push(flixmain_base_modular_url+'js/minify/?url='+settings.loaded_module_files['js']);}}}
break;case"layoutChange":case"primaryLayout":if(settings.nextChoice){if(typeof(settings.validate)!=='undefined'){var keysArray=settings.validate.key.split('.');var result=FlixServices.getValueByNestedKeys(product,keysArray);if(result==settings.validate.value){}else{logflix("not skipping",result)
return false;}}
if(typeof(settings.choice)!=='undefined'&&settings.nextChoice){product.settings[settings.choice]=settings.nextChoice;}
if(typeof(settings.loaded_module_files)!=='undefined'){if(settings.loaded_module_files['css']){product.settings.inpage_settings.css_urls_to_load.push(flixmain_base_modular_url+'js/minify/?url='+settings.loaded_module_files['css']);}
if(settings.loaded_module_files['js']){product.settings.inpage_settings.js_urls_to_load.push(flixmain_base_modular_url+'js/minify/?url='+settings.loaded_module_files['js']);}}}
break;case"excludeFeatureUsingTitle":if(settings.choice&&settings.nextChoice){FlixjQ.each(product.modules.features,function(index,flixmain_data_each){if(flixmain_data_each.module_id==settings.choice){if(Array.isArray(product.modules.features[index])&&product.modules.features[index].length>0){FlixjQ.each(product.modules.features[index],function(index1,flixmain_data_each1){if(Array.isArray(flixmain_data_each1)&&flixmain_data_each1.length>0){FlixjQ.each(product.modules.features[index][index1],function(index2,flixmain_data_each2){if(flixmain_data_each2.title){if(flixmain_data_each2.title.includes(settings.nextChoice)){delete product.modules.features[index][index1][index2]}}});}else{if(flixmain_data_each1.title){if(flixmain_data_each1.title.includes(settings.nextChoice)){delete product.modules.features[index][index1]}}}});}else{if(product.modules.features[index].title){if(product.modules.features[index].title.includes(settings.nextChoice)){delete product.modules.features[index]}}}}});}
break;}});}
newMatchData.push(product)});return newMatchData;},repositionModuleData:function(settings,jsonData){var module_id=settings.choice,desired_position=settings.nextChoice;var v_key=v_val=false;if(typeof(settings.validate)!=='undefined'&&typeof(settings.validate.key)!=='undefined'&&typeof(settings.validate.value)!=='undefined'){var v_key=settings.validate.key
var v_val=settings.validate.value}
const moduleIndex=jsonData.findIndex(item=>{if(item.module_id===module_id){if(v_key&&v_val){if(typeof(item[v_key])!=='undefined'&&item[v_key]==v_val){return true}}else{return true}}});if(moduleIndex!==-1){const moduleItem=jsonData.splice(moduleIndex,1)[0];jsonData.splice(desired_position-1,0,moduleItem);}
return jsonData;},getValueByNestedKeys:function(obj,keysArray){if(!keysArray.length){return obj;}
const currentKey=keysArray[0];const remainingKeys=keysArray.slice(1);if(currentKey.includes('[')&&currentKey.includes(']')){const[keyWithoutIndex,index]=currentKey.split('[');const numericIndex=parseInt(index.replace(']',''));if(obj.hasOwnProperty(keyWithoutIndex)&&Array.isArray(obj[keyWithoutIndex])){const nextObj=obj[keyWithoutIndex][numericIndex];return FlixServices.getValueByNestedKeys(nextObj,remainingKeys);}else{return undefined;}}else{if(obj.hasOwnProperty(currentKey)){const nextObj=obj[currentKey];return FlixServices.getValueByNestedKeys(nextObj,remainingKeys);}else{return undefined;}}},triggerFallback:function(){var dmn=(window.location&&window.location.hostname)?window.location.hostname:(window.location&&window.location.host)?window.location.host:'';if(dmn!=''){dmn=window.btoa(dmn);}
var mpn=flixmain_mpn?'/mpn/'+flixmain_mpn:'';var ean=flixmain_ean?'/ean/'+flixmain_ean:'';var fallback_url='/'+flixmain_distributor+'/'+flixmain_language+mpn+ean+'?d='+flixmain_distributor+'&l='+flixmain_language+'&mpn='+flixmain_mpn+'&ean='+flixmain_ean+'&fl='+flixmain_language_fliso+'&ssl=1&dmn='+dmn;if(FlixServices.abTestingCallMaker()){fallback_url+='&abtesting=1';}
if(flixmain_button_img){fallback_url+='&img='+flixmain_button_img;}
if(FlixServices.ismobile()){fallback_url+='&ismobile=1';}
fallback_url+='&modular_request=1&ext=.js';if(document.querySelector('script[data-flix-distributor]')!=null){var innodename=document.querySelector('script[data-flix-distributor]').getAttribute('data-flix-inpage');if(document.querySelector('#flix-inpage')==null&&innodename.length>0&&document.querySelector('#'+innodename)!=null){var loadernode=document.createElement('div');loadernode.id='flix-inpage';var inpagenode=document.querySelector('#'+innodename);if(flixmain_distributor=='1324')
inpagenode.appendChild(loadernode);else
inpagenode.insertBefore(loadernode,inpagenode.nextSibling);}}
logflix('Not migrated, calling fallback')
window.flixfallbackstoreurl=window.location.href
var inpagejs='https://media.flixcar.com/delivery/js/inpage'+fallback_url
var minisitejs='https://media.flixcar.com/delivery/js/minisite'+fallback_url+'&dom=flix-minisite'
var trackingjs='https://media.flixcar.com/delivery/js/minify?url=static/tracking/tracking_v1.js'
FlixServices.loadFlixJs(trackingjs,function(){},false);FlixServices.loadFlixJs(inpagejs);if(document.querySelector('script[data-flix-button]')&&document.querySelector('script[data-flix-button]').getAttribute('data-flix-button').length>0&&FlixServices.ismobile()==false){FlixServices.loadFlixJs(minisitejs);}
setTimeout(function(){if(typeof FlixjQ.fn.inPage!='undefined'&&typeof FlixjQ.fn.inPage.data!='undefined'&&typeof flixtracking!='undefined'){var falldata=FlixjQ.fn.inPage.data
falldata.type='inpage'
falldata.event_type='fallback'
if(falldata.distributor==null&&typeof _FFMatcher!='undefined'&&typeof _FFMatcher._FFPid!='undefined'){falldata.distributor=_FFMatcher._FFd
if(typeof _FFMatcher._FFlang!='undefined')
falldata.language=_FFMatcher._FFlang
if(typeof _FFMatcher._FFPid!='undefined')
falldata.product_id=_FFMatcher._FFPid}else{falldata.distributor=flixmain_distributor
falldata.language=flixmain_language
falldata.mpn=flixmain_mpn
falldata.ean=flixmain_ean}
flixtracking.log(falldata)}},3000)},abTestingCallMaker:function(){var key_to_check='ab_'+flixmain_distributor;if(typeof window.flixJsCallbacks[key_to_check]=='object'&&window.flixJsCallbacks[key_to_check]!=null){if(typeof window.flixJsCallbacks[key_to_check].inpage=='object'&&window.flixJsCallbacks[key_to_check].inpage!=null){var inpage_data_main=window.flixJsCallbacks[key_to_check].inpage||false;if(inpage_data_main&&typeof inpage_data_main.inpages=='object'&&inpage_data_main.inpages!=null){var target=window.flixJsCallbacks[key_to_check].target||'';var device=window.flixJsCallbacks[key_to_check].device||'';var targetId=window.flixJsCallbacks[key_to_check].targetId||0;var inpage_data=inpage_data_main.inpages||'';FlixServices.flixinpage.target_template_parentId='#flixinpage_'+targetId+FlixServices.time_stamp
if(target==device){if(inpage_data&&typeof inpage_data.disable_inpage=="boolean"&&inpage_data.disable_inpage==true){FlixServices.flixinpage.ab_disable_inpage=true;}
if(inpage_data&&typeof inpage_data.disable_comparison_table=="boolean"&&inpage_data.disable_comparison_table==true){FlixServices.flixinpage.ab_disable_comparison=true;}
if(inpage_data&&typeof inpage_data.disable_reviews=="boolean"&&inpage_data.disable_reviews==true){FlixServices.flixinpage.ab_disable_reviews=true;}
if(inpage_data&&typeof inpage_data.disable_ugc=="boolean"&&inpage_data.disable_ugc==true){FlixServices.flixinpage.ab_disable_ugc=true;}
if(inpage_data&&typeof inpage_data.disable_widget=="boolean"&&inpage_data.disable_widget==true){FlixServices.flixinpage.ab_disable_widget=true;}
if(inpage_data&&typeof inpage_data.smart_config=="boolean"&&inpage_data.smart_config_id){FlixServices.flixinpage.ab_smart_config_test=true;FlixServices.smart_abtest_object={};FlixServices.smart_abtest_object.p=targetId;FlixServices.smart_abtest_object.config_id=inpage_data.smart_config_id;FlixServices.smart_abtest_object.active=inpage_data.smart_config;}
if(inpage_data&&typeof inpage_data.disable_3dfw=="boolean"&&inpage_data.disable_3dfw==true){FlixServices.flixinpage.ab_disable_3dfw=true;}
if(inpage_data&&typeof inpage_data.disable_thirdPartyApp=="boolean"&&inpage_data.disable_thirdPartyApp==true){FlixServices.flixinpage.ab_disable_thirdPartyApp=true;FlixServices.flixinpage.ab_disable_thirdpartyAppId=inpage_data.thirdpartyAppId;}
if(inpage_data&&typeof inpage_data.change_template=="boolean"&&inpage_data.change_template==true&&typeof inpage_data.change_template_path=='string'){FlixServices.flixinpage.ab_change_template=targetId;FlixServices.flixinpage.ab_change_template_path=inpage_data.change_template_path;}}
if(FlixServices.flixinpage.ab_change_template&&FlixServices.flixinpage.ab_change_template_path){FlixjQ.ajax({url:`${flixmain_api_base_url}web-api/${btoa(FlixServices.flixinpage.ab_change_template_path)}.json?mpn=FlixProd-${FlixServices.flixinpage.ab_change_template}&ean=xxv1&distId=${flixmain_distributor}&iso=${flixmain_language}&flIso=${flixmain_language_fliso}`,type:"GET",dataType:"json",cache:true,jsonpCallback:"jsonp",success:function(data){console.log(data);if(data[0].modules&&(data[0].modules.inpageHtml||data[0].modules.features)){FlixServices.flixinpage.ab_change_template_data=data[0]}},complete:function(){}});}}}}
var test_is_running=false;return test_is_running;},preloadImage:function(urls){return false;},ismobile:function(){var check=false;(function(a){if(/(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(a)||/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(a.substr(0,4)))check=true;})(navigator.userAgent||navigator.vendor||window.opera);return check;},isEmptyObject:function(obj){return Object.keys(obj).length===0;},isTablet:function(){var check=false;mobile_hotspot_available='';return mobile_hotspot_available=="Yes";},placeHolderReplacer:function(){if(FlixjQ('[flixdata-type="placeholder"]').length>0||FlixjQ('[flixdata-type="placeholder-inline"]').length>0){if(FlixjQ('[flixdata-type="placeholder"]').length>0){FlixjQ('[flixdata-type="placeholder"]').each(function(i,divs){var _this=this
setTimeout(function(){var $targetElements=FlixjQ(divs.getAttribute("placeholder")).closest('[flixdata-type="template"]');$targetElements.wrapAll('<div class="flix-html-wrapper"></div>');if(FlixjQ('[placeholder=".inpage_selector_3d_fw"]').length>0){function placeholder3DFW(){if(FlixjQ('[placeholder=".inpage_selector_3d_fw"] .inpage_selector_3d_fw').length>0&&FlixjQ('[placeholder=".inpage_selector_3d_fw"] .inpage_selector_3d_fw').length>0){FlixjQ('[placeholder=".inpage_selector_3d_fw"] .inpage_selector_3d_fw').show();}else{setTimeout(function(){placeholder3DFW()},500);}}
setTimeout(function(){placeholder3DFW()},500);}
FlixjQ(divs.getAttribute("placeholder")).closest('.flix-html-wrapper').contents().appendTo(FlixjQ(_this));},1000);});}
if(FlixjQ('[flixdata-type="placeholder-inline"]').length>0){FlixjQ('[flixdata-type="placeholder-inline"]').each(function(i,divs){var _this=this
setTimeout(function(){var $targetElements=FlixjQ(divs.getAttribute("placeholder-inline")).closest('div[data-module]');$targetElements.wrapAll('<div class="flix-html-inline-wrapper"></div>');FlixjQ(divs.getAttribute("placeholder-inline")).closest('.flix-html-inline-wrapper').contents().appendTo(FlixjQ(_this));},1000);});}}else{setTimeout(function(){if(FlixServices!=undefined&&typeof FlixServices.placeHolderReplacer!='undefined')
FlixServices.placeHolderReplacer();},2000);}},setWebArUrls:function(type_web_id){window.FlixServices.webar_thumb_url=window.FlixServices.webar_cloud_url+"product_thumbnails/";window.FlixServices.webar_glb_url=window.FlixServices.webar_cloud_url+"product_bundles/GLB/";window.FlixServices.webar_usdz_url=window.FlixServices.webar_cloud_url+"product_bundles/USDZ/";var webar_provider_pixel=true;if('8'==type_web_id){webar_provider_pixel=false;window.FlixServices.webar_cloud_url="https://d3np41mctoibfu.cloudfront.net/";window.FlixServices.webar_thumb_url=window.FlixServices.webar_cloud_url+"p/thumbs/";window.FlixServices.webar_glb_url=window.FlixServices.webar_cloud_url+"p/assets/";window.FlixServices.webar_usdz_url=window.FlixServices.webar_cloud_url+"p/assets/";}},setWebArUrlsNew:function(type_web_id){window.FlixServices.webar_cloud_url="https://media.flixcar.com/3dfw/";window.FlixServices.webar_glb_url=window.FlixServices.webar_cloud_url+"p/assets/";window.FlixServices.webar_usdz_url=window.FlixServices.webar_cloud_url+"p/assets/";},findARIDFromHtml:function(html){var dataAridValue=false;try{var parser=new DOMParser();var doc=parser.parseFromString(html,"text/html");dataAridValue=doc.querySelector('[data-arid]').getAttribute('data-arid');}catch(error){}
return dataAridValue;},loadFlixJs:function(e,t,replacer=true){if(ENV=='-prod'&&replacer){e=e.replace(/modular-beta.flix360.io/g,"media.flixcar.com/modular");e=e.replace(/modular-alpha.flix360.io/g,"media.flixcar.com/modular");e=e.replace(/modular.flix360.io/g,"media.flixcar.com/modular");e=e.replace("media.flixcar.com/delivery/js/minify","media.flixcar.com/modular/js/minify/");logflix(e);}else{logflix("not replacing",e);}
if(distributorIdsDE.indexOf(parseInt(flixmain_distributor))!=-1){e=e.replace('delivery-alpha.flix360.io\/','syndication-de-alpha.flix360.io/')
e=e.replace('media.flixcar.com\/','syndication.flix360.com/')
e=e.replace('media.flixfacts.com/\/','syndication.flix360.com/static-assets/')}
if(-1!=e.search(".js")&&-1==e.search(".css")&&0===FlixjQ("script[src='"+e+"']").length){var c=document.createElement("script"),proceed=true,check_pattern=e;c.type="text/javascript",c.src=e,c.onload=t;var scripts=document.getElementsByTagName("script");for(var i=0;i<scripts.length;i++){if(scripts[i].getAttribute('src')){if(scripts[i].getAttribute('src').indexOf(check_pattern)!=-1){proceed=false;break;}}}
if(proceed){try{document.head.appendChild(c);}catch(e){}}}
if(-1!=e.search(".css")&&0===FlixjQ("link[href='"+e+"']").length){var n=document.createElement("link"),proceed=true,check_pattern=e;n.rel="stylesheet",n.href=e,n.type="text/css",n.onload=t;var links=document.getElementsByTagName("link");for(var i=0;i<links.length;i++){if(links[i].getAttribute('src')){if(links[i].getAttribute('src').indexOf(check_pattern)!=-1){proceed=false;break;}}}
if(proceed){try{document.head.appendChild(n);}catch(e){}}}
if(!proceed){logflix("Cannot load file, because the same file name: '"+e+"' already loaded");}},flixinpage:{urlMain:'',modular_style_files_loaded:false,modular_css_url:[],modular_js_url:[],ab_disable_inpage:false,ab_disable_comparison:false,ab_disable_reviews:false,ab_disable_ugc:false,ab_disable_widget:false,ab_smart_config_test:false,ab_disable_3dfw:false,ab_disable_thirdPartyApp:false,ab_disable_thirdpartyAppId:false,ab_change_template:false,ab_change_template_path:false,ab_change_template_data:false,target_template_parentId:false,init:function(obj){if(FlixServices.service_lock_inpage){return;}
FlixServices.flixinpage.urlMain=obj.urlMain;var tryrun=0;var refreshId=setInterval(function(){if(FlixServices!=undefined&&FlixServices!==null&&typeof FlixServices.modular_match_data!=='undefined'&&FlixServices.modular_match_data!==null&&typeof FlixServices.modular_match_data==='object'){FlixServices.flixinpage.inPage(obj);clearInterval(refreshId);}
if(tryrun===200){clearInterval(refreshId);}
tryrun++},100);},inPage:function(o){var self=FlixjQ(o.thisef);var modular_wrapper_main='';if(typeof FlixServices!='undefined'&&FlixServices.modular_match_data!=null&&typeof FlixServices.modular_match_data!=='undefined'&&typeof(FlixServices.modular_match_data)=='object'){FlixServices.modular_match_data.forEach(function(products,index){if(FlixServices.flixinpage.ab_change_template&&FlixServices.flixinpage.ab_change_template_path&&FlixServices.flixinpage.ab_change_template_data){if(products.product_meta.product_id==FlixServices.flixinpage.ab_change_template){products.modules=FlixServices.flixinpage.ab_change_template_data.modules
products.settings=FlixServices.flixinpage.ab_change_template_data.settings}}
if(typeof(products.modules)!='undefined'){FlixjQ.each(products.modules,function(ix,flixmain_data){if(flixmain_data&&flixmain_data.length>0&&typeof flixmain_data=='object'){FlixjQ.each(flixmain_data,function(index,flixmain_data_each){if(products.modules[ix].processed_data){products.modules[ix].processed_data=products.modules[ix].processed_data+FlixServices.flixinpage.processor(flixmain_data_each,products)}else{products.modules[ix].processed_data=FlixServices.flixinpage.processor(flixmain_data_each,products)
products.modules[ix].module_mapper=flixmain_data_each.module_mapper}});}else if(flixmain_data){products.modules[ix].processed_data=FlixServices.flixinpage.processor(flixmain_data,products)}});}});FlixServices.modular_match_data.forEach(function(prod_module_data,index){if(typeof(prod_module_data.product_meta.inpage)!='undefined'&&prod_module_data.product_meta.inpage.disabled=="0"){}else{return;}
var module_html=prod_module_data.settings.module_template_wrapper;var moduler=FlixjQ(module_html),module_html=FlixjQ.trim(module_html);module_html=module_html.replace(/\s\s+/g,' ');var has_ugcs_in_template=module_html.includes('{{ugcs}}')?true:false;var has_reviews_in_template=module_html.includes('{{reviews}}')?true:false;var has_reviewsTopStarRating_in_template=module_html.includes('{{reviewsTopStarRating}}')?true:false;if(typeof(prod_module_data.modules)!='undefined'){FlixjQ.each(prod_module_data.modules,function(ix,flixmain_data){if(flixmain_data&&flixmain_data.module_mapper){switch(flixmain_data.module_mapper){case"ugcs":if(!has_ugcs_in_template){var ugc_selector=moduler.find('div[id="flix-ugc-galfeatures"]');if(ugc_selector.length>0){moduler.find('[id="flix-ugc-galfeatures"]').html('<div><div flixdata-type="template" flixtemplate-key="ugcs">{{ugcs}}</div>')
module_html=moduler.html();}else{module_html='<div><div flixdata-type="template" flixtemplate-key="ugcs">{{ugcs}}</div>'+module_html+'</div>';moduler=FlixjQ(module_html)}}
break;case"reviewsTopStarRating":if(!has_reviewsTopStarRating_in_template){var rw_selector=moduler.find('div[id="flix-rw-galfeatures"]');if(rw_selector.length>0){moduler.find('[id="flix-rw-galfeatures"]').html('<div><div flixdata-type="template" flixtemplate-key="reviewsTopStarRating">{{reviewsTopStarRating}}</div>')
module_html=moduler.html();}else{}}
break;case"reviews":if(!has_reviews_in_template){var rw_selector=moduler.find('div[id="flix-rw-galfeatures"]');if(rw_selector.length>0){moduler.find('[id="flix-rw-galfeatures"]').html('<div><div flixdata-type="template" flixtemplate-key="reviews">{{reviews}}</div>')
module_html=moduler.html();}else{}}
break;case"inpageHtml":flixmain_data[0].fullHtml=flixmain_data[0].fullHtml.replace(/ poster=/g,' data-poster=');flixmain_data[0].fullHtml=flixmain_data[0].fullHtml.replace(/<video[^>]*>[\s\S]*?<\/video>/g,function(videoTag){return videoTag.replace(/<source[^>]*\ssrc="/g,'<source data-src="');});if(distributorIdsDE.indexOf(parseInt(flixmain_distributor))!=-1){flixmain_data[0].fullHtml=flixmain_data[0].fullHtml.replace(/\/\/delivery-alpha.flix360.io\//g,'//syndication-de-alpha.flix360.io/');flixmain_data[0].fullHtml=flixmain_data[0].fullHtml.replace(/\/\/alpha-assets.flix360.io\//g,'//syndication-de-alpha.flix360.io/f360cdn/');flixmain_data[0].fullHtml=flixmain_data[0].fullHtml.replace(/\/\/media.flixcar.com\//g,'//syndication.flix360.com/');flixmain_data[0].fullHtml=flixmain_data[0].fullHtml.replace(/media.flixfacts.com\//g,'syndication.flix360.com/static-assets/');}
var daja_ob=FlixjQ(flixmain_data[0].fullHtml)
var rw_selector=daja_ob.find('div[id="flix_selector_3d"]');var rw_selector2=daja_ob.find('div[class="flix-3dcontainer"]');if(rw_selector.length>0||rw_selector2.length>0){var resolved=flixmain_data.processed_data.replace(/&d=6&/g,'&d='+flixmain_distributor+'&')
resolved=resolved.replace(/&amp;d=6&amp;/g,'&amp;d='+flixmain_distributor+'&amp;')
flixmain_data.processed_data=resolved}
var _in_adjacent_codes_=typeof(prod_module_data.settings.adjacent_codes)!=='undefined'?prod_module_data.settings.adjacent_codes:flixmain_adjacent_codes;var adjacency_code_check=FlixjQ(flixmain_data[0].fullHtml).find('[data-adjacencies]');if(_in_adjacent_codes_&&flixmain_data[0].fullHtml.includes("data-adjacencies=")){var resolved=flixmain_data.processed_data.replace(/data-adjacencies=""/g,'data-adjacencies="'+_in_adjacent_codes_+'"')
resolved=resolved.replace(/data-adjacencies=\"\"/g,'data-adjacencies="'+_in_adjacent_codes_+'"')
flixmain_data.processed_data=resolved}
break;default:break;}
module_html=FlixServices.flixinpage.processorModules(flixmain_data,module_html,moduler);}});var adjacent_codes=typeof(prod_module_data.settings.adjacent_codes)!=='undefined'?prod_module_data.settings.adjacent_codes:flixmain_adjacent_codes;module_html=module_html.replace("{{adjacent_codes}}",adjacent_codes);module_html=module_html.replace("{{flix_distributor_id}}",flixmain_distributor);var new_moduler=FlixjQ(module_html);new_moduler.find('[flixtemplate-key="inpageHtml"] [data-module],[flixtemplate-key="inpageHtml"] [data-module-id],[flixtemplate-key="inpageHtml"] [mod]').removeAttr('data-module data-module-id mod');var final_selector=new_moduler.find('[flixdata-type="template"]');if(final_selector.length>0){final_selector.each(function(a,selector_each){var scan_key=FlixjQ(selector_each).attr('flixtemplate-key');if(!prod_module_data.modules[scan_key]&&scan_key!='fullHtml'){new_moduler.find('[flixtemplate-key="'+scan_key+'"]').remove()}});module_html=FlixjQ.trim(new_moduler[0].outerHTML)}
module_html=module_html.replace(/id=\"inpage_container\"/g,'id="inpage_container" data-flx-p="'+prod_module_data.product_meta.product_id+'"');if(typeof(prod_module_data.settings.inpage_settings)!=='undefined'){var page_wrapper_data=typeof(prod_module_data.settings.inpage_settings.page_wrapper_data)!=='undefined'?prod_module_data.settings.inpage_settings.page_wrapper_data:false;if(page_wrapper_data){FlixjQ.each(page_wrapper_data,function(ip_index,ip_data){var ip_replaceThis='{{'+ip_index+'}}'
var ip_re=new RegExp(ip_replaceThis,'ig');if(/\./.test(ip_data)){var ip_keysArray=ip_data.split('.');var ip_result=FlixServices.getValueByNestedKeys(prod_module_data,ip_keysArray);if(typeof(ip_result)!=='undefined'){ip_data=ip_result}}
module_html=module_html.replace(ip_re,ip_data);});}}
if(/\{\{.*?\}\}/.test(module_html)){logflix("template error")
logflix(module_html)
if(module_html.includes("{{inpageHtml}}")){return false;}}
if(distributorIdsDE.indexOf(parseInt(flixmain_distributor))!=-1){module_html=module_html.replace(/\/\/delivery-alpha.flix360.io\//g,'//syndication-de-alpha.flix360.io/');module_html=module_html.replace(/\/\/alpha-assets.flix360.io\//g,'//syndication-de-alpha.flix360.io/f360cdn/');module_html=module_html.replace(/\/\/media.flixcar.com\//g,'//syndication.flix360.com/');module_html=module_html.replace(/media.flixfacts.com\//g,'syndication.flix360.com/static-assets/');}
FlixServices.inpageidno='flixinpage_'+prod_module_data.product_meta.product_id+FlixServices.time_stamp
var this_cccomp_str=''
if(typeof(prod_module_data.product_meta.isComplementary)!='undefined'&&prod_module_data.product_meta.isComplementary=="1"){this_cccomp_str='class="flix-ccomp"';}
if(FlixServices!=undefined&&typeof FlixServices.flixinpage!='undefined'&&FlixServices.flixinpage.target_template_parentId){if(typeof FlixServices.flixinpage.ab_disable_inpage!='undefined'&&FlixServices.flixinpage.ab_disable_inpage){if('#'+FlixServices.inpageidno==FlixServices.flixinpage.target_template_parentId){module_html='<div></div>';}}}
var data_module_html3dfw=FlixjQ(module_html)
var html3dfw_selector=data_module_html3dfw.find('.inpage_selector_3d_fw');var html3dfw_selector2=data_module_html3dfw.find('div[flixtemplate-key="inpageHtml"] [placeholder=".inpage_selector_3d_fw"]');if(html3dfw_selector.length>0&&html3dfw_selector2.length>0){html3dfw_selector.hide();module_html=data_module_html3dfw.prop('outerHTML');}
var div='<div id="'+FlixServices.inpageidno+'" '+this_cccomp_str+'>'+module_html+'<span id="inpage-data-'+prod_module_data.product_meta.product_id+'"></span>'+'</div>';FlixjQ(FlixServices.inpcontainername).append(div);if(FlixServices.inpage_holder!=null)
FlixServices.inpage_holder.attr('alt',FlixServices.time_stamp);FlixjQ('#flixinpage_').remove();setTimeout(function(){if(FlixjQ('[data-poster]').length>0)
FlixServices.lazyViewportReplace('[data-poster]','data-poster','poster')
if(FlixjQ('video [data-src]').length>0)
FlixServices.lazyViewportReplace('video','data-src','src');},500)}});FlixServices.modular_match_data.forEach(function(products,main_index){if(products.settings.inpage_settings.css_urls_to_load&&products.settings.inpage_settings.css_urls_to_load.length>0){if(typeof(products.settings.inpage_settings.css_urls_to_load)=='string'){FlixServices.flixinpage.modular_css_url.push(products.settings.inpage_settings.css_urls_to_load);}else{products.settings.inpage_settings.css_urls_to_load.forEach(function(each_css,index){FlixServices.flixinpage.modular_css_url.push(each_css);});}}
if(products.settings.inpage_settings.js_urls_to_load&&products.settings.inpage_settings.js_urls_to_load.length>0){if(typeof(products.settings.inpage_settings.js_urls_to_load)=='string'){FlixServices.flixinpage.modular_js_url.push(products.settings.inpage_settings.js_urls_to_load);}else{products.settings.inpage_settings.js_urls_to_load.forEach(function(each_js,index){FlixServices.flixinpage.modular_js_url.push(each_js);});}}
if(typeof(products.product_meta.inpage)!='undefined'&&products.product_meta.inpage.template){if(products.product_meta.inpage.template=="lg/standard-new2"){FlixServices.flixinpage.modular_css_url.push(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/static/inpage/57/css/main-new-template.css');}}
FlixServices.flixinpage.modular_css_url.push(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/static/distributor/'+flixmain_distributor+'/inpage.css');FlixServices.flixinpage.modular_js_url.push(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/static/distributor/'+flixmain_distributor+'/inpage.js');if(main_index>0){if(typeof(products.settings.distributor_settings.apply_scrollbutton)!='undefined'&&products.settings.distributor_settings.apply_scrollbutton=="0"){}else{if(typeof(products.settings.minisite_settings.comp_button_url)!='undefined'&&products.settings.minisite_settings.comp_button_url){var _this_product_id=products.product_meta.product_id;var _this_comp_button_url=products.settings.minisite_settings.comp_button_url;var _this_img=FlixjQ("<img>").attr({src:_this_comp_button_url,alt:_this_product_id,style:"max-width:166px;max-height:82px;"});var _this_anchor=FlixjQ("<a>").attr({href:"#flixinpage_"+_this_product_id+FlixServices.time_stamp,style:"padding-right:7px"}).append(_this_img);_this_anchor.on("click",function(e){e.stopPropagation();return FlixServices.flixinpage.scrollToComplimentary(FlixjQ(this).attr('href'));});FlixjQ('#flix-inpage').prepend(_this_anchor);}}}});try{setTimeout(function(){if(!FlixjQ('.flix-privacy-policy-link').length){if(FlixServices==undefined)
return false;if(typeof FlixServices!=="undefined"&&FlixServices.modular_match_data&&Array.isArray(FlixServices.modular_match_data)&&FlixServices.modular_match_data.length>0&&FlixServices.modular_match_data[0]?.settings?.privacy_policy?.length){if(!FlixServices.flixinpage.ab_disable_inpage){FlixjQ('#flix-inpage').append(FlixServices.modular_match_data[0].settings.privacy_policy)}}}},3000);}catch(error){}}
setTimeout(function(){if(FlixServices==undefined)
return false;if(FlixServices!=undefined&&typeof FlixServices.flixinpage!='undefined'&&FlixServices.flixinpage.target_template_parentId){if(FlixServices.flixinpage.ab_disable_inpage){FlixjQ(FlixServices.flixinpage.target_template_parentId+" div").each(function(){FlixjQ(this).remove();});FlixjQ(FlixServices.flixinpage.target_template_parentId).hide();}
if(FlixServices.flixinpage.ab_disable_comparison){FlixjQ(FlixServices.flixinpage.target_template_parentId+" #flix-comp .flix-comp-container").remove();FlixjQ(FlixServices.flixinpage.target_template_parentId+" #flix-comp .flix-comp-mainTitle").remove();FlixjQ(FlixServices.flixinpage.target_template_parentId+" #flix-compv2 .flix-compv2-container").remove();FlixjQ(FlixServices.flixinpage.target_template_parentId+" #flix-compv2 .flix-compv2-mainTitle").remove();}
if(FlixServices.flixinpage.ab_disable_reviews){FlixjQ(FlixServices.flixinpage.target_template_parentId+" .inpage_selector_reviews_top").remove();FlixjQ(FlixServices.flixinpage.target_template_parentId+" div[flixtemplate-key='reviewsTopStarRating']").remove();FlixjQ(FlixServices.flixinpage.target_template_parentId+" .flix-label-review").remove();FlixjQ(FlixServices.flixinpage.target_template_parentId+" .inpage_selector_reviews div").each(function(){FlixjQ(this).remove();});FlixjQ(FlixServices.flixinpage.target_template_parentId+" .inpage_selector_reviews").hide();}
if(FlixServices.flixinpage.ab_disable_ugc){FlixjQ(FlixServices.flixinpage.target_template_parentId+" #flix-ugc-galfeatures div").each(function(){FlixjQ(this).remove();});FlixjQ(FlixServices.flixinpage.target_template_parentId+" #flix-ugc-galfeatures").hide();}
if(FlixServices.flixinpage.ab_disable_widget){FlixjQ(FlixServices.flixinpage.target_template_parentId+" #flix-microsite").append('<div></div>').hide();}
if(FlixServices.flixinpage.ab_disable_3dfw){FlixjQ(FlixServices.flixinpage.target_template_parentId+" #flix_selector_3d div").each(function(){FlixjQ(this).remove();});FlixjQ(FlixServices.flixinpage.target_template_parentId+" #flix_selector_3d").hide();}
if(FlixServices.flixinpage.ab_disable_thirdPartyApp){if(FlixServices.flixinpage.ab_disable_thirdpartyAppId){FlixjQ(FlixServices.flixinpage.target_template_parentId+" .flix-3p-multi-button-control-inner div[data-flixmapping_id='"+FlixServices.flixinpage.ab_disable_thirdpartyAppId+"']").remove();FlixjQ(FlixServices.flixinpage.target_template_parentId+" .flix-3p-multi-button-control-content div[data_app_id='"+FlixServices.flixinpage.ab_disable_thirdpartyAppId+"']").remove();}else{FlixjQ(FlixServices.flixinpage.target_template_parentId+" .flix-3rdwidget div").each(function(){FlixjQ(this).remove();});FlixjQ(FlixServices.flixinpage.target_template_parentId+" .flix-3rdwidget").hide();}}}
if(location.href.search('flixlazyv2')!=-1){FlixServices.loadFlixJs('https://demo.flix360.io/performance/modularvnew/js/lazysizes-v4.js');}else if(location.href.search('flixlazyv3')!=-1){FlixServices.loadFlixJs('https://demo.flix360.io/performance/modularvnew/js/lazysizes-v3.js');}else if(ENV=='-alpha'){FlixServices.loadFlixJs('https://demo.flix360.io/performance/modularvnew/js/lazysizes.js');}else{FlixServices.loadFlixJs(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/modular/js/lazysizes.js');}
FlixServices.placeHolderReplacer();if(typeof FlixServices!='undefined'&&typeof FlixServices.modular_match_data!='undefined'&&FlixServices.modular_match_data!=null&&typeof FlixServices.modular_match_data[0]!='undefined'&&typeof FlixServices.modular_match_data[0].modules!='undefined'&&((typeof FlixServices.modular_match_data[0].modules.viewWebar!='undefined'&&FlixServices.modular_match_data[0].modules.viewWebar!=null)||(typeof FlixServices.modular_match_data[0].modules.view3dfm!='undefined'&&FlixServices.modular_match_data[0].modules.view3dfm!=null))){if(!window.threedcheck)
window.threedcheck=false;if(typeof window.threedfw=='undefined'&&window.threedcheck==false){window.threedcheck=true;FlixServices.loadFlixJs(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/static/3dfw/3dfw.js');}}},1000);},processorModules:function(flixmain_data,module_html,moduler){var this_selector=moduler.find('[flixtemplate-key="'+flixmain_data.module_mapper+'"]');if(this_selector.length>0&&this_selector.attr('flixdata-type')=='template'){for(var index=0;index<this_selector.length;index++){var html_for_this=FlixServices.xnlmsStringcheck(FlixjQ.trim(this_selector[index].outerHTML));html_for_this=html_for_this.replace(new RegExp(' xmlns="[^"]*"','g'),'');var this_html=html_for_this;var replaceThis='{{'+flixmain_data.module_mapper+'}}'
var re=new RegExp(replaceThis,'ig');this_html=this_html.replace(re,flixmain_data.processed_data);var html_for_this_pattern=new RegExp(html_for_this,'g');module_html=module_html.replace(html_for_this_pattern,this_html)}}
return module_html},scrollToComplimentary:function(to){if(FlixjQ(to).length){FlixjQ('body, html').animate({scrollTop:FlixjQ(to).offset().top},1000);var targ=to;setTimeout(function(){FlixjQ('body, html').animate({scrollTop:FlixjQ(targ).offset().top},500);},2000);}
return false},processor:function(flixmain_data,prod_module_data){var module_id=flixmain_data.module_id,module_html=prod_module_data.settings.loaded_modules[module_id]||'';if(flixmain_data.fullHtml){var htmlChunk=flixmain_data.fullHtml;var tempDiv=document.createElement('div');tempDiv.innerHTML=htmlChunk;var divsWithDataModule=tempDiv.querySelectorAll('div[data-module]');divsWithDataModule.forEach(function(div){div.removeAttribute('data-module');});var modifiedHtml=tempDiv.innerHTML;flixmain_data.fullHtml=modifiedHtml;}
module_html=module_html.replace(/src/g,'src-modular-holder');var moduler=FlixjQ(module_html),module_html=FlixjQ.trim(module_html);if(!module_id){return;}
if('FM00019A'!=module_id){}
module_html=module_html.replace(/\s\s+/g,' ');FlixjQ.each(flixmain_data,function(index,data){var this_selector=moduler.find('[flixtemplate-key="'+index+'"]');if(this_selector.length>0&&this_selector.attr('flixdata-type')=='template'){for(var indexv=0;indexv<this_selector.length;indexv++){var this_full_html='',html_for_this=FlixServices.xnlmsStringcheck(FlixjQ.trim(this_selector[indexv].outerHTML)),this_filter='flixtemplate-key="'+index+'"';if(html_for_this&&html_for_this.indexOf('}}=""')!==-1){html_for_this=html_for_this.replace(new RegExp('}}=""','ig'),'}}');}
if(typeof(data)=='object'){FlixjQ.each(data,function(index_in,obj){var this_html=html_for_this;for(var property in obj){if(typeof(obj[property])=='object'){this_html=FlixServices.flixinpage.subProcessor(index_in,property,obj,this_html,moduler);}else{var replaceThis='{{'+property+'}}'
var re=new RegExp(replaceThis,'ig');if(distributorIdsDE.indexOf(parseInt(flixmain_distributor))!=-1&&typeof(obj[property])=='string'){obj[property]=obj[property].replace(/\/\/delivery-alpha.flix360.io\//g,'//syndication-de-alpha.flix360.io/');obj[property]=obj[property].replace(/\/\/alpha-assets.flix360.io\//g,'//syndication-de-alpha.flix360.io/f360cdn/');obj[property]=obj[property].replace(/\/\/media.flixcar.com\//g,'//syndication.flix360.com/');obj[property]=obj[property].replace(/media.flixfacts.com\//g,'syndication.flix360.com/static-assets/');}
this_html=this_html.replace(re,obj[property]);var inner_selector=moduler.find('[flixtemplate-key="'+property+'"]');if(inner_selector.length>0&&inner_selector.attr('flixdata-type')=='template'){this_html=this_html.replace('flixtemplate-key="'+property+'"','');}}}
this_html=this_html.replace(this_filter,'');this_html=this_html.replace('flixdata-type="template"','');this_html=FlixServices.flixinpage.reprocessRemover(obj,this_html)
this_full_html+=this_html;});}else if(typeof(data)=='string'){var replaceThis='{{'+index+'}}'
var re=new RegExp(replaceThis,'ig');data=data.replace(/ poster=/g,' data-poster=');if(distributorIdsDE.indexOf(parseInt(flixmain_distributor))!=-1){data=data.replace(/\/\/delivery-alpha.flix360.io\//g,'//syndication-de-alpha.flix360.io/');data=data.replace(/\/\/alpha-assets.flix360.io\//g,'//syndication-de-alpha.flix360.io/f360cdn/');data=data.replace(/\/\/media.flixcar.com\//g,'//syndication.flix360.com/');data=data.replace(/media.flixfacts.com\//g,'syndication.flix360.com/static-assets/');}
module_html=module_html.replace(re,data);if(this_selector.length>1&&data.length>0){module_html=module_html.replace('flixtemplate-key="'+index+'"','');}}
module_html=module_html.replace(html_for_this,this_full_html)}}else{var replaceThis='{{'+index+'}}'
var re=new RegExp(replaceThis,'ig');if(typeof(data)=='string'&&distributorIdsDE.indexOf(parseInt(flixmain_distributor))!=-1){data=data.replace(/\/\/delivery-alpha.flix360.io\//g,'//syndication-de-alpha.flix360.io/');data=data.replace(/\/\/alpha-assets.flix360.io\//g,'//syndication-de-alpha.flix360.io/f360cdn/');data=data.replace(/\/\/media.flixcar.com\//g,'//syndication.flix360.com/');data=data.replace(/media.flixfacts.com\//g,'syndication.flix360.com/static-assets/');}
module_html=module_html.replace(re,data);}
module_html=module_html.replace(html_for_this,this_full_html)});module_html=FlixServices.flixinpage.reprocessRemover(flixmain_data,module_html)
var flixmain_product_id=prod_module_data.product_meta.product_id;if(typeof(flixmain_data.product_id)!=='undefined'){if(flixmain_product_id!=flixmain_data.product_id){var module_template_check='module_template_wrapper_'+flixmain_data.product_id
var module_template_wrapper=prod_module_data.settings[module_template_check]
if(module_template_wrapper){var moduler_thi=FlixjQ(module_template_wrapper),module_template_wrapper=FlixjQ.trim(module_template_wrapper);module_html=module_html.replace(/\s\s+/g,' ');var flixmain_data_checker={}
flixmain_data_checker.module_mapper='features'
flixmain_data_checker.processed_data=module_html
var new_module_html=FlixServices.flixinpage.processorModules(flixmain_data_checker,module_template_wrapper,moduler_thi);module_html=new_module_html}}}
module_html=module_html.replace(/src-modular-holder/g,'src');return module_html},reprocessRemover:function(flixmain_data,module_html){var new_moduler=FlixjQ(module_html)
var final_selector=new_moduler.find('[flixdata-type="template"]');if(final_selector.length>0){final_selector.each(function(a,selector_each){var scan_key=FlixjQ(selector_each).attr('flixtemplate-key');if(!flixmain_data[scan_key]){new_moduler.find('[flixtemplate-key="'+scan_key+'"]').remove()}});module_html=FlixServices.xnlmsStringcheck(FlixjQ.trim(new_moduler[0].outerHTML))
final_selector.each(function(a,selector_each){var scan_key=FlixjQ(selector_each).attr('flixtemplate-key');module_html=module_html.replace('flixtemplate-key="'+scan_key+'"','');})
module_html=module_html.replace(/flixdata-type="template"/g,'');module_html=module_html.replace(/\s\s+/g,' ');}
return module_html;},loadJsCss:function(vars){if(FlixServices.flixinpage.modular_style_files_loaded==false){FlixServices.flixinpage.modular_style_files_loaded=true;FlixServices.flixinpage.modular_css_url.forEach(function(each_css,index){FlixServices.loadFlixJs(each_css);});FlixServices.flixinpage.modular_js_url.forEach(function(each_js,index){FlixServices.loadFlixJs(each_js);});}},subProcessor:function(index_in,property,obj,this_html,moduler){var sub_selector=moduler.find('[flixtemplate-key="'+property+'"]');if(sub_selector.length>0&&sub_selector.attr('flixdata-type')=='template'){var sub_full_html='',html_for_sub=FlixServices.xnlmsStringcheck(FlixjQ.trim(sub_selector[0].outerHTML)),sub_filter='flixtemplate-key="'+index_in+'"';FlixjQ.each(obj[property],function(in_sub,sub_obj){var sub_html=html_for_sub;for(var property_sub in sub_obj){if(typeof(sub_obj[property_sub])=='object'){sub_html=FlixServices.flixinpage.subProcessor(in_sub,property_sub,sub_obj,sub_html,moduler);}else{var replaceSub='{{'+property_sub+'}}'
var re=new RegExp(replaceSub,'ig');sub_html=sub_html.replace(re,sub_obj[property_sub]);var inner_selector=moduler.find('[flixtemplate-key="'+property_sub+'"]');if(inner_selector.length>0&&inner_selector.attr('flixdata-type')=='template'){sub_html=sub_html.replace('flixtemplate-key="'+property_sub+'"','');}}}
sub_html=sub_html.replace(sub_filter,'');sub_html=sub_html.replace('flixdata-type="template"','');sub_full_html+=sub_html;});this_html=this_html.replace(html_for_sub,sub_full_html)}
return this_html;},fillOptions:function(opts){for(var key in opts){if(opts[key]&&typeof(opts[key])=='string'&&opts[key].substr(0,1)=="{"&&opts[key].substr(-1,1)=="}")
{opts[key]=FlixServices.flixinpage.getQsParam(opts[key].substring(1,opts[key].length-1));}}
return opts;},getQsParam:function(name){var results=new RegExp('[\\?&]'+name+'=([^&#]*)').exec(window.location.href);if(!results){return'';}
return results[1]||'';},defaults:{distributor:0,language:"en",legacy:"",mpn:"",ean:"",sku:"",product:0,css:"",container:"",gvid:"",abid:"",ab:"",pd:"",pagedata:{},update:10,ab_data:false,base_ab:"",sio_ty:0},data:{}},flixminisite:{init:function(div_container,d_id,lang){if(FlixServices.service_lock_minisite){logflix("service_lock_minisite=1")
return;}
if(FlixServices.ismobile()){logflix("minisite request on mobile=1")
return;}
var tryrun=0;var refreshId=setInterval(function(){if(FlixServices==undefined)
return false;if(typeof FlixServices!='undefined'&&FlixServices.modular_match_data!=null&&typeof FlixServices.modular_match_data!=='undefined'&&typeof(FlixServices.modular_match_data)=='object'){FlixServices.modular_match_data.forEach(function(product,index){if(typeof(product.product_meta.minisite)=='object'&&product.product_meta.minisite.disabled=='0'){var base_image=product.settings.minisite_settings.button_url;if(document.querySelector('script[data-flix-button-image]')!=null&&document.querySelector('script[data-flix-button-image]').getAttribute('data-flix-button-image').length>0){if((typeof product.product_meta.isComplementary=='undefined'&&index==0)||product.product_meta.isComplementary!='1')
base_image=document.querySelector('script[data-flix-button-image]').getAttribute('data-flix-button-image')}
base_image+='?&distId='+flixmain_distributor
var p_id=product.product_meta.product_id;if(product.settings.minisite_settings.css_urls_to_load&&product.settings.minisite_settings.css_urls_to_load.length>0){if(typeof(product.settings.minisite_settings.css_urls_to_load)=='string'){FlixServices.flixminisite.modular_css_url.push(product.settings.minisite_settings.css_urls_to_load);}else{product.settings.minisite_settings.css_urls_to_load.forEach(function(each_css,index){FlixServices.flixminisite.modular_css_url.push(each_css);});}}
if(product.settings.minisite_settings.js_urls_to_load&&product.settings.minisite_settings.js_urls_to_load.length>0){if(typeof(product.settings.minisite_settings.js_urls_to_load)=='string'){FlixServices.flixminisite.modular_js_url.push(product.settings.minisite_settings.js_urls_to_load);}else{product.settings.minisite_settings.js_urls_to_load.forEach(function(each_js,index){FlixServices.flixminisite.modular_js_url.push(each_js);});}}
FlixServices.flixminisite.mslang=lang;FlixServices.flixminisite.msd=d_id;FlixServices.flixminisite.msPid=product.product_meta.product_id;isComplementary=product.product_meta.isComplementary;FlixServices.flixminisite.mscontId=div_container;FlixServices.flixminisite.mspagedata={};var adjacent_codes=typeof(product.settings.adjacent_codes)!=='undefined'?product.settings.adjacent_codes:flixmain_adjacent_codes;var type='mpn';FlixServices.flixminisite.msshowButton(p_id,div_container,isComplementary,type,lang,base_image,adjacent_codes,0);}});clearInterval(refreshId);}
if(tryrun===200){clearInterval(refreshId);}
tryrun++},100);},ms_base_url:('https:'==document.location.protocol)?'':'',ms_base_urlms:('https:'==document.location.protocol)?'':'',ms_base_urlms_LOGO:('https:'==document.location.protocol)?'':'',msparams:'',msmpn:'',msean:'',msd:'',mslang:'',msfallbacklang:'',mscontId:'',msEmbType:'',msRating:'0',msCExists:{},msmatch:{},mspagedata:{},modular_css_url:[],modular_js_url:[],msSio_Ty:0,msPid:0,msshowButton:function(p_id,contId,isComplementary,type,lang,base_image,adjacent_codes,is_manual){var html=FlixServices.flixminisite.msButtonHtml(p_id,isComplementary,lang,base_image,adjacent_codes,is_manual);if(distributorIdsDE.indexOf(parseInt(flixmain_distributor))!=-1){html=html.replace(/\/\/delivery-alpha.flix360.io\//g,'//syndication-de-alpha.flix360.io/');html=html.replace(/\/\/alpha-assets.flix360.io\//g,'//syndication-de-alpha.flix360.io/f360cdn/');html=html.replace(/\/\/media.flixcar.com\//g,'//syndication.flix360.com/');html=html.replace(/media.flixfacts.com\//g,'syndication.flix360.com/');}
FlixServices.flixminisite.msWriteHtml(contId,html,isComplementary);},msOpenWin:function(sticky_URL_fix){var qliteWidth=690;var qliteHeight=550;var ModalWin=null;var TP=10;var LP=10;var settings='height='+qliteHeight+',width='+qliteWidth+',top='+TP+',left='+LP+',scrollbars=yes,resizable=1';if(!ModalWin||ModalWin.closed){ModalWin=window.open(sticky_URL_fix,'ModalWin',settings)
if(sticky_URL_fix.indexOf('quikcliplite')!=-1){ModalWin.moveTo(10,10);ModalWin.resizeTo(qliteWidth,qliteHeight);}else{if(ModalWin&&ModalWin.focus)ModalWin.focus();}}},msStripTags:function(str){return str.replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi,'').replace('"','');},msStripScripts:function(str){return str.replace(new RegExp('<script[^>]*>([\\S\\s]*?)<\/script>','img'),'');},msParseQueryString:function(query,key,default_,lowercase){if(default_==null)default_='';if(lowercase!=0)lowercase=1;key=key.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");var regex=new RegExp('[\\?&]'+key+'=([^&#]*)');var qs=regex.exec(query);if(qs==null)
return default_;else
return lowercase?unescape(qs[1].toLowerCase()):unescape(qs[1]);},msWriteHtml:function(id,html,isComplementary){var dv=document.getElementById(id);if(dv){try{dv.innerHTML=(isComplementary)?dv.innerHTML+html:html;}catch(e){}}},msButtonHtml:function(p_id,isComplementary,lang,base_image,adjacent,is_manual){var html='';var d=FlixServices.flixminisite.msd;var l=lang;var r=FlixServices.flixminisite.msRev;var matchtype='';var ab='';var url="https://media.flixcar.com/modular/static/minisite/show.html?lang="+lang+"&prodid="+p_id+"&mpn="+flixmain_mpn+"&ean="+flixmain_ean+'&distid='+flixmain_distributor+'&flIso='+flixmain_language_fliso+'&appc='+btoa(flixmain_api_call_url);;if(isComplementary&&p_id<400002){var url=FlixServices.flixminisite.ms_base_urlms+"?d=6&l="+lang+"&p="+p_id+ab;url+="&pn="+FlixServices.flixminisite.msgetCanonical('esc');}
if(adjacent){url+="&adjacency_codes="+adjacent}
html+='<a class="flix-minisite-button" title=\'Flixmedia Minisite\' href=\'javascript:;\' onclick=\'FlixServices.flixminisite.msOpenWin("'+url+'");\'>';var _customimg=FlixServices.flixminisite.msParseQueryString(FlixServices.flixminisite.msparams,'img','',0);var _alt=FlixServices.flixminisite.msParseQueryString(FlixServices.flixminisite.msparams,'alt','',0);_customimg=FlixServices.flixminisite.msStripTags(FlixServices.flixminisite.msStripScripts(_customimg));_alt=FlixServices.flixminisite.msStripTags(FlixServices.flixminisite.msStripScripts(_alt));if(_alt.length==0)
_alt='Minisite button image'
var needed=/MSIE ((5\.5)|[6])/.test(navigator.userAgent)&&navigator.platform=='Win32';if(is_manual){html+='<img style="height:auto;width:auto;" height="100" width="100" id="_flixbtn'+p_id+'" alt="'+_alt+'" border="0" src="'+base_image+'"/>';}
else{if(isComplementary){if(p_id==false){html+='<img style="height:auto;width:auto;" height="100" width="100" id="_flixbtn'+p_id+'" alt="'+_alt+'" border="0" src=""/>';}
else{var base_image_full=base_image.indexOf("//")==0?base_image:FlixServices.flixminisite.ms_base_urlms_LOGO+base_image;html+='<img style="height:auto;width:auto;" height="100" width="100" id="_flixbtn'+p_id+'" alt="'+_alt+'" border="0" src="'+base_image_full+'"/>';}}
else{var base_image_full=base_image.indexOf("//")==0?base_image:FlixServices.flixminisite.ms_base_url+base_image;html+='<img style="height:auto;width:auto;" height="100" width="100" id="_flixbtn'+p_id+'" alt="'+_alt+'" border="0" src="'+base_image_full+'"/>';}}
html+='</a>';return html;},msgetCanonical:function(esc){try{var
ret,canonicalCheck,s;ret=FlixServices.flixminisite.msParsePage(FlixServices.flixminisite.mspagedata,'pn');canonicalCheck=window.location.protocol+'//'+window.location.hostname+'/';if(!ret||ret===canonicalCheck||ret.length+1<=canonicalCheck.length){ret=document.URL;}
s=ret.indexOf('#');if(s!=-1){ret=ret.substring(0,s);}
return arguments.length>0?escape(ret):ret;}catch(e){}},msParsePage:function(pagedata,target){var
found='',h=null,fallback=true,generic={},specific={},p,ignore=[],precedence,hit=false;try{for(p in pagedata){if(pagedata.hasOwnProperty(p)){if(p=='pageSpecific'){specific=pagedata.pageSpecific;}
else if(ignore.indexOf(p)===-1){generic[p]=pagedata[p];}}}
precedence=(!!specific[target])?specific[target]:generic[target];if(!specific[target]){fallback=false;}
if(typeof precedence==='function'){found=precedence();if(!found){fallback=true;}}
if(!found&&!!precedence&&!!precedence.terms&&precedence.terms.length){for(var i=0;i<precedence.terms.length;i++){h=document.querySelector(precedence.terms[i]);if(h&&!!h.textContent.trim()){hit=true;break;}
else if(h&&h instanceof HTMLElement){for(var j=0;j<precedence.attr.length;j++){if(h.hasAttribute(precedence.attr[j])){found=h.getAttribute(precedence.attr[j]);hit=true;break;}}}}}
if(fallback&&!hit){precedence=generic[target];if(typeof precedence==='function'){found=precedence();}
if(!found&&!!precedence&&!!precedence.terms&&precedence.terms.length){for(var i=0;i<precedence.terms.length;i++){h=document.querySelector(precedence.terms[i]);if(h&&!!h.textContent.trim()){hit=true;break;}
else if(h&&h instanceof HTMLElement){for(var j=0;j<precedence.attr.length;j++){if(h.hasAttribute(precedence.attr[j])){found=h.getAttribute(precedence.attr[j]);hit=true;break;}}}}}}
if(!found&&h&&h instanceof HTMLElement){found=h.textContent.trim();}
if(target==='price'&&!!found){var
value=FlixServices.flixminisite.msparsePrice(found);if(value){found=value;}}
return found.trim();}catch(e){return'';}}},flixhotspot:{modular_style_files_loaded:false,modular_css_url:[],modular_js_url:[],init:function(results){FlixServices.flixhotspot.data={product_id:FlixServices.modular_match_data[0].product_meta.product_id,distributor:flixmain_distributor,language:flixmain_language,edvalueT:flixmain_mpn||''||FlixServices.modular_match_data[0].product_meta.product_id,mpn:flixmain_mpn,ean:flixmain_ean,type:'hotspot'}
if(FlixServices.ismobile())
FlixServices.loadFlixJs('https://media.flixcar.com/delivery/js/minify?url=/static/hotspot/standard/css/mobile-main.css');if(location.href.search('flixlazyv2')!=-1){FlixServices.loadFlixJs('https://demo.flix360.io/performance/modularvnew/js/lazysizes-v4.js');}else if(location.href.search('flixlazyv3')!=-1){FlixServices.loadFlixJs('https://demo.flix360.io/performance/modularvnew/js/lazysizes-v3.js');}else if(ENV=='-alpha'){FlixServices.loadFlixJs('https://demo.flix360.io/performance/modularvnew/js/lazysizes.js');}else{FlixServices.loadFlixJs(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/modular/js/lazysizes.js');}
if(FlixServices.service_lock_hotspot){logflix("service_lock_hotspot=1")
return;}
var tryrun=0;var refreshId=setInterval(function(){if(FlixServices!=undefined&&FlixServices.modular_match_data!=null&&typeof FlixServices.modular_match_data!=='undefined'&&typeof(FlixServices.modular_match_data)=='object'){if(!FlixServices.modular_hotspot_settings){return false;}
var settings=FlixServices.modular_hotspot_settings;var retailer_product_img,retailer_img_height,retailer_img_width;FlixServices.modular_match_data.forEach(function(products,index){if(products.settings.hotspot_settings&&products.settings.hotspot_settings.css_urls_to_load&&products.settings.hotspot_settings.css_urls_to_load.length>0){if(typeof(products.settings.hotspot_settings.css_urls_to_load)=='string'){FlixServices.flixhotspot.modular_css_url.push(products.settings.hotspot_settings.css_urls_to_load);}else{products.settings.hotspot_settings.css_urls_to_load.forEach(function(each_css,index){FlixServices.flixhotspot.modular_css_url.push(each_css);});}}
if(products.settings.hotspot_settings&&products.settings.hotspot_settings.js_urls_to_load&&products.settings.hotspot_settings.js_urls_to_load.length>0){if(typeof(products.settings.hotspot_settings.js_urls_to_load)=='string'){FlixServices.flixhotspot.modular_js_url.push(products.settings.hotspot_settings.js_urls_to_load);}else{products.settings.hotspot_settings.js_urls_to_load.forEach(function(each_js,index){FlixServices.flixhotspot.modular_js_url.push(each_js);});}}
FlixServices.flixhotspot.modular_css_url.push(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/static/distributor/'+flixmain_distributor+'/hotspot.css');});if(!retailer_product_img&&FlixjQ(settings[0].image_container).length){if(FlixjQ(settings[0].image_container).length>0){retailer_product_img=settings[0].image_container;var retailer_img_height="FlixjQ(retailer_product_img).height()";var retailer_img_width=FlixjQ(retailer_product_img).width();FlixServices.flixhotspot.fcounter=10}}
if(!retailer_product_img&&FlixjQ(settings[0].image_id)){if(FlixjQ(settings[0].image_id).parent().length){retailer_product_img=settings[0].image_id;var retailer_img_height=FlixjQ(retailer_product_img).height();var retailer_img_width=FlixjQ(retailer_product_img).width();FlixServices.flixhotspot.fcounter=10}}
if(!retailer_product_img&&settings[0].image_src){if(FlixjQ(settings[0].image_src).length){retailer_image=settings[0].image_src;var allImages=document.getElementsByTagName("img");var target;for(var i=0,max=allImages.length;i<max;i++){if(allImages[i].src===retailer_image){retailer_product_img=allImages[i];break;}}
var retailer_img_height=FlixjQ(retailer_product_img).height();var retailer_img_width=FlixjQ(retailer_product_img).width();FlixServices.flixhotspot.fcounter=10}}
FlixServices.flixhotspot.retailer_product_img=retailer_product_img
FlixServices.flixhotspot.hotspot_data=FlixServices.modular_hotspot_data
FlixServices.flixhotspot.hotspot_settings=FlixServices.modular_hotspot_settings
FlixServices.flixhotspot.hotspot_full={"hotspots":FlixServices.modular_hotspot_data,"settings":FlixServices.modular_hotspot_settings}
FlixServices.flixhotspot.results_parent=FlixServices.hotspot_results_hold
if(typeof window.flixJsCallbacks['ab_'+flixmain_distributor]=='object'&&window.flixJsCallbacks['ab_'+flixmain_distributor]!=null&&typeof window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot=='object'&&typeof window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot.hotspots=='object'){var target=window.flixJsCallbacks['ab_'+flixmain_distributor].target||'';var device=window.flixJsCallbacks['ab_'+flixmain_distributor].device||'';FlixServices.flixhotspot.oldresults=FlixServices.flixhotspot.hotspot_full
if(target==device){log3('ABtest - overwrite json values')
FlixServices.flixhotspot.extendObj(FlixServices.flixhotspot.hotspot_full,window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot);}
if(FlixjQ.isEmptyObject(window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot)==true&&target==device){setTimeout(function(){log3('ABtest2 - overwrite json values')
FlixServices.flixhotspot.extendObj(FlixServices.flixhotspot.hotspot_full,window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot);},600);}
FlixServices.flixhotspot.resortingForAbtest();if(target==device&&window.flixJsCallbacks['ab_'+flixmain_distributor]!=null&&window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot!=null){log3('Beat test')
if(window.flixJsCallbacks['ab_'+flixmain_distributor].targetId!=FlixServices.flixhotspot.data.product_id){if(typeof flixtracking!='undefined'){log3('complimentary hs test product logs------------')
setTimeout(function(){FlixServices.flixhotspot.data.product_id=window.flixJsCallbacks['ab_'+flixmain_distributor].targetId;flixtracking.products.hotspot('page','Hotspot_'+FlixServices.flixhotspot.data.edvalueT,'beatlog');FlixServices.flixhotspot.data.product_id=FlixServices.modular_match_data[0].product_meta.product_id;},800)}}
if(Object.keys(FlixServices.flixhotspot.results_parent.hotspots).length>0&&typeof window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot.settings[0]=='object'&&window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot.settings[0].no_hotspots&&window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot.settings[0].no_hotspots==true&&!FlixServices.ismobile()){log3('no hotspots - test g')
if(typeof flixtracking!='undefined'){log3('no hotspots - test g------------')
setTimeout(function(){if(FlixjQ('#flix_hotspots')&&FlixjQ('#flix_hotspots:not(.ek_hotspots) .flix_hs:not(#flix_desktop_webar)').length<1){flixtracking.products.hotspot('page','Hotspot_'+FlixServices.flixhotspot.data.edvalueT,'beatlog');}},800)}}
if(FlixServices.flixhotspot.results_parent.hotspots&&FlixServices.flixhotspot.results_parent.hotspots.desktop_webar&&Object.keys(FlixServices.flixhotspot.results_parent.hotspots.desktop_webar).length>0&&typeof window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot.settings[0]=='object'&&window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot.settings[0].desktop_webar==false&&!FlixServices.ismobile()){log3('no qr - test d')
if(typeof flixtracking!='undefined'){setTimeout(function(){flixtracking.products.hotspot('qr_impression','qr_loaded','beatlog');},800)}}
if(FlixServices.flixCheckARcompatibility()==true&&FlixServices.flixhotspot.results_parent.hotspots&&FlixServices.flixhotspot.results_parent.hotspots.desktop_webar&&Object.keys(FlixServices.flixhotspot.results_parent.hotspots.desktop_webar).length>0&&typeof window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot.settings[0]=='object'&&window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot.settings[0].desktop_webar==false&&FlixServices.ismobile()){log3('no webar - test d')
if(typeof flixtracking!='undefined'){setTimeout(function(){flixtracking.products.hotspot('webar_impressions','webar_loaded','beatlog');},800)}}}}
FlixServices.flixhotspot.writeCanvas();clearInterval(refreshId);}
if(tryrun===200){clearInterval(refreshId);}
tryrun++},100);},extendObj:function(destination,source){for(var property in source){if(typeof destination[property]!=="undefined"){if(typeof source[property]==="object"&&source[property]!==null){destination[property]=destination[property]||{};arguments.callee(destination[property],source[property]);}else{destination[property]=source[property];}}else{destination[property]=source[property]}}},resortingForAbtest:function(){if(typeof window.flixJsCallbacks['ab_'+flixmain_distributor]=='object'&&window.flixJsCallbacks['ab_'+flixmain_distributor]!=null){FlixjQ.each(FlixServices.flixhotspot.hotspot_full.hotspots,function(index,hs){log3(hs)
log3(hs.productId)
if(typeof window.flixJsCallbacks['ab_'+flixmain_distributor]!='undefined'&&typeof window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot!='undefined'&&typeof window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot.hotspots!='undefined'&&typeof window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot.settings[0]=='object'){if(window.flixJsCallbacks['ab_'+flixmain_distributor].targetId==hs.productId){if(index.indexOf("webar")===-1&&window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot.settings[0].no_hotspots==true){delete FlixServices.flixhotspot.hotspot_full.hotspots[index];FlixServices.flixhotspot.hotspot_full.settings[0].no_hotspots=FlixServices.flixhotspot.results_parent.settings[0].no_hotspots}
if((index=='desktop_webar'||index=='product_webar')&&window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot.settings[0].desktop_webar==false){delete FlixServices.flixhotspot.hotspot_full.hotspots[index];FlixServices.flixhotspot.hotspot_full.settings[0].desktop_webar=FlixServices.flixhotspot.results_parent.settings[0].desktop_webar}
var other_test_keys={"product_gallery":1,"key_features":1,"key_specification":1,"product_video":1,"product-overview":1,"product_view3dfw":1,"product_review":1,"product_comparison":1,"product_ugc":1};if(typeof index!='undefined'&&other_test_keys.hasOwnProperty(index)&&window.flixJsCallbacks['ab_'+flixmain_distributor].hotspot.settings[0][index]==false){delete FlixServices.flixhotspot.hotspot_full.hotspots[index];}}}});}},loadJsCss:function(vars){if(FlixServices.flixhotspot.modular_style_files_loaded==false){var emptyHsUrl=0;var myInterval=setInterval(function(){if(emptyHsUrl===200)return clearInterval(myInterval);if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined'&&FlixServices.flixhotspot.modular_js_url!='null'){FlixServices.flixhotspot.modular_style_files_loaded=true;FlixServices.flixhotspot.modular_css_url.forEach(function(each_css,index){FlixServices.loadFlixJs(each_css);});FlixServices.flixhotspot.modular_js_url.forEach(function(each_js,index){FlixServices.loadFlixJs(each_js);});clearInterval(myInterval);}
emptyHsUrl++;},100);}},fcounter:0,fcounterMob:0,data:{product_id:flixmain_product_id,distributor:flixmain_distributor,language:flixmain_language,edvalueT:flixmain_mpn||''||flixmain_product_id,mpn:flixmain_mpn,ean:flixmain_ean,type:'hotspot'},retailer_product_img:null,hotspot_data:null,hotspot_settings:null,hotspot_full:null,writeCanvas:function(){if(!FlixServices.flixhotspot.hotspot_settings){return false;}
setTimeout(function(){if(FlixServices==undefined)
return false;if(FlixServices!=undefined&&FlixServices.flixhotspot.fcounter<10&&FlixjQ('#flix_hotspots').length==0){FlixServices.flixhotspot.writeCanvas();FlixServices.flixhotspot.fcounter++;}else{if(!(FlixjQ("#flix_hotspots.ek_hotspots").length>0)){FlixjQ('#flix_hotspots').remove();FlixjQ('<div id = "flix_hotspots"> </div>').appendTo(FlixjQ('body'));if(FlixServices.ismobile()=='true'||FlixServices.flixisMobile.iOS()!=null||FlixServices.flixisMobile.Android()!=null){if(FlixServices!=undefined&&FlixServices.modular_match_data!=undefined&&FlixServices.modular_match_data[0]!=undefined&&FlixServices.modular_match_data[0].settings!=undefined)
FlixjQ('#flix_hotspots').addClass('flix_hotspotV2').css('display','none').attr('data-hotv2',FlixServices.modular_match_data[0].settings.distributor_settings.mobile_image_container)
FlixjQ('#flix_hotspots').addClass('flix_hotspot_'+flixmain_language).addClass('flix_hotspot_'+flixmain_distributor);}else{FlixjQ('#flix_hotspots').addClass('flix_hotspotV2').css('display','none').attr('data-hotv2',FlixServices.flixhotspot.hotspot_settings[0].image_container)
FlixjQ('#flix_hotspots').addClass('flix_hotspot_'+flixmain_language).addClass('flix_hotspot_'+flixmain_distributor);}
if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.loadspeed('start','qr');if(FlixjQ('.flix_hotspotV2:not(".ek_hotspots") svg').length==0){FlixServices.flixhotspot.createHotspots();}}}},600);if(FlixServices.ismobile()&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment!=null&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment!=''){FlixServices.flixhotspot.writeCanvasMob();}},createHotspots:function(){log3('createHotspots');FlixServices.flixhotspot.results=FlixServices.flixhotspot.hotspot_full;hotspots=FlixServices.flixhotspot.hotspot_data||{};settings=FlixServices.flixhotspot.hotspot_settings||{};var mobile_hotspot_available='';var arid,arimg;if(settings[0].ar_google&&settings[0].ar_google==1){if(FlixServices.flixhotspot.results.hotspots.product_webar)
var arid=FlixServices.flixhotspot.results.hotspots.product_webar.webar_id
if(FlixServices.flixhotspot.results.hotspots.desktop_webar)
var arid=FlixServices.flixhotspot.results.hotspots.desktop_webar.webar_id
log3('arid',arid);FlixServices.flixhotspot.loadGoogleMeta(arid);}
if(settings[0].css&&settings[0].css.length>0){FlixjQ('#flix_hotspots').after(settings[0].css)}
FlixjQ.each(hotspots,function(index,hs){var Hsmodule=hs.module_id;if(Hsmodule==undefined)
Hsmodule='';hs.color_hash=FlixServices.modular_match_data[0].settings.distributor_settings.color_hash;if(!hs.color_hash||hs.color_hash.search('#')==-1)
hs.color_hash='#105DC1';var colorhash=hs.color_hash.replace('#','');if(FlixServices.flixhotspot.results.settings[0].image_container==null)
return false;if(index=='desktop_webar'&&FlixServices.flixhotspot.results.settings[0].desktop_webar==false){log3('no flixar'+FlixServices.flixhotspot.results.settings[0].desktop_webar)
return true;}
if(index=='product_webar'&&FlixServices.flixhotspot.results.settings[0].desktop_webar==false){log3('no flixar'+FlixServices.flixhotspot.results.settings[0].desktop_webar)
return true;}
if(index.indexOf("webar")===-1&&FlixServices.flixhotspot.results.settings[0].no_hotspots==true){log3('no hotspots'+FlixServices.flixhotspot.results.settings[0].no_hotspots)
return true;}
if(typeof hotspotwebarstatic!='undefined'&&hotspotwebarstatic==true){if(FlixServices.ismobile()==true)
FlixjQ("#flix_hotspots").appendTo(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_image_container);else
FlixjQ("#flix_hotspots").appendTo(FlixServices.flixhotspot.results.settings[0].image_container);}
if(hs.webar_id)
arid=hs.webar_id;if(hs.ui_default){arimg=hs.ui_default;if(hs.ui_default.search('_90x90_')!=-1&&hs.ui_default.search('http')==-1){hs.ui_default='https:\/\/media.flixcar.com\/delivery'+hs.ui_default}}
if(typeof hs.html!='undefined'&&hs.html.includes('inpage_selector_3d')){hs.html=hs.html.replace(/&d=6&/g,'&d='+flixmain_distributor+'&')}
if((index=='product_webar'&&FlixServices.flixCheckARcompatibility()==true)){log3('product_webar- Show ar--')
FlixServices.flixhotspot.flixHotspotWebar(hs.webar_id,hs.ui_default);if((FlixjQ('[data-flix-3d]').length||FlixServices.flixhotspot.results.settings[0].load3dfw==true)&&FlixServices.flixhotspot.results.settings[0].load3dfw!=false)
FlixServices.flixhotspot.load3dfw(hs.html,hs.webar_id);}else if(index=='desktop_webar'){if(typeof(hs.webar_id)=='undefined'&&typeof(hs.html)!=='undefined'){var new_webar_id=hs.webar_id=FlixServices.findARIDFromHtml(hs.html);}
if(FlixServices.flixCheckARcompatibility()==true){log3('tablet hotspot')
FlixServices.flixhotspot.flixHotspotWebar(hs.webar_id,hs.ui_default);}else if(FlixServices.flixhotspot.flixDetectWebGLContext()){var defaulticon='';if(hs.ui_default&&hs.ui_default.search('AR_')!=-1){defaulticon='flix_defaulticon flix_default_en';}
deskar='<a id="'+settings[0].prefix+index+'" data-module="'+Hsmodule+'" class="ek-aricon ek-desktop" data-eklink="hotspot_webar" href="javaScript:void(0);" aria-label="Open FlixAR augmented reality"><img src="'+hs.ui_default+'" class="flix_hs2 '+defaulticon+'" aria-labelledby="Flix default" alt="FlixAR augmented reality" aria-describedby="" /></a>';FlixjQ('#flix_hotspots').append(deskar);log3('webar-desktop loaded')
FlixServices.flixhotspot.loadspeed('stop','qr');if(typeof flixtracking!='undefined'){flixtracking.products.hotspot('qr_impression','qr_loaded');}}else if(FlixServices.flixhotspot.flixDetectWebGLContext()==false){logflix('Hotspot webAR - This application does not work on IE11 as it requires more recent webGL.')}
if((FlixjQ('[data-flix-3d]').length||FlixServices.flixhotspot.results.settings[0].load3dfw==true)&&FlixServices.flixhotspot.results.settings[0].load3dfw!=false)
FlixServices.flixhotspot.load3dfw(hs.html,hs.webar_id);}else if(index=='comp_product_logo'){var target=settings[0].logo_program_container;var html=FlixServices.flixhotspot.results.hotspots.comp_product_logo.html;FlixjQ(target).append(html);}else if(!FlixServices.ismobile()){log3('Show hot-'+index,FlixServices.ismobile())
if(FlixServices.flixhotspot.flixDetectWebGLContext()==false&&index=='product_view3dfw'){log3('hide 3d hotspot',FlixServices.flixhotspot.flixDetectWebGLContext())
return true;}
var hotspotsvg='<div data-module="'+Hsmodule+'" id="'+settings[0].prefix+index+'" class="flix_hs flix_hs_'+index+' flix_hs_hash_'+colorhash+'" role="button" tabindex="0" title="'+hs.tooltip_title+'" ><svg alt="'+hs.tooltip_title+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 34 34" enable-background="new 0 0 34 34" xml:space="preserve" style="width:34px;height:34px" aria-hidden="true"><g class="flix_hs_button"><path fill="'+hs.color_hash+'" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" d="M31.75,18c0,8.285-6.715,15-15,15c-8.284,0-15-6.715-15-15c0-8.284,6.716-15,15-15C25.035,3,31.75,9.716,31.75,18z"/><path display="none" fill="#686868" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" d="M31.75,18c0,8.285-6.715,15-15,15c-8.284,0-15-6.715-15-15c0-8.284,6.716-15,15-15C25.035,3,31.75,9.716,31.75,18z"/></g><g class="flix_hs_plus_1_" display="none"><g class="flix_hs_plus" display="inline"><polygon fill="#FFFFFF" points="25,15 19,15 19,9 15,9 15,15 9,15 9,19 15,19 15,25 19,25 19,19 25,19 "/></g></g><g class="flix_hs_three_D" display="none"><g class="flix_hs_three_D2" display="inline"><text class="flix_hs_three_D3" transform="matrix(1 0 0 1 7.3335 23)" fill="#FFFFFF" font-family="arial" font-size="15px">3D</text></g></g><g class="flix_hs_360" display="none"><text class="flix_hs_3602" transform="matrix(1 0 0 1 5.0108 23)" display="inline" fill="#FFFFFF" font-family="arial" font-size="12px" aria-hidden="true">360°</text></g><g class="flix_hs_play" display="none"><g class="flix_hs_play2" display="inline"><polygon fill="#FFFFFF" points="12,8.667 25,17.333 12,26 "/></g></g><g class="flix_hs_info" display="none"><g class="flix_hs_info2" display="inline"><g><path fill="#FFFFFF" d="M14,17c0.553,0,1,0.447,1,1v4c0,0.553-0.447,1-1,1h-1v2h8v-2h-0.996c-0.551,0-1-0.447-1-1L19,15h-6v2H14z"/><circle fill="#FFFFFF" cx="17" cy="11" r="2"/></g></g></g><g class="flix_hs_document" display="none"><g class="flix_hs_doc2" display="inline"><path fill="#FFFFFF" d="M18,9h-7v16h12V13.999L18,9z M13,23V11h4v4h4v8H13z"/></g><g class="flix_hs_doc1" display="inline"><line fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="14" y1="18" x2="20" y2="18"/><line fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="14" y1="21" x2="20" y2="21"/></g></g><g class="flix_hs_gallery" display="none"><g class="flix_hs_gallery2" display="inline"><g><path fill="#FFFFFF" d="M18.859,16.688c1.01,0,1.828,0.818,1.828,1.828c0,1.01-0.818,1.828-1.828,1.828c-1.01,0-1.828-0.818-1.828-1.828C17.031,17.506,17.85,16.688,18.859,16.688z"/><path fill="#FFFFFF" d="M22.516,13.031l-1.503-3.036c-0.123-0.361-0.465-0.621-0.868-0.621h-2.51c-0.408,0-0.752,0.266-0.871,0.633l-1.559,3.023h-3.658c-1.01,0-1.828,0.818-1.828,1.828V24h14.625v-9.141C24.344,13.85,23.526,13.031,22.516,13.031z M12.461,16.688c-0.505,0-0.914-0.409-0.914-0.914c0-0.505,0.409-0.914,0.914-0.914c0.505,0,0.914,0.409,0.914,0.914C13.375,16.279,12.966,16.688,12.461,16.688z M18.859,22.172c-2.02,0-3.656-1.637-3.656-3.656c0-2.019,1.637-3.656,3.656-3.656c2.02,0,3.656,1.637,3.656,3.656C22.516,20.535,20.879,22.172,18.859,22.172z"/></g></g></g><g class="flix_hs_comparison" display="none"><g class="flix_hs_check" display="inline"><g><path fill="#FFFFFF" d="M8.087,21.903l-2.931-2.931c-0.251-0.251-0.251-0.659,0-0.91l0.922-0.922c0.251-0.251,0.659-0.251,0.91,0l1.099,1.099c0.251,0.251,0.658,0.251,0.91,0l3.71-3.71c0.251-0.251,0.659-0.251,0.91,0l0.922,0.922c0.251,0.251,0.251,0.659,0,0.91l-5.542,5.542C8.746,22.154,8.339,22.154,8.087,21.903z"/></g></g><g class="flix_hs_x" display="inline"><g><path fill="#FFFFFF" d="M27.458,20.481L25.4,18.424c-0.115-0.115-0.115-0.302,0-0.417l2.058-2.056c0.115-0.115,0.115-0.301,0-0.416l-1.233-1.233c-0.115-0.115-0.301-0.115-0.416,0l-2.056,2.057c-0.115,0.115-0.301,0.115-0.416,0l-2.057-2.057c-0.115-0.115-0.301-0.115-0.416,0l-1.232,1.233c-0.115,0.115-0.115,0.301,0,0.416l2.056,2.056c0.115,0.115,0.115,0.301,0,0.416l-2.056,2.056c-0.115,0.115-0.115,0.301,0,0.416l1.232,1.233c0.115,0.115,0.301,0.115,0.416,0l2.057-2.057c0.115-0.115,0.301-0.115,0.416,0l2.056,2.057c0.115,0.115,0.301,0.115,0.416,0l1.233-1.233C27.573,20.782,27.573,20.595,27.458,20.481z"/></g></g><line class="flix_hs_line" display="inline" fill="#FFFFFF" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="17" y1="8.216" x2="17" y2="28.216"/></g><g class="flix_hs_reviews" display="none"><g class="flix_hs_comment_stroke" display="inline"><path fill="#FFFFFF" d="M19.429,12.286c2.522,0,4.571,2.049,4.571,4.571s-2.049,4.571-4.571,4.571h-4.571c-1.491,0-2.819,0.719-3.654,1.83c-0.555-0.419-0.917-1.085-0.917-1.83v-5.714c0-1.891,1.54-3.429,3.429-3.429H19.429 M19.429,10h-5.714C10.558,10,8,12.558,8,15.714v5.714C8,23.953,10.049,26,12.571,26c0-1.263,1.025-2.286,2.286-2.286h4.571c3.788,0,6.857-3.071,6.857-6.857S23.217,10,19.429,10L19.429,10z"/></g><line class="flix_hs_re2" display="inline" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="13.031" y1="15.844" x2="21" y2="15.844"/><line class="flix_hs_re1" display="inline" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="13.031" y1="18.844" x2="21" y2="18.844"/></g><g class="flix_hs_3rdapp"  display="none"><path d="M18 23H8V12H26V19" stroke="white" stroke-width="1.7" fill="none"/><circle cx="10.5" cy="14.5" r="0.5" fill="white"/><circle cx="11.8" cy="14.5" r="0.5" fill="white"/><circle cx="13.1" cy="14.5" r="0.5" fill="white"/><path fill-rule="evenodd" clip-rule="evenodd" d="M18.9453 18.2305C18.7999 18.1723 18.6407 18.158 18.4873 18.1895C18.3339 18.221 18.1931 18.2968 18.0823 18.4075C17.9716 18.5182 17.8958 18.659 17.8643 18.8124C17.8329 18.9658 17.8471 19.1251 17.9053 19.2705L21.1053 27.2705C21.1626 27.4136 21.2601 27.5372 21.3861 27.6262C21.512 27.7153 21.661 27.7661 21.8151 27.7724C21.9692 27.7787 22.1219 27.7404 22.2547 27.662C22.3875 27.5836 22.4948 27.4684 22.5637 27.3305L23.6677 25.1233L26.0821 27.5393C26.2322 27.6893 26.4358 27.7735 26.648 27.7734C26.8602 27.7733 27.0637 27.689 27.2137 27.5389C27.3637 27.3887 27.4479 27.1852 27.4479 26.973C27.4478 26.7608 27.3634 26.5573 27.2133 26.4073L24.7981 23.9913L27.0061 22.8881C27.1438 22.819 27.2587 22.7116 27.3369 22.5788C27.415 22.4461 27.4532 22.2936 27.4468 22.1396C27.4404 21.9857 27.3896 21.8369 27.3007 21.7111C27.2117 21.5853 27.0883 21.4878 26.9453 21.4305L18.9453 18.2305Z" fill="white"/></g></svg></div>'
if(index.search('comp_')!=-1){if(!hs.color_hash||hs.color_hash.length==0)
hs.color_hash='#105DC1'
var hotspotsvg='<div data-module="'+Hsmodule+'" id="'+settings[0].prefix+index+'" class="flix_hs flix_hs_'+index+' flix_hs_hash_'+colorhash+'" role="button" tabindex="0" title="'+hs.tooltip_title+'" alt="'+hs.tooltip_title+'" ><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"   viewBox="0 0 34 34" enable-background="new 0 0 34 34" xml:space="preserve"><g id="flix_hs_button"> <path id="flix_hs_button1" fill="'+hs.color_hash+'" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" d="M31.75,18   c0,8.285-6.715,15-15,15c-8.284,0-15-6.715-15-15c0-8.284,6.716-15,15-15C25.035,3,31.75,9.716,31.75,18z"/>  <path id="flix_hs_button2" display="none" fill="#686868" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" d="   M31.75,18c0,8.285-6.715,15-15,15c-8.284,0-15-6.715-15-15c0-8.284,6.716-15,15-15C25.035,3,31.75,9.716,31.75,18z"/></g><g id="flix_hs_benefits" display="none"><g><path fill="#FFFFFF" d="M19.054,12.289c1.564,0,3.127-0.001,4.691,0c0.744,0.001,1.25,0.458,1.254,1.131c0.005,0.688-0.503,1.153-1.265,1.153c-3.117,0.001-6.233,0.001-9.35,0c-0.739,0-1.252-0.464-1.259-1.132c-0.006-0.682,0.511-1.152,1.269-1.152C15.948,12.289,17.501,12.289,19.054,12.289z"/><path fill="#FFFFFF" d="M19.058,19.142c-1.595,0-3.191,0.004-4.786-0.002c-0.603-0.002-1.079-0.439-1.142-1.02c-0.061-0.567,0.307-1.09,0.873-1.229c0.101-0.025,0.209-0.032,0.313-0.032c3.169-0.001,6.339-0.002,9.508,0c0.616,0.001,1.104,0.422,1.167,0.988c0.067,0.612-0.302,1.14-0.897,1.268c-0.122,0.026-0.252,0.025-0.378,0.025C22.164,19.143,20.611,19.142,19.058,19.142z"/><path fill="#FFFFFF" d="M19.059,23.711c-1.595,0-3.191,0.004-4.786-0.002c-0.604-0.002-1.079-0.438-1.142-1.02c-0.062-0.567,0.306-1.089,0.873-1.229c0.101-0.025,0.209-0.032,0.313-0.032c3.169-0.001,6.339-0.002,9.508,0c0.616,0.001,1.105,0.421,1.167,0.988c0.068,0.612-0.301,1.14-0.896,1.269c-0.122,0.026-0.252,0.025-0.378,0.026C22.165,23.711,20.612,23.711,19.059,23.711z"/><path fill="#FFFFFF" d="M12.045,17.997c0.001,0.844-0.691,1.532-1.536,1.526C9.678,19.517,9.001,18.834,9,18.002c-0.001-0.846,0.688-1.53,1.535-1.525C11.366,16.483,12.044,17.165,12.045,17.997z"/><path fill="#FFFFFF" d="M10.526,21.046c0.832,0.002,1.513,0.68,1.519,1.511c0.005,0.845-0.683,1.537-1.527,1.535C9.674,24.089,8.991,23.395,9,22.548C9.009,21.718,9.693,21.045,10.526,21.046z"/><path fill="#FFFFFF" d="M10.532,11.909c0.829,0.002,1.51,0.684,1.514,1.515c0.003,0.844-0.689,1.536-1.531,1.53C9.682,14.948,9.004,14.268,9,13.438C8.997,12.593,9.685,11.907,10.532,11.909z"/></g></g> <g id="flix_hs_comp_video" display="none"> <g id="flix_hs_play2_1_" display="inline">    <g>     <g>       <path fill="#FFFFFF" d="M12,9.667c0-0.55,0.374-0.75,0.832-0.445l11.336,7.557c0.458,0.305,0.458,0.804,0,1.109l-11.336,7.557          C12.374,25.75,12,25.55,12,25V9.667z"/>      </g>    </g>  </g></g><g id="flix_hs_comp_product_summary" display="none">  <g display="inline">    <g>     <path fill="#FFFFFF" d="M6.75,14.918c0.567,0,1.134,0,1.701,0c0.08,0,0.16,0,0.241,0c0.205,0,0.421-0.089,0.566-0.234        c0.139-0.139,0.243-0.366,0.234-0.566c-0.019-0.433-0.352-0.8-0.8-0.8c-0.567,0-1.134,0-1.701,0c-0.08,0-0.16,0-0.241,0       c-0.205,0-0.421,0.089-0.566,0.234c-0.139,0.139-0.243,0.366-0.234,0.566C5.969,14.551,6.302,14.918,6.75,14.918L6.75,14.918z"/>    </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M6.75,17.506c0.567,0,1.134,0,1.701,0c0.08,0,0.16,0,0.241,0c0.205,0,0.421-0.089,0.566-0.234        c0.139-0.139,0.243-0.366,0.234-0.566c-0.019-0.433-0.352-0.8-0.8-0.8c-0.567,0-1.134,0-1.701,0c-0.08,0-0.16,0-0.241,0       c-0.205,0-0.421,0.089-0.566,0.234c-0.139,0.139-0.243,0.366-0.234,0.566C5.969,17.14,6.302,17.506,6.75,17.506L6.75,17.506z"/>   </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M6.75,20.094c0.567,0,1.134,0,1.701,0c0.08,0,0.16,0,0.241,0c0.205,0,0.421-0.089,0.566-0.234        c0.139-0.139,0.243-0.366,0.234-0.566c-0.019-0.433-0.352-0.8-0.8-0.8c-0.567,0-1.134,0-1.701,0c-0.08,0-0.16,0-0.241,0       c-0.205,0-0.421,0.089-0.566,0.234c-0.139,0.139-0.243,0.366-0.234,0.566C5.969,19.728,6.302,20.094,6.75,20.094L6.75,20.094z"/>    </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M6.75,22.683c0.567,0,1.134,0,1.701,0c0.08,0,0.16,0,0.241,0c0.205,0,0.421-0.089,0.566-0.234        c0.139-0.139,0.243-0.366,0.234-0.566c-0.019-0.433-0.352-0.8-0.8-0.8c-0.567,0-1.134,0-1.701,0c-0.08,0-0.16,0-0.241,0       c-0.205,0-0.421,0.089-0.566,0.234c-0.139,0.139-0.243,0.366-0.234,0.566C5.969,22.316,6.302,22.683,6.75,22.683L6.75,22.683z"/>    </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M13.901,28c0-0.625,0-1.249,0-1.874c0-0.088,0-0.177,0-0.265c0-0.418-0.368-0.819-0.8-0.8        c-0.433,0.019-0.8,0.352-0.8,0.8c0,0.625,0,1.249,0,1.874c0,0.088,0,0.177,0,0.265c0,0.418,0.368,0.819,0.8,0.8       C13.535,28.781,13.901,28.449,13.901,28L13.901,28z"/>    </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M16.49,28c0-0.625,0-1.249,0-1.874c0-0.088,0-0.177,0-0.265c0-0.418-0.368-0.819-0.8-0.8       c-0.433,0.019-0.8,0.352-0.8,0.8c0,0.625,0,1.249,0,1.874c0,0.088,0,0.177,0,0.265c0,0.418,0.368,0.819,0.8,0.8       C16.123,28.781,16.49,28.449,16.49,28L16.49,28z"/>   </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M19.078,28c0-0.625,0-1.249,0-1.874c0-0.088,0-0.177,0-0.265c0-0.418-0.368-0.819-0.8-0.8        c-0.433,0.019-0.8,0.352-0.8,0.8c0,0.625,0,1.249,0,1.874c0,0.088,0,0.177,0,0.265c0,0.418,0.368,0.819,0.8,0.8       C18.711,28.781,19.078,28.449,19.078,28L19.078,28z"/>    </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M21.666,28c0-0.625,0-1.249,0-1.874c0-0.088,0-0.177,0-0.265c0-0.418-0.368-0.819-0.8-0.8        c-0.433,0.019-0.8,0.352-0.8,0.8c0,0.625,0,1.249,0,1.874c0,0.088,0,0.177,0,0.265c0,0.418,0.368,0.819,0.8,0.8       C21.299,28.781,21.666,28.449,21.666,28L21.666,28z"/>    </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M24.719,15.044c0.593,0,1.186,0,1.779,0c0.084,0,0.168,0,0.252,0c0.418,0,0.819-0.368,0.8-0.8        c-0.019-0.433-0.352-0.8-0.8-0.8c-0.593,0-1.186,0-1.779,0c-0.084,0-0.168,0-0.252,0c-0.418,0-0.819,0.368-0.8,0.8        C23.938,14.677,24.27,15.044,24.719,15.044L24.719,15.044z"/>   </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M24.719,17.632c0.593,0,1.186,0,1.779,0c0.084,0,0.168,0,0.252,0c0.418,0,0.819-0.368,0.8-0.8        c-0.019-0.433-0.352-0.8-0.8-0.8c-0.593,0-1.186,0-1.779,0c-0.084,0-0.168,0-0.252,0c-0.418,0-0.819,0.368-0.8,0.8        C23.938,17.265,24.27,17.632,24.719,17.632L24.719,17.632z"/>   </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M24.719,20.22c0.593,0,1.186,0,1.779,0c0.084,0,0.168,0,0.252,0c0.418,0,0.819-0.368,0.8-0.8       c-0.019-0.433-0.352-0.8-0.8-0.8c-0.593,0-1.186,0-1.779,0c-0.084,0-0.168,0-0.252,0c-0.418,0-0.819,0.368-0.8,0.8        C23.938,19.854,24.27,20.22,24.719,20.22L24.719,20.22z"/>    </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M24.719,22.808c0.593,0,1.186,0,1.779,0c0.084,0,0.168,0,0.252,0c0.418,0,0.819-0.368,0.8-0.8        c-0.019-0.433-0.352-0.8-0.8-0.8c-0.593,0-1.186,0-1.779,0c-0.084,0-0.168,0-0.252,0c-0.418,0-0.819,0.368-0.8,0.8        C23.938,22.442,24.27,22.808,24.719,22.808L24.719,22.808z"/>   </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M20.066,8c0,0.698,0,1.396,0,2.094c0,0.099,0,0.197,0,0.296c0,0.418,0.368,0.819,0.8,0.8       c0.433-0.019,0.8-0.352,0.8-0.8c0-0.698,0-1.396,0-2.094c0-0.099,0-0.197,0-0.296c0-0.418-0.368-0.819-0.8-0.8        C20.433,7.22,20.066,7.552,20.066,8L20.066,8z"/>   </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M17.478,8c0,0.698,0,1.396,0,2.094c0,0.099,0,0.197,0,0.296c0,0.418,0.368,0.819,0.8,0.8       c0.433-0.019,0.8-0.352,0.8-0.8c0-0.698,0-1.396,0-2.094c0-0.099,0-0.197,0-0.296c0-0.418-0.368-0.819-0.8-0.8        C17.844,7.22,17.478,7.552,17.478,8L17.478,8z"/>   </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M14.89,8c0,0.698,0,1.396,0,2.094c0,0.099,0,0.197,0,0.296c0,0.418,0.368,0.819,0.8,0.8        c0.433-0.019,0.8-0.352,0.8-0.8c0-0.698,0-1.396,0-2.094c0-0.099,0-0.197,0-0.296c0-0.418-0.368-0.819-0.8-0.8        C15.256,7.22,14.89,7.552,14.89,8L14.89,8z"/>    </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M12.301,8c0,0.698,0,1.396,0,2.094c0,0.099,0,0.197,0,0.296c0,0.418,0.368,0.819,0.8,0.8       c0.433-0.019,0.8-0.352,0.8-0.8c0-0.698,0-1.396,0-2.094c0-0.099,0-0.197,0-0.296c0-0.418-0.368-0.819-0.8-0.8        C12.668,7.22,12.301,7.552,12.301,8L12.301,8z"/>   </g>  </g>  <g display="inline">    <path fill="none" stroke="#FFFFFF" stroke-width="1.5" stroke-miterlimit="10" d="M21.75,22.9c0,0.055-0.045,0.1-0.1,0.1h-9.8      c-0.055,0-0.1-0.045-0.1-0.1v-9.8c0-0.055,0.045-0.1,0.1-0.1h9.8c0.055,0,0.1,0.045,0.1,0.1V22.9z"/> </g>  <g display="inline">    <path fill="#FFFFFF" d="M19.75,20.9c0,0.055-0.045,0.1-0.1,0.1h-5.8c-0.055,0-0.1-0.045-0.1-0.1v-5.8c0-0.055,0.045-0.1,0.1-0.1      h5.8c0.055,0,0.1,0.045,0.1,0.1V20.9z"/> </g></g><g id="flix_hs_comp_comparison" display="none"> <g id="flix_hs_comp_comparison_1" display="inline">   <g>     <line fill="#FFFFFF" x1="14.812" y1="6.5" x2="14.812" y2="29.5"/>     <g>       <path fill="#FFFFFF" d="M14.437,6.5c0,6.717,0,13.433,0,20.15c0,0.95,0,1.9,0,2.85c0,0.483,0.75,0.483,0.75,0          c0-6.717,0-13.433,0-20.15c0-0.95,0-1.9,0-2.85C15.187,6.017,14.437,6.017,14.437,6.5L14.437,6.5z"/>     </g>    </g>    <g>     <path fill="#FFFFFF" d="M12.098,14.5l-3.354,7L12.098,14.5z"/>     <g>       <path fill="#FFFFFF" d="M11.127,13.932c-0.978,2.04-1.956,4.081-2.933,6.121c-0.14,0.293-0.281,0.586-0.421,0.879          c-0.254,0.53-0.164,1.24,0.404,1.539c0.502,0.265,1.268,0.163,1.539-0.404c0.978-2.04,1.956-4.081,2.933-6.121          c0.14-0.293,0.281-0.586,0.421-0.879c0.254-0.53,0.164-1.24-0.404-1.539C12.164,13.263,11.398,13.366,11.127,13.932         c-0.978,2.04-1.956,4.081-2.933,6.121c-0.14,0.293-0.281,0.586-0.421,0.879c-0.254,0.53-0.164,1.24,0.404,1.539         c0.502,0.265,1.268,0.163,1.539-0.404c0.978-2.04,1.956-4.081,2.933-6.121c0.14-0.293,0.281-0.586,0.421-0.879          c0.254-0.53,0.164-1.24-0.404-1.539C12.164,13.263,11.398,13.366,11.127,13.932z"/>      </g>    </g>    <g>     <path fill="#FFFFFF" d="M6.326,19.177l2.389,2.304L6.326,19.177z"/>      <g>       <path fill="#FFFFFF" d="M5.53,19.972c0.698,0.673,1.395,1.346,2.093,2.018c0.099,0.095,0.197,0.19,0.296,0.286         c0.21,0.203,0.502,0.33,0.795,0.33c0.276,0,0.606-0.123,0.795-0.33c0.197-0.214,0.343-0.496,0.33-0.795         c-0.013-0.295-0.112-0.585-0.33-0.795c-0.698-0.673-1.395-1.346-2.093-2.018c-0.099-0.095-0.197-0.19-0.296-0.286         c-0.21-0.203-0.502-0.33-0.795-0.33c-0.276,0-0.606,0.123-0.795,0.33c-0.197,0.214-0.343,0.496-0.33,0.795          C5.214,19.472,5.313,19.762,5.53,19.972c0.698,0.673,1.395,1.346,2.093,2.018c0.099,0.095,0.197,0.19,0.296,0.286         c0.21,0.203,0.502,0.33,0.795,0.33c0.276,0,0.606-0.123,0.795-0.33c0.197-0.214,0.343-0.496,0.33-0.795         c-0.013-0.295-0.112-0.585-0.33-0.795c-0.698-0.673-1.395-1.346-2.093-2.018c-0.099-0.095-0.197-0.19-0.296-0.286         c-0.21-0.203-0.502-0.33-0.795-0.33c-0.276,0-0.606,0.123-0.795,0.33c-0.197,0.214-0.343,0.496-0.33,0.795          C5.214,19.472,5.313,19.762,5.53,19.972z"/>      </g>    </g>    <g>     <path fill="#FFFFFF" d="M23.222,14.5l-3.354,7L23.222,14.5z"/>     <g>       <path fill="#FFFFFF" d="M22.251,13.932c-0.978,2.04-1.956,4.081-2.933,6.121c-0.14,0.293-0.281,0.586-0.421,0.879          c-0.254,0.53-0.164,1.24,0.404,1.539c0.502,0.265,1.268,0.163,1.539-0.404c0.978-2.04,1.956-4.081,2.933-6.121          c0.14-0.293,0.281-0.586,0.421-0.879c0.254-0.53,0.164-1.24-0.404-1.539C23.288,13.263,22.523,13.366,22.251,13.932         c-0.978,2.04-1.956,4.081-2.933,6.121c-0.14,0.293-0.281,0.586-0.421,0.879c-0.254,0.53-0.164,1.24,0.404,1.539         c0.502,0.265,1.268,0.163,1.539-0.404c0.978-2.04,1.956-4.081,2.933-6.121c0.14-0.293,0.281-0.586,0.421-0.879          c0.254-0.53,0.164-1.24-0.404-1.539C23.288,13.263,22.523,13.366,22.251,13.932z"/>      </g>    </g>    <g>     <path fill="#FFFFFF" d="M17.45,19.177l2.389,2.304L17.45,19.177z"/>      <g>       <path fill="#FFFFFF" d="M16.655,19.972c0.698,0.673,1.395,1.346,2.093,2.018c0.099,0.095,0.197,0.19,0.296,0.286         c0.21,0.203,0.502,0.33,0.795,0.33c0.276,0,0.606-0.123,0.795-0.33c0.197-0.214,0.343-0.496,0.33-0.795         c-0.013-0.295-0.112-0.585-0.33-0.795c-0.698-0.673-1.395-1.346-2.093-2.018c-0.099-0.095-0.197-0.19-0.296-0.286         c-0.21-0.203-0.502-0.33-0.795-0.33c-0.276,0-0.606,0.123-0.795,0.33c-0.197,0.214-0.343,0.496-0.33,0.795          C16.338,19.472,16.437,19.762,16.655,19.972c0.698,0.673,1.395,1.346,2.093,2.018c0.099,0.095,0.197,0.19,0.296,0.286         c0.21,0.203,0.502,0.33,0.795,0.33c0.276,0,0.606-0.123,0.795-0.33c0.197-0.214,0.343-0.496,0.33-0.795         c-0.013-0.295-0.112-0.585-0.33-0.795c-0.698-0.673-1.395-1.346-2.093-2.018c-0.099-0.095-0.197-0.19-0.296-0.286         c-0.21-0.203-0.502-0.33-0.795-0.33c-0.276,0-0.606,0.123-0.795,0.33c-0.197,0.214-0.343,0.496-0.33,0.795          C16.338,19.472,16.437,19.762,16.655,19.972z"/>      </g>    </g>    <g>     <path fill="#FFFFFF" d="M27.174,14.5l-3.354,7L27.174,14.5z"/>     <g>       <path fill="#FFFFFF" d="M26.203,13.932c-0.978,2.04-1.956,4.081-2.933,6.121c-0.14,0.293-0.281,0.586-0.421,0.879          c-0.254,0.53-0.164,1.24,0.404,1.539c0.502,0.265,1.268,0.163,1.539-0.404c0.978-2.04,1.956-4.081,2.933-6.121          c0.14-0.293,0.281-0.586,0.421-0.879c0.254-0.53,0.164-1.24-0.404-1.539C27.24,13.263,26.474,13.366,26.203,13.932          c-0.978,2.04-1.956,4.081-2.933,6.121c-0.14,0.293-0.281,0.586-0.421,0.879c-0.254,0.53-0.164,1.24,0.404,1.539         c0.502,0.265,1.268,0.163,1.539-0.404c0.978-2.04,1.956-4.081,2.933-6.121c0.14-0.293,0.281-0.586,0.421-0.879          c0.254-0.53,0.164-1.24-0.404-1.539C27.24,13.263,26.474,13.366,26.203,13.932z"/>     </g>    </g>    <g>     <path fill="#FFFFFF" d="M21.526,19.297l2.264,2.184L21.526,19.297z"/>      <g>       <path fill="#FFFFFF" d="M20.731,20.092c0.661,0.638,1.322,1.276,1.984,1.913c0.094,0.09,0.187,0.181,0.281,0.271         c0.21,0.203,0.502,0.33,0.795,0.33c0.276,0,0.606-0.123,0.795-0.33c0.197-0.214,0.343-0.496,0.33-0.795         c-0.013-0.295-0.112-0.585-0.33-0.795c-0.661-0.638-1.322-1.276-1.984-1.913c-0.094-0.09-0.187-0.181-0.281-0.271         c-0.21-0.203-0.502-0.33-0.795-0.33c-0.276,0-0.606,0.123-0.795,0.33c-0.197,0.214-0.343,0.496-0.33,0.795          C20.414,19.592,20.513,19.882,20.731,20.092c0.661,0.638,1.322,1.276,1.984,1.913c0.094,0.09,0.187,0.181,0.281,0.271         c0.21,0.203,0.502,0.33,0.795,0.33c0.276,0,0.606-0.123,0.795-0.33c0.197-0.214,0.343-0.496,0.33-0.795         c-0.013-0.295-0.112-0.585-0.33-0.795c-0.661-0.638-1.322-1.276-1.984-1.913c-0.094-0.09-0.187-0.181-0.281-0.271         c-0.21-0.203-0.502-0.33-0.795-0.33c-0.276,0-0.606,0.123-0.795,0.33c-0.197,0.214-0.343,0.496-0.33,0.795          C20.414,19.592,20.513,19.882,20.731,20.092z"/>      </g>    </g>  </g></g><g id="flix_hs_comp_product_feature" display="none">  <g id="flix_hs_comp_product_feature_1" display="inline">    <circle fill="none" stroke="#FFFFFF" stroke-width="1.3" stroke-miterlimit="10" cx="16.75" cy="21.689" r="2"/>   <polygon fill="none" stroke="#FFFFFF" stroke-width="1.3" stroke-miterlimit="10" points="17.884,19.789 19.916,18.504       18.668,20.474     "/>   <g>     <g>       <path fill="#FFFFFF" d="M9.134,16.751c0.109-0.109,0.225-0.21,0.342-0.311c0.123-0.107,0.249-0.209,0.376-0.311          c0.211-0.169-0.147,0.108,0.069-0.053c0.092-0.068,0.184-0.136,0.277-0.202c1.024-0.729,2.143-1.343,3.336-1.744          c3.943-1.325,7.77-0.053,10.833,2.621c1.207,1.054,2.982-0.707,1.768-1.768c-3.605-3.148-8.2-4.807-12.914-3.376          c-2.116,0.642-4.271,1.804-5.853,3.376C6.223,16.118,7.991,17.886,9.134,16.751L9.134,16.751z"/>     </g>    </g>  </g></g><g id="flix_hs_comp_overview" display="none"> <g id="flix_hs_comp_overview_1" display="inline">   <g>     <path fill="none" stroke="#FFFFFF" stroke-width="1.1" stroke-miterlimit="10" d="M24.3,22.1c0,0.55-0.45,1-1,1h-13        c-0.55,0-1-0.45-1-1v-8.5c0-0.55,0.45-1,1-1h13c0.55,0,1,0.45,1,1V22.1z"/>    </g>    <circle fill="#FFFFFF" stroke="#FFFFFF" stroke-width="1.1" stroke-miterlimit="10" cx="13.9" cy="16.1" r="1.1"/>   <g>     <path fill="#FFFFFF" d="M11.097,22.929C11.136,22.968,11.213,23,11.268,23H16.8c0.055,0,0.068-0.032,0.029-0.071l-4.559-4.559        c-0.039-0.039-0.103-0.039-0.141,0l-2.632,2.632c-0.039,0.039-0.067,0.088-0.063,0.108s0.055,0.101,0.1,0.132L11.097,22.929z"/>     <path fill="none" stroke="#FFFFFF" stroke-width="1.1" stroke-miterlimit="10" d="M11.097,22.929        C11.136,22.968,11.213,23,11.268,23H16.8c0.055,0,0.068-0.032,0.029-0.071l-4.559-4.559c-0.039-0.039-0.103-0.039-0.141,0       l-2.632,2.632c-0.039,0.039-0.067,0.088-0.063,0.108s0.055,0.101,0.1,0.132L11.097,22.929z"/>    </g>    <g>     <path fill="#FFFFFF" d="M23.998,19.926c0.019-0.052,0.002-0.126-0.037-0.165l-4.191-4.191c-0.039-0.039-0.103-0.039-0.141,0        l-7.359,7.359C12.232,22.968,12.245,23,12.3,23h11.264c0.055,0,0.119-0.041,0.143-0.09l0.094-0.206       c0.024-0.049,0.038-0.134,0.031-0.189L23.998,19.926z"/>      <path fill="none" stroke="#FFFFFF" stroke-width="1.1" stroke-miterlimit="10" d="M23.998,19.926        c0.019-0.052,0.002-0.126-0.037-0.165l-4.191-4.191c-0.039-0.039-0.103-0.039-0.141,0l-7.359,7.359       C12.232,22.968,12.245,23,12.3,23h11.264c0.055,0,0.119-0.041,0.143-0.09l0.094-0.206c0.024-0.049,0.038-0.134,0.031-0.189        L23.998,19.926z"/>    </g>  </g></g><g id="flix_hs_comp_cgi" display="none"> <g id="flix_hs_comp_cgi_1" display="inline"><path fill="#FFFFFF" d="M30.9,19.2c0-1.7-6.2-3.1-13.8-3.1S3.4,17.5,3.4,19.2c0,1.5,4.9,2.8,11.3,3l-0.9-1.1l1-1.3 C9.8,19.7,6,19,6,18.2c0-1,5-1.7,11.1-1.7s11.1,0.8,11.1,1.7c0,0.8-3.4,1.5-7.9,1.7l-0.1-0.5c0-0.1-0.2-0.2-0.3-0.1L17.1,21 c-0.1,0.1-0.1,0.3,0,0.4l3.1,1.6c0.1,0.1,0.3,0,0.3-0.2v-0.6C26.4,21.9,30.9,20.7,30.9,19.2z"/> <g><path class="flixst0" d="M13.4,13.6c0,0.4-0.1,0.8-0.4,1.1c-0.3,0.3-0.6,0.5-1.1,0.6l0,0c0.6,0.1,1,0.2,1.3,0.5 c0.3,0.3,0.4,0.6,0.4,1.1c0,0.7-0.2,1.2-0.7,1.6s-1.2,0.6-2.1,0.6c-0.8,0-1.4-0.1-2-0.4v-1.3c0.3,0.1,0.6,0.3,0.9,0.3 c0.3,0.1,0.7,0.1,1,0.1c0.5,0,0.9-0.1,1.1-0.3c0.2-0.2,0.4-0.4,0.4-0.8c0-0.3-0.1-0.6-0.4-0.7c-0.3-0.1-0.7-0.2-1.3-0.2H9.8v-1.1 h0.5c0.5,0,0.9-0.1,1.2-0.2c0.3-0.1,0.4-0.4,0.4-0.7c0-0.5-0.3-0.8-1-0.8c-0.2,0-0.5,0-0.7,0.1s-0.5,0.2-0.8,0.4l-0.7-1 c0.6-0.5,1.4-0.7,2.3-0.7c0.7,0,1.3,0.1,1.7,0.4C13.2,12.6,13.4,13,13.4,13.6z"/> <path fill="#FFFFFF" d="M14.3,16.1c0-1.4,0.3-2.4,0.9-3.1c0.6-0.7,1.5-1,2.7-1c0.4,0,0.7,0,0.9,0.1v1.2c-0.3-0.1-0.6-0.1-0.9-0.1 c-0.5,0-0.9,0.1-1.3,0.2c-0.3,0.2-0.6,0.4-0.7,0.7c-0.2,0.3-0.3,0.7-0.3,1.3h0.1c0.3-0.5,0.8-0.8,1.5-0.8c0.6,0,1.1,0.2,1.5,0.6 c0.4,0.4,0.5,0.9,0.5,1.6c0,0.8-0.2,1.4-0.6,1.8s-1,0.7-1.8,0.7c-0.5,0-1-0.1-1.4-0.4c-0.4-0.2-0.7-0.6-0.9-1.1 C14.4,17.3,14.3,16.7,14.3,16.1z M16.9,18c0.3,0,0.6-0.1,0.7-0.3c0.2-0.2,0.3-0.5,0.3-0.9c0-0.3-0.1-0.6-0.2-0.8 c-0.2-0.2-0.4-0.3-0.7-0.3c-0.3,0-0.6,0.1-0.8,0.3c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.4,0.1,0.7,0.3,1C16.3,17.8,16.6,18,16.9,18z"/> <path fill="#FFFFFF" d="M24.9,15.5c0,1.2-0.2,2.2-0.6,2.7s-1,0.9-1.9,0.9c-0.8,0-1.4-0.3-1.8-0.9S20,16.7,20,15.5s0.2-2.2,0.6-2.8 s1-0.9,1.9-0.9c0.8,0,1.4,0.3,1.9,0.9C24.7,13.4,24.9,14.3,24.9,15.5z M21.5,15.5c0,0.9,0.1,1.5,0.2,1.9s0.4,0.6,0.8,0.6 c0.3,0,0.6-0.2,0.8-0.6c0.2-0.4,0.2-1,0.2-1.9s-0.1-1.5-0.2-1.9c-0.2-0.4-0.4-0.6-0.8-0.6s-0.6,0.2-0.8,0.6 C21.6,14,21.5,14.7,21.5,15.5z"/> </g> <path fill="#FFFFFF" d="M26.3,11.9c-0.6,0-1.1,0.5-1.1,1.1s0.5,1.1,1.1,1.1s1.1-0.5,1.1-1.1S26.9,11.9,26.3,11.9z M26.3,13.7 c-0.4,0-0.6-0.3-0.6-0.6s0.3-0.6,0.6-0.6c0.4,0,0.6,0.3,0.6,0.6S26.7,13.7,26.3,13.7z"/> </g></g></svg></div>'}
if(index.search('product_ugc')!=-1){var hotspotsvg='<div data-module="'+Hsmodule+'" id="'+settings[0].prefix+index+'" class="flix_hs flix_hs_'+index+' flix_hs_hash_'+colorhash+'" role="button" tabindex="0" title="'+hs.tooltip_title+'" alt="'+hs.tooltip_title+'" ><svg version="1.1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 34 34" enable-background="new 0 0 34 34" xml:space="preserve" style="width:34px;height:34px"><switch><foreignObject requiredExtensions="&ns_ai;" x="0" y="0" width="1" height="1">  <i:aipgfRef  xlink:href="#adobe_illustrator_pgf"> </i:aipgfRef></foreignObject><g i:extraneous="self">  <g id="flix_hs_button">   <path id="flix_hs_button1" fill="'+hs.color_hash+'" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" d="M31.75,18     c0,8.285-6.715,15-15,15c-8.284,0-15-6.715-15-15c0-8.284,6.716-15,15-15C25.035,3,31.75,9.716,31.75,18z"/>    <path id="flix_hs_button2" display="none" fill="#686868" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" d="     M31.75,18c0,8.285-6.715,15-15,15c-8.284,0-15-6.715-15-15c0-8.284,6.716-15,15-15C25.035,3,31.75,9.716,31.75,18z"/> </g>  <g id="flix_hs_ugc" display="none">   <path display="inline" fill="#FFFFFF" d="M20.71,10.733c-1.62,0-3.06,0.81-3.96,2.07c-0.9-1.26-2.34-2.07-3.96-2.07      c-2.79,0-5.04,2.25-5.04,5.04c0,3.96,9,11.16,9,11.16s9-7.2,9-11.16C25.75,12.983,23.5,10.733,20.71,10.733z"/> </g></g></switch></svg></div>'}
if(index.search('product_sustainability')!=-1){var hotspotsvg='<div data-module="'+Hsmodule+'" id="'+settings[0].prefix+index+'" class="flix_hs flix_hs_'+index+' flix_hs_hash_'+colorhash+'" role="button" tabindex="0" title="'+hs.tooltip_title+'" alt="'+hs.tooltip_title+'" ><svg width="34" height="34" viewBox="0 0 34 34" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="flix_hs_sustainability_path" d="M31.75 18C31.75 26.285 25.035 33 16.75 33C8.466 33 1.75 26.285 1.75 18C1.75 9.716 8.466 3 16.75 3C25.035 3 31.75 9.716 31.75 18Z" fill="'+hs.color_hash+'" stroke="white" stroke-width="2" stroke-miterlimit="10"/><path d="M11.8077 24.3668C12.1317 23.2561 12.8023 20.985 13.6973 19.9406C14.3452 19.1847 16.9006 16.7744 18.0164 15.7632" stroke="white" stroke-width="1.55" stroke-linecap="round"/><path d="M12.2147 16.9714L11.2685 16.8861L12.2147 16.9714ZM15.8659 13.4931L15.9901 14.435L15.8659 13.4931ZM20.3306 19.2902L19.554 18.7431L20.3306 19.2902ZM15.3187 21.3156C14.8365 21.5223 14.6131 22.0808 14.8198 22.563C15.0264 23.0453 15.5849 23.2687 16.0672 23.062L15.3187 21.3156ZM14.4818 20.1938C14.0122 19.6068 13.7066 19.3241 13.4522 18.8534C13.2397 18.4603 13.0815 17.9369 13.1608 17.0567L11.2685 16.8861C11.1585 18.1073 11.3764 19.0088 11.7807 19.7568C12.143 20.4271 12.6948 21.0016 12.9981 21.3808L14.4818 20.1938ZM13.1608 17.0567C13.1899 16.7342 13.4924 16.1192 14.1076 15.5066C14.7053 14.9115 15.4077 14.5118 15.9901 14.435L15.7417 12.5513C14.5999 12.7019 13.5348 13.3958 12.7671 14.1602C12.0168 14.9072 11.3558 15.9176 11.2685 16.8861L13.1608 17.0567ZM15.9901 14.435C18.6732 14.0812 20.2369 13.1913 21.0024 12.4258L19.6589 11.0823C19.265 11.4762 18.1311 12.2362 15.7417 12.5513L15.9901 14.435ZM21.0024 12.4258C21.0531 12.375 21.0638 12.3717 21.0414 12.3864C21.0327 12.3921 20.8938 12.4866 20.6658 12.4866C20.3695 12.4866 20.1426 12.3325 20.0202 12.1758C19.9286 12.0586 19.9109 11.9631 19.9162 11.9844C19.9251 12.02 19.9426 12.1451 19.9517 12.4359C19.9602 12.7075 19.9603 13.0528 19.9603 13.4931H21.8603C21.8603 13.0639 21.8604 12.6846 21.8508 12.3765C21.8418 12.0876 21.8231 11.7779 21.7595 11.5236C21.7286 11.4 21.6656 11.1958 21.5174 11.0061C21.3384 10.777 21.0435 10.5866 20.6658 10.5866C20.3562 10.5866 20.1222 10.7174 20.0025 10.7956C19.8691 10.8827 19.7531 10.9881 19.6589 11.0823L21.0024 12.4258ZM19.9603 13.4931C19.9603 13.9533 19.9861 14.4748 20.007 14.9783C20.0284 15.4942 20.0456 16.0092 20.0345 16.5063C20.0112 17.5486 19.8619 18.3061 19.554 18.7431L21.1072 19.8374C21.7694 18.8976 21.9099 17.6261 21.934 16.5488C21.9466 15.9861 21.9269 15.4187 21.9054 14.8997C21.8833 14.3684 21.8603 13.9025 21.8603 13.4931H19.9603ZM19.554 18.7431C19.4964 18.8248 19.3202 19.0014 18.9765 19.2576C18.6542 19.4978 18.2495 19.761 17.8084 20.0242C16.9238 20.5518 15.9513 21.0445 15.3187 21.3156L16.0672 23.062C16.7872 22.7534 17.8349 22.2207 18.7817 21.6559C19.2562 21.3729 19.72 21.0731 20.112 20.7809C20.4825 20.5048 20.8662 20.1796 21.1072 19.8374L19.554 18.7431Z" fill="white"/><path d="M12.0915 27.1587C7.63718 25.4598 5.59998 22.1135 5.59998 17.0866C5.97419 11.7137 10.5038 7.6489 15.7172 8.00763" stroke="white" stroke-width="1.97" stroke-linecap="round"/><path d="M18.1978 29.8384C17.5935 29.1348 16.3642 27.7071 16.2814 27.6247C16.1985 27.5423 17.7662 26.2175 18.5603 25.5654" stroke="#FFFDFD" stroke-linecap="round"/><path d="M15.3586 10.273C15.9629 9.56941 17.1922 8.14163 17.275 8.05925C17.3579 7.97688 15.7902 6.65211 14.9961 6" stroke="#FFFDFD" stroke-linecap="round"/><path d="M21.5082 8.59619C25.9625 10.2951 27.9998 13.6414 27.9998 18.6683C27.6256 24.0412 23.0959 28.106 17.8826 27.7473" stroke="white" stroke-width="1.97" stroke-linecap="round"/></svg></div>'}
if(index.search('smart_content')!=-1){var hotspotsvg='<div data-module="'+Hsmodule+'" id="'+settings[0].prefix+index+'" class="flix_hs flix_hs_'+index+' flix_hs_hash_'+colorhash+'" role="button" tabindex="0" title="'+hs.tooltip_title+'" alt="'+hs.tooltip_title+'" ><svg width="34" height="34" viewBox="0 0 34 34" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_34_2)"><path class="flix_hs_smart_content_path" d="M31.5 16C31.5 24.285 24.785 31 16.5 31C8.216 31 1.5 24.285 1.5 16C1.5 7.716 8.216 1 16.5 1C24.785 1 31.5 7.716 31.5 16Z" fill="'+hs.color_hash+'" stroke="#FFFDFD" stroke-width="2" stroke-miterlimit="10"/><path d="M22 8.00174C22 7.59861 21.7563 7.23299 21.3813 7.07674C21.0063 6.92049 20.5781 7.00799 20.2906 7.29236L18.9281 8.65799C17.4281 10.158 15.3938 11.0017 13.2719 11.0017H13H12H9C7.89688 11.0017 7 11.8986 7 13.0017V16.0017C7 17.1049 7.89688 18.0017 9 18.0017V22.0017C9 22.5549 9.44688 23.0017 10 23.0017H12C12.5531 23.0017 13 22.5549 13 22.0017V18.0017H13.2719C15.3938 18.0017 17.4281 18.8455 18.9281 20.3455L20.2906 21.708C20.5781 21.9955 21.0063 22.0799 21.3813 21.9236C21.7563 21.7674 22 21.4049 22 20.9986V16.3892C22.5813 16.1142 23 15.3736 23 14.5017C23 13.6299 22.5813 12.8892 22 12.6142V8.00174ZM20 10.3986V14.5017V18.6049C18.1625 16.933 15.7656 16.0017 13.2719 16.0017H13V13.0017H13.2719C15.7656 13.0017 18.1625 12.0705 20 10.3986Z" fill="white"/></g><defs><clipPath id="clip0_34_2"><rect width="34" height="34" fill="white"/></clipPath></defs></svg></div>'}
if(index.search('accessory_widget')!=-1){var hotspotsvg='<div data-module="'+Hsmodule+'" id="'+settings[0].prefix+index+'" class="flix_hs flix_hs_'+index+' flix_hs_hash_'+colorhash+'" role="button" tabindex="0" title="'+hs.tooltip_title+'" alt="'+hs.tooltip_title+'" ><svg width="34" height="34" viewBox="0 0 34 34" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M31.75 18C31.75 26.285 25.035 33 16.75 33C8.466 33 1.75 26.285 1.75 18C1.75 9.716 8.466 3 16.75 3C25.035 3 31.75 9.716 31.75 18Z" fill="'+hs.color_hash+'" stroke="white" stroke-width="2" stroke-miterlimit="10"/><path d="M20.8542 19.0833V24.625M18.0833 21.6563H23.625M9.375 10.375H14.9167V15.9167H9.375V10.375ZM18.0833 10.375H23.625V15.9167H18.0833V10.375ZM9.375 19.0833H14.9167V24.625H9.375V19.0833Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg></div>'}
if(index.search('sis_widget')!=-1){var hotspotsvg='<div data-module="'+Hsmodule+'" id="'+settings[0].prefix+index+'" class="flix_hs flix_hs_'+index+' flix_hs_hash_'+colorhash+'" role="button" tabindex="0" title="'+hs.tooltip_title+'" alt="'+hs.tooltip_title+'" ><svg width="34" height="34" viewBox="0 0 34 34" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#fff" stroke-width="2" d="M31.75 18C31.75 26.285 25.035 33 16.75 33C8.466 33 1.75 26.285 1.75 18C1.75 9.716 8.466 3 16.75 3C25.035 3 31.75 9.716 31.75 18Z" fill="'+hs.color_hash+'" stroke="white" stroke-width="2" stroke-miterlimit="10"/><path stroke="#fff" stroke-width="2" d="M17.3641 8C18.5483 8 22.5674 9.7027 23.5134 12.3784L14.2895 12.3784C14.2895 12.3784 13.0042 12.8746 12.8704 13.8378C12.6339 15.5405 13.8165 16.5135 13.8165 16.5135C13.8165 16.5135 17.8424 18.8667 18.0737 18.9459C19.0103 19.267 23.5134 19.6757 24.696 19.6757C24.9325 19.6757 25.206 19.7137 25.4055 19.9189C25.74 20.2629 25.5012 20.8867 25.4055 21.3784C25.169 22.5946 25.169 23.5676 24.4595 24.5405L24.3748 24.5171C22.2926 23.9405 18.0608 22.7686 17.1276 22.7686H15.7086H9.55925C8.84972 22.7686 6.92562 19.5075 7.66716 15.5405C7.78852 14.8913 8.34107 12.5889 10.0323 10.6757C12.3974 8 16.18 8 17.3641 8Z" fill="'+hs.color_hash+'" /><path stroke="#fff" stroke-width="2" d="M23.75 13.3514H16.6546C17.2065 14.8919 18.0264 17.827 18.7832 18.2162C19.54 18.6054 23.9076 18.9459 25.642 18.9459L23.75 13.3514Z" fill="'+hs.color_hash+'"/><path stroke="#fff" stroke-width="2" d="M18.0737 23.8108C17.0361 23.5974 10.2688 23.5676 10.2688 23.5676C10.2688 23.5676 10.7418 25.027 11.2148 25.027H18.0737C18.5467 25.027 22.5674 26 23.0404 26C23.4188 26 23.9865 25.<circle cx="14.8921" cy="14.25" r="1.25" fill="'+hs.color_hash+'"/></svg></div>'}
if(typeof hs.tooltip_title!='undefined'&&hs.tooltip_title!=null&&hs.tooltip_title.length>0)
FlixjQ('#flix_hotspots').append(hotspotsvg);if(FlixServices.flixhotspot.results.settings[0].alignment){FlixjQ('#flix_hotspots').attr('data-flix-align',FlixServices.flixhotspot.results.settings[0].alignment)}}
if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPosition();});if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.match(/(^|\W)Single($|\W)/)&&!FlixjQ(".flix_product_single").length){var hotspotsvg2='<button type="button" id="flix_product_single" class="flix_hs flix_hs-single flix_product_single" title="View" data-title="View" data-title2="Hide"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 34"><g id="flix_hs_button"><path fill="'+FlixServices.flixhotspot.results.settings[0].color_hash+'" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" d="M31.75,18c0,8.285-6.715,15-15,15c-8.284,0-15-6.715-15-15c0-8.284,6.716-15,15-15C25.035,3,31.75,9.716,31.75,18z"></path><path display="none" fill="#686868" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" d="M31.75,18c0,8.285-6.715,15-15,15c-8.284,0-15-6.715-15-15c0-8.284,6.716-15,15-15C25.035,3,31.75,9.716,31.75,18z"></path></g><g  fill="#FFF"><path d="M17 9.75c-6.075 0-11 8.143-11 8.143s4.925 8.357 11 8.357 11-8.357 11-8.357S23.075 9.75 17 9.75zm0 13.75a5.5 5.5 0 1 1 .001-11.001A5.5 5.5 0 0 1 17 23.5z"/><circle  cx="17" cy="18.011" r="2.75"/></g></svg></button>';FlixjQ("#flix_hotspots").append(hotspotsvg2);FlixjQ('.flix_hs:not(.flix_hs-single)').hide();FlixjQ('.flix_hs-single').on('click',function(){FlixjQ('.flix_hs-single').hide();FlixjQ('.flix_hs:not(.flix_hs-single)').toggle('fast');FlixjQ('.flix_hs-single').show();var title=FlixjQ('#flix_product_single').attr('data-title');var title2=FlixjQ('#flix_product_single').attr('data-title2');FlixjQ('#flix_product_single').tooltip({content:title2});FlixjQ('#flix_product_single').attr('data-title',title2);FlixjQ('#flix_product_single').attr('data-title2',title);FlixjQ('.flix_ui-tooltip').remove();});if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPosition();}
function loadJWScript(e,t){if(-1!=e.search(".js")&&0===FlixjQ("script[src='"+e+"']").length){var c=document.createElement("script");c.type="text/javascript",c.src=e,c.onload=t,document.head.appendChild(c)}
if(-1!=e.search(".css")&&0===FlixjQ("link[href='"+e+"']").length){var n=document.createElement("link");n.rel="stylesheet",n.href=e,n.type="text/css",n.onload=t,document.head.appendChild(n)}}
if(FlixServices!=undefined&&typeof FlixServices.modular_match_data!='undefined'&&typeof FlixServices.modular_match_data[0]!='undefined'&&typeof FlixServices.modular_match_data[0].modules!='undefined'&&((typeof FlixServices.modular_match_data[0].modules.viewWebar!='undefined'&&FlixServices.modular_match_data[0].modules.viewWebar!=null)||(typeof FlixServices.modular_match_data[0].modules.view3dfm!='undefined'&&FlixServices.modular_match_data[0].modules.view3dfm!=null))){if(!window.threedcheck)
window.threedcheck=false;if(typeof window.threedfw=='undefined'&&window.threedcheck==false){window.threedcheck=true;FlixServices.loadFlixJs(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/static/3dfw/3dfw.js');}}
FlixjQ('#flix_hotspots .flix_hs,#flix_hotspots .ek-desktop').on({click:function(event){var id=this.id
if(FlixServices!=undefined&&typeof FlixServices.flixhotspot.results!='undefined'&&FlixServices.flixhotspot.results.settings[0]!='undefined')
id=id.replace(FlixServices.flixhotspot.results.settings[0].prefix,"")
var flix_hotspot;if(hotspots[id]){var html=hotspots[id].html;var thisbutton=this;setTimeout(function(){FlixServices.flixhotspot.flixBox(html,id);if(typeof flixModalFocus!='undefined')
flixModalFocus('.share-bubble',thisbutton)},100);}},keydown:function(event){if(event.keyCode==13||event.keyCode==32){FlixjQ(this).trigger('click');};}});var tooltipDelayFncount=0;function tooltipDelayFn(){if(FlixjQ('.flix_hs').length>0){FlixjQ('.flix_hs').tooltip({position:{my:"center bottom-20",at:"center top",using:function(position,feedback){FlixjQ(this).css(position);FlixjQ("<div>").addClass("flix_arrow").addClass(feedback.vertical).addClass(feedback.horizontal).appendTo(this);}}});FlixjQ('.flix_hs').tooltip("option","hide",{effect:"fade",duration:100});tooltipDelayFncount=22}else{if(tooltipDelayFncount<20){setTimeout(function(){tooltipDelayFn();tooltipDelayFncount++;},1000);}}}
tooltipDelayFn();FlixjQ(window).resize(function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPosition()});var t;document.addEventListener('scroll',cleartimer);document.addEventListener('wheel',cleartimer2);window.addEventListener('touchend',cleartimer3);window.addEventListener('touchmove',cleartimer4);function cleartimer(){clearTimeout(t);checkScroll();log3(1)
document.removeEventListener('wheel',cleartimer2);window.addEventListener('touchend',cleartimer3);}
function cleartimer2(){clearTimeout(t);checkScroll();log3(2);}
function cleartimer3(){clearTimeout(t);checkScroll();log3(3);}
function cleartimer4(){clearTimeout(t);if(FlixjQ(window).scrollTop()<800){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPosition()}
log3(3)}
function checkScroll(){t=setTimeout(function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined'&&FlixjQ(window).scrollTop()<800){FlixServices.flixhotspot.updateHotspotPosition()
setTimeout(function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPosition();},100)
setTimeout(function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPosition();},200)
setTimeout(function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPosition();},500);setTimeout(function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPosition();},1500);setTimeout(function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPosition();},2500);}},1);}},flixHotspotWebar:function(arid,hsimg){log3('flixHotspotWebar')
var arhtml='';var defaulticon='';if(hsimg.search('AR_')!=-1)
defaulticon='flix_defaulticon';if(FlixServices.flixisMobile.iOS()!=null){log3('WEBARhotspot  - ios')
arhtml='<a rel="ar" data-module="FM00035" class="customScripts ek-aricon ek-ios flix-a8934900-3812-11e8-b467-0ed5f89f718b " data-eklink="hotspot_webar" href="'+window.FlixServices.webar_usdz_url+arid+'.usdz" style=" none!important; max-width: 60px; background: rgba(0, 0, 0, 0) no-repeat scroll -9999px -9999px; position:absolute" role="button" tabindex="0"><img class="flix-iosarimg" src="'+hsimg+'" style="opacity:0!important;height:1px!important" alt="FlixAR"><div><img class="'+defaulticon+'" src="'+hsimg+'" style="width:60px; height:auto!important" alt="FlixAR icon"></div></a>'
FlixjQ('.flix_hotspotV2').append(arhtml);}else if(FlixServices.flixisMobile.Android()!=null){log3('WEBARhotspot  - Android')
var uri=window.location.href;if(location.href.search('#')!=-1)
uri=window.location.href.substr(0,window.location.href.indexOf('#'))
arhtml='<a class="ek-aricon ek-android" data-module="FM00035" data-eklink="hotspot_webar" href="intent://arvr.google.com/scene-viewer/1.0?file='+window.FlixServices.webar_glb_url+arid+'.glb?link='+encodeURIComponent(uri)+'&title=#Intent;scheme=https;package=com.google.ar.core;action=android.intent.action.VIEW;S.browser_fallback_url='+encodeURIComponent(uri)+'%23model-viewer-no-ar-fallback;end;" style="max-height:none!important; max-width: 60px; background: rgba(0, 0, 0, 0) no-repeat scroll -9999px -9999px;  position:absolute"><img id="flix_key_features2" class="'+defaulticon+'" src="'+hsimg+'" style="width:60px; height:auto!important" alt="FlixAR" role="button" tabindex="0" /></a>'
FlixjQ('.flix_hotspotV2').append(arhtml);}
FlixServices.flixhotspot.loadspeed('stop','qr');FlixjQ('.ek-aricon').on('click',function(e){if(typeof flixtracking!='undefined')
flixtracking.products.hotspot('webar_click','');if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.loadspeed('start','ar');document.addEventListener('visibilitychange',function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.visibilitychange2()});})
if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPosition();setTimeout(function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPosition();},500);setTimeout(function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPosition();},1500);},visibilitychange:function(state,type){log5('visibilitychange-'+type)
if(document.visibilityState=='hidden'){}else{log5('User is back -'+document.visibilityState);FlixServices.flixhotspot.dwelltimer('stop','qr');log5('run loadspeed artime ',document.visibilityState);setTimeout(function(){if(FlixServices.flixhotspot.artime>0){if(typeof flixtracking!='undefined')
flixtracking.products.hotspot('launch','ar_time_'+FlixServices.flixhotspot.artime);}
document.removeEventListener('visibilitychange',function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.visibilitychange()});},2000)}},visibilitychange2:function(state,type){log5('visibilitychange2-'+document.visibilityState)
if(document.visibilityState=='hidden'){log5('ar model loaded and model viewing starts-'+document.visibilityState);dwelltype='ar'
if(FlixjQ('.share-bubble').length)
dwelltype='qr'
if(FlixjQ('.ek-ios, .ek-android').length||FlixjQ('.flix-qrpopup').length)
FlixServices.flixhotspot.dwelltimer('start',dwelltype);if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.loadspeed('stop','ar');}else{log5('visibilitychange2 visible');document.removeEventListener('visibilitychange',function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.visibilitychange2()});}},loadspeed:function(state,type){log5('loadspeed-'+type,state)
if(FlixServices!=undefined&&FlixServices.flixhotspot.loadlast&&state=='stop'){FlixServices.flixhotspot.loaddiff=Date.now()-FlixServices.flixhotspot.loadlast;var artime=FlixServices.flixhotspot.loaddiff;log5(type+'-timer stop2- '+FlixServices.flixhotspot.loaddiff);if(type=='ar'){FlixServices.flixhotspot.artime=artime;}else{if(FlixServices.flixhotspot.loaddiff>0){if(typeof flixtracking!='undefined'&&typeof flixtracking.products!='undefined')
flixtracking.products.hotspot('launch',type+'_time_'+artime);}}
delete FlixServices.flixhotspot.loadlast}
if(state=='start'){log5('Loadspeed timer start');FlixServices.flixhotspot.loadlast=Date.now();}},dwelltimer:function(state){log5('dwelltimer-',state)
if(FlixServices!=undefined&&FlixServices.flixhotspot.lastt&&FlixServices.flixhotspot.lastt!=0&&state=='stop'){FlixServices.flixhotspot.tdiff=Date.now()-FlixServices.flixhotspot.lastt;type='ar'
if(FlixjQ('#flix_desktop_webar').length)
type='qr'
var artime=type+'_time_'+FlixServices.flixhotspot.tdiff;log5(type+'-timer stop33- '+FlixServices.flixhotspot.tdiff);if(FlixServices.flixhotspot.tdiff>0){if(typeof flixtracking!='undefined')
flixtracking.products.hotspot('dwelltime',artime);}
document.removeEventListener('visibilitychange',function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined'){FlixServices.flixhotspot.visibilitychange2();FlixServices.flixhotspot.visibilitychange();}});FlixServices.flixhotspot.lastt=0;}
if(state=='start'&&FlixServices.flixhotspot.lastt!=0){log5('dwelltimer timer start');document.addEventListener('visibilitychange',function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.visibilitychange()});FlixServices.flixhotspot.lastt=Date.now();}},loadGoogleMeta:function(webar_id){log3('loadGoogleMeta',webar_id)
var cloudFrontURL=window.FlixServices.webar_cloud_url;var productThumb=window.FlixServices.webar_thumb_url+webar_id+"_thumbnail.jpg";var productGLB=window.FlixServices.webar_glb_url+webar_id+".glb";var productUSDZ=window.FlixServices.webar_usdz_url+webar_id+".usdz";var jsonString={"@context":"http://schema.org/","@type":"3DModel","image":productThumb,"name":document.title,"encoding":[{"@type":"MediaObject","contentUrl":productGLB,"encodingFormat":"model/gltf-binary"},{"@type":"MediaObject","contentUrl":productUSDZ,"encodingFormat":"model/vnd.usdz+zip"}]}
var newScript=document.createElement('script');newScript.setAttribute('type','application/ld+json');newScript.innerHTML=JSON.stringify(jsonString);document.querySelector("head").appendChild(newScript);FlixjQ('#flix_hotspots').addClass('flix-googlear3c')},load3dfw:function(html,webar_id){log3('load3dfw',html);if(html==false){var p=flixmain_product_id;var lan=flixmain_language;var mpn=flixmain_mpn;var ean=flixmain_ean;var html='<div id="flix_selector_3d" class="flix_selector_3d inpage_selector_3d_fw flix-3d-fw-hotspot" ><div id="flix-3dfwcontainer"><input id="flix-3dfwsrc" type="hidden" data-arid="'+webar_id+'" data-fwurl="https://d3nkfb7815bs43.cloudfront.net/?arid='+webar_id+'&d='+flixmain_distributor+'&l='+lan+'&p='+p+'&mpn='+mpn+'&ean='+ean+'&showWebarButton=N"></div></div>';}else{if(html.search('/qrpopup')!=-1)
html=html.replace('/qrpopup','')
if(html.search('&showqrpopup=1')!=-1)
html=html.replace('&showqrpopup=1','')}
var threedfwlocation=FlixjQ('[data-flix-3d]').attr('data-flix-3d')
if(typeof threedfwlocation!='undefined'&&threedfwlocation.length){FlixjQ('div#'+threedfwlocation).each(function(){if(FlixjQ(this).find('#flix_selector_3d').length==0)
FlixjQ(this).append(html);});}},flixDetectWebGLContext:function(){var canvas=document.createElement("canvas");var gl=canvas.getContext("webgl")||canvas.getContext("experimental-webgl");if(gl&&gl instanceof WebGLRenderingContext){return true}else{logflix("Failed to get WebGL context. Your browser or device may not support WebGL.")
return false}},featpagination:function(){var paginationLi='';FlixjQ('div[class*=feature_hotspot_tab]').hide();var FeatureCount=FlixjQ('div[class*=feature_hotspot_tab]').length;paginationLi+='<ul class="hotspot-pagination" role="tablist" aria-labelledby="flixhottablist-1"><li class="active" ><button type="button" role="button" aria-selected="true" aria-controls="flixhottabpanel-1" style="">1</button></li>';for(var i=2,max=FeatureCount;i<=max;i++){paginationLi+='<li><button type="button" role="button" tabindex="0" aria-selected="false" aria-controls="flixhottabpanel-'+i+'">'+i+'</button></li>';}
paginationLi+='</ul>';FlixjQ(paginationLi).appendTo('.paginav');if(FeatureCount<=1)
FlixjQ('.paginav').remove();FlixjQ('.feature_hotspot_tab_1').show();var video=FlixjQ('.feature_hotspot_tab_1').find('video');if(video.length){video.find('source').attr('src',video.find('source').attr('data-src'))
video[0].load();video[0].play();}
FlixjQ('.paginav button').click(function(e){FlixjQ('div[class*=feature_hotspot_tab]').hide();FlixjQ('.feature_hotspot_tab_'+FlixjQ(this).text()).show();FlixjQ('.share-bubble .active').removeClass('active')
FlixjQ(this).closest('li').addClass('active')
FlixjQ('.hotspot_featdiv').find('video').each(function(){this.pause()})
var video=FlixjQ('.feature_hotspot_tab_'+FlixjQ(this).text()).find('video')
if(video.length){if(!video.find('source').attr('src')){video.find('source').attr('src',video.find('source').attr('data-src'))
video[0].load();}
video[0].play();}});},flixBox:function(pophtml,hotspotid){FlixjQ('.share-bubble').remove();var vid=0
if(hotspotid.search('video')!=-1||(typeof pophtml!='undefined'&&pophtml.includes("flix-jw"))){vid=1;}
var sharebubble='<div class="share-bubble" role="dialog" aria-labelledby="dialog1hotspot"><button type="button" class="flix_close" tabindex="0" title="Close hotspot"></button></div> '
FlixjQ('body').append(sharebubble);FlixjQ('.share-bubble').append(pophtml);setTimeout(function(){FlixjQ('.share-bubble .flix_close').focus();var flixESC=function(e){if(e.keyCode==27){FlixjQ('.share-bubble .flix_close').trigger('click')
document.removeEventListener('keydown',flixESC);}};document.addEventListener('keydown',flixESC);},800);if(window.document.documentMode)
FlixjQ('.share-bubble').addClass('flix-hotspot-ie')
FlixServices.flixhotspot.featpagination();var bubble=FlixjQ('.share-bubble');var position=FlixjQ('#flix_'+hotspotid).position();if(position.top<50)
position=FlixjQ('#flix_'+hotspotid).offset();var bubblewidth=FlixjQ('.share-bubble').width()||650;var mousex=position.left+FlixjQ('#flix_'+hotspotid).width()+5;var mousey=position.top;var docwidth=FlixjQ(document).width();var winwidth=FlixjQ(window).width();var bubblewinwidth=winwidth*0.9;var bubblewinleft=winwidth*0.05;var popwidth=docwidth-mousex-90;if(mousex<10)
mousex=10
if(typeof pophtml!='undefined'&&pophtml.search('showqrpopup=1')!=-1&&popwidth>450){popwidth=470;}
if(typeof pophtml!='undefined'&&pophtml.search('/qrpopup/')!=-1&&popwidth>370){popwidth=420;FlixjQ('.share-bubble').addClass('flix-qrpopup')
if(pophtml.search('d3nkfb7815bs43')!=-1)
FlixjQ('.share-bubble').addClass('eky-qrpopup')}
setTimeout(function(){if(FlixjQ('.share-bubble input#flix-3dfwsrc').length)
threedfw.init3dfw(FlixjQ('.share-bubble input#flix-3dfwsrc'));},500)
if(popwidth>650)
popwidth=650;if(winwidth<800||popwidth<650){if(popwidth<650&&winwidth>1100&&typeof pophtml!='undefined'&&pophtml.search('/qrpopup/')==-1&&pophtml.search('showqrpopup=1')==-1){var left=mousex;if((left+bubblewidth+30)>winwidth){left=left-(left+bubblewidth-winwidth)-30}
mousey=position.top+35;bubble.css({top:mousey,left:left+'px',width:650+'px',margin:'0'});}else{if(winwidth<1025){mousey=position.top+35;bubble.css({top:mousey,left:bubblewinleft+'px',width:bubblewinwidth+'px',margin:'0'});popwidth=bubblewinwidth;}else{bubble.css({top:mousey,left:mousex,position:'absolute',width:popwidth});}}}else{bubble.css({top:mousey,left:mousex,position:'absolute',width:popwidth});}
var FlixjQelem=FlixjQ('.share-bubble');var FlixjQwindow=FlixjQ(window);var docViewTop=FlixjQwindow.scrollTop();var docViewBottom=docViewTop+window.outerHeight;var elemTop=FlixjQelem.offset().top;var elemBottom=elemTop+FlixjQelem.height();var distributor='6'
if(distributor==6){var bubble=FlixjQ('.share-bubble');var position=FlixjQ(FlixServices.flixhotspot.results.settings[0].image_container).offset();if(position!='undefined'&&position!=null){bubble.css({top:position.top});}}
if(distributor==1365){var hotdiv=FlixjQ('#flix_hotspots').offset();var mousex2=hotdiv.left-120;var mousey2=mousey+35;var popwidth=550;if(mousex2<10){mousex2=10;popwidth=FlixjQ('#flix_hotspots').width()+hotdiv.left-40;}
bubble.css({top:mousey2,left:mousex2,width:popwidth});}
if(distributor==158){var hotdiv=FlixjQ('#flix_hotspots').offset();var chmousey2=position.top+35;var chwidth=FlixjQ('#flix_hotspots').width();bubble.css({top:chmousey2,left:hotdiv.left,width:chwidth});}
if(distributor==1674){var hotdiv=FlixjQ('#flix_hotspots').offset();var chmousey2=position.top+35;var chwidth=FlixjQ('#flix_hotspots').width();bubble.css({top:chmousey2,left:hotdiv.left-100,width:chwidth+200});}
if(distributor==3986){var hotdiv=FlixjQ('#flix_hotspots').offset();var hotdivwidth=FlixjQ('#flix_hotspots').width();var popwidth=FlixjQ('#promoCarousel').width()-50;if(hotdivwidth>popwidth&&docwidth>popwidth&&docwidth>800){bubble.css({width:popwidth});}
if(docwidth<800){bubble.css({left:'30px'});}}
if(distributor==741){var hotdiv=FlixjQ('#flix_hotspots').offset();var hotdivwidth=FlixjQ('#flix_hotspots').width();if(popwidth<650)
var popwidth=FlixjQ('.jsProductDetailImage').width()+FlixjQ('.jsProductDetailImage').offset().left;var mousex2=10
if(docwidth>1050){bubble.css({width:popwidth,left:mousex2});}}
if(distributor==859){var hotdiv=FlixjQ('#flix_hotspots').offset();var hotdivwidth=FlixjQ('#flix_hotspots').width();if(popwidth<650)
var popwidth=FlixjQ('.sc-product-main-block').width()+FlixjQ('.sc-product-main-block').offset().left;var mousex2=10
if(docwidth>800){bubble.css({width:popwidth,left:mousex2});}}
if(distributor==135){var hotdiv=FlixjQ('.share-bubble').offset().left;var bubblewidth=FlixjQ('.share-bubble').width();var winwidth=FlixjQ(window).width();if((hotdiv+bubblewidth)>winwidth){var newwidth=bubblewidth-((hotdiv+bubblewidth)-winwidth)-20;bubble.css({width:newwidth});}}
if(distributor==2982){var hotdiv=FlixjQ('#flix_hotspots').offset();var chmousey2=position.top+40;var mousex2=FlixjQ('#flix_hotspots').offset().left;var popwidth=FlixjQ('#flix_hotspots').width()-75;if(mousex2<10){mousex2=10;popwidth=FlixjQ('#flix_hotspots').width();}
bubble.css({top:chmousey2,left:mousex2,width:popwidth});}
if(distributor==1262){var hotdiv=FlixjQ('#flix_hotspots').offset();var mousex2=mousex-800;var mousey2=mousey+35;var popwidth=FlixjQ('#flix_hotspots').width()+hotdiv.left-50;if(hotdiv.left<85){mousex2=10;popwidth=FlixjQ('#flix_hotspots').width();}
bubble.css({top:mousey2,left:mousex2,width:popwidth});}
if(distributor==13645){var hotdiv=FlixjQ('#flix_hotspots').offset();var popwidth=FlixjQ('#flix_hotspots').width()-100;var mousey=position.top+20;var mousex=position.left-50;bubble.css({top:mousey,left:mousex,width:popwidth});}
if(distributor==6544){var mousex2=mousex-650;if((winwidth>=1024)&&(position.left>650)){bubble.css({left:mousex2});}}
if(vid==1){if(popwidth<700){var newWidth=popwidth-70;var newHeight=Math.round(newWidth*0.56).toFixed(0);bubble.css({width:popwidth});if(popwidth<650&&winwidth>1100&&distributor!=6){var left=mousex-500;if(left<10)
left=10
bubble.css({width:650+'px',left:left+'px',});}}
if(typeof FlixjQ.fn.video!='undefined'&&typeof FlixjQ.fn.video.loadJWvideos!='undefined'){setTimeout(function(){if(FlixjQ('.share-bubble input').length>0)
FlixjQ.fn.video.loadJWvideos(0);},500);}else if(typeof checkJWVideoType!='undefined'){checkJWVideoType()}else{if(ENV=='-alpha'){FlixServices.loadFlixJs('https://delivery-alpha.flix360.io/static/jwplayer/js/video.js');}else if(location.href.indexOf('flix-videov3')!==-1||sessionStorage.getItem('videov3')==='1'){FlixServices.loadFlixJs(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/static/jwplayer/js/videov3.js');}else{FlixServices.loadFlixJs(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/static/jwplayer/js/video.js');}}}
FlixjQ(document).off('click.hotdocument')
FlixjQ(document).on('click.hotdocument',function(e){var container=FlixjQ(".share-bubble");if((FlixjQ('.share-bubble').length>0&&!container.is(e.target)&&container.has(e.target).length===0)&&FlixjQ('[id*=lightbox]').length==0||(e.target.className=='flix_close')){if(FlixjQ('#flix_desktop_webar').length&&FlixjQ('.share-bubble #flix_selector_3d').length){if(typeof flixtracking!='undefined')
flixtracking.products.hotspot('qr_click','qr_close');}
FlixServices.flixhotspot.dwelltimer('stop','qr');var jwid=FlixjQ('.share-bubble .jwplayer').attr('id');if(jwid&&FlixjQ('#'+jwid).length>0){jwplayer(jwid).pause();jwplayer(jwid).remove();}
if(FlixjQ('.flix-do-not-close-popup').length==0){FlixjQ('.share-bubble').html('').remove();}
FlixjQ('.flix-do-not-close-popup .flix_close').live('click',function(){FlixjQ('.share-bubble').html('').remove();});if(FlixjQ('.flixmodalbutton').length)
setTimeout(function(){var jwid=FlixjQ('.share-bubble .jwplayer').attr('id')
if(jwid&&FlixjQ('#'+jwid).length>0){jwplayer(jwid).pause();jwplayer(jwid).remove();}},2000);}});if(FlixjQ('.ek-ios, .ek-android').length||FlixjQ('.flix-qrpopup').length){FlixServices.flixhotspot.dwelltimer('start','qr');}},updateHotspotPosition:function(){var distributor='6';if((FlixjQ('.flix_hotspotV2:not(".ek_hotspots") svg').length||FlixjQ('.flix_hotspotV2:not(".ek_hotspots") .ek-aricon').length)&&typeof FlixServices.flixhotspot.results!='undefined'&&typeof FlixServices.flixhotspot.results.settings!='undefined'){var flixhero=FlixjQ(FlixServices.modular_match_data[0].settings.distributor_settings.image_container)
if(FlixServices.ismobile()==true&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_image_container!=null&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_image_container!=''){flixhero=FlixjQ(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_image_container)}
var flixheropos=flixhero.offset();if(flixhero.length>1&&(flixheropos.left==0||flixheropos.top==0)&&typeof flixhero[1]!='undefined'){var flixheropos=FlixjQ(flixhero[1]).offset();flixhero=FlixjQ(flixhero[1])}
if(typeof(flixheropos)!="undefined"){var flixheroarray={top:flixheropos.top,left:flixheropos.left,width:flixhero.width(),height:flixhero.height()};}else{if(typeof flixErrorLogged=='undefined'||typeof flixErrorLogged==undefined){window.flixErrorLogged=true;logflix("flixmedia : image_container not found")}
var flixheroarray={top:0,left:0,width:0,height:0};}
log3('flixheroarray',flixheroarray);if(typeof hotspotwebarstatic!='undefined'&&hotspotwebarstatic==true){flixheroarray.top=0;flixheroarray.left=0;}
var ii=0;FlixjQ('.flix_hs').each(function(index){if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.match(/(^|\W)LeftBottom($|\W)/)){var bottomy=flixheroarray.top+flixheroarray.height/100*90;if(ii==0)
FlixjQ(this).css('top',bottomy-120).css('left',flixheroarray.left)
if(ii==1)
FlixjQ(this).css('top',bottomy-80).css('left',flixheroarray.left)
if(ii==2)
FlixjQ(this).css('top',bottomy-40).css('left',flixheroarray.left)
if(ii==3)
FlixjQ(this).css('top',bottomy).css('left',flixheroarray.left)}else if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.match(/(^|\W)LeftTop($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*10;if(ii==0)
FlixjQ(this).css('top',topy).css('left',flixheroarray.left)
if(ii==1)
FlixjQ(this).css('top',topy+40).css('left',flixheroarray.left)
if(ii==2)
FlixjQ(this).css('top',topy+80).css('left',flixheroarray.left)
if(ii==3)
FlixjQ(this).css('top',topy+120).css('left',flixheroarray.left)}else if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.match(/(^|\W)LeftMiddle($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*50;if(ii==0)
FlixjQ(this).css('top',topy-60).css('left',flixheroarray.left)
if(ii==1)
FlixjQ(this).css('top',topy-20).css('left',flixheroarray.left)
if(ii==2)
FlixjQ(this).css('top',topy+20).css('left',flixheroarray.left)
if(ii==3)
FlixjQ(this).css('top',topy+60).css('left',flixheroarray.left)}else if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.match(/(^|\W)RightTop($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*10;if(ii==0)
FlixjQ(this).css('top',topy).css('left',flixheroarray.left+flixheroarray.width)
if(ii==1)
FlixjQ(this).css('top',topy+40).css('left',flixheroarray.left+flixheroarray.width)
if(ii==2)
FlixjQ(this).css('top',topy+80).css('left',flixheroarray.left+flixheroarray.width)
if(ii==3)
FlixjQ(this).css('top',topy+120).css('left',flixheroarray.left+flixheroarray.width)}else if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.match(/(^|\W)RightMiddle($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*50;if(ii==0)
FlixjQ(this).css('top',topy-60).css('left',flixheroarray.left+flixheroarray.width)
if(ii==1)
FlixjQ(this).css('top',topy-20).css('left',flixheroarray.left+flixheroarray.width)
if(ii==2)
FlixjQ(this).css('top',topy+20).css('left',flixheroarray.left+flixheroarray.width)
if(ii==3)
FlixjQ(this).css('top',topy+60).css('left',flixheroarray.left+flixheroarray.width)}else if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.match(/(^|\W)RightBottom($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*90;if(ii==0)
FlixjQ(this).css('top',topy-60).css('left',flixheroarray.left+flixheroarray.width)
if(ii==1)
FlixjQ(this).css('top',topy-20).css('left',flixheroarray.left+flixheroarray.width)
if(ii==2)
FlixjQ(this).css('top',topy+20).css('left',flixheroarray.left+flixheroarray.width)
if(ii==3)
FlixjQ(this).css('top',topy+60).css('left',flixheroarray.left+flixheroarray.width)}else if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.match(/(^|\W)CenterTop($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*5;var leftx=flixheroarray.left+flixheroarray.width/100*50;if(ii==0)
FlixjQ(this).css('top',topy).css('left',leftx-20)
if(ii==1)
FlixjQ(this).css('top',topy).css('left',leftx+20)
if(ii==2)
FlixjQ(this).css('top',topy).css('left',leftx-60)
if(ii==3)
FlixjQ(this).css('top',topy).css('left',leftx+60)}else if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.match(/(^|\W)leftTopHorizontal($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*5;var leftx=flixheroarray.left+flixheroarray.width/100*25;if(ii==0)
FlixjQ(this).css('top',topy).css('left',leftx-20)
if(ii==1)
FlixjQ(this).css('top',topy).css('left',leftx+20)
if(ii==2)
FlixjQ(this).css('top',topy).css('left',leftx-60)
if(ii==3)
FlixjQ(this).css('top',topy).css('left',leftx+60)}else if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.match(/(^|\W)RightTopHorizontal($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*5;var leftx=flixheroarray.left+flixheroarray.width/100*90;if(ii==0)
FlixjQ(this).css('top',topy).css('left',leftx-20)
if(ii==1)
FlixjQ(this).css('top',topy).css('left',leftx+20)
if(ii==2)
FlixjQ(this).css('top',topy).css('left',leftx-60)
if(ii==3)
FlixjQ(this).css('top',topy).css('left',leftx+60)}else if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.match(/(^|\W)leftBottomHorizontal($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*95;var leftx=flixheroarray.left+flixheroarray.width/100*5;if(ii==0)
FlixjQ(this).css('top',topy).css('left',leftx)
if(ii==1)
FlixjQ(this).css('top',topy).css('left',leftx+40)
if(ii==2)
FlixjQ(this).css('top',topy).css('left',leftx+80)
if(ii==3)
FlixjQ(this).css('top',topy).css('left',leftx+120)}else if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.match(/(^|\W)CenterBottom($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*95;var leftx=flixheroarray.left+flixheroarray.width/100*50;if(ii==0)
FlixjQ(this).css('top',topy).css('left',leftx-20)
if(ii==1)
FlixjQ(this).css('top',topy).css('left',leftx+20)
if(ii==2)
FlixjQ(this).css('top',topy).css('left',leftx-60)
if(ii==3)
FlixjQ(this).css('top',topy).css('left',leftx+60)}else if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.match(/(^|\W)BottomLeft($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*95;var leftx=flixheroarray.left;if(ii==0)
FlixjQ(this).css('top',topy).css('left',leftx)
if(ii==1)
FlixjQ(this).css('top',topy).css('left',leftx+40)
if(ii==2)
FlixjQ(this).css('top',topy).css('left',leftx+80)
if(ii==3)
FlixjQ(this).css('top',topy).css('left',leftx+120)}else{if(ii==0)
FlixjQ(this).css('top',flixheroarray.top+flixheroarray.height/100*50).css('left',flixheroarray.left+flixheroarray.width/100*35)
if(ii==1)
FlixjQ(this).css('top',flixheroarray.top+flixheroarray.height/100*50).css('left',flixheroarray.left+flixheroarray.width/100*65)
if(ii==2)
FlixjQ(this).css('top',flixheroarray.top+flixheroarray.height/100*35).css('left',flixheroarray.left+flixheroarray.width/100*50)
if(ii==3)
FlixjQ(this).css('top',flixheroarray.top+flixheroarray.height/100*65).css('left',flixheroarray.left+flixheroarray.width/100*50)}
ii++;})
if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.search('MobLeftBottom')!=-1){var webarpostop=flixheroarray.top+flixheroarray.height/100*90;var webarposleft=flixheroarray.left+flixheroarray.width/100*1;}else if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.search('MobRightTop')!=-1){var webarpostop=flixheroarray.top+flixheroarray.height/100*1;var webarposleft=flixheroarray.left+flixheroarray.width-60;}else if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.search('MobBottomMiddle')!=-1){var webarpostop=flixheroarray.top+flixheroarray.height/100*90;var webarposleft=flixheroarray.left+flixheroarray.width/100*40;}else{var webarpostop=flixheroarray.top+flixheroarray.height/100*1;var webarposleft=flixheroarray.left+flixheroarray.width/100*1;}
if(FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.search('MobAlignBottomHS')!=-1){if(ii>0){var largestLeft=0,largestTop=0;FlixjQ('.flix_hs').each(function(index){var tempLeft=parseInt(FlixjQ(this).css('left').replace("px",""))
var temTop=parseInt(FlixjQ(this).css('top').replace("px",""))
if(largestLeft<tempLeft){largestLeft=tempLeft
largestTop=temTop}})
var webarpostop=flixheroarray.top+flixheroarray.height/100*90;var webarposleft=largestLeft+20}}
FlixjQ('.ek-aricon').css('top',webarpostop).css('left',webarposleft)
if(FlixServices.modular_match_data[0].settings.distributor_settings.alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.alignment.search('ARLeftBottom')!=-1){var webarpostop=flixheroarray.top+flixheroarray.height/100*90;var webarposleft=flixheroarray.left+flixheroarray.width/100*1;}else if(FlixServices.modular_match_data[0].settings.distributor_settings.alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.alignment.search('ARRightTop')!=-1){var webarpostop=flixheroarray.top+flixheroarray.height/100*1;var webarposleft=flixheroarray.left+flixheroarray.width-60;}else if(FlixServices.modular_match_data[0].settings.distributor_settings.alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.alignment.search('ARRightBottom')!=-1){var webarpostop=flixheroarray.top+flixheroarray.height/100*90;var webarposleft=flixheroarray.left+flixheroarray.width-60;}else if(FlixServices.modular_match_data[0].settings.distributor_settings.alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.alignment.search('ARBottomMiddle')!=-1){var webarpostop=flixheroarray.top+flixheroarray.height/100*90;var arwidth=FlixjQ('.ek-aricon').width()||0
var webarposleft=flixheroarray.left+flixheroarray.width/100*50-(arwidth/2);}else if(FlixServices.modular_match_data[0].settings.distributor_settings.alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.alignment.search('ARLeftMiddle')!=-1){var webarpostop=flixheroarray.top+flixheroarray.height/100*50;var webarposleft=flixheroarray.left+flixheroarray.width/100*1;}else if(FlixServices.modular_match_data[0].settings.distributor_settings.alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.alignment.search('ARAlignBottomHS')!=-1){var largestLeft=0,largestTop=0;FlixjQ('.flix_hs').each(function(index){var tempLeft=parseInt(FlixjQ(this).css('left').replace("px",""))
var temTop=parseInt(FlixjQ(this).css('top').replace("px",""))
if(largestLeft<tempLeft){largestLeft=tempLeft
largestTop=temTop}})
var webarpostop=flixheroarray.top+flixheroarray.height/100*90;var webarposleft=largestLeft+20}else{var webarpostop=flixheroarray.top+flixheroarray.height/100*1;var webarposleft=flixheroarray.left+flixheroarray.width/100*1;}
if(typeof FlixServices.flixhotspot.results.hotspots.desktop_webar!='undefined'&&FlixServices.flixhotspot.results.settings[0].desktop_webar=='1'&&FlixjQ('#flix_desktop_webar').length==0){FlixjQ('.ek-aricon').css('top',webarpostop).css('left',webarposleft)}
FlixjQ('#flix_desktop_webar').css('top',webarpostop).css('left',webarposleft)}
if(FlixServices.flixhotspot.results&&FlixServices.flixhotspot.results.settings[0].alignment&&FlixServices.flixhotspot.results.settings[0].alignment.match(/(^|\W)Single($|\W)/)){var htop=FlixjQ('.flix_hs:eq(0)').css('top').replace('px','')-40+'px'
FlixjQ('.flix_hs-single').css('left',FlixjQ('.flix_hs:eq(0)').css('left')).css('top',htop);}},writeCanvasMob:function(){if(!FlixServices.flixhotspot.hotspot_settings){return false;}
setTimeout(function(){if(FlixjQ('#flix_hotspotsmob').length==0){if(!(FlixjQ("#flix_hotspotsmob.ek_hotspots").length>0)){FlixjQ('div#flix_hotspotsmob').remove();FlixjQ('<div id="flix_hotspotsmob" style="display:none"> </div>').appendTo(FlixjQ('body'));FlixjQ('#flix_hotspotsmob').addClass('flix_hotspotV3').attr('data-hotv2',FlixServices.modular_match_data[0].settings.distributor_settings.mobile_image_container)
FlixjQ('#flix_hotspotsmob').addClass('flix_hotspot_'+flixmain_language).addClass('flix_hotspot_'+flixmain_distributor);if(FlixjQ('.flix_hotspotV2:not(".ek_hotspots") svg').length==0){FlixServices.flixhotspot.createHotspotsMob();}}}},500);},createHotspotsMob:function(){log3("createHotspots");FlixServices.flixhotspot.results=FlixServices.flixhotspot.hotspot_full;hotspots=FlixServices.flixhotspot.hotspot_data||{};settings=FlixServices.flixhotspot.hotspot_settings||{};var mobile_hotspot_available='';var arid,arimg;if(settings[0].ar_google&&settings[0].ar_google==1){if(FlixServices.flixhotspot.results.results.hotspots.product_webar)var arid=FlixServices.flixhotspot.results.results.hotspots.product_webar.webar_id;if(FlixServices.flixhotspot.results.hotspots.desktop_webar)var arid=FlixServices.flixhotspot.results.hotspots.desktop_webar.webar_id;log3("arid",arid);FlixServices.flixhotspot.loadGoogleMeta(arid);}
if(settings[0].css&&settings[0].css.length>0){FlixjQ("#flix_hotspotsmob").after(settings[0].css);}
FlixjQ.each(hotspots,function(index,hs){var Hsmodule=hs.module_id;if(Hsmodule==undefined)
Hsmodule='';if(!hs.color_hash||hs.color_hash.search("#")==-1)hs.color_hash="#105DC1";var colorhash=hs.color_hash.replace("#","");if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_image_container==null)return false;if(index=="desktop_webar"&&FlixServices.flixhotspot.results.settings[0].desktop_webar==false){log3("no flixar"+FlixServices.flixhotspot.results.settings[0].desktop_webar);return true;}
if(index=="product_webar"&&FlixServices.flixhotspot.results.settings[0].desktop_webar==false){log3("no flixar"+FlixServices.flixhotspot.results.settings[0].desktop_webar);return true;}
if(index.indexOf("webar")===-1&&FlixServices.flixhotspot.results.settings[0].no_hotspots==true){log3("no hotspots"+FlixServices.flixhotspot.results.settings[0].no_hotspots);return true;}
if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobBelow($|\W)/)){FlixjQ("#flix_hotspotsmob").appendTo(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_image_container);}
if(hs.webar_id)arid=hs.webar_id;if(hs.ui_default){arimg=hs.ui_default;if(hs.ui_default.search("_90x90_")!=-1&&hs.ui_default.search("http")==-1){hs.ui_default="https://media.flixcar.com/delivery"+hs.ui_default;}}
if(typeof hs.html!='undefined'&&hs.html.includes('inpage_selector_3d')){hs.html=hs.html.replace(/&d=6&/g,'&d='+flixmain_distributor+'&')}
if(index=="comp_product_logo"){var target=settings[0].logo_program_container;var html=FlixServices.flixhotspot.results.hotspots.comp_product_logo.html;FlixjQ(target).append(html);}else if(FlixServices.ismobile()){log3("Show mobile hotspots-"+index,FlixServices.ismobile());if(FlixServices.flixhotspot.flixDetectWebGLContext()==false&&index=="product_view3dfw"){log3("hide 3d hotspot",FlixServices.flixhotspot.flixDetectWebGLContext());return true;}
var hotspotsvg='<div data-module="'+Hsmodule+'" role="button" tabindex="0" id="'+settings[0].prefix+index+'mob" class="flix_hsmob flix_hsmob_'+index+" flix_hsmob_hash_"+colorhash+'" title="'+hs.tooltip_title+'" ><svg alt="'+hs.tooltip_title+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 34 34" enable-background="new 0 0 34 34" xml:space="preserve" style="width:28px;height:28px" aria-hidden="true"><g class="flix_hsmob_button"><path fill="'+hs.color_hash+'" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" d="M31.75,18c0,8.285-6.715,15-15,15c-8.284,0-15-6.715-15-15c0-8.284,6.716-15,15-15C25.035,3,31.75,9.716,31.75,18z"/><path display="none" fill="#686868" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" d="M31.75,18c0,8.285-6.715,15-15,15c-8.284,0-15-6.715-15-15c0-8.284,6.716-15,15-15C25.035,3,31.75,9.716,31.75,18z"/></g><g class="flix_hsmob_plus_1_" display="none"><g class="flix_hsmob_plus" display="inline"><polygon fill="#FFFFFF" points="25,15 19,15 19,9 15,9 15,15 9,15 9,19 15,19 15,25 19,25 19,19 25,19 "/></g></g><g class="flix_hsmob_three_D" display="none"><g class="flix_hsmob_three_D2" display="inline"><text class="flix_hsmob_three_D3" transform="matrix(1 0 0 1 7.3335 23)" fill="#FFFFFF" font-family="arial" font-size="15px">3D</text></g></g><g class="flix_hsmob_360" display="none"><text class="flix_hsmob_3602" transform="matrix(1 0 0 1 5.0108 23)" display="inline" fill="#FFFFFF" font-family="arial" font-size="12px" aria-hidden="true">360°</text></g><g class="flix_hsmob_play" display="none"><g class="flix_hsmob_play2" display="inline"><polygon fill="#FFFFFF" points="12,8.667 25,17.333 12,26 "/></g></g><g class="flix_hsmob_info" display="none"><g class="flix_hsmob_info2" display="inline"><g><path fill="#FFFFFF" d="M14,17c0.553,0,1,0.447,1,1v4c0,0.553-0.447,1-1,1h-1v2h8v-2h-0.996c-0.551,0-1-0.447-1-1L19,15h-6v2H14z"/><circle fill="#FFFFFF" cx="17" cy="11" r="2"/></g></g></g><g class="flix_hsmob_document" display="none"><g class="flix_hsmob_doc2" display="inline"><path fill="#FFFFFF" d="M18,9h-7v16h12V13.999L18,9z M13,23V11h4v4h4v8H13z"/></g><g class="flix_hsmob_doc1" display="inline"><line fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="14" y1="18" x2="20" y2="18"/><line fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="14" y1="21" x2="20" y2="21"/></g></g><g class="flix_hsmob_gallery" display="none"><g class="flix_hsmob_gallery2" display="inline"><g><path fill="#FFFFFF" d="M18.859,16.688c1.01,0,1.828,0.818,1.828,1.828c0,1.01-0.818,1.828-1.828,1.828c-1.01,0-1.828-0.818-1.828-1.828C17.031,17.506,17.85,16.688,18.859,16.688z"/><path fill="#FFFFFF" d="M22.516,13.031l-1.503-3.036c-0.123-0.361-0.465-0.621-0.868-0.621h-2.51c-0.408,0-0.752,0.266-0.871,0.633l-1.559,3.023h-3.658c-1.01,0-1.828,0.818-1.828,1.828V24h14.625v-9.141C24.344,13.85,23.526,13.031,22.516,13.031z M12.461,16.688c-0.505,0-0.914-0.409-0.914-0.914c0-0.505,0.409-0.914,0.914-0.914c0.505,0,0.914,0.409,0.914,0.914C13.375,16.279,12.966,16.688,12.461,16.688z M18.859,22.172c-2.02,0-3.656-1.637-3.656-3.656c0-2.019,1.637-3.656,3.656-3.656c2.02,0,3.656,1.637,3.656,3.656C22.516,20.535,20.879,22.172,18.859,22.172z"/></g></g></g><g class="flix_hsmob_comparison" display="none"><g class="flix_hsmob_check" display="inline"><g><path fill="#FFFFFF" d="M8.087,21.903l-2.931-2.931c-0.251-0.251-0.251-0.659,0-0.91l0.922-0.922c0.251-0.251,0.659-0.251,0.91,0l1.099,1.099c0.251,0.251,0.658,0.251,0.91,0l3.71-3.71c0.251-0.251,0.659-0.251,0.91,0l0.922,0.922c0.251,0.251,0.251,0.659,0,0.91l-5.542,5.542C8.746,22.154,8.339,22.154,8.087,21.903z"/></g></g><g class="flix_hsmob_x" display="inline"><g><path fill="#FFFFFF" d="M27.458,20.481L25.4,18.424c-0.115-0.115-0.115-0.302,0-0.417l2.058-2.056c0.115-0.115,0.115-0.301,0-0.416l-1.233-1.233c-0.115-0.115-0.301-0.115-0.416,0l-2.056,2.057c-0.115,0.115-0.301,0.115-0.416,0l-2.057-2.057c-0.115-0.115-0.301-0.115-0.416,0l-1.232,1.233c-0.115,0.115-0.115,0.301,0,0.416l2.056,2.056c0.115,0.115,0.115,0.301,0,0.416l-2.056,2.056c-0.115,0.115-0.115,0.301,0,0.416l1.232,1.233c0.115,0.115,0.301,0.115,0.416,0l2.057-2.057c0.115-0.115,0.301-0.115,0.416,0l2.056,2.057c0.115,0.115,0.301,0.115,0.416,0l1.233-1.233C27.573,20.782,27.573,20.595,27.458,20.481z"/></g></g><line class="flix_hsmob_line" display="inline" fill="#FFFFFF" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="17" y1="8.216" x2="17" y2="28.216"/></g><g class="flix_hsmob_reviews" display="none"><g class="flix_hsmob_comment_stroke" display="inline"><path fill="#FFFFFF" d="M19.429,12.286c2.522,0,4.571,2.049,4.571,4.571s-2.049,4.571-4.571,4.571h-4.571c-1.491,0-2.819,0.719-3.654,1.83c-0.555-0.419-0.917-1.085-0.917-1.83v-5.714c0-1.891,1.54-3.429,3.429-3.429H19.429 M19.429,10h-5.714C10.558,10,8,12.558,8,15.714v5.714C8,23.953,10.049,26,12.571,26c0-1.263,1.025-2.286,2.286-2.286h4.571c3.788,0,6.857-3.071,6.857-6.857S23.217,10,19.429,10L19.429,10z"/></g><line class="flix_hsmob_re2" display="inline" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="13.031" y1="15.844" x2="21" y2="15.844"/><line class="flix_hsmob_re1" display="inline" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="13.031" y1="18.844" x2="21" y2="18.844"/></g><g class="flix_hsmob_3rdapp"  display="none"><path d="M18 23H8V12H26V19" stroke="white" stroke-width="1.7" fill="none"/><circle cx="10.5" cy="14.5" r="0.5" fill="white"/><circle cx="11.8" cy="14.5" r="0.5" fill="white"/><circle cx="13.1" cy="14.5" r="0.5" fill="white"/><path fill-rule="evenodd" clip-rule="evenodd" d="M18.9453 18.2305C18.7999 18.1723 18.6407 18.158 18.4873 18.1895C18.3339 18.221 18.1931 18.2968 18.0823 18.4075C17.9716 18.5182 17.8958 18.659 17.8643 18.8124C17.8329 18.9658 17.8471 19.1251 17.9053 19.2705L21.1053 27.2705C21.1626 27.4136 21.2601 27.5372 21.3861 27.6262C21.512 27.7153 21.661 27.7661 21.8151 27.7724C21.9692 27.7787 22.1219 27.7404 22.2547 27.662C22.3875 27.5836 22.4948 27.4684 22.5637 27.3305L23.6677 25.1233L26.0821 27.5393C26.2322 27.6893 26.4358 27.7735 26.648 27.7734C26.8602 27.7733 27.0637 27.689 27.2137 27.5389C27.3637 27.3887 27.4479 27.1852 27.4479 26.973C27.4478 26.7608 27.3634 26.5573 27.2133 26.4073L24.7981 23.9913L27.0061 22.8881C27.1438 22.819 27.2587 22.7116 27.3369 22.5788C27.415 22.4461 27.4532 22.2936 27.4468 22.1396C27.4404 21.9857 27.3896 21.8369 27.3007 21.7111C27.2117 21.5853 27.0883 21.4878 26.9453 21.4305L18.9453 18.2305Z" fill="white"/></g></svg></div>';if(index.search("comp_")!=-1){if(!hs.color_hash||hs.color_hash.length==0)hs.color_hash="#105DC1";var hotspotsvg='<div data-module="'+Hsmodule+'" role="button" id="'+settings[0].prefix+index+'mob" class="flix_hsmob flix_hsmob_'+index+" flix_hsmob_hash_"+colorhash+'" title="'+hs.tooltip_title+'" alt="'+hs.tooltip_title+'" ><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"   viewBox="0 0 34 34" enable-background="new 0 0 34 34" xml:space="preserve"><g id="flix_hsmob_button"> <path id="flix_hsmob_button1" fill="'+hs.color_hash+'" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" d="M31.75,18   c0,8.285-6.715,15-15,15c-8.284,0-15-6.715-15-15c0-8.284,6.716-15,15-15C25.035,3,31.75,9.716,31.75,18z"/>  <path id="flix_hsmob_button2" display="none" fill="#686868" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" d="   M31.75,18c0,8.285-6.715,15-15,15c-8.284,0-15-6.715-15-15c0-8.284,6.716-15,15-15C25.035,3,31.75,9.716,31.75,18z"/></g><g id="flix_hsmob_benefits" display="none"><g><path fill="#FFFFFF" d="M19.054,12.289c1.564,0,3.127-0.001,4.691,0c0.744,0.001,1.25,0.458,1.254,1.131c0.005,0.688-0.503,1.153-1.265,1.153c-3.117,0.001-6.233,0.001-9.35,0c-0.739,0-1.252-0.464-1.259-1.132c-0.006-0.682,0.511-1.152,1.269-1.152C15.948,12.289,17.501,12.289,19.054,12.289z"/><path fill="#FFFFFF" d="M19.058,19.142c-1.595,0-3.191,0.004-4.786-0.002c-0.603-0.002-1.079-0.439-1.142-1.02c-0.061-0.567,0.307-1.09,0.873-1.229c0.101-0.025,0.209-0.032,0.313-0.032c3.169-0.001,6.339-0.002,9.508,0c0.616,0.001,1.104,0.422,1.167,0.988c0.067,0.612-0.302,1.14-0.897,1.268c-0.122,0.026-0.252,0.025-0.378,0.025C22.164,19.143,20.611,19.142,19.058,19.142z"/><path fill="#FFFFFF" d="M19.059,23.711c-1.595,0-3.191,0.004-4.786-0.002c-0.604-0.002-1.079-0.438-1.142-1.02c-0.062-0.567,0.306-1.089,0.873-1.229c0.101-0.025,0.209-0.032,0.313-0.032c3.169-0.001,6.339-0.002,9.508,0c0.616,0.001,1.105,0.421,1.167,0.988c0.068,0.612-0.301,1.14-0.896,1.269c-0.122,0.026-0.252,0.025-0.378,0.026C22.165,23.711,20.612,23.711,19.059,23.711z"/><path fill="#FFFFFF" d="M12.045,17.997c0.001,0.844-0.691,1.532-1.536,1.526C9.678,19.517,9.001,18.834,9,18.002c-0.001-0.846,0.688-1.53,1.535-1.525C11.366,16.483,12.044,17.165,12.045,17.997z"/><path fill="#FFFFFF" d="M10.526,21.046c0.832,0.002,1.513,0.68,1.519,1.511c0.005,0.845-0.683,1.537-1.527,1.535C9.674,24.089,8.991,23.395,9,22.548C9.009,21.718,9.693,21.045,10.526,21.046z"/><path fill="#FFFFFF" d="M10.532,11.909c0.829,0.002,1.51,0.684,1.514,1.515c0.003,0.844-0.689,1.536-1.531,1.53C9.682,14.948,9.004,14.268,9,13.438C8.997,12.593,9.685,11.907,10.532,11.909z"/></g></g> <g id="flix_hsmob_comp_video" display="none"> <g id="flix_hsmob_play2_1_" display="inline">    <g>     <g>       <path fill="#FFFFFF" d="M12,9.667c0-0.55,0.374-0.75,0.832-0.445l11.336,7.557c0.458,0.305,0.458,0.804,0,1.109l-11.336,7.557          C12.374,25.75,12,25.55,12,25V9.667z"/>      </g>    </g>  </g></g><g id="flix_hsmob_comp_product_summary" display="none">  <g display="inline">    <g>     <path fill="#FFFFFF" d="M6.75,14.918c0.567,0,1.134,0,1.701,0c0.08,0,0.16,0,0.241,0c0.205,0,0.421-0.089,0.566-0.234        c0.139-0.139,0.243-0.366,0.234-0.566c-0.019-0.433-0.352-0.8-0.8-0.8c-0.567,0-1.134,0-1.701,0c-0.08,0-0.16,0-0.241,0       c-0.205,0-0.421,0.089-0.566,0.234c-0.139,0.139-0.243,0.366-0.234,0.566C5.969,14.551,6.302,14.918,6.75,14.918L6.75,14.918z"/>    </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M6.75,17.506c0.567,0,1.134,0,1.701,0c0.08,0,0.16,0,0.241,0c0.205,0,0.421-0.089,0.566-0.234        c0.139-0.139,0.243-0.366,0.234-0.566c-0.019-0.433-0.352-0.8-0.8-0.8c-0.567,0-1.134,0-1.701,0c-0.08,0-0.16,0-0.241,0       c-0.205,0-0.421,0.089-0.566,0.234c-0.139,0.139-0.243,0.366-0.234,0.566C5.969,17.14,6.302,17.506,6.75,17.506L6.75,17.506z"/>   </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M6.75,20.094c0.567,0,1.134,0,1.701,0c0.08,0,0.16,0,0.241,0c0.205,0,0.421-0.089,0.566-0.234        c0.139-0.139,0.243-0.366,0.234-0.566c-0.019-0.433-0.352-0.8-0.8-0.8c-0.567,0-1.134,0-1.701,0c-0.08,0-0.16,0-0.241,0       c-0.205,0-0.421,0.089-0.566,0.234c-0.139,0.139-0.243,0.366-0.234,0.566C5.969,19.728,6.302,20.094,6.75,20.094L6.75,20.094z"/>    </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M6.75,22.683c0.567,0,1.134,0,1.701,0c0.08,0,0.16,0,0.241,0c0.205,0,0.421-0.089,0.566-0.234        c0.139-0.139,0.243-0.366,0.234-0.566c-0.019-0.433-0.352-0.8-0.8-0.8c-0.567,0-1.134,0-1.701,0c-0.08,0-0.16,0-0.241,0       c-0.205,0-0.421,0.089-0.566,0.234c-0.139,0.139-0.243,0.366-0.234,0.566C5.969,22.316,6.302,22.683,6.75,22.683L6.75,22.683z"/>    </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M13.901,28c0-0.625,0-1.249,0-1.874c0-0.088,0-0.177,0-0.265c0-0.418-0.368-0.819-0.8-0.8        c-0.433,0.019-0.8,0.352-0.8,0.8c0,0.625,0,1.249,0,1.874c0,0.088,0,0.177,0,0.265c0,0.418,0.368,0.819,0.8,0.8       C13.535,28.781,13.901,28.449,13.901,28L13.901,28z"/>    </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M16.49,28c0-0.625,0-1.249,0-1.874c0-0.088,0-0.177,0-0.265c0-0.418-0.368-0.819-0.8-0.8       c-0.433,0.019-0.8,0.352-0.8,0.8c0,0.625,0,1.249,0,1.874c0,0.088,0,0.177,0,0.265c0,0.418,0.368,0.819,0.8,0.8       C16.123,28.781,16.49,28.449,16.49,28L16.49,28z"/>   </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M19.078,28c0-0.625,0-1.249,0-1.874c0-0.088,0-0.177,0-0.265c0-0.418-0.368-0.819-0.8-0.8        c-0.433,0.019-0.8,0.352-0.8,0.8c0,0.625,0,1.249,0,1.874c0,0.088,0,0.177,0,0.265c0,0.418,0.368,0.819,0.8,0.8       C18.711,28.781,19.078,28.449,19.078,28L19.078,28z"/>    </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M21.666,28c0-0.625,0-1.249,0-1.874c0-0.088,0-0.177,0-0.265c0-0.418-0.368-0.819-0.8-0.8        c-0.433,0.019-0.8,0.352-0.8,0.8c0,0.625,0,1.249,0,1.874c0,0.088,0,0.177,0,0.265c0,0.418,0.368,0.819,0.8,0.8       C21.299,28.781,21.666,28.449,21.666,28L21.666,28z"/>    </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M24.719,15.044c0.593,0,1.186,0,1.779,0c0.084,0,0.168,0,0.252,0c0.418,0,0.819-0.368,0.8-0.8        c-0.019-0.433-0.352-0.8-0.8-0.8c-0.593,0-1.186,0-1.779,0c-0.084,0-0.168,0-0.252,0c-0.418,0-0.819,0.368-0.8,0.8        C23.938,14.677,24.27,15.044,24.719,15.044L24.719,15.044z"/>   </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M24.719,17.632c0.593,0,1.186,0,1.779,0c0.084,0,0.168,0,0.252,0c0.418,0,0.819-0.368,0.8-0.8        c-0.019-0.433-0.352-0.8-0.8-0.8c-0.593,0-1.186,0-1.779,0c-0.084,0-0.168,0-0.252,0c-0.418,0-0.819,0.368-0.8,0.8        C23.938,17.265,24.27,17.632,24.719,17.632L24.719,17.632z"/>   </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M24.719,20.22c0.593,0,1.186,0,1.779,0c0.084,0,0.168,0,0.252,0c0.418,0,0.819-0.368,0.8-0.8       c-0.019-0.433-0.352-0.8-0.8-0.8c-0.593,0-1.186,0-1.779,0c-0.084,0-0.168,0-0.252,0c-0.418,0-0.819,0.368-0.8,0.8        C23.938,19.854,24.27,20.22,24.719,20.22L24.719,20.22z"/>    </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M24.719,22.808c0.593,0,1.186,0,1.779,0c0.084,0,0.168,0,0.252,0c0.418,0,0.819-0.368,0.8-0.8        c-0.019-0.433-0.352-0.8-0.8-0.8c-0.593,0-1.186,0-1.779,0c-0.084,0-0.168,0-0.252,0c-0.418,0-0.819,0.368-0.8,0.8        C23.938,22.442,24.27,22.808,24.719,22.808L24.719,22.808z"/>   </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M20.066,8c0,0.698,0,1.396,0,2.094c0,0.099,0,0.197,0,0.296c0,0.418,0.368,0.819,0.8,0.8       c0.433-0.019,0.8-0.352,0.8-0.8c0-0.698,0-1.396,0-2.094c0-0.099,0-0.197,0-0.296c0-0.418-0.368-0.819-0.8-0.8        C20.433,7.22,20.066,7.552,20.066,8L20.066,8z"/>   </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M17.478,8c0,0.698,0,1.396,0,2.094c0,0.099,0,0.197,0,0.296c0,0.418,0.368,0.819,0.8,0.8       c0.433-0.019,0.8-0.352,0.8-0.8c0-0.698,0-1.396,0-2.094c0-0.099,0-0.197,0-0.296c0-0.418-0.368-0.819-0.8-0.8        C17.844,7.22,17.478,7.552,17.478,8L17.478,8z"/>   </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M14.89,8c0,0.698,0,1.396,0,2.094c0,0.099,0,0.197,0,0.296c0,0.418,0.368,0.819,0.8,0.8        c0.433-0.019,0.8-0.352,0.8-0.8c0-0.698,0-1.396,0-2.094c0-0.099,0-0.197,0-0.296c0-0.418-0.368-0.819-0.8-0.8        C15.256,7.22,14.89,7.552,14.89,8L14.89,8z"/>    </g>  </g>  <g display="inline">    <g>     <path fill="#FFFFFF" d="M12.301,8c0,0.698,0,1.396,0,2.094c0,0.099,0,0.197,0,0.296c0,0.418,0.368,0.819,0.8,0.8       c0.433-0.019,0.8-0.352,0.8-0.8c0-0.698,0-1.396,0-2.094c0-0.099,0-0.197,0-0.296c0-0.418-0.368-0.819-0.8-0.8        C12.668,7.22,12.301,7.552,12.301,8L12.301,8z"/>   </g>  </g>  <g display="inline">    <path fill="none" stroke="#FFFFFF" stroke-width="1.5" stroke-miterlimit="10" d="M21.75,22.9c0,0.055-0.045,0.1-0.1,0.1h-9.8      c-0.055,0-0.1-0.045-0.1-0.1v-9.8c0-0.055,0.045-0.1,0.1-0.1h9.8c0.055,0,0.1,0.045,0.1,0.1V22.9z"/> </g>  <g display="inline">    <path fill="#FFFFFF" d="M19.75,20.9c0,0.055-0.045,0.1-0.1,0.1h-5.8c-0.055,0-0.1-0.045-0.1-0.1v-5.8c0-0.055,0.045-0.1,0.1-0.1      h5.8c0.055,0,0.1,0.045,0.1,0.1V20.9z"/> </g></g><g id="flix_hsmob_comp_comparison" display="none"> <g id="flix_hsmob_comp_comparison_1" display="inline">   <g>     <line fill="#FFFFFF" x1="14.812" y1="6.5" x2="14.812" y2="29.5"/>     <g>       <path fill="#FFFFFF" d="M14.437,6.5c0,6.717,0,13.433,0,20.15c0,0.95,0,1.9,0,2.85c0,0.483,0.75,0.483,0.75,0          c0-6.717,0-13.433,0-20.15c0-0.95,0-1.9,0-2.85C15.187,6.017,14.437,6.017,14.437,6.5L14.437,6.5z"/>     </g>    </g>    <g>     <path fill="#FFFFFF" d="M12.098,14.5l-3.354,7L12.098,14.5z"/>     <g>       <path fill="#FFFFFF" d="M11.127,13.932c-0.978,2.04-1.956,4.081-2.933,6.121c-0.14,0.293-0.281,0.586-0.421,0.879          c-0.254,0.53-0.164,1.24,0.404,1.539c0.502,0.265,1.268,0.163,1.539-0.404c0.978-2.04,1.956-4.081,2.933-6.121          c0.14-0.293,0.281-0.586,0.421-0.879c0.254-0.53,0.164-1.24-0.404-1.539C12.164,13.263,11.398,13.366,11.127,13.932         c-0.978,2.04-1.956,4.081-2.933,6.121c-0.14,0.293-0.281,0.586-0.421,0.879c-0.254,0.53-0.164,1.24,0.404,1.539         c0.502,0.265,1.268,0.163,1.539-0.404c0.978-2.04,1.956-4.081,2.933-6.121c0.14-0.293,0.281-0.586,0.421-0.879          c0.254-0.53,0.164-1.24-0.404-1.539C12.164,13.263,11.398,13.366,11.127,13.932z"/>      </g>    </g>    <g>     <path fill="#FFFFFF" d="M6.326,19.177l2.389,2.304L6.326,19.177z"/>      <g>       <path fill="#FFFFFF" d="M5.53,19.972c0.698,0.673,1.395,1.346,2.093,2.018c0.099,0.095,0.197,0.19,0.296,0.286         c0.21,0.203,0.502,0.33,0.795,0.33c0.276,0,0.606-0.123,0.795-0.33c0.197-0.214,0.343-0.496,0.33-0.795         c-0.013-0.295-0.112-0.585-0.33-0.795c-0.698-0.673-1.395-1.346-2.093-2.018c-0.099-0.095-0.197-0.19-0.296-0.286         c-0.21-0.203-0.502-0.33-0.795-0.33c-0.276,0-0.606,0.123-0.795,0.33c-0.197,0.214-0.343,0.496-0.33,0.795          C5.214,19.472,5.313,19.762,5.53,19.972c0.698,0.673,1.395,1.346,2.093,2.018c0.099,0.095,0.197,0.19,0.296,0.286         c0.21,0.203,0.502,0.33,0.795,0.33c0.276,0,0.606-0.123,0.795-0.33c0.197-0.214,0.343-0.496,0.33-0.795         c-0.013-0.295-0.112-0.585-0.33-0.795c-0.698-0.673-1.395-1.346-2.093-2.018c-0.099-0.095-0.197-0.19-0.296-0.286         c-0.21-0.203-0.502-0.33-0.795-0.33c-0.276,0-0.606,0.123-0.795,0.33c-0.197,0.214-0.343,0.496-0.33,0.795          C5.214,19.472,5.313,19.762,5.53,19.972z"/>      </g>    </g>    <g>     <path fill="#FFFFFF" d="M23.222,14.5l-3.354,7L23.222,14.5z"/>     <g>       <path fill="#FFFFFF" d="M22.251,13.932c-0.978,2.04-1.956,4.081-2.933,6.121c-0.14,0.293-0.281,0.586-0.421,0.879          c-0.254,0.53-0.164,1.24,0.404,1.539c0.502,0.265,1.268,0.163,1.539-0.404c0.978-2.04,1.956-4.081,2.933-6.121          c0.14-0.293,0.281-0.586,0.421-0.879c0.254-0.53,0.164-1.24-0.404-1.539C23.288,13.263,22.523,13.366,22.251,13.932         c-0.978,2.04-1.956,4.081-2.933,6.121c-0.14,0.293-0.281,0.586-0.421,0.879c-0.254,0.53-0.164,1.24,0.404,1.539         c0.502,0.265,1.268,0.163,1.539-0.404c0.978-2.04,1.956-4.081,2.933-6.121c0.14-0.293,0.281-0.586,0.421-0.879          c0.254-0.53,0.164-1.24-0.404-1.539C23.288,13.263,22.523,13.366,22.251,13.932z"/>      </g>    </g>    <g>     <path fill="#FFFFFF" d="M17.45,19.177l2.389,2.304L17.45,19.177z"/>      <g>       <path fill="#FFFFFF" d="M16.655,19.972c0.698,0.673,1.395,1.346,2.093,2.018c0.099,0.095,0.197,0.19,0.296,0.286         c0.21,0.203,0.502,0.33,0.795,0.33c0.276,0,0.606-0.123,0.795-0.33c0.197-0.214,0.343-0.496,0.33-0.795         c-0.013-0.295-0.112-0.585-0.33-0.795c-0.698-0.673-1.395-1.346-2.093-2.018c-0.099-0.095-0.197-0.19-0.296-0.286         c-0.21-0.203-0.502-0.33-0.795-0.33c-0.276,0-0.606,0.123-0.795,0.33c-0.197,0.214-0.343,0.496-0.33,0.795          C16.338,19.472,16.437,19.762,16.655,19.972c0.698,0.673,1.395,1.346,2.093,2.018c0.099,0.095,0.197,0.19,0.296,0.286         c0.21,0.203,0.502,0.33,0.795,0.33c0.276,0,0.606-0.123,0.795-0.33c0.197-0.214,0.343-0.496,0.33-0.795         c-0.013-0.295-0.112-0.585-0.33-0.795c-0.698-0.673-1.395-1.346-2.093-2.018c-0.099-0.095-0.197-0.19-0.296-0.286         c-0.21-0.203-0.502-0.33-0.795-0.33c-0.276,0-0.606,0.123-0.795,0.33c-0.197,0.214-0.343,0.496-0.33,0.795          C16.338,19.472,16.437,19.762,16.655,19.972z"/>      </g>    </g>    <g>     <path fill="#FFFFFF" d="M27.174,14.5l-3.354,7L27.174,14.5z"/>     <g>       <path fill="#FFFFFF" d="M26.203,13.932c-0.978,2.04-1.956,4.081-2.933,6.121c-0.14,0.293-0.281,0.586-0.421,0.879          c-0.254,0.53-0.164,1.24,0.404,1.539c0.502,0.265,1.268,0.163,1.539-0.404c0.978-2.04,1.956-4.081,2.933-6.121          c0.14-0.293,0.281-0.586,0.421-0.879c0.254-0.53,0.164-1.24-0.404-1.539C27.24,13.263,26.474,13.366,26.203,13.932          c-0.978,2.04-1.956,4.081-2.933,6.121c-0.14,0.293-0.281,0.586-0.421,0.879c-0.254,0.53-0.164,1.24,0.404,1.539         c0.502,0.265,1.268,0.163,1.539-0.404c0.978-2.04,1.956-4.081,2.933-6.121c0.14-0.293,0.281-0.586,0.421-0.879          c0.254-0.53,0.164-1.24-0.404-1.539C27.24,13.263,26.474,13.366,26.203,13.932z"/>     </g>    </g>    <g>     <path fill="#FFFFFF" d="M21.526,19.297l2.264,2.184L21.526,19.297z"/>      <g>       <path fill="#FFFFFF" d="M20.731,20.092c0.661,0.638,1.322,1.276,1.984,1.913c0.094,0.09,0.187,0.181,0.281,0.271         c0.21,0.203,0.502,0.33,0.795,0.33c0.276,0,0.606-0.123,0.795-0.33c0.197-0.214,0.343-0.496,0.33-0.795         c-0.013-0.295-0.112-0.585-0.33-0.795c-0.661-0.638-1.322-1.276-1.984-1.913c-0.094-0.09-0.187-0.181-0.281-0.271         c-0.21-0.203-0.502-0.33-0.795-0.33c-0.276,0-0.606,0.123-0.795,0.33c-0.197,0.214-0.343,0.496-0.33,0.795          C20.414,19.592,20.513,19.882,20.731,20.092c0.661,0.638,1.322,1.276,1.984,1.913c0.094,0.09,0.187,0.181,0.281,0.271         c0.21,0.203,0.502,0.33,0.795,0.33c0.276,0,0.606-0.123,0.795-0.33c0.197-0.214,0.343-0.496,0.33-0.795         c-0.013-0.295-0.112-0.585-0.33-0.795c-0.661-0.638-1.322-1.276-1.984-1.913c-0.094-0.09-0.187-0.181-0.281-0.271         c-0.21-0.203-0.502-0.33-0.795-0.33c-0.276,0-0.606,0.123-0.795,0.33c-0.197,0.214-0.343,0.496-0.33,0.795          C20.414,19.592,20.513,19.882,20.731,20.092z"/>      </g>    </g>  </g></g><g id="flix_hsmob_comp_product_feature" display="none">  <g id="flix_hsmob_comp_product_feature_1" display="inline">    <circle fill="none" stroke="#FFFFFF" stroke-width="1.3" stroke-miterlimit="10" cx="16.75" cy="21.689" r="2"/>   <polygon fill="none" stroke="#FFFFFF" stroke-width="1.3" stroke-miterlimit="10" points="17.884,19.789 19.916,18.504       18.668,20.474     "/>   <g>     <g>       <path fill="#FFFFFF" d="M9.134,16.751c0.109-0.109,0.225-0.21,0.342-0.311c0.123-0.107,0.249-0.209,0.376-0.311          c0.211-0.169-0.147,0.108,0.069-0.053c0.092-0.068,0.184-0.136,0.277-0.202c1.024-0.729,2.143-1.343,3.336-1.744          c3.943-1.325,7.77-0.053,10.833,2.621c1.207,1.054,2.982-0.707,1.768-1.768c-3.605-3.148-8.2-4.807-12.914-3.376          c-2.116,0.642-4.271,1.804-5.853,3.376C6.223,16.118,7.991,17.886,9.134,16.751L9.134,16.751z"/>     </g>    </g>  </g></g><g id="flix_hsmob_comp_overview" display="none"> <g id="flix_hsmob_comp_overview_1" display="inline">   <g>     <path fill="none" stroke="#FFFFFF" stroke-width="1.1" stroke-miterlimit="10" d="M24.3,22.1c0,0.55-0.45,1-1,1h-13        c-0.55,0-1-0.45-1-1v-8.5c0-0.55,0.45-1,1-1h13c0.55,0,1,0.45,1,1V22.1z"/>    </g>    <circle fill="#FFFFFF" stroke="#FFFFFF" stroke-width="1.1" stroke-miterlimit="10" cx="13.9" cy="16.1" r="1.1"/>   <g>     <path fill="#FFFFFF" d="M11.097,22.929C11.136,22.968,11.213,23,11.268,23H16.8c0.055,0,0.068-0.032,0.029-0.071l-4.559-4.559        c-0.039-0.039-0.103-0.039-0.141,0l-2.632,2.632c-0.039,0.039-0.067,0.088-0.063,0.108s0.055,0.101,0.1,0.132L11.097,22.929z"/>     <path fill="none" stroke="#FFFFFF" stroke-width="1.1" stroke-miterlimit="10" d="M11.097,22.929        C11.136,22.968,11.213,23,11.268,23H16.8c0.055,0,0.068-0.032,0.029-0.071l-4.559-4.559c-0.039-0.039-0.103-0.039-0.141,0       l-2.632,2.632c-0.039,0.039-0.067,0.088-0.063,0.108s0.055,0.101,0.1,0.132L11.097,22.929z"/>    </g>    <g>     <path fill="#FFFFFF" d="M23.998,19.926c0.019-0.052,0.002-0.126-0.037-0.165l-4.191-4.191c-0.039-0.039-0.103-0.039-0.141,0        l-7.359,7.359C12.232,22.968,12.245,23,12.3,23h11.264c0.055,0,0.119-0.041,0.143-0.09l0.094-0.206       c0.024-0.049,0.038-0.134,0.031-0.189L23.998,19.926z"/>      <path fill="none" stroke="#FFFFFF" stroke-width="1.1" stroke-miterlimit="10" d="M23.998,19.926        c0.019-0.052,0.002-0.126-0.037-0.165l-4.191-4.191c-0.039-0.039-0.103-0.039-0.141,0l-7.359,7.359       C12.232,22.968,12.245,23,12.3,23h11.264c0.055,0,0.119-0.041,0.143-0.09l0.094-0.206c0.024-0.049,0.038-0.134,0.031-0.189        L23.998,19.926z"/>    </g>  </g></g><g id="flix_hsmob_comp_cgi" display="none"> <g id="flix_hsmob_comp_cgi_1" display="inline"><path fill="#FFFFFF" d="M30.9,19.2c0-1.7-6.2-3.1-13.8-3.1S3.4,17.5,3.4,19.2c0,1.5,4.9,2.8,11.3,3l-0.9-1.1l1-1.3 C9.8,19.7,6,19,6,18.2c0-1,5-1.7,11.1-1.7s11.1,0.8,11.1,1.7c0,0.8-3.4,1.5-7.9,1.7l-0.1-0.5c0-0.1-0.2-0.2-0.3-0.1L17.1,21 c-0.1,0.1-0.1,0.3,0,0.4l3.1,1.6c0.1,0.1,0.3,0,0.3-0.2v-0.6C26.4,21.9,30.9,20.7,30.9,19.2z"/> <g><path class="flixst0" d="M13.4,13.6c0,0.4-0.1,0.8-0.4,1.1c-0.3,0.3-0.6,0.5-1.1,0.6l0,0c0.6,0.1,1,0.2,1.3,0.5 c0.3,0.3,0.4,0.6,0.4,1.1c0,0.7-0.2,1.2-0.7,1.6s-1.2,0.6-2.1,0.6c-0.8,0-1.4-0.1-2-0.4v-1.3c0.3,0.1,0.6,0.3,0.9,0.3 c0.3,0.1,0.7,0.1,1,0.1c0.5,0,0.9-0.1,1.1-0.3c0.2-0.2,0.4-0.4,0.4-0.8c0-0.3-0.1-0.6-0.4-0.7c-0.3-0.1-0.7-0.2-1.3-0.2H9.8v-1.1 h0.5c0.5,0,0.9-0.1,1.2-0.2c0.3-0.1,0.4-0.4,0.4-0.7c0-0.5-0.3-0.8-1-0.8c-0.2,0-0.5,0-0.7,0.1s-0.5,0.2-0.8,0.4l-0.7-1 c0.6-0.5,1.4-0.7,2.3-0.7c0.7,0,1.3,0.1,1.7,0.4C13.2,12.6,13.4,13,13.4,13.6z"/> <path fill="#FFFFFF" d="M14.3,16.1c0-1.4,0.3-2.4,0.9-3.1c0.6-0.7,1.5-1,2.7-1c0.4,0,0.7,0,0.9,0.1v1.2c-0.3-0.1-0.6-0.1-0.9-0.1 c-0.5,0-0.9,0.1-1.3,0.2c-0.3,0.2-0.6,0.4-0.7,0.7c-0.2,0.3-0.3,0.7-0.3,1.3h0.1c0.3-0.5,0.8-0.8,1.5-0.8c0.6,0,1.1,0.2,1.5,0.6 c0.4,0.4,0.5,0.9,0.5,1.6c0,0.8-0.2,1.4-0.6,1.8s-1,0.7-1.8,0.7c-0.5,0-1-0.1-1.4-0.4c-0.4-0.2-0.7-0.6-0.9-1.1 C14.4,17.3,14.3,16.7,14.3,16.1z M16.9,18c0.3,0,0.6-0.1,0.7-0.3c0.2-0.2,0.3-0.5,0.3-0.9c0-0.3-0.1-0.6-0.2-0.8 c-0.2-0.2-0.4-0.3-0.7-0.3c-0.3,0-0.6,0.1-0.8,0.3c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.4,0.1,0.7,0.3,1C16.3,17.8,16.6,18,16.9,18z"/> <path fill="#FFFFFF" d="M24.9,15.5c0,1.2-0.2,2.2-0.6,2.7s-1,0.9-1.9,0.9c-0.8,0-1.4-0.3-1.8-0.9S20,16.7,20,15.5s0.2-2.2,0.6-2.8 s1-0.9,1.9-0.9c0.8,0,1.4,0.3,1.9,0.9C24.7,13.4,24.9,14.3,24.9,15.5z M21.5,15.5c0,0.9,0.1,1.5,0.2,1.9s0.4,0.6,0.8,0.6 c0.3,0,0.6-0.2,0.8-0.6c0.2-0.4,0.2-1,0.2-1.9s-0.1-1.5-0.2-1.9c-0.2-0.4-0.4-0.6-0.8-0.6s-0.6,0.2-0.8,0.6 C21.6,14,21.5,14.7,21.5,15.5z"/> </g> <path fill="#FFFFFF" d="M26.3,11.9c-0.6,0-1.1,0.5-1.1,1.1s0.5,1.1,1.1,1.1s1.1-0.5,1.1-1.1S26.9,11.9,26.3,11.9z M26.3,13.7 c-0.4,0-0.6-0.3-0.6-0.6s0.3-0.6,0.6-0.6c0.4,0,0.6,0.3,0.6,0.6S26.7,13.7,26.3,13.7z"/> </g></g></svg></div>';}
if(index.search("product_ugc")!=-1){var hotspotsvg='<div data-module="'+Hsmodule+'" role="button" id="'+settings[0].prefix+index+'mob" class="flix_hsmob flix_hsmob_'+index+" flix_hsmob_hash_"+colorhash+'" title="'+hs.tooltip_title+'" alt="'+hs.tooltip_title+'" ><svg version="1.1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 34 34" enable-background="new 0 0 34 34" xml:space="preserve"><switch><foreignObject requiredExtensions="&ns_ai;" x="0" y="0" width="1" height="1">  <i:aipgfRef  xlink:href="#adobe_illustrator_pgf"> </i:aipgfRef></foreignObject><g i:extraneous="self">  <g id="flix_hsmob_button">   <path id="flix_hsmob_button1" fill="'+hs.color_hash+'" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" d="M31.75,18     c0,8.285-6.715,15-15,15c-8.284,0-15-6.715-15-15c0-8.284,6.716-15,15-15C25.035,3,31.75,9.716,31.75,18z"/>    <path id="flix_hsmob_button2" display="none" fill="#686868" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" d="     M31.75,18c0,8.285-6.715,15-15,15c-8.284,0-15-6.715-15-15c0-8.284,6.716-15,15-15C25.035,3,31.75,9.716,31.75,18z"/> </g>  <g id="flix_hsmob_ugc" display="none">   <path display="inline" fill="#FFFFFF" d="M20.71,10.733c-1.62,0-3.06,0.81-3.96,2.07c-0.9-1.26-2.34-2.07-3.96-2.07      c-2.79,0-5.04,2.25-5.04,5.04c0,3.96,9,11.16,9,11.16s9-7.2,9-11.16C25.75,12.983,23.5,10.733,20.71,10.733z"/> </g></g></switch></svg></div>';}
if(index.search('product_sustainability')!=-1){var hotspotsvg='<div data-module="'+Hsmodule+'" id="'+settings[0].prefix+index+'" class="flix_hsmob flix_hsmob_'+index+' flix_hsmob_hash_'+colorhash+'" role="button" tabindex="0" title="'+hs.tooltip_title+'" alt="'+hs.tooltip_title+'" ><svg width="34" height="34" viewBox="0 0 34 34" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="flix_hs_sustainability_path" d="M31.75 18C31.75 26.285 25.035 33 16.75 33C8.466 33 1.75 26.285 1.75 18C1.75 9.716 8.466 3 16.75 3C25.035 3 31.75 9.716 31.75 18Z" fill="'+hs.color_hash+'" stroke="white" stroke-width="2" stroke-miterlimit="10"/><path d="M11.8077 24.3668C12.1317 23.2561 12.8023 20.985 13.6973 19.9406C14.3452 19.1847 16.9006 16.7744 18.0164 15.7632" stroke="white" stroke-width="1.55" stroke-linecap="round"/><path d="M12.2147 16.9714L11.2685 16.8861L12.2147 16.9714ZM15.8659 13.4931L15.9901 14.435L15.8659 13.4931ZM20.3306 19.2902L19.554 18.7431L20.3306 19.2902ZM15.3187 21.3156C14.8365 21.5223 14.6131 22.0808 14.8198 22.563C15.0264 23.0453 15.5849 23.2687 16.0672 23.062L15.3187 21.3156ZM14.4818 20.1938C14.0122 19.6068 13.7066 19.3241 13.4522 18.8534C13.2397 18.4603 13.0815 17.9369 13.1608 17.0567L11.2685 16.8861C11.1585 18.1073 11.3764 19.0088 11.7807 19.7568C12.143 20.4271 12.6948 21.0016 12.9981 21.3808L14.4818 20.1938ZM13.1608 17.0567C13.1899 16.7342 13.4924 16.1192 14.1076 15.5066C14.7053 14.9115 15.4077 14.5118 15.9901 14.435L15.7417 12.5513C14.5999 12.7019 13.5348 13.3958 12.7671 14.1602C12.0168 14.9072 11.3558 15.9176 11.2685 16.8861L13.1608 17.0567ZM15.9901 14.435C18.6732 14.0812 20.2369 13.1913 21.0024 12.4258L19.6589 11.0823C19.265 11.4762 18.1311 12.2362 15.7417 12.5513L15.9901 14.435ZM21.0024 12.4258C21.0531 12.375 21.0638 12.3717 21.0414 12.3864C21.0327 12.3921 20.8938 12.4866 20.6658 12.4866C20.3695 12.4866 20.1426 12.3325 20.0202 12.1758C19.9286 12.0586 19.9109 11.9631 19.9162 11.9844C19.9251 12.02 19.9426 12.1451 19.9517 12.4359C19.9602 12.7075 19.9603 13.0528 19.9603 13.4931H21.8603C21.8603 13.0639 21.8604 12.6846 21.8508 12.3765C21.8418 12.0876 21.8231 11.7779 21.7595 11.5236C21.7286 11.4 21.6656 11.1958 21.5174 11.0061C21.3384 10.777 21.0435 10.5866 20.6658 10.5866C20.3562 10.5866 20.1222 10.7174 20.0025 10.7956C19.8691 10.8827 19.7531 10.9881 19.6589 11.0823L21.0024 12.4258ZM19.9603 13.4931C19.9603 13.9533 19.9861 14.4748 20.007 14.9783C20.0284 15.4942 20.0456 16.0092 20.0345 16.5063C20.0112 17.5486 19.8619 18.3061 19.554 18.7431L21.1072 19.8374C21.7694 18.8976 21.9099 17.6261 21.934 16.5488C21.9466 15.9861 21.9269 15.4187 21.9054 14.8997C21.8833 14.3684 21.8603 13.9025 21.8603 13.4931H19.9603ZM19.554 18.7431C19.4964 18.8248 19.3202 19.0014 18.9765 19.2576C18.6542 19.4978 18.2495 19.761 17.8084 20.0242C16.9238 20.5518 15.9513 21.0445 15.3187 21.3156L16.0672 23.062C16.7872 22.7534 17.8349 22.2207 18.7817 21.6559C19.2562 21.3729 19.72 21.0731 20.112 20.7809C20.4825 20.5048 20.8662 20.1796 21.1072 19.8374L19.554 18.7431Z" fill="white"/><path d="M12.0915 27.1587C7.63718 25.4598 5.59998 22.1135 5.59998 17.0866C5.97419 11.7137 10.5038 7.6489 15.7172 8.00763" stroke="white" stroke-width="1.97" stroke-linecap="round"/><path d="M18.1978 29.8384C17.5935 29.1348 16.3642 27.7071 16.2814 27.6247C16.1985 27.5423 17.7662 26.2175 18.5603 25.5654" stroke="#FFFDFD" stroke-linecap="round"/><path d="M15.3586 10.273C15.9629 9.56941 17.1922 8.14163 17.275 8.05925C17.3579 7.97688 15.7902 6.65211 14.9961 6" stroke="#FFFDFD" stroke-linecap="round"/><path d="M21.5082 8.59619C25.9625 10.2951 27.9998 13.6414 27.9998 18.6683C27.6256 24.0412 23.0959 28.106 17.8826 27.7473" stroke="white" stroke-width="1.97" stroke-linecap="round"/></svg></div>'}
if(index.search('smart_content')!=-1){var hotspotsvg='<div data-module="'+Hsmodule+'" id="'+settings[0].prefix+index+'" class="flix_hsmob flix_hsmob_'+index+' flix_hsmob_hash_'+colorhash+'" role="button" tabindex="0" title="'+hs.tooltip_title+'" alt="'+hs.tooltip_title+'" ><svg width="34" height="34" viewBox="0 0 34 34" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_34_2)"><path class="flix_hs_smart_content_path" d="M31.5 16C31.5 24.285 24.785 31 16.5 31C8.216 31 1.5 24.285 1.5 16C1.5 7.716 8.216 1 16.5 1C24.785 1 31.5 7.716 31.5 16Z" fill="'+hs.color_hash+'" stroke="#FFFDFD" stroke-width="2" stroke-miterlimit="10"/><path d="M22 8.00174C22 7.59861 21.7563 7.23299 21.3813 7.07674C21.0063 6.92049 20.5781 7.00799 20.2906 7.29236L18.9281 8.65799C17.4281 10.158 15.3938 11.0017 13.2719 11.0017H13H12H9C7.89688 11.0017 7 11.8986 7 13.0017V16.0017C7 17.1049 7.89688 18.0017 9 18.0017V22.0017C9 22.5549 9.44688 23.0017 10 23.0017H12C12.5531 23.0017 13 22.5549 13 22.0017V18.0017H13.2719C15.3938 18.0017 17.4281 18.8455 18.9281 20.3455L20.2906 21.708C20.5781 21.9955 21.0063 22.0799 21.3813 21.9236C21.7563 21.7674 22 21.4049 22 20.9986V16.3892C22.5813 16.1142 23 15.3736 23 14.5017C23 13.6299 22.5813 12.8892 22 12.6142V8.00174ZM20 10.3986V14.5017V18.6049C18.1625 16.933 15.7656 16.0017 13.2719 16.0017H13V13.0017H13.2719C15.7656 13.0017 18.1625 12.0705 20 10.3986Z" fill="white"/></g><defs><clipPath id="clip0_34_2"><rect width="34" height="34" fill="white"/></clipPath></defs></svg></div>'}
if(index.search('accessory_widget')!=-1){var hotspotsvg='<div data-module="'+Hsmodule+'" id="'+settings[0].prefix+index+'" class="flix_hsmob flix_hsmob_'+index+' flix_hsmob_hash_'+colorhash+'" role="button" tabindex="0" title="'+hs.tooltip_title+'" alt="'+hs.tooltip_title+'" ><svg width="34" height="34" viewBox="0 0 34 34" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M31.75 18C31.75 26.285 25.035 33 16.75 33C8.466 33 1.75 26.285 1.75 18C1.75 9.716 8.466 3 16.75 3C25.035 3 31.75 9.716 31.75 18Z" fill="'+hs.color_hash+'" stroke="white" stroke-width="2" stroke-miterlimit="10"/><path d="M20.8542 19.0833V24.625M18.0833 21.6563H23.625M9.375 10.375H14.9167V15.9167H9.375V10.375ZM18.0833 10.375H23.625V15.9167H18.0833V10.375ZM9.375 19.0833H14.9167V24.625H9.375V19.0833Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg></div>'}
if(index.search('sis_widget')!=-1){var hotspotsvg='<div data-module="'+Hsmodule+'" id="'+settings[0].prefix+index+'" class="flix_hs flix_hs_'+index+' flix_hs_hash_'+colorhash+'" role="button" tabindex="0" title="'+hs.tooltip_title+'" alt="'+hs.tooltip_title+'" ><svg width="34" height="34" viewBox="0 0 34 34" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#fff" stroke-width="2" d="M31.75 18C31.75 26.285 25.035 33 16.75 33C8.466 33 1.75 26.285 1.75 18C1.75 9.716 8.466 3 16.75 3C25.035 3 31.75 9.716 31.75 18Z" fill="'+hs.color_hash+'" stroke="white" stroke-width="2" stroke-miterlimit="10"/><path stroke="#fff" stroke-width="2" d="M17.3641 8C18.5483 8 22.5674 9.7027 23.5134 12.3784L14.2895 12.3784C14.2895 12.3784 13.0042 12.8746 12.8704 13.8378C12.6339 15.5405 13.8165 16.5135 13.8165 16.5135C13.8165 16.5135 17.8424 18.8667 18.0737 18.9459C19.0103 19.267 23.5134 19.6757 24.696 19.6757C24.9325 19.6757 25.206 19.7137 25.4055 19.9189C25.74 20.2629 25.5012 20.8867 25.4055 21.3784C25.169 22.5946 25.169 23.5676 24.4595 24.5405L24.3748 24.5171C22.2926 23.9405 18.0608 22.7686 17.1276 22.7686H15.7086H9.55925C8.84972 22.7686 6.92562 19.5075 7.66716 15.5405C7.78852 14.8913 8.34107 12.5889 10.0323 10.6757C12.3974 8 16.18 8 17.3641 8Z" fill="'+hs.color_hash+'" /><path stroke="#fff" stroke-width="2" d="M23.75 13.3514H16.6546C17.2065 14.8919 18.0264 17.827 18.7832 18.2162C19.54 18.6054 23.9076 18.9459 25.642 18.9459L23.75 13.3514Z" fill="'+hs.color_hash+'"/><path stroke="#fff" stroke-width="2" d="M18.0737 23.8108C17.0361 23.5974 10.2688 23.5676 10.2688 23.5676C10.2688 23.5676 10.7418 25.027 11.2148 25.027H18.0737C18.5467 25.027 22.5674 26 23.0404 26C23.4188 26 23.9865 25.<circle cx="14.8921" cy="14.25" r="1.25" fill="'+hs.color_hash+'"/></svg></div>'}
if(typeof hs.tooltip_title!="undefined"&&hs.tooltip_title!=null&&hs.tooltip_title.length>0)
FlixjQ("#flix_hotspotsmob").append(hotspotsvg);if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment){FlixjQ("#flix_hotspotsmob").attr("data-flix-align",FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment);}
FlixjQ('#flix_hotspotsmob').addClass('flix_hotspotV3mobile');var rgbaCol='rgba('+parseInt(colorhash.slice(-6,-4),16)
+','+parseInt(colorhash.slice(-4,-2),16)
+','+parseInt(colorhash.slice(-2),16)
+',0.6)';FlixjQ('.flix_hotspotV3mobile').css('background-color',rgbaCol)}
if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPositionMob();});if(FlixServices!=undefined&&typeof FlixServices.modular_match_data!='undefined'&&typeof FlixServices.modular_match_data[0].settings.distributor_settings.mobilehotspot_custom_button!='undefined'&&FlixServices.modular_match_data[0].settings.distributor_settings==true&&!FlixjQ(".flix_product_single").length){FlixjQ('#flix_hotspotsmob').addClass("flix_hotspot_single")
var stroke='#005b9c';var fill='#fff';var hotspotsvg2='<button type="button" id="flix_product_single" class="flix_hsmob flix_hsmob-single flix_product_single" title="View" data-title="View" data-title2="Hide"><svg alt="Overview" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 34 34" enable-background="new 0 0 34 34" xml:space="preserve" style="width:22px;height:22px" aria-hidden="true"><g class="flix_hsmob_button"><path fill="'+fill+'" stroke="'+stroke+'" stroke-width="2" stroke-miterlimit="10" d="M31.75,18c0,8.285-6.715,15-15,15c-8.284,0-15-6.715-15-15c0-8.284,6.716-15,15-15C25.035,3,31.75,9.716,31.75,18z"></path><path display="none" fill="#686868" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" d="M31.75,18c0,8.285-6.715,15-15,15c-8.284,0-15-6.715-15-15c0-8.284,6.716-15,15-15C25.035,3,31.75,9.716,31.75,18z"></path></g><g class="flix_hsmob_plus_1_" display="none"><g class="flix_hsmob_plus" display="inline"><polygon fill="#FFFFFF" points="25,15 19,15 19,9 15,9 15,15 9,15 9,19 15,19 15,25 19,25 19,19 25,19 "></polygon></g></g><g class="flix_hsmob_three_D" display="none"><g class="flix_hsmob_three_D2" display="inline"><text class="flix_hsmob_three_D3" transform="matrix(1 0 0 1 7.3335 23)" fill="#FFFFFF" font-family="arial" font-size="15px">3D</text></g></g><g class="flix_hsmob_360" display="none"><text class="flix_hsmob_3602" transform="matrix(1 0 0 1 5.0108 23)" display="inline" fill="#FFFFFF" font-family="arial" font-size="12px" aria-hidden="true">360°</text></g><g class="flix_hsmob_play" display="none"><g class="flix_hsmob_play2" display="inline"><polygon fill="#FFFFFF" points="12,8.667 25,17.333 12,26 "></polygon></g></g><g class="flix_hsmob_info" display="none"><g class="flix_hsmob_info2" display="inline"><g><path fill="'+stroke+'" d="M14,17c0.553,0,1,0.447,1,1v4c0,0.553-0.447,1-1,1h-1v2h8v-2h-0.996c-0.551,0-1-0.447-1-1L19,15h-6v2H14z"></path><circle fill="'+stroke+'" cx="17" cy="11" r="2"></circle></g></g></g><g class="flix_hsmob_document" display="none"><g class="flix_hsmob_doc2" display="inline"><path fill="#FFFFFF" d="M18,9h-7v16h12V13.999L18,9z M13,23V11h4v4h4v8H13z"></path></g><g class="flix_hsmob_doc1" display="inline"><line fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="14" y1="18" x2="20" y2="18"></line><line fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="14" y1="21" x2="20" y2="21"></line></g></g><g class="flix_hsmob_gallery" display="none"><g class="flix_hsmob_gallery2" display="inline"><g><path fill="#FFFFFF" d="M18.859,16.688c1.01,0,1.828,0.818,1.828,1.828c0,1.01-0.818,1.828-1.828,1.828c-1.01,0-1.828-0.818-1.828-1.828C17.031,17.506,17.85,16.688,18.859,16.688z"></path><path fill="#FFFFFF" d="M22.516,13.031l-1.503-3.036c-0.123-0.361-0.465-0.621-0.868-0.621h-2.51c-0.408,0-0.752,0.266-0.871,0.633l-1.559,3.023h-3.658c-1.01,0-1.828,0.818-1.828,1.828V24h14.625v-9.141C24.344,13.85,23.526,13.031,22.516,13.031z M12.461,16.688c-0.505,0-0.914-0.409-0.914-0.914c0-0.505,0.409-0.914,0.914-0.914c0.505,0,0.914,0.409,0.914,0.914C13.375,16.279,12.966,16.688,12.461,16.688z M18.859,22.172c-2.02,0-3.656-1.637-3.656-3.656c0-2.019,1.637-3.656,3.656-3.656c2.02,0,3.656,1.637,3.656,3.656C22.516,20.535,20.879,22.172,18.859,22.172z"></path></g></g></g><g class="flix_hsmob_comparison" display="none"><g class="flix_hsmob_check" display="inline"><g><path fill="#FFFFFF" d="M8.087,21.903l-2.931-2.931c-0.251-0.251-0.251-0.659,0-0.91l0.922-0.922c0.251-0.251,0.659-0.251,0.91,0l1.099,1.099c0.251,0.251,0.658,0.251,0.91,0l3.71-3.71c0.251-0.251,0.659-0.251,0.91,0l0.922,0.922c0.251,0.251,0.251,0.659,0,0.91l-5.542,5.542C8.746,22.154,8.339,22.154,8.087,21.903z"></path></g></g><g class="flix_hsmob_x" display="inline"><g><path fill="#FFFFFF" d="M27.458,20.481L25.4,18.424c-0.115-0.115-0.115-0.302,0-0.417l2.058-2.056c0.115-0.115,0.115-0.301,0-0.416l-1.233-1.233c-0.115-0.115-0.301-0.115-0.416,0l-2.056,2.057c-0.115,0.115-0.301,0.115-0.416,0l-2.057-2.057c-0.115-0.115-0.301-0.115-0.416,0l-1.232,1.233c-0.115,0.115-0.115,0.301,0,0.416l2.056,2.056c0.115,0.115,0.115,0.301,0,0.416l-2.056,2.056c-0.115,0.115-0.115,0.301,0,0.416l1.232,1.233c0.115,0.115,0.301,0.115,0.416,0l2.057-2.057c0.115-0.115,0.301-0.115,0.416,0l2.056,2.057c0.115,0.115,0.301,0.115,0.416,0l1.233-1.233C27.573,20.782,27.573,20.595,27.458,20.481z"></path></g></g><line class="flix_hsmob_line" display="inline" fill="#FFFFFF" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="17" y1="8.216" x2="17" y2="28.216"></line></g><g class="flix_hsmob_reviews" display="none"><g class="flix_hsmob_comment_stroke" display="inline"><path fill="#FFFFFF" d="M19.429,12.286c2.522,0,4.571,2.049,4.571,4.571s-2.049,4.571-4.571,4.571h-4.571c-1.491,0-2.819,0.719-3.654,1.83c-0.555-0.419-0.917-1.085-0.917-1.83v-5.714c0-1.891,1.54-3.429,3.429-3.429H19.429 M19.429,10h-5.714C10.558,10,8,12.558,8,15.714v5.714C8,23.953,10.049,26,12.571,26c0-1.263,1.025-2.286,2.286-2.286h4.571c3.788,0,6.857-3.071,6.857-6.857S23.217,10,19.429,10L19.429,10z"></path></g><line class="flix_hsmob_re2" display="inline" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="13.031" y1="15.844" x2="21" y2="15.844"></line><line class="flix_hsmob_re1" display="inline" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="13.031" y1="18.844" x2="21" y2="18.844"></line></g><g class="flix_hsmob_3rdapp"  display="none"><path d="M18 23H8V12H26V19" stroke="white" stroke-width="1.7" fill="none"/><circle cx="10.5" cy="14.5" r="0.5" fill="white"/><circle cx="11.8" cy="14.5" r="0.5" fill="white"/><circle cx="13.1" cy="14.5" r="0.5" fill="white"/><path fill-rule="evenodd" clip-rule="evenodd" d="M18.9453 18.2305C18.7999 18.1723 18.6407 18.158 18.4873 18.1895C18.3339 18.221 18.1931 18.2968 18.0823 18.4075C17.9716 18.5182 17.8958 18.659 17.8643 18.8124C17.8329 18.9658 17.8471 19.1251 17.9053 19.2705L21.1053 27.2705C21.1626 27.4136 21.2601 27.5372 21.3861 27.6262C21.512 27.7153 21.661 27.7661 21.8151 27.7724C21.9692 27.7787 22.1219 27.7404 22.2547 27.662C22.3875 27.5836 22.4948 27.4684 22.5637 27.3305L23.6677 25.1233L26.0821 27.5393C26.2322 27.6893 26.4358 27.7735 26.648 27.7734C26.8602 27.7733 27.0637 27.689 27.2137 27.5389C27.3637 27.3887 27.4479 27.1852 27.4479 26.973C27.4478 26.7608 27.3634 26.5573 27.2133 26.4073L24.7981 23.9913L27.0061 22.8881C27.1438 22.819 27.2587 22.7116 27.3369 22.5788C27.415 22.4461 27.4532 22.2936 27.4468 22.1396C27.4404 21.9857 27.3896 21.8369 27.3007 21.7111C27.2117 21.5853 27.0883 21.4878 26.9453 21.4305L18.9453 18.2305Z" fill="white"/></g></svg> Explore</button>';FlixjQ("#flix_hotspotsmob").append(hotspotsvg2);FlixjQ(".flix_hsmob:not(.flix_hsmob-single)").hide();if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPositionMob();}
function loadJWScript(e,t){if(-1!=e.search(".js")&&0===FlixjQ("script[src='"+e+"']").length){var c=document.createElement("script");c.type="text/javascript",c.src=e,c.onload=t,document.head.appendChild(c);}
if(-1!=e.search(".css")&&0===FlixjQ("link[href='"+e+"']").length){var n=document.createElement("link");n.rel="stylesheet",n.href=e,n.type="text/css",n.onload=t,document.head.appendChild(n);}}
if(typeof FlixServices.modular_match_data!='undefined'&&typeof FlixServices.modular_match_data[0]!='undefined'&&typeof FlixServices.modular_match_data[0].modules!='undefined'&&((typeof FlixServices.modular_match_data[0].modules.viewWebar!='undefined'&&FlixServices.modular_match_data[0].modules.viewWebar!=null)||(typeof FlixServices.modular_match_data[0].modules.view3dfm!='undefined'&&FlixServices.modular_match_data[0].modules.view3dfm!=null))){if(!window.threedcheck)
window.threedcheck=false;if(typeof window.threedfw=='undefined'&&window.threedcheck==false){window.threedcheck=true;if(ENV=='-alpha'){FlixServices.loadFlixJs('https://delivery-alpha.flix360.io/js/minify/?url=/static/3dfw/3dfw.js');}else{FlixServices.loadFlixJs('https://media.flixcar.com/delivery/js/minify?url=static/3dfw/3dfw.js');}}}
FlixjQ("#flix_hotspotsmob .flix_hsmob,#flix_hotspotsmob .ek-desktop").on({click:function(){var idmob=this.id;if(typeof FlixServices.flixhotspot.results!='undefined'&&FlixServices.flixhotspot.results.settings[0]!='undefined')
idmob=idmob.replace(FlixServices.flixhotspot.results.settings[0].prefix,"");var id=idmob.replace('mob','')
if(hotspots[id]||id=='product_single'){if(id=='product_single'){var idmob=FlixjQ('.flix_hsmob:eq(0)').attr('id');var id=idmob.replace('mob','').replace('flix_','');}
html=hotspots[id].html;setTimeout(function(){FlixServices.flixhotspot.flixBoxMob(html,id);},100);}},keydown:function(event){if(event.keyCode==13){FlixjQ(this).trigger("click");}
if(event.keyCode==32){FlixjQ(this).trigger("click");}}});FlixjQ(window).resize(function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPositionMob();});var t;document.addEventListener("scroll",cleartimer);document.addEventListener("wheel",cleartimer2);window.addEventListener("touchend",cleartimer3);window.addEventListener("touchmove",cleartimer4);function cleartimer(){clearTimeout(t);checkScroll();log3(1);document.removeEventListener("wheel",cleartimer2);window.addEventListener("touchend",cleartimer3);}
function cleartimer2(){clearTimeout(t);checkScroll();log3(2);}
function cleartimer3(){clearTimeout(t);checkScroll();log3(3);}
function cleartimer4(){clearTimeout(t);if(FlixjQ(window).scrollTop()<800){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPositionMob();}
log3(3);}
function checkScroll(){t=setTimeout(function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined'&&FlixjQ(window).scrollTop()<800&&typeof FlixServices.flixhotspot!='undefined'){FlixServices.flixhotspot.updateHotspotPosition();setTimeout(function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPositionMob();},100);setTimeout(function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPositionMob();},200);setTimeout(function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPositionMob();},500);setTimeout(function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPositionMob();},1500);setTimeout(function(){if(FlixServices!=undefined&&typeof FlixServices.flixhotspot!='undefined')
FlixServices.flixhotspot.updateHotspotPositionMob();},2500);}},1);}},featpaginationMob:function(){var paginationLi='';FlixjQ('div[class*=feature_hotspot_tab]').hide();var FeatureCount=FlixjQ('.flixtabhtmlproduct_gallery div[class*=feature_hotspot_tab]').length;paginationLi+='<ul class="hotspot-pagination" role="tablist" aria-labelledby="flixhottablist-1"><li class="active" ><button type="button" role="button" aria-selected="true" aria-controls="flixhottabpanel-1" style="">1</button></li>';for(var i=2,max=FeatureCount;i<=max;i++){paginationLi+='<li><button type="button" role="button" tabindex="0" aria-selected="false" aria-controls="flixhottabpanel-'+i+'">'+i+'</button></li>';}
paginationLi+='</ul>';FlixjQ(paginationLi).appendTo('.paginav');if(FeatureCount<=1)
FlixjQ('.paginav').remove();FlixjQ('.feature_hotspot_tab_1').show();var video=FlixjQ('.feature_hotspot_tab_1').find('video');if(video.length){video.find('source').attr('src',video.find('source').attr('data-src'))
video[0].load();video[0].play();}
FlixjQ('.paginav button').click(function(e){FlixjQ('div[class*=feature_hotspot_tab]').hide();FlixjQ('.feature_hotspot_tab_'+FlixjQ(this).text()).show();FlixjQ('.share-bubblemob .active').removeClass('active')
FlixjQ(this).closest('li').addClass('active')
FlixjQ('.hotspot_featdiv').find('video').each(function(){this.pause()})
var video=FlixjQ('.feature_hotspot_tab_'+FlixjQ(this).text()).find('video')
if(video.length){if(!video.find('source').attr('src')){video.find('source').attr('src',video.find('source').attr('data-src'))
video[0].load();}
video[0].play();}});},flixBoxMob:function(pophtml,hotspotid){FlixjQ(".share-bubblemob").remove();var vid=0;if(hotspotid.search("video")!=-1||(typeof pophtml!='undefined'&&pophtml.includes("flix-jw"))){vid=1;}
var bubbletype=''
var customheader=''
var closebtnbtm='',devicetype=''
if(FlixServices.ismobile()=='true'||FlixServices.flixisMobile.iOS()!=null||FlixServices.flixisMobile.Android()!=null){bubbletype='flix_hotspotV2mobilebubble flix_hotspotV3mobilebubble'}
if(FlixServices.flixisMobile.iOS()!=null){devicetype='flix_hotspotios';}
if(FlixServices.flixisMobile.Android()!=null){devicetype='flix_hotspotandroid';}
var sharebubble='<div class="share-bubblemob '+bubbletype+' '+devicetype+'" role="dialog" aria-labelledby="dialog1hotspot"><div class="flix-mobilehead">'+customheader+'<button type="button" class="flix_close" tabindex="0" title="Close hotspot"></button><div class="flix-mobiletabs"></div></div><div class="flix-hotcontent"></div><button id="flix-hotscroll" type="button" aria-label="Scroll back to top"><div id="flix-hotscroll_div"></div><div id="flix-hotscrollimg_div"><img id="flix-hotscrollimg" src="//media.flixcar.com/modular/static/hotspot/standard/images/scrollarrow.svg"></div></button>'+closebtnbtm+'</div> ';FlixjQ("body").append(sharebubble);setTimeout(function(){FlixjQ('.flix_hotspotios .flix-mobilehead, .flix_hotspotios .flix-mobilefooter').show();},900);var tabshtml='';FlixjQ.each(FlixServices.flixhotspot.results.hotspots,function(index,hs){var tabname=FlixjQ(this)[0].tooltip_title;var tabhtml=FlixjQ(this)[0].html
var active=''
var activecontent=''
if(index==hotspotid){active='flix-activetab';activecontent='flix-activecontent';}
if(index!='comp_product_logo'&&index!='desktop_webar'){tabshtml+='<button type="button" class="flix-mobtab flix-tab'+index+' '+active+'" data-tabname='+index+'>'+tabname+'</div>'
FlixjQ('.flix-hotcontent').append('<div class="flix-tabhtml flixtabhtml'+index+' '+activecontent+'">'+tabhtml+'</div>')}});FlixjQ('.flix-mobiletabs').append(tabshtml)
var bubble=FlixjQ(".share-bubblemob");if(FlixServices!=undefined&&typeof FlixServices.modular_match_data!='undefined'&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobLeft($|\W)/)||FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobBelow($|\W)/))){FlixjQ(".share-bubblemob").addClass('flix_hotspotV3mobilebubbleleft')
bubble.css({left:-(document.body.clientWidth)});setTimeout(function(){bubble.css({left:0});},200)}
else if(FlixServices!=undefined&&typeof FlixServices.modular_match_data!='undefined'&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobRight($|\W)/)){FlixjQ(".share-bubblemob").addClass('flix_hotspotV3mobilebubbleright');bubble.css({right:-(document.body.clientWidth)});setTimeout(function(){bubble.css({right:0});},200)}
setTimeout(function(){FlixjQ(".share-bubblemob .flix_close").focus();},800);FlixServices.flixhotspot.featpaginationMob();setTimeout(function(){if(FlixjQ(".share-bubblemob input#flix-3dfwsrc").length)threedfw.init3dfw(FlixjQ(".share-bubblemob input#flix-3dfwsrc"));},500);if(typeof FlixjQ.fn.video!='undefined'&&typeof FlixjQ.fn.video.loadJWvideos!='undefined'){setTimeout(function(){if(FlixjQ('.share-bubblemob input').length>0)
FlixjQ.fn.video.loadJWvideos(0);},1000);}else if(typeof checkJWVideoType!='undefined'){checkJWVideoType()}else{if(ENV=='-alpha'){FlixServices.loadFlixJs('https://delivery-alpha.flix360.io/static/jwplayer/js/video.js');}else if(location.href.indexOf('flix-videov3')!==-1||sessionStorage.getItem('videov3')==='1'){FlixServices.loadFlixJs(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/static/jwplayer/js/videov3.js');}else{FlixServices.loadFlixJs(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/static/jwplayer/js/video.js');}}
FlixjQ('.flix-mobtab').off("click");FlixjQ('.flix-mobtab').on("click",function(e){FlixjQ(".share-bubblemob").scrollTop(0);var target=FlixjQ(this).attr('data-tabname')
FlixjQ('.flix-activetab').removeClass('flix-activetab')
FlixjQ(this).addClass('flix-activetab')
FlixjQ('.flix-activecontent').removeClass('flix-activecontent')
FlixjQ('.flixtabhtml'+target).addClass('flix-activecontent')
FlixjQ(".share-bubblemob .flix-videodiv").remove();setTimeout(function(){if(FlixjQ('.share-bubblemob input').length>0)
FlixjQ.fn.video.loadJWvideos(0);var resizeEvent=window.document.createEvent('UIEvents');resizeEvent.initUIEvent('resize',true,false,window,0);window.dispatchEvent(resizeEvent);},200);})
FlixjQ(document).off("click.hotdocument");FlixjQ(document).on("click.hotdocument",function(e){var container=FlixjQ(".share-bubblemob");if(FlixjQ(".share-bubblemob").length>0&&!container.is(e.target)&&container.has(e.target).length===0&&FlixjQ("[id*=lightbox]").length==0||e.target.classList.contains("flix_close")){closeHotspot(e)}});FlixjQ('.share-bubblemob').touchwipe({wipeLeft:function(){if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobLeft($|\W)/)||FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobBelow($|\W)/))){closeHotspot();}},wipeRight:function(){if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobRight($|\W)/)){closeHotspot();}},min_move_x:20});function closeHotspot(e){if(FlixjQ("#flix_desktop_webar").length&&FlixjQ(".share-bubblemob #flix_selector_3d").length){if(typeof flixtracking!="undefined")flixtracking.products.hotspotmob("qr_click","qr_close");}
FlixServices.flixhotspot.dwelltimer("stop","qr");var jwid=FlixjQ(".share-bubblemob .jwplayer").attr("id");if(jwid&&FlixjQ("#"+jwid).length>0){jwplayer(jwid).pause();jwplayer(jwid).remove();}
FlixjQ('.flix_hotspotios .flix-mobilehead, .flix-mobilefooter, #flix-hotscroll').hide();var bubble=FlixjQ(".share-bubblemob");if(FlixServices!=undefined&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobBottom($|\W)/)){bubble.css({bottom:-screen.height});}
else if(FlixServices!=undefined&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobLeft($|\W)/)||FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobBelow($|\W)/))){bubble.css({left:-(document.body.clientWidth)});}
else if(FlixServices!=undefined&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobRight($|\W)/)){bubble.css({right:-(document.body.clientWidth)});}
setTimeout(function(){FlixjQ(".share-bubblemob").html("").remove();},1000);setTimeout(function(){var jwid=FlixjQ(".share-bubblemob .jwplayer").attr("id");if(jwid&&FlixjQ("#"+jwid).length>0){jwplayer(jwid).pause();jwplayer(jwid).remove();}},2000);};setTimeout(function(){FlixjQ("#flix-hotscroll").on("click",function(){document.querySelector('#flix-hotscroll').style.display='none';FlixjQ(".share-bubblemob").animate({scrollTop:0},"slow");});var scrollDemo=document.querySelector('.share-bubblemob');var output=document.querySelector('.output');scrollDemo.addEventListener('scroll',function(){if(scrollDemo.scrollTop>30){document.querySelector('#flix-hotscroll').style.display='block'}else{document.querySelector('#flix-hotscroll').style.display='none'}},{passive:true});},1000)
if(FlixjQ(".ek-ios, .ek-android").length||FlixjQ(".flix-qrpopup").length)FlixServices.flixhotspot.dwelltimer("start","qr");},updateHotspotPositionMob:function(){var distributor=flixmain_distributor;if((FlixjQ('.flix_hotspotV3:not(".ek_hotspots") svg').length||FlixjQ('.flix_hotspotV3:not(".ek_hotspots") .ek-aricon').length)&&typeof FlixServices.flixhotspot.results!="undefined"&&typeof FlixServices.flixhotspot.results.settings!="undefined"){var flixhero=FlixjQ(FlixServices.modular_match_data[0].settings.distributor_settings.image_container)
if(FlixServices.ismobile()==true&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_image_container!=null&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_image_container!='')
flixhero=FlixjQ(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_image_container)
var flixheropos=flixhero.offset();if(flixhero.length>1&&(flixheropos.left==0||flixheropos.top==0)&&typeof flixhero[1]!="undefined"){var flixheropos=FlixjQ(flixhero[1]).offset();flixhero=FlixjQ(flixhero[1]);}
if(typeof flixheropos!="undefined"){var flixheroarray={top:flixheropos.top,left:flixheropos.left,width:flixhero.width(),height:flixhero.height()};if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&!FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobBelow($|\W)/))
FlixjQ('#flix_hotspotsmob').css({"top":flixheropos.top,"left":flixheropos.left});}else{if(typeof flixErrorLogged=='undefined'||typeof flixErrorLogged==undefined){window.flixErrorLogged=true;logflix("flixmedia : image_container not found")}
var flixheroarray={top:0,left:0,width:0,height:0};}
log3("flixheroarray",flixheroarray);if(typeof hotspotwebarstatic!="undefined"&&hotspotwebarstatic==true){flixheroarray.top=0;flixheroarray.left=0;}
var ii=0;FlixjQ(".flix_hsmob").each(function(index){log3(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment)
if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)LeftBottom($|\W)/)){var bottomy=flixheroarray.top+flixheroarray.height/100*90;if(ii==0)FlixjQ(this).css("top",bottomy-120).css("left",flixheroarray.left);if(ii==1)FlixjQ(this).css("top",bottomy-80).css("left",flixheroarray.left);if(ii==2)FlixjQ(this).css("top",bottomy-40).css("left",flixheroarray.left);if(ii==3)FlixjQ(this).css("top",bottomy).css("left",flixheroarray.left);}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)LeftTop($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*10;if(ii==0)FlixjQ(this).css("top",topy).css("left",flixheroarray.left);if(ii==1)FlixjQ(this).css("top",topy+40).css("left",flixheroarray.left);if(ii==2)FlixjQ(this).css("top",topy+80).css("left",flixheroarray.left);if(ii==3)FlixjQ(this).css("top",topy+120).css("left",flixheroarray.left);}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)LeftMiddle($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*50;if(ii==0)FlixjQ(this).css("top",topy-60).css("left",flixheroarray.left);if(ii==1)FlixjQ(this).css("top",topy-20).css("left",flixheroarray.left);if(ii==2)FlixjQ(this).css("top",topy+20).css("left",flixheroarray.left);if(ii==3)FlixjQ(this).css("top",topy+60).css("left",flixheroarray.left);}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)RightTop($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*10;if(ii==0)FlixjQ(this).css("top",topy).css("left",flixheroarray.left+flixheroarray.width);if(ii==1)FlixjQ(this).css("top",topy+40).css("left",flixheroarray.left+flixheroarray.width);if(ii==2)FlixjQ(this).css("top",topy+80).css("left",flixheroarray.left+flixheroarray.width);if(ii==3)FlixjQ(this).css("top",topy+120).css("left",flixheroarray.left+flixheroarray.width);}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)RightMiddle($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*50;if(ii==0)FlixjQ(this).css("top",topy-60).css("left",flixheroarray.left+flixheroarray.width);if(ii==1)FlixjQ(this).css("top",topy-20).css("left",flixheroarray.left+flixheroarray.width);if(ii==2)FlixjQ(this).css("top",topy+20).css("left",flixheroarray.left+flixheroarray.width);if(ii==3)FlixjQ(this).css("top",topy+60).css("left",flixheroarray.left+flixheroarray.width);}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)RightBottom($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*90;if(ii==0)FlixjQ(this).css("top",topy-60).css("left",flixheroarray.left+flixheroarray.width);if(ii==1)FlixjQ(this).css("top",topy-20).css("left",flixheroarray.left+flixheroarray.width);if(ii==2)FlixjQ(this).css("top",topy+20).css("left",flixheroarray.left+flixheroarray.width);if(ii==3)FlixjQ(this).css("top",topy+60).css("left",flixheroarray.left+flixheroarray.width);}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)CenterTop($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*5;var leftx=flixheroarray.left+flixheroarray.width/100*50;if(ii==0)FlixjQ(this).css("top",topy).css("left",leftx-20);if(ii==1)FlixjQ(this).css("top",topy).css("left",leftx+20);if(ii==2)FlixjQ(this).css("top",topy).css("left",leftx-60);if(ii==3)FlixjQ(this).css("top",topy).css("left",leftx+60);}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)leftTopHorizontal($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*5;var leftx=flixheroarray.left+flixheroarray.width/100*25;if(ii==0)FlixjQ(this).css("top",topy).css("left",leftx-20);if(ii==1)FlixjQ(this).css("top",topy).css("left",leftx+20);if(ii==2)FlixjQ(this).css("top",topy).css("left",leftx-60);if(ii==3)FlixjQ(this).css("top",topy).css("left",leftx+60);}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)RightTopHorizontal($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*5;var leftx=flixheroarray.left+flixheroarray.width/100*90;if(ii==0)FlixjQ(this).css("top",topy).css("left",leftx-20);if(ii==1)FlixjQ(this).css("top",topy).css("left",leftx+20);if(ii==2)FlixjQ(this).css("top",topy).css("left",leftx-60);if(ii==3)FlixjQ(this).css("top",topy).css("left",leftx+60);}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)leftBottomHorizontal($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*95;var leftx=flixheroarray.left+flixheroarray.width/100*5;if(ii==0)FlixjQ(this).css("top",topy).css("left",leftx);if(ii==1)FlixjQ(this).css("top",topy).css("left",leftx+40);if(ii==2)FlixjQ(this).css("top",topy).css("left",leftx+80);if(ii==3)FlixjQ(this).css("top",topy).css("left",leftx+120);}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)CenterBottom($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*95;var leftx=flixheroarray.left+flixheroarray.width/100*50;if(ii==0)FlixjQ(this).css("top",topy).css("left",leftx-20);if(ii==1)FlixjQ(this).css("top",topy).css("left",leftx+20);if(ii==2)FlixjQ(this).css("top",topy).css("left",leftx-60);if(ii==3)FlixjQ(this).css("top",topy).css("left",leftx+60);}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)BottomLeft($|\W)/)){var topy=flixheroarray.top+flixheroarray.height/100*95;var leftx=flixheroarray.left;if(ii==0)FlixjQ(this).css("top",topy).css("left",leftx);if(ii==1)FlixjQ(this).css("top",topy).css("left",leftx+40);if(ii==2)FlixjQ(this).css("top",topy).css("left",leftx+80);if(ii==3)FlixjQ(this).css("top",topy).css("left",leftx+120);}else{if(ii==0)FlixjQ(this).css("top",flixheroarray.top+flixheroarray.height/100*50).css("left",flixheroarray.left+flixheroarray.width/100*35);if(ii==1)FlixjQ(this).css("top",flixheroarray.top+flixheroarray.height/100*50).css("left",flixheroarray.left+flixheroarray.width/100*65);if(ii==2)FlixjQ(this).css("top",flixheroarray.top+flixheroarray.height/100*35).css("left",flixheroarray.left+flixheroarray.width/100*50);if(ii==3)FlixjQ(this).css("top",flixheroarray.top+flixheroarray.height/100*65).css("left",flixheroarray.left+flixheroarray.width/100*50);}
if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobBelow($|\W)/)){FlixjQ('#flix_hotspotsmob').addClass('flix_hotspotV3mobilebelow').css("top",topy)}
else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobBottom($|\W)/)){var topy=screen.height;FlixjQ('#flix_hotspotsmob').addClass('flix_hotspotV3mobilebottom').css("top",topy)}
else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobLeft($|\W)/)){var topy=screen.height/100*50;if(window.orientation==90&&FlixServices.flixisMobile.iOS()!=null&&typeof navigator.userAgentData=='undefined'){topy=screen.width/100*50-20;}
FlixjQ('#flix_hotspotsmob').addClass('flix_hotspotV3mobileleft').css("top",topy-(FlixjQ('#flix_hotspotsmob').height()/2));}
else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobRight($|\W)/)){var topy=screen.height/100*50;if(window.orientation==90&&FlixServices.flixisMobile.iOS()!=null&&typeof navigator.userAgentData=='undefined'){topy=screen.width/100*50-20;}
FlixjQ('#flix_hotspotsmob').addClass('flix_hotspotV3mobileright').css("top",topy-(FlixjQ('#flix_hotspotsmob').height()/2));}
ii++;});if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.search("MobLeftBottom")!=-1){var webarpostop=flixheroarray.top+flixheroarray.height/100*90;var webarposleft=flixheroarray.left+flixheroarray.width/100*1;}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.search("MobRightTop")!=-1){var webarpostop=flixheroarray.top+flixheroarray.height/100*1;var webarposleft=flixheroarray.left+flixheroarray.width-60;}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.search("MobBottomMiddle")!=-1){var webarpostop=flixheroarray.top+flixheroarray.height/100*90;var webarposleft=flixheroarray.left+flixheroarray.width/100*40;}else{var webarpostop=flixheroarray.top+flixheroarray.height/100*1;var webarposleft=flixheroarray.left+flixheroarray.width/100*1;}
if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.search("MobAlignBottomHS")!=-1){if(ii>0){var largestLeft=0,largestTop=0;FlixjQ(".flix_hsmob").each(function(index){var tempLeft=parseInt(FlixjQ(this).css("left").replace("px",""));var temTop=parseInt(FlixjQ(this).css("top").replace("px",""));if(largestLeft<tempLeft){largestLeft=tempLeft;largestTop=temTop;}});var webarpostop=flixheroarray.top+flixheroarray.height/100*90;var webarposleft=largestLeft+20;}}
FlixjQ(".ek-aricon").css("top",webarpostop).css("left",webarposleft);if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.search("ARLeftBottom")!=-1){var webarpostop=flixheroarray.top+flixheroarray.height/100*90;var webarposleft=flixheroarray.left+flixheroarray.width/100*1;}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.search("ARRightTop")!=-1){var webarpostop=flixheroarray.top+flixheroarray.height/100*1;var webarposleft=flixheroarray.left+flixheroarray.width-60;}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.search("ARRightBottom")!=-1){var webarpostop=flixheroarray.top+flixheroarray.height/100*90;var webarposleft=flixheroarray.left+flixheroarray.width-60;}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.search("ARBottomMiddle")!=-1){var webarpostop=flixheroarray.top+flixheroarray.height/100*90;var arwidth=FlixjQ(".ek-aricon").width()||0;var webarposleft=flixheroarray.left+flixheroarray.width/100*50-arwidth/2;}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.search("ARLeftMiddle")!=-1){var webarpostop=flixheroarray.top+flixheroarray.height/100*50;var webarposleft=flixheroarray.left+flixheroarray.width/100*1;}else if(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.search("ARAlignBottomHS")!=-1){var largestLeft=0,largestTop=0;FlixjQ(".flix_hsmob").each(function(index){var tempLeft=parseInt(FlixjQ(this).css("left").replace("px",""));var temTop=parseInt(FlixjQ(this).css("top").replace("px",""));if(largestLeft<tempLeft){largestLeft=tempLeft;largestTop=temTop;}});var webarpostop=flixheroarray.top+flixheroarray.height/100*90;var webarposleft=largestLeft+20;}else{var webarpostop=flixheroarray.top+flixheroarray.height/100*1;var webarposleft=flixheroarray.left+flixheroarray.width/100*1;}
if(typeof FlixServices.flixhotspot.results.hotspots.desktop_webar!="undefined"&&FlixServices.flixhotspot.results.settings[0].desktop_webar=="1"&&FlixjQ("#flix_desktop_webar").length==0){FlixjQ(".ek-aricon").css("top",webarpostop).css("left",webarposleft);}
FlixjQ("#flix_desktop_webar").css("top",webarpostop).css("left",webarposleft);}
if(FlixServices.flixhotspot.results&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment&&FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)Single($|\W)/)){var htop=FlixjQ(".flix_hsmob:eq(0)").css("top").replace("px","")-40+"px";FlixjQ(".flix_hsmob-single").css("left",FlixjQ(".flix_hsmob:eq(0)").css("left")).css("top",htop);}},pageData:function(data){var
pData={},s,df,i,p,get='',skip;window.flixJsCallbacks.pageCapture=window.flixJsCallbacks.pageCapture||{};data.pagedata=window.flixJsCallbacks.pageGeneric||{};try{PAGEDATALOOP:for(p in data.pagedata){if(data.pagedata.hasOwnProperty(p)){switch(p){case'pageSpecific':continue PAGEDATALOOP;break;case'pn':if(!!window.flixJsCallbacks.pageCapture[p]){pData[p]=window.flixJsCallbacks.pageCapture[p];}else{pData[p]=FlixServices.flixhotspot.getCanonical(data.pagedata);window.flixJsCallbacks.pageCapture[p]=pData[p];}
break;case'br':default:if(!!window.flixJsCallbacks.pageCapture[p]){pData[p]=window.flixJsCallbacks.pageCapture[p];}else{pData[p]=FlixServices.flixhotspot.parsePage(data.pagedata,p);window.flixJsCallbacks.pageCapture[p]=pData[p];}
break;}}}
df=['mpn','ean','sku','price','brand'];skip=['price','brand'];for(i=0;i<df.length;i++){if(document.querySelector('script[data-flix-'+df[i]+']')&&!!document.querySelector('script[data-flix-'+df[i]+']').getAttribute('data-flix-'+df[i])){pData[df[i]]=document.querySelector('script[data-flix-'+df[i]+']').getAttribute('data-flix-'+df[i]);if(skip.indexOf(df[i])<0){window.flixJsCallbacks.pageCapture[df[i]]=pData[df[i]];}else{if(!!data.pagedata&&!!data.pagedata.pageSpecific&&!data.pagedata.pageSpecific.price){if(df[i]==='price'&&FlixServices.flixhotspot.parsePrice(pData[df[i]])){pData[df[i]]=FlixServices.flixhotspot.parsePrice(pData[df[i]]);window.flixJsCallbacks.pageCapture[df[i]]=pData[df[i]];}}
if(!!data.pagedata&&!!data.pagedata.pageSpecific&&!data.pagedata.pageSpecific.br){if(df[i]==='brand'){pData['br']=pData[df[i]];window.flixJsCallbacks.pageCapture['br']=pData[df[i]];delete pData['brand'];delete window.flixJsCallbacks.pageCapture['brand'];}}}}}}
catch(ignore){}
for(var key in pData){get+="&"+key+'='+encodeURIComponent(pData[key]);}
return get;}},flixgeneric:function(){if(typeof FlixjQ!='undefined'&&typeof FlixjQ.fn!='undefined'&&typeof FlixjQ.fn.live!='undefined'&&typeof FlixjQ.fn.on=='undefined')
FlixjQ.fn.on=FlixjQ.fn.live;var keycodecheckcc=0
function keycodecheck(){if(FlixjQ('#inpage_container').length){setTimeout(function(){FlixjQ('.flixkeycode').each(function(i){FlixjQ(this).attr('role','button').attr('tabindex',0);});FlixjQ(document).bind('keydown','.flixkeycode',function(event){if(event.keyCode==13){if(event.target.classList.contains('flixkeycode'))
event.target.click();};if(event.keyCode==32){if(event.target.classList.contains('flixkeycode'))
event.target.click();}});FlixjQ('#inpage_container [tabindex="0"],#btn_close,.inpage_cap_next_photo,.inpage_cap_prev_photo').bind('click',function(V){V.preventDefault();var CurrentIndex=FlixjQ(this);CurrentIndex.closest('#inpage_container,.minisite_block').find('[tabindex="0"]:not(CurrentIndex)').not(this).removeClass('flix-focus');CurrentIndex.addClass('flix-focus');});FlixjQ('.inpage_selector_3d iframe').each(function(){if(!FlixjQ(this).attr('title'))
FlixjQ(this).attr('title','Flixmedia 3d');});setTimeout(function(){FlixjQ('#inpage_container .inpage_product_assets .inpage_block ul li:not(.flix-visible-item) a,#inpage_cap_wrapper .inpage_cap_zoom-images ul.inpage_block_inner li:not(.flix-visible-item) a').attr('tabindex',-1);},1500);},1000);}else if(keycodecheckcc<20){keycodecheckcc++
setTimeout(function(){if(typeof FlixjQ!='undefined')
keycodecheck();},500)}
FlixjQ('.flix-label-review-cell-full, .inpage_selector_reviews [data-href], .flix-reviews-ms-standard [data-href]').each(function(i){FlixjQ(this).attr('role','button').attr('tabindex',0).addClass('flixkeycode');});FlixjQ('[class*=_rating-toptext]').attr('aria-label','Reviews count');FlixjQ('.flix-reviews-ms-standard nav [data-href="#prev"]').attr('aria-label','Show previous reviews');FlixjQ('.flix-reviews-ms-standard nav [data-href="#next"]').attr('aria-label','Show next reviews');FlixjQ('.inpage_reviews_title, .inpage_title_reviews .flix-d-h2').attr('aria-level','3').attr('role','heading');FlixjQ('.fl1x-eyebrow, .flix-d-h4').attr('aria-level','4').attr('role','heading');}
keycodecheck();window.flixModalFocus=function(modalwindow,modalbutton){var flixModalCheck=function(e){const focusableElements='button, iframe, a[href], input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])';const modal=document.querySelector(modalwindow);if(modal!=null){const firstFocusableElement=modal.querySelectorAll(focusableElements)[0];const focusableContent=modal.querySelectorAll(focusableElements);const lastFocusableElement=focusableContent[focusableContent.length-1];let isTabPressed=e.key==='Tab'||e.keyCode===9;if(!isTabPressed||e.type=='click'){if(e.keyCode===13||e.keyCode===32||e.keyCode==27||e.type=='click'){setTimeout(function(){if(!document.querySelector(modalwindow)&&document.querySelector(modalwindow)==null){modalbutton.focus();modalbutton.classList.remove("flixmodalbutton");document.removeEventListener('keydown',flixModalCheck);document.removeEventListener('click',flixModalCheck);}},100);}
return;}
if(e.shiftKey){if(document.activeElement===firstFocusableElement){lastFocusableElement.focus();e.preventDefault();}}else{if(document.activeElement===lastFocusableElement){document.activeElement.focus()
firstFocusableElement.focus();e.preventDefault();}}}else{modalbutton.classList.remove("flixmodalbutton");document.removeEventListener('keydown',flixModalCheck);document.removeEventListener('click',flixModalCheck);}}
document.addEventListener('keydown',flixModalCheck);document.addEventListener('click',flixModalCheck);modalbutton.classList.add("flixmodalbutton");}
function privacypolicyCheck(){if(typeof FlixjQ!='undefined'){if(FlixjQ('.flix-privacy-policy-link').length){FlixjQ('.flix-privacy-policy-link').attr('role','button').attr('tabindex',0).attr('aria-expanded',false);FlixjQ('.flix-privacy-policy-link').live('click',function(f){FlixjQ(this).attr('aria-expanded',function(_,attr){return!(attr=='true')})})}else{setTimeout(function(){privacypolicyCheck();},500)}}}
setTimeout(function(){privacypolicyCheck();},500)},appendGeneric:function(){if(!String.prototype.trim){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,'');};}
if(!Array.prototype.forEach){Array.prototype.forEach=function(fn,scope){'use strict';var i,len;for(i=0,len=this.length;i<len;++i){if(i in this){fn.call(scope,this[i],i,this);}}};}
window.flixJsCallbacks=window.flixJsCallbacks||{};window.flixJsCallbacks.flixCartClick=function(identifier,dist_id,language,ab_hotspot_data){var
data={},flixLogging,parsePage,crypt;try{if(identifier==='skip'||identifier==='alert')return false;parsePage=function(){var
canonicalCheck,s,found='',h,title='',i,j,terms=[],attr=['content','href'];if(!!document.getElementsByTagName('title')){title=document.getElementsByTagName('title')[0].textContent.trim();}
for(i=0;i<terms.length;i++){h=document.querySelector(terms[i]);if(h&&!!h.textContent.trim()){break;}
else if(h&&h instanceof HTMLElement){for(j=0;j<attr.length;j++){if(h.hasAttribute(attr[j])){found+=h.getAttribute(attr[j]);break;}}}}
if(!found&&h&&h instanceof HTMLElement){found=h.textContent.trim();}
canonicalCheck=window.location.protocol+'//'+window.location.hostname+'/';if(!found||found===canonicalCheck||found.length+1<=canonicalCheck.length){found=document.URL;}
s=found.indexOf('#');if(s!==-1){found=found.substring(0,s);}
return{title:encodeURIComponent(title),pn:encodeURIComponent(found)};};crypt={a:function(inp){var r="";var c1,c2,c3,e1,e2,e3,e4;var i=0;inp=this.b(inp);while(i<inp.length){c1=inp.charCodeAt(i++);c2=inp.charCodeAt(i++);c3=inp.charCodeAt(i++);e1=c1>>2;e2=(c1&3)<<4|c2>>4;e3=(c2&15)<<2|c3>>6;e4=c3&63;if(isNaN(c2)){e3=e4=64}else if(isNaN(c3)){e4=64}r+=this.c(this.d[e1])+this.c(this.d[e2])+this.c(this.d[e3])+this.c(this.d[e4])}return r},c:function(k){return String.fromCharCode(k)},d:function(){var r=[];var q={45:1,48:57,61:1,65:90,95:1,97:122};for(var i in q){if(q[i]==1){r.push(i)}else{for(var z=i;z<=q[i];z++)r.push(z)}}return r}(),b:function(s){s=s.replace(/\r\n/g,"\n");var r="";for(var n=0,l=s.length;n<l;n++){var c=s.charCodeAt(n);if(c<128){r+=this.c(c)}else if(c>127&&c<2048){r+=this.c(c>>6|192);r+=this.c(c&63|128)}else{r+=this.c(c>>12|224);r+=this.c(c>>6&63|128);r+=this.c(c&63|128)}}return r}};var process=function(str){var
permitted={'m':'','p':'','d':'','l':'','et':'','ed':'d','sid':'','vtime':'','gvid':'','ut':'','br':'d','price':'','ref':'d','currency':'','pn':'d','h1':'d','ti':'d','img':'d','r1cat':'d','om':'d','mpn':'d','ean':'','sku':'d'},s1=str.split('?'),s2=s1[1]?s1[1].split('&'):"",o1={},get,m,url="",u=[],p=[],s=[],e=null;for(var i=0,l=s2.length;i<l;i++){var init=s2[i].split('=');if(permitted.hasOwnProperty(init[0])){o1[init[0]]=(permitted[init[0]]==='d')?decodeURIComponent(decodeURIComponent(init[1])):init[1];}}
url+=s1[0]+'?'+crypt.a(JSON.stringify(o1));return url;};_getCookieName=function(data,cookie_type){if(!cookie_type)cookie_type='inpsession';var product=data.product>0?data.product:data.product_id;var distributor=data.d>0?data.d:data.distributor_id;if(product>0)
{return cookie_type+"_"+distributor+"_"+data.l;}else if(data.legacy!=''){return cookie_type+"_"+distributor+"_"+data.l;}else if(data.mpn!=""){return cookie_type+"_"+distributor+"_"+data.l;}else if(data.ean!=""){return cookie_type+"_"+distributor+"_"+data.l;}else if(data.sku!=""){return cookie_type+"_"+distributor+"_"+data.l;}};_getCookie=function(name){var cookieArr=document.cookie.split(";");for(var i=0;i<cookieArr.length;i++){var cookiePair=cookieArr[i].split("=");if(name==cookiePair[0].trim()){return decodeURIComponent(cookiePair[1]);}}
return null;};flixLogging=function(e,ab_hotspot_data){var
d=new Date(),_base='//media.flixcar.com/inpage/log.gif',encrypt=[],_beatUrl=encrypt.indexOf(+dist_id)!==-1?'//rt.flix360.com/enc/beat':'//rt.flix360.com/beat',_beatNotActive=window.beat_disabled_retailers||[],_beatByLanguage=[],beat,fallback,processed=null,once_only=[353,1544,2754,607],userAgents=['symbian','android','ios'],key,flixTag,i,url,flixSource=null,indx=-1;data.d=dist_id||'';data.l=language||'';data.view_time=0;var gcookie=_getCookieName(data,'inpsession');var guid=_getCookie(gcookie)||'';if(typeof FlixjQ!='undefined'&&typeof FlixjQ.Guid!='undefined')
guid=FlixjQ.Guid.Value()
data.session_id=guid;data.gvid=(window.flixJsCallbacks&&window.flixJsCallbacks.gvid)?window.flixJsCallbacks.gvid:'';data.pid=(window.flixJsCallbacks&&window.flixJsCallbacks.pid)?window.flixJsCallbacks.pid:0;var productid=data.comppid||data.pid
url=_base+"?m=y&et="+data.event_type;url+="&sid="+data.session_id;url+="&gvid="+data.gvid;url+="&p="+productid;url+="&d="+data.d;url+="&l="+data.l;url+="&ed="+encodeURIComponent(data.event_detail);url+="&ut="+d.getTime();flixTag=['mpn','ean','sku'];for(i=0;i<flixTag.length;i++){if(document.querySelector('script[data-flix-'+flixTag[i]+']')&&document.querySelector('script[data-flix-'+flixTag[i]+']').getAttribute('data-flix-'+flixTag[i])){url+="&"+flixTag[i]+"="+document.querySelector('script[data-flix-'+flixTag[i]+']').getAttribute('data-flix-'+flixTag[i]);}}
indx=window.location.search.indexOf('flxsrc=');if(indx!==-1)
{flixSource=window.location.search.substring(indx);}
if(window.flixJsCallbacks&&window.flixJsCallbacks.pageCapture){for(key in window.flixJsCallbacks.pageCapture){if(window.flixJsCallbacks.pageCapture.hasOwnProperty(key)){if(key=='pn'&&flixSource)window.flixJsCallbacks.pageCapture[key]+=(window.flixJsCallbacks.pageCapture[key].indexOf('?')!==-1?"&":"?")+flixSource;url+="&"+key+'='+encodeURIComponent(window.flixJsCallbacks.pageCapture[key]);}}}
else{fallback=parsePage();url+="&ti="+fallback.title;if(flixSource){var decoded=decodeURIComponent(fallback.pn);fallback.pn=encodeURIComponent(decoded+(decoded.indexOf('?')!==-1?"&":"?")+flixSource);}
url+="&pn="+fallback.pn;}
if(typeof window.flixJsCallbacks==='undefined'&&typeof window.flixJsCallbacks.imgCache==='undefined'){window.flixJsCallbacks.imgCache={};}
var track='img_'+(new Date).getTime();if(data.d&&(encrypt.indexOf(+data.d)!==-1)&&data.event_type==='cart_click'){url=process(url);}
if(typeof(ab_hotspot_data)!="undefined"){if(ab_hotspot_data!=null){var ab_visitor_id=ab_hotspot_data.visitor_id;var ab_version=ab_hotspot_data.version
var ab_groups=ab_hotspot_data.groups
url+="&visitor_id="+ab_visitor_id+"&version="+ab_version+"&groups="+ab_groups;}}
if(_beatNotActive.indexOf(+data.d)<0&&data.event_type==='cart_click'){setTimeout(function(){beat='img_'+(new Date()).getTime();},0);if(window.flixJsCallbacks['ab_'+data.d]!=null&&window.flixJsCallbacks['ab_'+data.d].inpage!=null){setTimeout(function(){beat='img_'+(new Date()).getTime();},0);var _beatUrl2=_beatUrl
_beatUrl2='//rt.flix360.io/beat'
if(_base.search('dev')!=-1)
_beatUrl2='//alpha-rt.flix360.io/beat'
var ab_version=window.flixJsCallbacks['ab_'+data.d].version||'';var target=window.flixJsCallbacks['ab_'+data.d].target||'';var ab_visitor_id=window.flixJsCallbacks['ab_'+data.d].visitor_id||'';var ab_groups=window.flixJsCallbacks['ab_'+data.d].groups||'';var ab_id=window.flixJsCallbacks['ab_'+data.d].ab_id||'';var device=window.flixJsCallbacks['ab_'+data.d].device||'';url=url+"&version="+ab_version+"&target="+target+"&visitor_id="+ab_visitor_id+"&groups="+ab_groups+"&ab_id="+ab_id+"&device="+device;}}
if(typeof flixtracking!='undefined')
flixtracking.products.addtocart(e,ab_hotspot_data);if(!data.comppid){if(FlixServices!=undefined&&typeof FlixServices.inpagedata!='undefined'){for(const key of Object.keys(FlixServices.inpagedata)){var insize=Object.keys(FlixServices.inpagedata);if(insize.length&&insize.length>1){var pid=FlixServices.inpagedata[key].product_id
if(pid.search(data.pid)==-1&&url.search(pid)==-1){data.comppid=pid;flixLogging(e,ab_hotspot_data);}}}}else{var inpagedata=document.querySelectorAll('[id^="inpage-data-"], [class^="mobile-data-"]');if(inpagedata.length&&inpagedata.length>1){for(var i=0;i<inpagedata.length;i++){if(inpagedata[i].id)
var pid=inpagedata[i].id;if(inpagedata[i].className)
var pid=inpagedata[i].className;var pid2=pid.replace('inpage-data-','').replace('mobile-data-','');if(pid.search(data.pid)==-1&&url.search(pid)==-1){data.comppid=pid2;flixLogging(e,ab_hotspot_data);}}}}
if(window.flixJsCallbacks.compid&&!window.flixJsCallbacks.compidcc){window.flixJsCallbacks.compidcc=1;for(var i=0;i<window.flixJsCallbacks.compid.length;i++){data.comppid=window.flixJsCallbacks.compid[i];flixLogging(e,ab_hotspot_data);}}}
if(once_only.indexOf(data.d)>=0){if(e.target&&e.target!=null)
e.target.onmousedown=function(){};}};if(identifier!=='alert'){var NodeList=document.querySelectorAll(identifier);var ArrayList=Array.prototype.slice.call(NodeList,0);}
if(identifier==='alert'||!ArrayList.length){data.event_type="alert";data.event_detail='a2cX';var ticks=10;;(function nTicks(){if(window.flixJsCallbacks.gvid==='undefined'&&ticks){setTimeout(function(){ticks--;nTicks();},100);}
else{flixLogging(data);}}());}
else{for(var n=0,l=ArrayList.length;n<l;n++){ArrayList[n].onmousedown=function(e){e=e||window.event;data.event_type="cart_click";data.event_detail=1;flixLogging(data,ab_hotspot_data);try{if(typeof FlixjQ.fn.ek!='undefined'&&typeof foundpapmatch!='undefined'&&foundpapmatch===1){ekopts.event_type="cart_click";ekopts.event_detail=1;FlixjQ.fn.ek.log(ekopts);}}catch(ignore){}};}}}catch(ignore){}};},pagedataGeneric:function(){;window.flixJsCallbacks.pageGeneric={br:{terms:['.fpLinkBrandProducts[title]','[itemprop="brand"]','[itemprop="brand"][content]','[data-brand]','.specification','[brandname]','[itemprop="manufacturer"]','.brand','#productBrandName[value]'],attr:['title','content','data-brand','brandname','value']},price:{terms:['[property="og:price:amount"][content]','[itemprop="price"]','[itemprop="generic"]','[itemprop="price"][content]','.finalprice','.price-current-label','.fpPriceBig','.prijs','.price','.pdp-price-total','.pounds','.pricelarge','[data-price]'],attr:['content']},ref:function(){return document.referrer||'';},currency:{terms:['[property="og:price:currency"][content]','[itemprop="priceCurrency"][content]','.currency[title]','.value-title[title]','.currency'],attr:['content','title']},pn:{terms:[],attr:['content','href']},h1:{terms:['h1']},ti:{terms:['title']},img:{terms:['[property="og:image"]'],attr:['content']},'r1.cat':'',om:{}};},flixCheckARcompatibility:function(uastring){log3('flixCheckARcompatibility')
if(uastring)
flixarparser.setUA(uastring);var browser=flixarparser.getBrowser();var engine=flixarparser.getEngine();var os=flixarparser.getOS();var device=flixarparser.getDevice();var osver=os.version.split('.');var osversion=osver[0]*1;if(navigator.userAgent.match(/Intel Mac OS X/i)){log3('ios 13 overwrite')
os.name='iOS';osversion=13;}
function isiPhoneWithiOS16OrHigher(){const userAgent=navigator.userAgent;return/iPhone(?:.*OS)?\s*(16|17|18)_\d/i.test(userAgent);}
if(isiPhoneWithiOS16OrHigher()){log4('User is using an iPhone with iOS 16 or higher');return true;}
if(location.href.search('flix-ar=1')!=-1){log3('Force AR')
return true;}
else if(os.name.search('Android')!=-1&&osversion<7){log3('Android <7')
return false;}else if(os.name.search('Android')!=-1&&osversion>=9){log3('Android >9')
return true;}else if(os.name.search('iOS')!=-1&&osversion<11){log3('iOS<11')
return false;}else if(os.name.search('iOS')!=-1&&osversion>=11){log3('iPhone')
var canvas=document.createElement("canvas");if(canvas){var context=canvas.getContext("webgl")||canvas.getContext("experimental-webgl");if(context){var info=context.getExtension("WEBGL_debug_renderer_info");if(info){var renderer=context.getParameter(info.UNMASKED_RENDERER_WEBGL);}}}
log3(window.screen.height+"__"+window.screen.width+"__"+window.devicePixelRatio+"__"+renderer)
var ratio=window.devicePixelRatio;if(window.screen.height/window.screen.width==896/414){log3('iPhone XR, iPhone XS Max, iphone 11 , iphone 11 pro max')
switch(ratio){default:return true;case 2:return true;case 3:return true;}}
else if((window.screen.height/window.screen.width==812/375)&&(window.devicePixelRatio==3)){log3('iPhone X')
return true;}
else if((window.screen.height/window.screen.width==896/414)&&(window.devicePixelRatio==3)){log3('iPhone Xs max, iphone 11 , iphone 11 pro max')
return true;}else if((window.screen.height/window.screen.width==812/375)&&(window.devicePixelRatio==3)){log3('iphone 11 pro')
return true;}else if((window.screen.height/window.screen.width==736/414)&&(window.devicePixelRatio==3)){log3('iPhone 6+/6s+/7+ and 8+')
switch(renderer){default:return true;case"Apple A8 GPU":return false;case"Apple A9 GPU":return true;case"Apple A10 GPU":return true;case"Apple A11 GPU":return true;case"Apple A12 GPU":return true;}}else if((window.screen.height/window.screen.width==667/375)&&(window.devicePixelRatio==3)){log3('iPhone 6+/6s+/7+ and 8+ in zoom mode')
switch(renderer){default:return true;case"Apple A8 GPU":return false;case"Apple A9 GPU":return true;case"Apple A10 GPU":return true;case"Apple A11 GPU":return true;case"Apple A12 GPU":return true;}}else if((window.screen.height/window.screen.width==667/375)&&(window.devicePixelRatio==2)){log3('iPhone 6/6s/7 and 8')
switch(renderer){default:return true;case"Apple A8 GPU":return false;case"Apple A9 GPU":return true;case"Apple A10 GPU":return true;case"Apple A11 GPU":return true;case"Apple A12 GPU":return true;}}else if((window.screen.height/window.screen.width==1.775)&&(window.devicePixelRatio==2)){log3('iPhone 5/5C/5s/SE or 6/6s/7 and 8 in zoom mode')
switch(renderer){default:return true;case"PowerVR SGX 543":return false;case"Apple A7 GPU":return false;case"Apple A8 GPU":return false;case"Apple A9 GPU":return true;case"Apple A10 GPU":return true;case"Apple A11 GPU":return true;case"Apple A12 GPU":return true;}}else if((window.screen.height/window.screen.width==1.5)&&(window.devicePixelRatio==2)){log3('iPhone 4/4s')
return false;}else if((window.screen.height/window.screen.width==1.5)&&(window.devicePixelRatio==1)){log3('iPhone 1/3G/3GS')
return false;}else if(window.screen.height/window.screen.width==1024/768){if(window.devicePixelRatio==1){log3('iPad, iPad 2, iPad Mini')
return false;}else{log3('iPad 3, 4, 5, Mini 2, Mini 3, Mini 4, Air, Air 2-----')
if(renderer.indexOf('PowerVR SGX 543')!=-1){log3(renderer)
return false;}else if(renderer.indexOf('PowerVR SGX 554')!=-1){log3(renderer)
return false;}else if(renderer.indexOf('Apple A7 GPU')!=-1){log3(renderer)
return false;}else if(renderer.indexOf('Apple A8X GPU')!=-1){log3(renderer)
return false;}else if(renderer.indexOf('Apple A8 GPU')!=-1){log3(renderer)
return false;}else if(renderer.indexOf('Apple A9 GPU')!=-1){log3(renderer)
return true;}else if(renderer.indexOf('Apple A9X GPU')!=-1){log3(renderer)
return true;}else if(renderer.indexOf('Apple A10 GPU')!=-1){log3(renderer)
return true;}else{return true;}}}else if(window.screen.height/window.screen.width==1112/834){log3('iPad Pro 10.5')
return true;}else if(window.screen.height/window.screen.width==1366/1024){log3('iPad Pro 12.9, Pro 12.9 (2nd Gen)')
return true;}else if(window.screen.height/window.screen.width==1194/834){log3('iPad Pro 11 2018')
return true;}else if(window.screen.height/window.screen.width==844/390){log3('iPhone 12/iPhone 12 Pro');return true;}else if(window.screen.height/window.screen.width==780/360){log3('iPhone 12 Mini');return true;}else if(window.screen.height/window.screen.width==926/428){log3('iPhone 12 Pro Max');return true;}else{log3('iPhone/iPad old model  ')
return false;}}else if(os.name.search('iOS')==-1&&os.name.search('Android')==-1){log3('Not iOS or Android')
return false;}else{log3('Other no brand');if(device.vendor=='LGM')
device.vendor='LG'
if(location.href.search('flix-2qa')!=-1){log3(device.vendor+"__"+device.model+"__"+osversion);}
var found=0;if(typeof device.vendor=='undefined'){var useragent=navigator.userAgent.split(';')
if(location.href.search('flix-2qa')!=-1){log3(useragent);}
var model=useragent[2].split(' Build')
if(location.href.search('flix-2qa')!=-1){log3(model[0]);}
FlixjQ.each(flixAllowedModel.brand,function(index,element){FlixjQ.each(element,function(index2,element2){if(model[0].toLowerCase().indexOf(index2.toLowerCase())!=-1){if(location.href.search('flix-2qa')!=-1){log3('Model in list'+index2)}
found=1
return true;}});});}else{log3('Other - check mobile clist: ',device.model)
var isittrue=false
FlixjQ.each(flixAllowedModel.brand[device.vendor],function(index,element){if(location.href.search('flix-2qa')!=-1){log3(osversion+"__"+element)
log3(device.model.toLowerCase()+"__"+index.toLowerCase())}
if(device.model.toLowerCase().search(index.toLowerCase())!=-1){if(location.href.search('flix-2qa')!=-1){log3('Model in list'+index)}
if(osversion>=element){if(location.href.search('flix-2qa')!=-1){log3('Phone is AR compatible')}
found=1
isittrue=true;return true;}else{if(location.href.search('flix-2qa')!=-1){log3('Low OS: '+element+' < '+osversion)}
isittrue=false;return false;}}});if(isittrue==true){log3('Other - isittrue')
return true;}else{log3('Other - No match')
return false;}}
if(found==0){log3('No phone model')
return false;}}},flixisMobile:{Android:function(){return navigator.userAgent.match(/Android/i);},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i);},iOS:function(){return navigator.userAgent.includes("iPhone")||navigator.userAgent.includes("iPad")||navigator.userAgent.includes("iPod")||(navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1);},Opera:function(){return navigator.userAgent.match(/Opera Mini/i);},Windows:function(){return navigator.userAgent.match(/IEMobile/i);},any:function(){return(flixisMobile.Android()||flixisMobile.BlackBerry()||flixisMobile.iOS()||flixisMobile.Opera()||flixisMobile.Windows());}},flixGetURL:function(){var pnurl='';if(window.parent){pnurl=(window.location!=window.parent.location)?document.referrer:top.document.URL;}else{pnurl=document.location.href;}
if(pnurl=='')
pnurl=document.location.href;return encodeURIComponent(pnurl);},checkModuleViewport:function(target){return new Promise(function(resolve){const sections=document.querySelectorAll(target);const config={rootMargin:'200px 0px 200px 0px',threshold:0};let isLeaving=false;let observer=new IntersectionObserver(function(entries,self){var delay=0;entries.forEach(function(entry){if(entry.isIntersecting){resolve(document.querySelector(target));delay+=100;self.unobserve(entry.target);if(entry.target){}}else if(isLeaving){isLeaving=false;}});},config);if('IntersectionObserver'in window){sections.forEach(function(section){observer.observe(section);});}else{resolve(document.querySelector(target));self.unobserve(entry.target);}});},checkModuleExists:function(target){return new Promise(resolve=>{if(document.querySelector(target)){return resolve(document.querySelector(target));}
const observer=new MutationObserver(mutations=>{if(document.querySelector(target)){resolve(document.querySelector(target));observer.disconnect();}});observer.observe(document.body,{childList:true,subtree:true});});},lazyViewportReplace:function(target,replacewhat,replacewith){return new Promise(function(resolve){const sections=document.querySelectorAll(target);const config={rootMargin:'200px 0px 200px 0px',threshold:0};let isLeaving=false;let observer=new IntersectionObserver(function(entries,self){var delay=0;entries.forEach(function(entry){if(entry.isIntersecting){if(entry.target.getAttribute(replacewhat))
entry.target.setAttribute(replacewith,entry.target.getAttribute(replacewhat));try{if(entry.target.getElementsByTagName("source")[0]&&entry.target.getElementsByTagName("source")[0].getAttribute(replacewith)==null){entry.target.getElementsByTagName("source")[0].setAttribute(replacewith,entry.target.getElementsByTagName("source")[0].getAttribute(replacewhat));entry.target.load();}}catch(e){}
resolve(document.querySelector(target));delay+=100;self.unobserve(entry.target);if(entry.target){}}else if(isLeaving){isLeaving=false;}});},config);if('IntersectionObserver'in window){sections.forEach(function(section){observer.observe(section);});}else{resolve(document.querySelector(target));self.unobserve(entry.target);}});},xnlmsStringcheck:function(flixHtml){var xnlmsdistributorIds=[8776];if(/xmlns="[^"]*"/.test(flixHtml)&&xnlmsdistributorIds.indexOf(parseInt(flixmain_distributor,10))!==-1){flixHtml=flixHtml.replace(/ xmlns="[^"]*"/g,'').replace(/(\s?)\/>/g,'>').replace(/\u00A0/g,'&nbsp;');log2('xmlns replaced')}
return flixHtml;},loadinpage:function(){if(FlixServices==undefined){return false;}
if(FlixServices!=undefined&&typeof FlixServices.modular_match_data!='undefined'&&!FlixServices.is_content_loaded&&FlixServices.modular_match_data!=null&&typeof(FlixServices.modular_match_data)=='object'&&FlixServices.modular_updated&&Array.isArray(FlixServices.modular_match_data)){FlixServices.flixinpage.init({distributor:flixmain_distributor,language:flixmain_language,product:flixmain_product_id,pagedata:'',urlMain:flixmain_base_url,thisef:"#flixinpage_"+flixmain_product_id+FlixServices.time_stamp});setTimeout(function(){if(FlixServices==undefined)
return false;FlixServices.flixinpage.loadJsCss();FlixjQ('.flix-privacy-policy-link').live('click',function(e){e.preventDefault();FlixjQ(this).parent().next().find('.flix-privacy-policy-text').slideToggle();});if(typeof FlixjQ.fn.video!='undefined'&&typeof FlixjQ.fn.video.loadJWvideos!='undefined'&&FlixjQ('.flix-jw').length>0&&FlixjQ('.flix-videodiv').length==0){FlixjQ.fn.video.loadJWvideos(0);}},100);if(ENV=='-alpha'){FlixServices.loadFlixJs('https://delivery'+ENV+'.flix360.io/static/inpage/js/jquery.jcarousel.min.js');setTimeout(function(){FlixServices.loadFlixJs('https://delivery'+ENV+'.flix360.io/static/modular/reviews/attach.js');FlixServices.loadFlixJs('https://delivery'+ENV+'.flix360.io/static/inpage/js/lightbox.js');FlixServices.loadFlixJs('https://delivery'+ENV+'.flix360.io/static/inpage/js/inpage.js');},100);}else{FlixServices.loadFlixJs(flixmain_base_modular_url+'js/minify/'+flixmain_distributor+'/?url=/static/inpage/js/jquery.jcarousel.min.js,/static/modular/reviews/attach.js,/static/inpage/js/lightbox.js,/static/inpage/js/inpage.js');}
FlixServices.is_content_loaded=true;}else{setTimeout(function(){if(FlixServices!=undefined&&typeof FlixServices.modular_match_data!='undefined'&&FlixServices.modular_match_data!=null){if(typeof FlixServices.modular_match_data.oem!='undefined'&&FlixServices.modular_match_data.oem.not_migrated!='undefined'){if(typeof(window.flixJsCallbacks)==="object"&&typeof(window.flixJsCallbacks["_loadNoshowCallback"])==="function"){logflix('no show callback 2')
var flixCBfunctions=window.flixJsCallbacks["_loadNoshowCallback"];flixCBfunctions();window.flixJsCallbacks["_loadNoshowCallback"]=function(){};}}else{if(FlixServices!=undefined)
FlixServices.loadinpage();}}else{if(FlixServices!=undefined)
FlixServices.loadinpage();}},300)}},loadMinisite:function(){},loadHotspot:function(){},loadHotspotMob:function(){},startFlix:function(type){if(!FlixServices.time_stamp&&(!window.Flixstartturl||window.Flixstartturl!=FlixServices.flixGetURL()||(window.Flixstartturl==FlixServices.flixGetURL()&&FlixjQ('#inpage_container').length===0))){window.Flixstartturl=FlixServices.flixGetURL();try{if(typeof FlixjQ!='undefined'&&typeof FlixjQ.fn.inPage!='undefined')
delete FlixjQ.fn.inPage;if(typeof flixmain_ean!='undefined')
delete flixmain_ean;if(typeof flixmain_mpn!='undefined')
delete flixmain_mpn;if(typeof flixmain_product_id!='undefined')
delete flixmain_product_id;}catch(e){}
window.FlixServices.init({'flixmain_api_base_url':flixmain_api_base_url});}
if(document.querySelector('script[data-flix-distributor]')!=null){var innodename=document.querySelector('script[data-flix-distributor]').getAttribute('data-flix-inpage');setTimeout(function(){if(document.querySelector('#flix-inpage')==null&&innodename!=null&&innodename.length>0&&document.querySelector('#'+innodename)==null){var loadernode=document.createElement('div');loadernode.id=innodename;var distnnode=document.querySelector('script[data-flix-distributor]');if(innodename!='undefined'&&innodename.length>0&&distnnode!=null&&typeof distnnode.parentNode!=null)
distnnode.parentNode.insertBefore(loadernode,distnnode.nextSibling);}},2000)
if(innodename!=null&&innodename.length>0&&document.querySelector('#'+innodename)!=null){FlixServices.inpcontainername='#'+innodename;}
var minodename=document.querySelector('script[data-flix-distributor]').getAttribute('data-flix-button');if(minodename!=null)
minodename=minodename.replace('\"','')
if(minodename!=null&&minodename.length>0&&document.querySelector('#'+minodename)!=null){FlixServices.mipcontainername=minodename;}
if(document.querySelector('script[data-flix-distributor]').getAttribute('data-flix-autoload'))
FlixServices.autoloaded_modules=document.querySelector('script[data-flix-distributor]').getAttribute('data-flix-autoload');if(FlixServices.autoloaded_modules){}}
if(document.querySelector('script[src*="js/inpage/"]')!=null&&document.querySelector('#flix-inpage')==null){var loadernode=document.createElement('div');loadernode.id='flix-inpage';var inpagenode=document.querySelector('script[src*="js/inpage/"]');inpagenode.parentNode.insertBefore(loadernode,inpagenode.nextSibling);}
var myIntervalcc=0
var myInterval=setInterval(function(){if(FlixServices==undefined){return false;}
if(window.self!==window.top&&flixmain_distributor=='370'){clearInterval(myInterval);return false;}
if(type=='hotspot'||(!type&&flixmain_distributor!='6408')||(!type&&typeof FlixServices.autoloaded_modules=='undefined'&&flixmain_distributor=='6408')){if(FlixServices.modular_match_data!=null&&typeof FlixServices.modular_match_data=='object'&&FlixServices.modular_updated&&FlixServices.modular_match_data[0]&&FlixServices.modular_match_data[0]!=null){if(FlixServices.ismobile()&&!FlixServices.hotspot_loaded){FlixServices.hotspot_loaded=true;FlixServices.flixhotspot.init();}else if(!FlixServices.hotspot_loaded){FlixServices.hotspot_loaded=true;FlixServices.flixhotspot.init()}
if(!FlixServices.hotspotCss_loaded){FlixServices.hotspotCss_loaded=true;FlixServices.flixhotspot.loadJsCss();}
if(window.flixJsCallbacks._loadInpageCallback&&typeof(window.flixJsCallbacks._loadInpageCallback)==="function"){}}}else{if(flixmain_distributor=='6408')
logflix('distributorid==6408 - dont load hotspots')}
if(type=='button'||!FlixServices.autoloaded_modules||FlixServices.autoloaded_modules.search('minisite')!=-1){if(!FlixServices.minisite_loaded&&FlixServices.modular_match_data!=null&&typeof(FlixServices.modular_match_data)=='object'&&FlixServices.modular_updated&&!document.querySelector('script[data-flix-distributor]')&&FlixServices.ismobile()==false){FlixServices.minisite_loaded=true;FlixServices.flixminisite.init(FlixServices.mipcontainername,flixmain_distributor,flixmain_language);clearInterval(myInterval);}else if(!FlixServices.minisite_loaded&&FlixServices.modular_match_data!=null&&typeof(FlixServices.modular_match_data)=='object'&&FlixServices.modular_updated&&document.querySelector('script[data-flix-distributor]')&&document.querySelector('script[data-flix-button]')&&document.querySelector('script[data-flix-button]').getAttribute('data-flix-button').length>0&&FlixServices.ismobile()==false){if(typeof(flixmain_distributor)!='undefined'&&flixmain_distributor=='18287'){FlixjQ('#flix-minisite').append(FlixjQ('<img width="1" height="1">'));}
FlixServices.minisite_loaded=true;FlixServices.flixminisite.init(FlixServices.mipcontainername,flixmain_distributor,flixmain_language);try{var cbk=['load','loadMinisite'];for(flixx in cbk){if(typeof(window.flixJsCallbacks)==="object"&&typeof(window.flixJsCallbacks["_"+cbk[flixx]+"Callback"])==="function"){var f=window.flixJsCallbacks["_"+cbk[flixx]+"Callback"];f();window.flixJsCallbacks["_"+cbk[flixx]+"Callback"]=function(){};}}
logflix('No show call back 3')
window.flixJsCallbacks["_loadNoshowCallback"]=function(){};}catch(e){try{console.log(e)}catch(e1){}}
clearInterval(myInterval);}}else{}
if(myIntervalcc>=100)
clearInterval(myInterval)
myIntervalcc++},100);if(type=='inpage'||!FlixServices.autoloaded_modules||FlixServices.autoloaded_modules.search('inpage')!=-1){var subTryrun=0,refreshIdSub=setInterval(function(){if(type=='inpage'||(FlixServices!=undefined&&typeof FlixServices.is_content_loaded!='undefined'&&!FlixServices.is_content_loaded&&FlixServices.modular_match_data!=null&&typeof(FlixServices.modular_match_data)=='object')){if(FlixServices.modular_match_data!=null&&typeof FlixServices.modular_match_data.oem=='undefined'){if(typeof type!='undefined')
FlixjQ(FlixServices.inpcontainername).append(FlixjQ('<div id="flixinpageauto">'));FlixjQ(FlixServices.inpcontainername).append(FlixjQ('<div id="flixinpage_">').append(FlixjQ('<div id="inpage-mod">').append(FlixjQ('<div id="flix-std-inpage"><div id="inpage-iframe-modal"></div><div id="inpage_container">&nbsp</div><img width="1" height="1" alt=""></div>'))));var Remove_callback_controlled_retailers=false;if(flixmain_distributor==7137&&FlixServices.modular_match_data.length==1&&typeof FlixServices.modular_match_data[0].product_meta!='undefined'&&typeof FlixServices.modular_match_data[0].product_meta.isComplementary!='undefined')
Remove_callback_controlled_retailers=true;if(!Remove_callback_controlled_retailers){try{var cbk=['load','loadInpage'];for(flixx in cbk){if(typeof(window.flixJsCallbacks)==="object"&&typeof(window.flixJsCallbacks["_"+cbk[flixx]+"Callback"])==="function"){var f=window.flixJsCallbacks["_"+cbk[flixx]+"Callback"];f();window.flixJsCallbacks["_"+cbk[flixx]+"Callback"]=function(){};}}
window.flixJsCallbacks["_loadNoshowCallback"]=function(){};}catch(e){try{console.log(e)}catch(e1){}}}}
clearInterval(refreshIdSub);}
if(subTryrun===200){clearInterval(refreshIdSub);}
subTryrun++;},100);FlixServices.checkModuleExists(FlixServices.inpcontainername).then((elm)=>{FlixServices.checkModuleViewport(FlixServices.inpcontainername).then(function(elm){if(FlixServices!=undefined)
FlixServices.loadinpage();});});}else{}
if(flixmain_distributor==75||location.href.search('fnac.')!=-1){var arrayChangeHandler={get:function(target,property){return target[property];},set:function(target,property,value,receiver){target[property]=value;setTimeout(function(){executeFunctionQueue(flixJsQueue)},100)
return true;}};var originalArray=[];if(typeof flixJsQueue!='undefined')
originalArray=flixJsQueue
window.flixJsQueue=new Proxy(originalArray,arrayChangeHandler);function executeFunctionQueue(fns){if(!flixJsQueue.length){return}
var fun1=flixJsQueue.pop();FlixjQ.when(fun1()).then(function(){executeFunctionQueue(flixJsQueue)});}
window.executeFunctionQueue=executeFunctionQueue;if(typeof flixJsQueue!='undefined')
executeFunctionQueue(flixJsQueue)}}};if(true){!function(i,S){"use strict";var s="function",$="undefined",M="object",e="model",o="name",r="type",a="vendor",n="version",G="architecture",d="console",t="mobile",A="tablet",l="smarttv",w="wearable",u={extend:function(i,S){var s={};for(var $ in i)S[$]&&S[$].length%2==0?s[$]=S[$].concat(i[$]):s[$]=i[$];return s},has:function(i,S){return"string"==typeof i&&-1!==S.toLowerCase().indexOf(i.toLowerCase())},lowerize:function(i){return i.toLowerCase()},major:function(i){return"string"==typeof i?i.replace(/[^\d\.]/g,"").split(".")[0]:S},trim:function(i){return i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},L={rgx:function(i,$){for(var e,o,r,a,n,G,d=0;d<$.length&&!n;){var t=$[d],A=$[d+1];for(e=o=0;e<t.length&&!n;)if(n=t[e++].exec(i))for(r=0;r<A.length;r++)G=n[++o],typeof(a=A[r])===M&&a.length>0?2==a.length?typeof a[1]==s?this[a[0]]=a[1].call(this,G):this[a[0]]=a[1]:3==a.length?typeof a[1]!==s||a[1].exec&&a[1].test?this[a[0]]=G?G.replace(a[1],a[2]):S:this[a[0]]=G?a[1].call(this,G,a[2]):S:4==a.length&&(this[a[0]]=G?a[3].call(this,G.replace(a[1],a[2])):S):this[a]=G||S;d+=2}},str:function(i,s){for(var $ in s)if(typeof s[$]===M&&s[$].length>0){for(var e=0;e<s[$].length;e++)if(u.has(s[$][e],i))return"?"===$?S:$}else if(u.has(s[$],i))return"?"===$?S:$;return i}},U={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},T={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[o,n],[/(opios)[\/\s]+([\w\.]+)/i],[[o,"Opera Mini"],n],[/\s(opr)\/([\w\.]+)/i],[[o,"Opera"],n],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i],[o,n],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[o,"IE"],n],[/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i],[[o,"Edge"],n],[/(yabrowser)\/([\w\.]+)/i],[[o,"Yandex"],n],[/(puffin)\/([\w\.]+)/i],[[o,"Puffin"],n],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[o,"UCBrowser"],n],[/(comodo_dragon)\/([\w\.]+)/i],[[o,/_/g," "],n],[/(micromessenger)\/([\w\.]+)/i],[[o,"WeChat"],n],[/(qqbrowserlite)\/([\w\.]+)/i],[o,n],[/(QQ)\/([\d\.]+)/i],[o,n],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[o,n],[/(BIDUBrowser)[\/\s]?([\w\.]+)/i],[o,n],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[o,n],[/(MetaSr)[\/\s]?([\w\.]+)/i],[o],[/(LBBROWSER)/i],[o],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[n,[o,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[n,[o,"Facebook"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[n,[o,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[o,/(.+)/,"$1 WebView"],n],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[o,/(.+(?:g|us))(.+)/,"$1 $2"],n],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[n,[o,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[o,n],[/(dolfin)\/([\w\.]+)/i],[[o,"Dolphin"],n],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[o,"Chrome"],n],[/(coast)\/([\w\.]+)/i],[[o,"Opera Coast"],n],[/fxios\/([\w\.-]+)/i],[n,[o,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[n,[o,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[n,o],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[o,"GSA"],n],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[o,[n,L.str,U.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[o,n],[/(navigator|netscape)\/([\w\.-]+)/i],[[o,"Netscape"],n],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[o,n]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[G,"amd64"]],[/(ia32(?=;))/i],[[G,u.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[G,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[G,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[G,/ower/,"",u.lowerize]],[/(sun4\w)[;\)]/i],[[G,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[G,u.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[e,a,[r,A]],[/applecoremedia\/[\w\.]+ \((ipad)/],[e,[a,"Apple"],[r,A]],[/(apple\s{0,1}tv)/i],[[e,"Apple TV"],[a,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[a,e,[r,A]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[e,[a,"Amazon"],[r,A]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[e,L.str,U.device.amazon.model],[a,"Amazon"],[r,t]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[e,a,[r,t]],[/\((ip[honed|\s\w*]+);/i],[e,[a,"Apple"],[r,t]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[a,e,[r,t]],[/\(bb10;\s(\w+)/i],[e,[a,"BlackBerry"],[r,t]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[e,[a,"Asus"],[r,A]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[a,"Sony"],[e,"Xperia Tablet"],[r,A]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[e,[a,"Sony"],[r,t]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[a,e,[r,d]],[/android.+;\s(shield)\sbuild/i],[e,[a,"Nvidia"],[r,d]],[/(playstation\s[34portablevi]+)/i],[e,[a,"Sony"],[r,d]],[/(sprint\s(\w+))/i],[[a,L.str,U.device.sprint.vendor],[e,L.str,U.device.sprint.model],[r,t]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[a,e,[r,A]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[a,[e,/_/g," "],[r,t]],[/(nexus\s9)/i],[e,[a,"HTC"],[r,A]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[e,[a,"Huawei"],[r,t]],[/(microsoft);\s(lumia[\s\w]+)/i],[a,e,[r,t]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[e,[a,"Microsoft"],[r,d]],[/(kin\.[onetw]{3})/i],[[e,/\./g," "],[a,"Microsoft"],[r,t]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[e,[a,"Motorola"],[r,t]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[e,[a,"Motorola"],[r,A]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[a,u.trim],[e,u.trim],[r,l]],[/hbbtv.+maple;(\d+)/i],[[e,/^/,"SmartTV"],[a,"Samsung"],[r,l]],[/\(dtv[\);].+(aquos)/i],[e,[a,"Sharp"],[r,l]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[a,"Samsung"],e,[r,A]],[/smart-tv.+(samsung)/i],[a,[r,l],e],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[a,"Samsung"],e,[r,t]],[/sie-(\w*)/i],[e,[a,"Siemens"],[r,t]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[a,"Nokia"],e,[r,t]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[e,[a,"Acer"],[r,A]],[/android.+([vl]k\-?\d{3})\s+build/i],[e,[a,"LG"],[r,A]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[a,"LG"],e,[r,A]],[/(lg) netcast\.tv/i],[a,e,[r,l]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[e,[a,"LG"],[r,t]],[/android.+([vl]k\-?\d{3})\s+build/i],[e,[a,"LGM"],[r,A]],[/android\s3\.[\s\w;-]{10}(lgm?)-([06cv9]{3,4})/i],[[a,"LGM"],e,[r,A]],[/(lgm) netcast\.tv/i],[a,e,[r,l]],[/(nexus\s[45])/i,/lgm[e;\s\/-]+(\w*)/i,/android.+lgmM(\-?[\d\w]+)\s+build/i],[e,[a,"LGM"],[r,t]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[e,[a,"Lenovo"],[r,A]],[/linux;.+((jolla));/i],[a,e,[r,t]],[/((pebble))app\/[\d\.]+\s/i],[a,e,[r,w]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[a,e,[r,t]],[/crkey/i],[[e,"Chromecast"],[a,"Google"]],[/android.+;\s(glass)\s\d/i],[e,[a,"Google"],[r,w]],[/android.+;\s(pixel c)\s/i],[e,[a,"Google"],[r,A]],[/android.+;\s(pixel xl|pixel)\s/i],[e,[a,"Google"],[r,t]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[e,/_/g," "],[a,"Xiaomi"],[r,t]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[e,/_/g," "],[a,"Xiaomi"],[r,A]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[e,[a,"Meizu"],[r,A]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})\s+build/i],[e,[a,"OnePlus"],[r,t]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[e,[a,"RCA"],[r,A]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[e,[a,"Dell"],[r,A]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[e,[a,"Verizon"],[r,A]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[a,"Barnes & Noble"],e,[r,A]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[e,[a,"NuVision"],[r,A]],[/android.+;\s(k88)\sbuild/i],[e,[a,"ZTE"],[r,A]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[e,[a,"Swiss"],[r,t]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[e,[a,"Swiss"],[r,A]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[e,[a,"Zeki"],[r,A]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[a,"Dragon Touch"],e,[r,A]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[e,[a,"Insignia"],[r,A]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[e,[a,"NextBook"],[r,A]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[a,"Voice"],e,[r,t]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[a,"LvTel"],e,[r,t]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[e,[a,"Envizen"],[r,A]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[a,e,[r,A]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[e,[a,"MachSpeed"],[r,A]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[a,e,[r,A]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[e,[a,"Rotor"],[r,A]],[/android.+(KS(.+))\s+build/i],[e,[a,"Amazon"],[r,A]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[a,e,[r,A]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[r,u.lowerize],a,e],[/(android[\w\.\s\-]{0,9});.+build/i],[e,[a,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[n,[o,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[o,n],[/rv\:([\w\.]{1,9}).+(gecko)/i],[n,o]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[o,n],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[o,[n,L.str,U.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[o,"Windows"],[n,L.str,U.os.windows.version]],[/\((bb)(10);/i],[[o,"BlackBerry"],n],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i,/linux;.+(sailfish);/i],[o,n],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[o,"Symbian"],n],[/\((series40);/i],[o],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[o,"Firefox OS"],n],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[o,n],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[o,"Chromium OS"],n],[/(sunos)\s?([\w\.\d]*)/i],[[o,"Solaris"],n],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[o,n],[/(haiku)\s(\w+)/i],[o,n],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[n,/_/g,"."],[o,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[o,"Mac OS"],[n,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]*)/i],[o,n]]},c=function(s,$){if("object"==typeof s&&($=s,s=S),!(this instanceof c))return new c(s,$).getResult();var M=s||(i&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),e=$?u.extend(T,$):T;return this.getBrowser=function(){var i={name:S,version:S};return L.rgx.call(i,M,e.browser),i.major=u.major(i.version),i},this.getCPU=function(){var i={architecture:S};return L.rgx.call(i,M,e.cpu),i},this.getDevice=function(){var i={vendor:S,model:S,type:S};return L.rgx.call(i,M,e.device),i},this.getEngine=function(){var i={name:S,version:S};return L.rgx.call(i,M,e.engine),i},this.getOS=function(){var i={name:S,version:S};return L.rgx.call(i,M,e.os),i},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return M},this.setUA=function(i){return M=i,this},this};c.VERSION="0.7.18",c.BROWSER={NAME:o,MAJOR:"major",VERSION:n},c.CPU={ARCHITECTURE:G},c.DEVICE={MODEL:e,VENDOR:a,TYPE:r,CONSOLE:d,MOBILE:t,SMARTTV:l,TABLET:A,WEARABLE:w,EMBEDDED:"embedded"},c.ENGINE={NAME:o,VERSION:n},c.OS={NAME:o,VERSION:n},typeof exports!==$&&"getIssuers"!==exports?(typeof module!==$&&module.exports&&(exports=module.exports=c),exports.flixUAParser=c):i.flixUAParser=c;var m=i&&(i.jQuery||i.Zepto)||{};if(m&&typeof m!==$){var p=new c;m.ua=p.getResult(),m.ua.get=function(){return p.getUA()},m.ua.set=function(i){p.setUA(i);var S=p.getResult();for(var s in S)m.ua[s]=S[s]}}}("object"==typeof window?window:this);var flixarparser="";if(typeof flixUAParser!='undefined'){flixarparser=new flixUAParser};var flixAllowedModel={brand:{Acer:{},Asus:{Z01QD:7,A002A:7,A002:7,A002:7,ZS571KL:7,"T00G TW_a600cg":7,Zenfone6:7,"Zenfone 6":7,T00G:7,Z002:7},Google:{"Nexus 5X":7,"Nexus 6P":7,Pixel:7,"Pixel XL":7,"Pixel 2":7,"Pixel 2 XL":7,"Pixel 3":7,"Pixel 3 XL":7,"Pixel 3a":7,"Pixel 3a XL":7},Nokia:{"TA-1033":7,"TA-1021":7,"TA-1003":7,"TA-1000":7,"Nokia 6.1":7,"TA-1041":7,"TA-1052":7,"TA-1012":7,"Nokia 8":7,"Nokia 6":7,"Nokia 6.1":7,"6.1 Plus":7,"6.1 Plus":7,X6:7,"NokiaX6-00":7,"7 plus":7,"Nokia 7 plus":7,"7.1":7,"Nokia 7.1":7,"TA-1004":8,"TA-1012":8,"TA-1052":8,"Nokia 8 Sirocco":7,"8 Sirocco":7,"X7-00":7,"8.1":7,X7:7},Huawei:{"JSN-L22":7,"JSN-L21":7,"COL-L29":7,"COL-AL10":7,"BKL-L04":7,"PCT-AL10":7,"PCT-TL10":7,"PCT-L29":7,"SNE-LX1":7,"HMA-L29":7,"HMA-L09":7,"HMA-LX9":7,"HMA-AL00":7,"LYA-L09":7,"LYA-L29":7,"LYA-AL00":7,"LYA-AL10":7,"LYA-TL00":7,"LYA-L0C":7,"EVR-L29":7,"EVR-AL00":7,"EVR-TL00":7,"PAR-LX9":7,"PAR-LX1M":7,"PAR-LX1":7,"HWI-AL00":7,"INE-LX2":7,"VCE-AL00":7,"VCE-TL00":7,"VCE-L22":7,"EML-AL00":7,"EML-L09":7,"EML-L29":7,"CLT-AL01":7,"CLT-AL00":7,"CLT-L04":7,"CLT-L09":7,"CLT-L29":7,"P20 Pro":7,P20_Pro:7,"ELE-L29":7,"ELE-L09":7,"ELE-AL00":7,"ELE-TL00":7,"VOG-L29":7,"VOG-L09":7,"VOG-AL00":7,"VOG-TL00":7,"VOG-L04":7,"Neo-L29":7,"LYA-L29":7,"LYA-AL00P":7,"JKM-LX1":7,"JKM-LX2":7,"JKM-LX3":7,"JKM-AL00":7,"JKM-TL00":7,"JKM-AL00a":7},LG:{"LGM-G600K":8,"LG-H870AR":8,"LG-H872PR":8,"LG-H870I":8,"LGM-G600S":8,"LG-M700":8,M700:8,"LGM-G600L":8,"LG-H871":8,VS988:8,"LG-H872":8,LGUS997:8,"LG-H870":8,H870:8,"LG-H870K":8,"LG-H870S":8,"LG-H870V":8,"LG-H870DS":8,"LG-H873":8,LS993:8,"G6+":8,"LGM-G600L":8,"LM-G710":7,"LM-G710N":7,"LM-G710VM":7,"LM-G710N":7,"LM-G710VM":7,"LM-G710":7,"LM-G820N":7,LMG820QM7:7,"LM-G820UMB":7,LMG820UM0:7,LMG820UM1:7,LMG820UM2:7,"US700 ":7,"LG-US700":7,"LGM-X600L ":7,"LGM-X600K ":7,"LGM-X600S ":7,"M703 ":7,"LG-M703":7,"M-703":7,"M700 ":7,"LG-M700":7,H970:7,"LG-H970":7,AS998:8,"LG-AS998":8,"LGM-V300K":8,"LGM-V300S":8,V300L:8,"LGM-V300L":8,H933:8,"LG-H933":8,VS996:8,H932:8,"LG-H932":8,H930:8,"LG-H930":8,US998:8,"LG-US998":8,"LG V30":8,H970:8,"LG-H970":8,"L-01K":8,V35:8,"V.35":8,LGV35:8,LS998:8,"LG-LS998":8,"LM-V350":7,"LM-V405":7,V405:7},Motorola:{XT1804:7,XT1805:7,XT1925DL:7,"g(6) (XT1925DL)":7,"g(6) plus":7,"g(7)":7,"g(7) plus":7,"g(7) power":7,"g(7) play":7,one:7,"one power":7,XT1942:7,x4:8,"Z2 Force":7,z3:7,"Z3 Play":7},ONEPLUS:{A3010:8,A5000:7,A5010:7,A6000:7,A6010:7},Oppo:{CPH1877:7},Samsung:{"SM-A320FDS":8,"SM-A320YDS":8,"SM-A320Y":8,"SM-A320Y":8,"SM-A320F":8,"SM-A320F":8,"SM-A320FL":8,"SM-A320FL":8,"SM-A520K":7,"SM-A520K":7,"SM-A520L":7,"SM-A520L":7,"SM-A520S":7,"SM-A520S":7,"SM-A600G":7,"SM-A600G":7,"SM-A600FN":7,"SM-A600FN":7,"SM-A720S":7,"SM-A720S":7,"SM-A720F":7,"SM-A720F":7,"Galaxy A7(2017)":7,"SM-A530F":7,"SM-A530F":7,"Galaxy A8(2017)":7,"SM-A800IZ":7,"SM-A800IZ":7,SCV32:7,"SM-A800YZ":7,"SM-A800YZ":7,"SM-A800I":7,"SM-A800I":7,"SM-A800S":7,"SM-A800S":7,"SM-A8000":7,"SM-A8000":7,"SM-A800F":7,"SM-A800F":7,"SM-A730F":7,"SM-A730F":7,"SM-A305F":7,"SM-A305FN":7,"SM-A305G":7,"SM-A305GN":7,"SM-A505F":7,"SM-A505FN":7,"SM-A505GN":7,"SM-A505G":7,"SM-J530K":7,"Galaxy J5 (6)":7,"Galaxy J5(6)":7,"SM-J530S":7,"SM-J530S":7,"SM-J530F":7,"SM-J530F":7,"SM-J530FM":7,"SM-J530FM":7,"SM-J530Y":7,"SM-J530Y":7,"SM-J530GM":7,"SM-J530GM":7,"SM-J530YM":7,"SM-J530YM":7,"J5 Pro":7,"SM-J530G":7,"SM-J530G":7,"SM-J730K":7,"SM-J730K":7,"SM-J730FM":7,"SM-J730FM":7,"SM-J730F":7,"SM-J730F":7,"J7 Pro":7,"Galaxy J7 pro":7,"SM-J730GM":7,"SM-J730GM":7,"SM-J730G":7,"SM-J730G":7,"SM-J727U":7,"SM-J727U":7,"SM-J727A":7,"SM-J727A":7,"SM-J727R4":7,"SM-J727R4":7,"SM-J727":7,"SM-J727VPP":7,"SM-J727VPP":7,"SM-S727VL":7,"SM-S727VL":7,"SM-J727V":7,"SM-J727V":7,"SM-J730F":7,"SM-J730F":7,"Galaxy J7 pro":7,"J7 Pro":7,"SC-01K":7,SCV37:7,"SM-N950X":7,"SM-N950X":7,"SM-N9550":7,"galaxy note8":7,"Galaxy Note 8":7,"SM-N9550":7,N5200:7,"SM-N950U1":7,"SM-N950U1":7,"SM-N950N":7,"SM-N950N":7,"SM-N950FZKD":7,"SM-N950FZKA":7,"SM-N950UZKAAIO":7,"SM-N950UZSAATT":7,"SM-N950UZVATMK":7,"SM-N950UZVAATT":7,"SM-N950UZKAATT":7,"SM-N950UZKATMK":7,"SM-N950UZSATMK":7,"SM-N950UZKABST":7,"SM-N950UZKAACG":7,"SM-N950UZVASPR":7,"SM-N950UZSASPR":7,"SM-N950UZKASPR":7,"SM-N950UZVATMB":7,"SM-N950UZKATMB":7,"SM-N950UZSATMB":7,"SM-N950UZVAUSC":7,"SM-N950UZSAUSC":7,"SM-N950UZKAUSC":7,"SM-N950UZVATFN":7,"SM-N950UZSATFN":7,"SM-N950UZKATFN":7,"SM-N950UZVAVZW":7,"SM-N950UZSAVZW":7,"SM-N950UZKAVZW":7,"SM-N950UZKAVMU":7,"SM-N950UZKAXAA":7,"SM-N950U":7,"SM-N950U":7,"SM-N950":7,"SM-N950W":7,"SM-N950W":7,"SM-N9500":7,"SM-N9500":7,"SM-N9508":7,"SM-N9508":7,"SM-N950F":7,"SM-N950F":7,"SM-N950S":7,"SM-N950K":7,"SM-N950L":7,"SM-N950FD":7,"SM-N9600":7,"SM-N9600":7,"SM-N960N":7,"SM-N960N":7,"SM-N960F":7,"SM-N960F":7,"SM-N960U1":7,"SM-N960U1":7,"SM-N960W":7,"SM-N960W":7,"SM-N960U":7,"SM-N960U":7,"SM-G930":7,"SM-G930":7,"SM G930":7,"SM-G930VC":7,"SM-G930VC":7,S7:7,s7:7,S7:7,"SM-G930K":7,"SM-G930K":7,"SM-G930X":7,"SM-G930X":7,"SM-G930W8":7,"SM-G930W8":7,"SM-G930F":7,"SM-G930F":7,"SM-G930R4":7,"SM-G930R4":7,"SM-G930VL":7,"SM-G930VL":7,"SM-G930U":7,"SM-G930U":7,"SM-G930R":7,"SM-G930FD":7,"SM-G930FD":7,"SM_G930FD ":7,"SM-G9308":7,"SM-G9308":7,"SM-G930P":7,"SM-G930P":7,"SM-G930R7":7,"SM-G930R7":7,"SM-G930R6":7,"SM-G930R6":7,"SM-G930T1":7,"SM-G930T1":7,"SM-G930A":7,"SM-G930A":7,"SM-G930AZ":7,"SM-G930AZ":7,"SM-G930S":7,"SM-G930S":7,"SM-G930L":7,"SM-G930L":7,"SM-G9300":7,"SM-G9300":7,"SM-G930T":7,"SM-G930T":7,"SM-G935T":7,"SM-G935T":7,"SM-G935VC":7,"SM-G935VC":7,SCV33:7,"SM-G935F":7,"SM-G935F":7,"SM-G935K":7,"SM-G935K":7,"SM-G935X":7,"SM-G935X":7,"SM-G935R4":7,"SM-G935R4":7,"SM-G935U":7,"SM-G935U":7,"SM-G935J":7,"SM-G935FD":7,"SM-G935FD":7,"SM-G935D":7,"SM-G9359":7,"SM-G9358":7,"SM-G935P":7,"SM-G935P":7,"SM-G935R7":7,"SM-G935R6":7,"SM-G935T1":7,"SM-G935A":7,"SM-G935A":7,"SM-G935AZ":7,"SM-G935S":7,"SM-G935S":7,"SM-G935L":7,"SM-G935L":7,"SM-G9350":7,"SM-G9350":7,"SM-G935W8":7,"SM-G935W8":7,"SM-G980F":7,SCV36:7,"SM-G950U1":7,"SM-G950U1":7,"SM-G950N":7,"SM-G950N":7,"SM-G950":7,"GALAXY S8":7,"Galaxy-S8":7,GALAXY_S8:7,"SM-G950":7,"SM-G9508":7,"SM-G9508":7,"SM-G9509":7,"SM-G950FD":7,"SM-G950FD":7,"SM-G950K":7,"SM-G950K":7,"SM-G950L":7,"SM-G950P":7,"SM-G950R4":7,"SM-G950S":7,"SM-G950S":7,"SM-G950T":7,"SM-G950V":7,"SM-G950W8":7,"SM-G950W":7,"SM-G950W":7,"SM-G950U":7,"SM-G950U":7,"SM-G955F":7,"SM-G955F":7,"SM-G950F":7,"SM-G950F":7,"SM-G9500":7,"SM-G9500":7,"SM-G950X":7,"SM-G950X":7,"SM-G950A":7,SCV35:7,SCV35:7,"SM-G955U1":7,"SM-G955U1":7,"SM-G955N":7,"SM-G955N":7,"SM-G9558":7,"SM-G9559":7,"SM-G955A":7,"SM-G955A":7,"SM-G955L":7,"SM-G955P":7,"SM-G955R4":7,"SM-G955S":7,"SM-G955T":7,"SM-G955V":7,"SM-G955W8":7,"SM-G955W":7,"SM-G955W":7,"SM-G955U":7,"SM-G955U":7,"SM-G955K":7,"SM-G955FN":7,"SM-G955FD":7,"SM-G955FD":7,"SM-G955":7,"SM-G955":7,"SM-G9550":7,"SM-G9550":7,"SM-G955X":7,"SM-G955X":7,"GalaxyS8+":7,"GALAXY S8+":7,"SC-02K":7,SCV38:7,"SM-G960X":7,"SM-G960X":7,"SM-G960FZBABTU":7,"SM-G960FZVABTU":7,"SM-G960XU":7,"SM-G960XU":7,"SM-G960U":7,"SM-G960U":7,"SM-G960W":7,"SM-G960W":7,"SM-G960UZPAUSC":7,"SM-G960UZPAXAA":7,"SM-G960UZVATFN":7,"SM-G960UZVATMK":7,"SM-G960UZSATMK":7,"SM-G960UZPATMB":7,"SM-G960UZSATFN":7,"SM-G960UZPASPR":7,"SM-G960UZPAVZW":7,"SM-G960UZPAATT":7,"SM-G960UZKAXAA":7,"SM-G960UZKASPR":7,"SM-G960UZKABST":7,"SM-G960UZKAAIO":7,"SM-G960UZKAATT":7,"SM-G960UZBAXAA":7,"SM-G960UZKAACG":7,"SM-G960UZBAVZW":7,"SM-G960UZBAUSC":7,"SM-G960UZBATMB":7,"SM-G960UZBAATT":7,"SM-G960UZBASPR":7,"SM-G960U1":7,"SM-G960U1":7,"SM-G960FZSABTU":7,"SM-G960N":7,"SM-G960N":7,"SM-G960FZKABTU":7,"SM-G9608":7,"SM-G960F":7,"SM-G960F":7,"SM-G960FD":7,"SM-G960":7,"SM-G9600":7,"SM-G9600":7,"SM-G960UZKATFN":7,"SM-G960UZKATMB":7,"SM-G960UZKATMK":7,"SM-G960UZKAUSC":7,"SM-G960UZKAVMU":7,"SM-G960UZKAVZW":7,"SC-03K":7,"SM-G965X":7,"SM-G965X":7,SCV39:7,"SM-G965U":7,"SM-G965U":7,"SM-G965UZPAUSC":7,"SM-G965XU":7,"SM-G965UZVATFN":7,"SM-G965UZVATMK":7,"SM-G965UZSATMK":7,"SM-G965UZPAXAA":7,"SM-G965UZSATFN":7,"SM-G965UZPAVZW":7,"SM-G965UZPATMB":7,"SM-G965UZPAATT":7,"SM-G965UZPASPR":7,"SM-G965UZKAVZW":7,"SM-G965UZKAXAA":7,"SM-G965UZKATFN":7,"SM-G965UZKAVMU":7,"SM-G965UZKATMK":7,"SM-G965UZKAUSC":7,"SM-G965UZKATMB":7,"SM-G965UZKASPR":7,"SM-G965UZKABST":7,"SM-G965UZKAAIO":7,"SM-G965UZKAATT":7,"SM-G965UZBAXAA":7,"SM-G965UZKAACG":7,"SM-G965UZBATMB":7,"SM-G965UZBAVZW":7,"SM-G965UZBAUSC":7,"SM-G965U1":7,"SM-G965U1":7,"SM-G965UZBAATT":7,"SM-G965UZBASPR":7,"SM-G965FZSABTU":7,"SM-G9650":7,"SM-G9650":7,"SM-G965F":7,"SM-G965F":7,"SM-G9658":7,"SM-G965FZBABTU":7,"SM-G965FZKABTU":7,"SM-G965FZKDXEU":7,"SM-G965FZVABTU":7,"SM-G965FZVDXEU":7,"SM-G965N":7,"sm-g965n":7,"SM-G965W":7,"sm-g965w":7,"SM-G965FD":7,"SM-G965":7,"SM-G970F":7,"SM-G970U":7,"SM-G970W":7,"SM-G9700":7,"SM-G970U1":7,"SAMSUNG-S10":7,Samsung_S10:7,samsungs10:7,"GT-Samsung S10 ":7,s10:7,"SM-G973F":7,"SM-G973U":7,"SM-G973W":7,"SM-G973U1":7,"SM-G975F":7,"SM-G975U":7,"SM-G975W":7,"SM-G975U1":7,"SM-G9750":7,"SM-G977U":7,"SM-G977N":7,"SM-T825C":7,"SM-T825C":7,"SM-T827R4":7,"SM-T827R4":7,"SM-T825":7,"SM-T825":7,"SM-T820":7,"SM-T820":7,"SM-T825N0":7,"SM-T825N0":7,"SM-T827V":7,"SM-T827V":7,"SM-T825Y":7,"SM-T825Y":7,"SM-T835":7,"SM-T835":7,"SM-T830":7,"SM-T725":7},Sony:{"SO-04J":8,G8141:8,G8142:8,"Xperia XZ Premium":8,"XZ Premium":8,"701SO":8,SOV36:8,G8343:8,G8341:8,G8342:8,"SO-02K":8,"Sony SO-02K":8,G8441:8,"702SO":8,H8276:8,SOV37:8,H8296:8,"SO-03K":8,H8314:8,H8116:8,H9436:7},Vivo:{"NEX S":7,1805:7},Xiaomi:{8:7,"8 SE":7,"MIX 2S":7,"MIX 3":7,"MIX 3":7,"POCOPHONE F1 ":7,"POCOPHONE F1 ":7},Zepra:{TC52:7,TC57:7,TC72:7,TC77:7},Apple:{}}};};(function(FlixjQ,win){FlixjQ(document).ready(function(){if(FlixServices!=undefined)
FlixServices.startFlix();})})(FlixjQ,window);