;if(location.href.search('flix-logqa')!=-1)
window.logqa=function(){logqa.history=logqa.history||[];logqa.history.push(arguments);if(this.console){console.log(Array.prototype.slice.call(arguments));}};else
window.logqa=function(){};window.flixtrackloading=1
if(typeof flixtracking=='undefined'){var flixtracking={tracking:true,trackingcc:0,startModularcc:0,flixconsent:null,site_url:'https://media.flixcar.com/delivery/',trackingDomain:'https://media.flixcar.com/',trackingDomainBeat:'https://rt.flix360.com/beat/',globalTrackingInit:false,noTracking:false,inpageloaded:false,minisitebuttonloaded:false,minisiteloaded:false,hotspotloaded:false,hotspotmobloaded:false,micrositeloaded:false,checkLoaderloaded:false,adjacencyloaded:false,adjacencyhotspotloaded:false,app3ploaded:false,inpageArImpression:false,init:function(){logqa('init flixtracking');flixtracking.setGvid();flixtracking.cookieConsent.initConsent();flixtracking.startModular();},checkServices:function(opts){logqa('in checkServices');var recheck=false;if(typeof FlixjQ!='undefined'&&typeof FlixjQ.fn.logging=='undefined'){FlixjQ.fn.logging=function(type,event,data,media,price,inPcount){}}
if(typeof FlixjQ=='undefined'){setTimeout(function(){flixtracking.checkServices()},100)}},products:{inpage:function(data){logqa('in inpage log');var opts=JSON.parse(JSON.stringify(data));opts.type='inpage';if(typeof FlixServices.modular_match_data[1]!='undefined'&&FlixServices.modular_match_data[1].product_meta.product_id==opts.product_id&&typeof FlixServices.modular_match_data[1].settings!='undefined'&&typeof FlixServices.modular_match_data[1].settings.adjacent_codes!='undefined'&&flixtracking.adjacencyloaded==false&&(opts.type=='inpage')&&(opts.event_type&&opts.event_type=='page')){flixtracking.adjacencyloaded=true
flixtracking.products.adjacency(opts);}
flixtracking.inpageloaded=true
flixtracking.log(opts);var targetcontainer='#inpage_container';if(opts.flixcontainer)
targetcontainer=opts.flixcontainer;targetcontainer='[data-flx-p="'+opts.product_id+'"]'
flixtracking.delegate('click',targetcontainer+' a',function(event){logqa('clickety -'+targetcontainer+" a")
if(!this.hasAttribute('data-flix-media')){var href=this.getAttribute('href');opts.type='inpage';var temp=href.split("?");href=temp[0];var filename=href.split("/");var filename_real=filename[filename.length-1];value=filename_real;logqa('a click-'+targetcontainer,value);flixtracking.logMedia(opts,value);}});flixtracking.delegate('click','#flixinpage-lightbox a, .inpage_cap_next_photo, .inpage_cap_prev_photo',function(event){if(!this.hasAttribute('data-flix-media')){var href=this.getAttribute('href')||'';var opts=FlixjQ.fn.inPage.data
opts.type='inpage';var temp=href.split("?");href=temp[0];var filename=href.split("/");var filename_real=filename[filename.length-1];var value=filename_real;if(value.length==0)
value=this.innerText;logqa('media',value);flixtracking.logMedia(opts,value);}});flixtracking.delegate('click',targetcontainer+' *[data-media]',function(event){value=this.dataset.media;value=this.dataset.page;opts.type='inpage';logqa('media',value);flixtracking.logMedia(opts,value);});flixtracking.delegate('click',targetcontainer+' *[data-page]',function(event){value=this.dataset.page;opts.type='inpage';logqa('page',value);flixtracking.logPage(opts,value);});flixtracking.logTime(opts,0);if(!flixtracking.inpageArImpression){if(typeof FlixServices.modular_match_data[0]!='undefined'&&typeof FlixServices.modular_match_data[0].modules!='undefined'&&typeof FlixServices.modular_match_data[0].modules.view3dfm!='undefined'&&FlixServices.modular_match_data[0].modules.view3dfm!=null&&FlixServices.modular_match_data[0].modules.view3dfm.webar_provider!=null&&FlixServices.modular_match_data[0].modules.view3dfm.webar_provider!=""){opts.type='3dfw';opts.event_type='ar_inpage_impression';opts.event_detail='';flixtracking.log(opts,status);}
if(((typeof FlixServices.modular_hotspot_data!='undefined'&&FlixServices.modular_hotspot_data!=null&&FlixServices.modular_hotspot_data.product_webar==null&&typeof FlixServices.modular_hotspot_data!='undefined'&&FlixServices.modular_hotspot_data!=null&&FlixServices.modular_hotspot_data.desktop_webar==null)||(typeof FlixServices.modular_hotspot_data!='undefined'&&FlixServices.modular_hotspot_data==null))&&typeof FlixServices.modular_match_data[0]!='undefined'&&typeof FlixServices.modular_match_data[0].modules!='undefined'&&typeof FlixServices.modular_match_data[0].modules.view3dfm!='undefined'&&FlixServices.modular_match_data[0].modules.view3dfm!=null&&FlixServices.modular_match_data[0].modules.view3dfm.webar_provider!=null&&FlixServices.modular_match_data[0].modules.view3dfm.webar_provider!=""){opts.type='3dfw';opts.event_type='ar_impression';opts.event_detail='3dfw';flixtracking.log(opts,status);}
flixtracking.inpageArImpression=true;}},minisitebutton:function(_FFMatcher,p_id){logqa('in minisitebutton log');flixtracking.minisitebuttonloaded=true;var d=new Date(),h='';var opts={};opts.type='minisite';opts['mpn']=_FFMatcher._FFmpn;opts['ean']=_FFMatcher._FFean;opts['language']=_FFMatcher._FFlang;opts['distributor']=_FFMatcher._FFd;opts['product_id']=p_id||_FFMatcher._FFPid;opts['ut']=d.getTime();opts['to']=d.getTimezoneOffset();opts['ss']=screen.width+'x'+screen.height;opts.event_type='matchhit';flixtracking.log(opts);},minisite:function(data){logqa('in minisite log');var opts=JSON.parse(JSON.stringify(data));opts.event_type="asset";opts.asset=1;opts.type='minisite';flixtracking.log(opts);opts.event_type="click";flixtracking.log(opts);if(flixtracking.minisiteloaded==false){flixtracking.logTimeMinisite(opts,0);setTimeout(function(){flixtracking.globalTracking(opts);},1000);flixtracking.minisiteloaded=true;flixtracking.delegate('click','*[data-m-typeid]',function(event){value=this.getAttribute('data-m-typeid');opts.event_type="asset";opts.asset=value;opts.event_detail='';opts.vtime=0;opts.view_time=0;opts.type='minisite';logqa('media',value);flixtracking.log(opts,'');});flixtracking.delegate('click','a:not(*[data-m-typeid], *[ data-flix-media])',function(event){var href=this.getAttribute('href');var temp=href.split("?");href=temp[0];opts.type='minisite';var filename=href.split("/");var filename_real=filename[filename.length-1];logqa('media',filename_real);flixtracking.logMedia(opts,filename_real);});flixtracking.delegate('click','*[data-media]',function(event){value=this.dataset.media;value=this.dataset.page;opts.type='minisite';logqa('media',value);flixtracking.logMedia(opts,value);});flixtracking.delegate('click','*[data-page]',function(event){value=this.dataset.page;opts.type='minisite';logqa('page',value);flixtracking.logPage(opts,value);});}},hotspot:function(et,ed,status){logqa('in hotspot log--222'+et+"__"+ed+"__"+status);logqa(typeof FlixServices.flixhotspot);if(typeof FlixServices.flixhotspot!='undefined'){logqa('hot flixhotspot')
if(typeof FlixServices!='undefined'&&typeof FlixServices.flixhotspot!='undefined'){if(typeof flixhotspot=='undefined')
flixhotspot=FlixServices.flixhotspot
if(typeof flixhotspot.results=='undefined')
flixhotspot.results=FlixServices.flixhotspot.results;}
if(typeof FlixServices.flixhotspot.data=='undefined'&&typeof flixhotspot.data!='undefined')
FlixServices.flixhotspot.data=flixhotspot.data
var opts=FlixServices.flixhotspot.data;if(window.flixJsCallbacks)
window.flixJsCallbacks.pageView=window.flixJsCallbacks.pageView||{log:false,beat:false};if(FlixServices.flixhotspot.data){logqa('hot data')
opts.type='interactive';if(!opts.product_id&&opts.p)
opts.product_id=opts.p
opts.edvalueT=opts.mpn||opts.ean||opts.product_id
if(et||ed){logqa('hot ed et')
opts.event_detail=ed;opts.event_type=et;if(ed=='hotspot_webar'||et=='webar_click'){opts.event_type='webar_click';opts.event_detail=''}else if(opts.event_type=='dwelltime'){logqa('dwelltime log')
opts.event_detail=ed;}else if(opts.event_type=='launch'){logqa('launch log')
opts.event_detail=ed;}
if(ed=='qr_loaded'||ed=='qr_close')
opts.event_detail=ed;flixtracking.log(opts,status);if(opts.event_type=='qr_impression'){if((typeof FlixServices.modular_hotspot_data!='undefined'&&FlixServices.modular_hotspot_data!=null&&FlixServices.modular_hotspot_data.product_webar!=null||typeof FlixServices.modular_hotspot_data!='undefined'&&FlixServices.modular_hotspot_data!=null&&FlixServices.modular_hotspot_data.desktop_webar!=null)&&FlixjQ('.ek-desktop').length&&typeof FlixServices.modular_match_data[0]!='undefined'&&typeof FlixServices.modular_match_data[0].settings!='undefined'&&typeof FlixServices.modular_match_data[0].settings.distributor_settings!='undefined'&&FlixServices.modular_match_data[0].settings.distributor_settings.desktop_webar!=0){opts.type='3dfw';opts.event_type='ar_impression';opts.event_detail='qr';if(typeof FlixServices.modular_match_data[0]!='undefined'&&typeof FlixServices.modular_match_data[0].modules!='undefined'&&typeof FlixServices.modular_match_data[0].modules.view3dfm!='undefined'&&FlixServices.modular_match_data[0].modules.view3dfm!=null&&FlixServices.modular_match_data[0].modules.view3dfm.webar_provider!=null&&FlixServices.modular_match_data[0].modules.view3dfm.webar_provider!="")
opts.event_detail='qr|3dfw';flixtracking.log(opts,status);}}}else{logqa('hot page')
opts.event_type='page'
if(flixhotspot.results)
var value='Hotspot_'+opts.edvalueT+'_'
else
var value='Hotspot_'+opts.edvalueT+'_'
opts.event_detail=value;setTimeout(function(){logqa('hotfound--'+FlixjQ('#flix_hotspots').length)
if(FlixjQ('#flix_hotspots')&&FlixjQ('#flix_hotspots:not(.ek_hotspots) .flix_hs:not(#flix_desktop_webar)').length>0){flixtracking.log(opts,status);}
else if((typeof FlixServices.modular_hotspot_data!='undefined'&&FlixServices.modular_hotspot_data!=null&&FlixServices.modular_hotspot_data.product_webar!=null||typeof FlixServices.modular_hotspot_data!='undefined'&&FlixServices.modular_hotspot_data!=null&&FlixServices.modular_hotspot_data.desktop_webar!=null)&&FlixjQ('.ek-ios, .ek-android').length>0&&typeof FlixServices.modular_match_data[0]!='undefined'&&typeof FlixServices.modular_match_data[0].settings!='undefined'&&typeof FlixServices.modular_match_data[0].settings.distributor_settings!='undefined'&&FlixServices.modular_match_data[0].settings.distributor_settings.qr_only!=0){opts.event_type='webar_impressions';opts.event_detail='webar_loaded';flixtracking.log(opts,status);opts.type='3dfw';opts.event_type='ar_impression';opts.event_detail='webar';if(typeof FlixServices.modular_match_data[0]!='undefined'&&typeof FlixServices.modular_match_data[0].modules!='undefined'&&typeof FlixServices.modular_match_data[0].modules.view3dfm!='undefined'&&FlixServices.modular_match_data[0].modules.view3dfm!=null&&FlixServices.modular_match_data[0].modules.view3dfm.webar_provider!=null&&FlixServices.modular_match_data[0].modules.view3dfm.webar_provider!="")
opts.event_detail='webar|3dfw';flixtracking.log(opts,status);}else if(typeof flixhotspot.oldresults!='undefined'&&typeof flixhotspot.oldresults.hotspots!='undefined'&&flixhotspot.results.settings[0].no_hotspots&&flixhotspot.results.settings[0].no_hotspots==true){flixtracking.log(opts,status);}
else{logqa('NO HOT LOG')}},1000,opts)
if(typeof FlixServices.modular_match_data[1]!='undefined'&&typeof FlixServices.modular_match_data[1].settings!='undefined'&&typeof FlixServices.modular_match_data[1].settings.adjacent_codes!='undefined'&&!flixtracking.adjacencyhotspotloaded&&(opts.type=='interactive')&&(opts.event_type&&opts.event_type=='page')){opts.event_detail='hotspot'
flixtracking.products.adjacency(opts);flixtracking.adjacencyhotspotloaded=true;}
if((window.comparecheck==undefined||window.comparecheck==false)&&(FlixjQ('#flix_hotspots .flix_hs_product_comparison').length>0||FlixjQ('#flix_hotspotsmob .flix_hsmob_product_comparison').length>0)){flixtracking.delegate('click','.flix_hs_product_comparison',function(event){if(window.comparecheck==undefined||window.comparecheck==false){window.comparecheck=true;flixtracking.products.comparisonv2.init(opts);logqa('Ct v2 init from desk hot')}});}
if(flixtracking.hotspotloaded==false){flixtracking.delegate('click','#flix_hotspots .flix_hs',function(event){var id=''
if(flixhotspot.results){id=this.id.replace(flixhotspot.results.settings[0].prefix,'')
var value='Hotspot_'+opts.edvalueT+'_'+id;}else{id=this.id.replace('flix_','')
var value='Hotspot_'+opts.edvalueT+'_'+id;}
opts.type='interactive';logqa('hotspot click',value);if(flixhotspot.results.hotspots&&flixhotspot.results.hotspots[id]&&flixhotspot.results.hotspots[id].productId)
opts.product_id=flixhotspot.results.hotspots[id].productId
flixtracking.logMedia(opts,value);if(id=='product_thirdpartyapp'){flixtracking.products.thirdpartywidget.hotspot();}});flixtracking.delegate('click','#flix_hotspots .ek-desktop',function(event){logqa('desktop flixar click');flixtracking.products.hotspot('qr_click','qr_open');});flixtracking.hotspotloaded=true;}}}}else{setTimeout(function(){logqa('no hotspot data- try AGAIN ------------------------')
flixtracking.products.hotspot(et,ed)},1000)}},hotspotmob:function(et,ed,status){logqa('in hotspotmob log--'+et+"__"+ed+"__"+status);if(typeof FlixServices.flixhotspotmob!='undefined'){logqa('hot FlixServices.')
if(typeof FlixServices!='undefined'&&typeof FlixServices.flixhotspot!='undefined'){if(typeof flixhotspotmob=='undefined')
flixhotspotmob=FlixServices.flixhotspotmob
flixhotspotmob.results=FlixServices.flixhotspot.results;}
if(typeof FlixServices.flixhotspot.data=='undefined'&&typeof flixhotspotmob.data!='undefined')
FlixServices.flixhotspot.data=flixhotspotmob.data
var opts=FlixServices.flixhotspotmob.data;if(typeof FlixServices!='undefined'&&typeof FlixServices.flixhotspot!='undefined'){if(typeof flixhotspotmob=='undefined')
flixhotspotmob=FlixServices.flixhotspotmob
flixhotspotmob.results=FlixServices.flixhotspot.results;}
if(window.flixJsCallbacks)
window.flixJsCallbacks.pageView=window.flixJsCallbacks.pageView||{log:false,beat:false};if(FlixServices.flixhotspotmob.data){logqa('hotmob data')
opts.type='interactive';if(!opts.product_id&&opts.p)
opts.product_id=opts.p
opts.edvalueT=opts.mpn||opts.ean||opts.product_id
if(et||ed){logqa('hotmob ed et')
opts.event_detail=ed;opts.event_type=et;if(ed=='hotspot_webar'||et=='webar_click'){opts.event_type='webar_click';opts.event_detail=''}else if(opts.event_type=='dwelltime'){logqa('dwelltime log')
opts.event_detail=ed;}else if(opts.event_type=='launch'){logqa('launch log')
opts.event_detail=ed;}
if(ed=='qr_loaded'||ed=='qr_close')
opts.event_detail=ed;flixtracking.log(opts,status);}else{logqa('hotmob page')
opts.event_type='page'
var value='Hotspot_'+opts.edvalueT+'_';opts.event_detail=value;flixtracking.log(opts,status);if(typeof FlixServices.modular_match_data[1]!='undefined'&&typeof FlixServices.modular_match_data[1].settings!='undefined'&&typeof FlixServices.modular_match_data[1].settings.adjacent_codes!='undefined'&&!flixtracking.adjacencyhotspotloaded&&(opts.type=='interactive')&&(opts.event_type&&opts.event_type=='page')){opts.event_detail='hotspot'
flixtracking.products.adjacency(opts);flixtracking.adjacencyhotspotloaded=true;}
if((typeof window.comparecheck=='undefined'||window.comparecheck==false)&&(FlixjQ('#flix_hotspots .flix_hs_product_comparison').length>0||FlixjQ('#flix_hotspotsmob .flix_hsmob_product_comparison').length>0)){flixtracking.delegate('click','.flix_hs_product_comparison',function(event){if(window.comparecheck==undefined||window.comparecheck==false){window.comparecheck=true;flixtracking.products.comparisonv2.init(opts);logqa('Ct v2 init from mob hot')}});}}
if(flixtracking.hotspotmobloaded==false){flixtracking.delegate('click','#flix_hotspotsmob .flix_hsmob',function(event){var id='';if(FlixServices.flixhotspotmob.results){id=this.id.replace(FlixServices.flixhotspotmob.results.settings[0].prefix,'');id=id.replace('mob','');var value='Hotspot_'+opts.edvalueT+'_'+id;}else{id=this.id.replace('flix_','');id=id.replace('mob','');var value='Hotspot_'+opts.edvalueT+'_'+id;}
opts.type='interactive';logqa('hotspotmob click',value);if(FlixServices.flixhotspotmob.results.hotspots&&FlixServices.flixhotspotmob.results.hotspots[id]&&FlixServices.flixhotspotmob.results.hotspots[id].productId)
opts.product_id=FlixServices.flixhotspotmob.results.hotspots[id].productId
flixtracking.logMedia(opts,value);if(id=='product_thirdpartyapp'){flixtracking.products.thirdpartywidget.hotspot();}});flixtracking.delegate('click','.flix-mobtab',function(event){id=this.dataset.tabname
var value='Hotspot_'+opts.edvalueT+'_'+id;opts.type='interactive';logqa('hotspotmob click',value);if(FlixServices.flixhotspotmob.results.hotspots&&FlixServices.flixhotspotmob.results.hotspots[id]&&FlixServices.flixhotspotmob.results.hotspots[id].productId)
opts.product_id=FlixServices.flixhotspotmob.results.hotspots[id].productId
flixtracking.logMedia(opts,value);if(id=='product_thirdpartyapp'){flixtracking.products.thirdpartywidget.hotspot();}});flixtracking.hotspotmobloaded=true;}}}else{setTimeout(function(){flixtracking.products.hotspotmob(et,ed)},1000)}},microsite:function(opts){logqa('in microsite log');opts.type='sis';flixtracking.log(opts);if(flixtracking.micrositeloaded==false){flixtracking.micrositeloaded=true;flixtracking.logTime(opts,0);setInterval(function(){flixtracking.logTime(opts)},10000);flixtracking.delegate('click','#'+opts.flixcontainer+' *[data-media]',function(event){value=this.dataset.media;opts.type='sis';logqa('media',value);if(!FlixjQ(event.target).closest('.flix-video-close').length)
flixtracking.logMedia(opts,value);});flixtracking.delegate('click','#'+opts.flixcontainer+' *[data-page]',function(event){value=this.dataset.page;opts.type='sis';logqa('page',value);if(!FlixjQ(event.target).closest('.flix-video-close').length)
flixtracking.logPage(opts,value);});flixtracking.delegate('click','#'+opts.flixcontainer+' *[data-click]',function(event){value=this.dataset.click;opts.type='sis';logqa('click',value);if(!FlixjQ(event.target).closest('.flix-video-close').length)
flixtracking.logClick(opts,value);});flixtracking.delegate('click','#'+opts.flixcontainer+' a',function(event){if(!this.hasAttribute('data-media')&&!this.hasAttribute('data-page')&&!this.hasAttribute('data-click')){var value="";_img=FlixjQ(this).find("img");if(_img&&_img.attr('alt')){value=_img.attr('alt');}else{value=FlixjQ(this).text();}
logqa('click',value);flixtracking.logClick(opts,value);}});}},comparison:{init:function(){logqa('comparison init- new')
if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.data.product!==undefined){opts=FlixjQ.fn.inPage.data;}else if(FlixjQ.fn.minisite&&FlixjQ.fn.minisite.data.product!==undefined){opts=FlixjQ.fn.minisite.data;}
if(typeof opts=='undefined'&&typeof FlixServices!='undefined')
opts=FlixServices.maindata
opts.type='minisite';if(opts.mpn===undefined){opts.mpn='';}
flixtracking.logging('compare','impression',opts);this.clicks();if(FlixjQ('.ui-tabs-nav li').length){window.addEventListener('scroll',flixtracking.products.comparison.checkViewport);FlixjQ('.ui-tabs-nav li').on('click',function(){var tabno=FlixjQ(this).find('a').attr('href');logqa('Minisite logs-'+tabno);if(FlixjQ(tabno).find('.inpage_selector_comparison').length)
flixtracking.products.comparison.elementInViewport('.inpage_selector_comparison');})}else if(FlixjQ('[data-for="flix-mbl-comparison"]').length){FlixjQ('[data-for="flix-mbl-comparison"]').on('click',function(){setTimeout(function(){window.addEventListener('scroll',flixtracking.products.comparison.checkViewport);},200);});}else{window.addEventListener('scroll',flixtracking.products.comparison.checkViewport);}},clicks:function(){if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.data.product!==undefined){opts=FlixjQ.fn.inPage.data;}else if(FlixjQ.fn.minisite&&FlixjQ.fn.minisite.data.product!==undefined){opts=FlixjQ.fn.minisite.data;}
FlixjQ(document).on('click','.flix-comp-clickable',function(){var attached_mpn=FlixjQ(this).attr('rel');var price=FlixjQ(this).attr('price');flixtracking.logging('compare','productpage',opts,attached_mpn,price);});FlixjQ('.flix-comp-control-prev').on('click',function(){flixtracking.logging('compare','media',opts,'prev');});FlixjQ('.flix-comp-control-next').on('click',function(){flixtracking.logging('compare','media',opts,'next');});FlixjQ('.flix-comp-toggle [data-flix-media]').removeAttr('data-flix-media');FlixjQ('.flix-comp-toggle').on('click',function(){flixtracking.logging('compare','media',opts,'flix-arrow-toggle');});},checkViewport:function(element){flixtracking.products.comparison.elementInViewport('.inpage_selector_comparison');flixtracking.products.comparison.elementInViewport('#inpage_container');},visibilitychange:function(state,type){logqa('visibilitychange-'+type)
if(document.visibilityState=='hidden'){flixtracking.products.comparison.dwelltimer('stop','.inpage_selector_comparison')
flixtracking.products.comparison.dwelltimer('stop','#inpage_container')}
else{}},dwelltimer:function(state,element){var lastt=document.querySelector(element).dataset.flixtime2||0;if(lastt&&lastt!=0&&state=='stop'){var lastt=lastt
tdiff=Date.now()-lastt;type='ct'
if(element&&element.search('inpage_container')!=-1)
type='inpage'
var artime=type+'_time_'+tdiff;logqa(type+'-timer stop- '+tdiff);if(tdiff>0){flixtracking.logging('compare','dwelltime',null,artime);}
document.querySelector(element).removeAttribute('data-flixtime2')}
else if(state=='start'&&lastt==0){logqa('dwelltimer timer start- new'+element);document.addEventListener('visibilitychange',flixtracking.products.comparison.visibilitychange);if(FlixjQ('.ui-tabs-nav li').length){FlixjQ('.ui-tabs-nav li').one('click',function(){var tabno=FlixjQ(this).find('a').attr('href')
logqa('Minisite tab click-'+tabno)
if(FlixjQ(tabno).find('.inpage_selector_comparison').length==0)
flixtracking.products.comparison.dwelltimer('stop','.inpage_selector_comparison')})}
document.querySelector(element).dataset.flixtime2=Date.now();}},elementInViewport:function(element){var myElement=document.querySelector(element);if(myElement){var bounding=myElement.getBoundingClientRect();var myElementHeight=myElement.offsetHeight;var myElementWidth=myElement.offsetWidth;var bounding=myElement.getBoundingClientRect();if(bounding.top>=-myElementHeight&&bounding.left>=-myElementWidth&&bounding.right<=(window.innerWidth||document.documentElement.clientWidth)+myElementWidth&&bounding.bottom<=(window.innerHeight||document.documentElement.clientHeight)+myElementHeight){if(!document.querySelector(element).dataset.flixtime2){flixtracking.products.comparison.dwelltimer('start',element)
if(element=='.inpage_selector_comparison'&&FlixjQ(element).is(":visible"))
flixtracking.logging('compare','media',null,'views');}}else{if(document.querySelector(element).dataset.flixtime2)
flixtracking.products.comparison.dwelltimer('stop',element)}}}},comparisonv2:{init:function(opts){logqa('comparison V2 init- new')
if(opts){}else if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.data.product!==undefined){opts=FlixjQ.fn.inPage.data;}else if(FlixjQ.fn.minisite&&FlixjQ.fn.minisite.data.product!==undefined){opts=FlixjQ.fn.minisite.data;}
if(typeof opts=='undefined'&&typeof FlixServices!='undefined')
opts=FlixServices.maindata
opts.type='minisite';if(opts.mpn===undefined){opts.mpn='';}
flixtracking.logging('compare','impression',opts);this.clicks();this.pageposition();setTimeout(function(){var v2prodids='';FlixjQ('.flix-compv2-product').each(function(i){v2prodids+=FlixjQ(this).attr('data-compv2-pid')+';'});flixtracking.logging('compare','launch',opts,v2prodids);},2000);var exstock=FlixjQ('[data-compv2-excludedbystock]').attr('data-compv2-excludedbystock')
if(exstock&&exstock.length){exstock=exstock.split('|')
FlixjQ.each(exstock,function(no,id){if(id.length)
flixtracking.logging('compare','ctexclusion',opts,'1;'+id);});}
var exprice=FlixjQ('[data-compv2-excludedbyprice]').attr('data-compv2-excludedbyprice')
if(exprice&&exprice.length){exprice=exprice.split('|')
FlixjQ.each(exprice,function(no,id){if(id.length)
flixtracking.logging('compare','ctexclusion',opts,'2;'+id);});}
if(FlixjQ('.ui-tabs-nav li').length){FlixjQ('.ui-tabs-nav li').on('click',function(){window.addEventListener('scroll',flixtracking.products.comparison.checkViewport);var tabno=FlixjQ(this).find('a').attr('href');logqa('Minisite logs-'+tabno);if(FlixjQ(tabno).find('.inpage_selector_comparison').length)
flixtracking.products.comparisonv2.elementInViewport('.inpage_selector_comparison');})}else if(FlixjQ('[data-for="flix-mbl-comparison"]').length){FlixjQ('[data-for="flix-mbl-comparison"]').on('click',function(){setTimeout(function(){window.addEventListener('scroll',flixtracking.products.comparisonv2.checkViewport);},200);});}else{window.addEventListener('scroll',flixtracking.products.comparisonv2.checkViewport);}},clicks:function(){if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.data.product!==undefined){opts=FlixjQ.fn.inPage.data;}else if(FlixjQ.fn.minisite&&FlixjQ.fn.minisite.data.product!==undefined){opts=FlixjQ.fn.minisite.data;}
flixtracking.delegate('click','.flix-compv2-trac-buy .flix-compv2-clickable, .flix-compv2-linkBtn',function(){var prodid=''
if(FlixjQ(this).closest('.flix-compv2-product').length&&FlixjQ(this).closest('.flix-compv2-product').attr('data-compv2-pid'))
prodid=FlixjQ(this).closest('.flix-compv2-product').attr('data-compv2-pid');var price=FlixjQ(this).attr('price');flixtracking.logging('compare','productpage',opts,prodid,price);});flixtracking.delegate('click','.flix-compv2-control-prev',function(){logqa('flix-compv2-control-prev')
flixtracking.logging('compare','media',opts,'prev');setTimeout(function(){FlixjQ('.flix-cp-target').each(function(){var pid=FlixjQ(this).attr('data-compv2-pid');if(!FlixjQ(this).hasClass('flix-ct-pos'))
flixtracking.logging('compare','position',opts,pid);FlixjQ(this).addClass('flix-ct-pos')});},1200)});flixtracking.delegate('click','.flix-compv2-control-next',function(){logqa('flix-compv2-control-next')
flixtracking.logging('compare','media',opts,'next');setTimeout(function(){FlixjQ('.flix-cp-target').each(function(){var pid=FlixjQ(this).attr('data-compv2-pid');if(!FlixjQ(this).hasClass('flix-ct-pos'))
flixtracking.logging('compare','position',opts,pid);FlixjQ(this).addClass('flix-ct-pos')});},1200)});flixtracking.delegate('click','.flix-compv2-toggle',function(){logqa('flix-compv2-toggle')
var textval=FlixjQ(this).find('.flix-compv2-itemDesc').text()
textval=textval.replace(' ⓘ','')
textval=textval.replace('ⓘ','')
textval=textval.replace('%20%20','')
var toggleval='expand_'
if(!FlixjQ(this).hasClass('flix-compv2-toggleactive'))
var toggleval='collapse_'
flixtracking.logging('compare','media',opts,toggleval+textval);});flixtracking.delegate('click','.flix-has-tooltip',function(){if(FlixjQ(this).attr('title')&&FlixjQ(this).attr('title').length>0){logqa('flix-has-tooltip');flixtracking.logging('compare','media',opts,'tooltip');}});flixtracking.delegate('click','.flix-compv2-close',function(){logqa('flix_close')
var prodid=FlixjQ(this).closest('.flix-compv2-product').attr('data-compv2-pid')
flixtracking.logging('compare','media',opts,'remove_'+prodid);});flixtracking.delegate('click','.flix-compv2-toggle-movebtn',function(){logqa('flix-toggle-movebtn')
var prodid=FlixjQ(this).closest('.flix-compv2-product').attr('data-compv2-pid')
flixtracking.logging('compare','media',opts,'boost_'+prodid);});},checkViewport:function(element){flixtracking.products.comparisonv2.elementInViewport('.inpage_selector_comparison');flixtracking.products.comparisonv2.elementInViewport('#inpage_container');},visibilitychange:function(state,type){logqa('visibilitychange-'+type)
if(document.visibilityState=='hidden'){flixtracking.products.comparisonv2.dwelltimer('stop','.inpage_selector_comparison')
flixtracking.products.comparisonv2.dwelltimer('stop','#inpage_container')}
else{}},dwelltimer:function(state,element){if(document.querySelector(element))
var lastt=document.querySelector(element).dataset.flixtime2||0;if(lastt&&lastt!=0&&state=='stop'){var lastt=lastt
tdiff=Date.now()-lastt;type='ct'
if(element&&element.search('inpage_container')!=-1)
type='inpage'
var artime=type+'_time_'+tdiff;logqa(type+'-timer stop- '+tdiff);if(tdiff>0){flixtracking.logging('compare','dwelltime',null,artime);}
document.querySelector(element).removeAttribute('data-flixtime2')}
else if(state=='start'&&lastt==0){logqa('dwelltimer timer start- new'+element);document.addEventListener('visibilitychange',flixtracking.products.comparisonv2.visibilitychange);if(FlixjQ('.ui-tabs-nav li').length){FlixjQ('.ui-tabs-nav li').one('click',function(){var tabno=FlixjQ(this).find('a').attr('href')
logqa('Minisite tab click-'+tabno)
if(FlixjQ(tabno).find('.inpage_selector_comparison').length==0)
flixtracking.products.comparisonv2.dwelltimer('stop','.inpage_selector_comparison')})}
document.querySelector(element).dataset.flixtime2=Date.now();}},elementInViewport:function(element){var myElement=document.querySelector(element);if(myElement){var bounding=myElement.getBoundingClientRect();var myElementHeight=myElement.offsetHeight;var myElementWidth=myElement.offsetWidth;var bounding=myElement.getBoundingClientRect();if(bounding.top>=-myElementHeight&&bounding.left>=-myElementWidth&&bounding.right<=(window.innerWidth||document.documentElement.clientWidth)+myElementWidth&&bounding.bottom<=(window.innerHeight||document.documentElement.clientHeight)+myElementHeight){if(!document.querySelector(element).dataset.flixtime2){flixtracking.products.comparisonv2.dwelltimer('start',element)
if(element=='.inpage_selector_comparison'&&FlixjQ(element).is(":visible")){flixtracking.logging('compare','media',null,'views');var v2prodids='';FlixjQ('.flix-compv2-product').each(function(i){if(FlixjQ(this).attr('data-compv2-pid'))
v2prodids+=FlixjQ(this).attr('data-compv2-pid')+';'});if(!flixtracking.ctviewwed)
flixtracking.logging('compare','view',null,v2prodids);flixtracking.ctviewwed=1
function ctposition(){if(FlixjQ('.flix-cp-target').length&&!flixtracking.products.comparisonv2.ctpos){FlixjQ('.flix-cp-target').each(function(){var pid=FlixjQ(this).attr('data-compv2-pid');if(!FlixjQ(this).hasClass('flix-ct-pos'))
flixtracking.logging('compare','position',null,pid);FlixjQ(this).addClass('flix-ct-pos')});flixtracking.products.comparisonv2.ctpos=1}else{setTimeout(function(){ctposition()},2000);}}
ctposition();}}}else{if(document.querySelector(element).dataset.flixtime2)
flixtracking.products.comparisonv2.dwelltimer('stop',element)}}},pageposition:function(){logqa('pageposition')
var toptrac=[];var middletrac=[];var bottomtrac=[];FlixjQ(window).scroll(function(){FlixjQ('[data-flix-embed-meta="features"], .flix-ctv2-wrapper').each(function(inPcount,b){if(FlixjQ(this).find(".inpage_selector_comparison").length>0&&FlixjQ(this).find(".inpage_selector_comparison").offset()){var top_of_element=FlixjQ(this).find(".inpage_selector_comparison").offset().top;var bottom_of_element=FlixjQ(this).find(".inpage_selector_comparison").offset().top+FlixjQ(this).find(".inpage_selector_comparison").outerHeight(false);var middle_of_element=FlixjQ(this).find(".inpage_selector_comparison").offset().top+FlixjQ(this).find(".inpage_selector_comparison").outerHeight(false)/2;var bottom_of_screen=FlixjQ(window).scrollTop()+window.innerHeight;var top_of_screen=FlixjQ(window).scrollTop();var pagepos='1';if(((bottom_of_screen+20)>top_of_element)&&(top_of_screen<bottom_of_element)){if(bottom_of_screen<top_of_element&&FlixjQ.inArray(inPcount,toptrac)==-1){logqa('Top of inPage');pagepos=0;toptrac.push(inPcount);}
if(bottom_of_screen>middle_of_element&&FlixjQ.inArray(inPcount,middletrac)==-1){logqa('Middle of ct');pagepos=50;middletrac.push(inPcount);}
if(bottom_of_screen>bottom_of_element&&FlixjQ.inArray(inPcount,bottomtrac)==-1){logqa('Bottom of ct');pagepos=100;bottomtrac.push(inPcount);}
if(pagepos!='1'){flixtracking.logging('compare','viewpoint',opts,'ct_view_'+pagepos)}}else{}}})});}},thirdpartywidget:{init:function(){logqa('3p init- new')
if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.data.product!==undefined){opts=FlixjQ.fn.inPage.data;}else if(FlixjQ.fn.minisite&&FlixjQ.fn.minisite.data.product!==undefined){opts=FlixjQ.fn.minisite.data;}
opts.type='3p';if(opts.mpn===undefined){opts.mpn='';}
if(FlixjQ('.flix-3rdwidget').length)
var Ed_3p=FlixjQ(".flix-3rdwidget").data("3p")
flixtracking.logging('3p','page','','');this.pageposition();flixtracking.delegate('click','#flix-bosewidgetbutton',function(){if(FlixjQ('.flix-3rdwidget').is(":visible")&&!flixtracking.app3ploaded&&FlixjQ('.flix-3rdwidget iframe').css('display')!=='none'){flixtracking.logging('3p','appload',null,'');flixtracking.app3ploaded=true}
flixtracking.logging('3p','media','','3p_Interactive'+Ed_3p);});if(FlixjQ('.ui-tabs-nav li').length){if((FlixjQ('.ui-tabs-nav li').length==1&&FlixjQ('.flix-3rdwidget').length>0)||(FlixjQ('.ui-widget-content .flix-3rdwidget')&&FlixjQ('.ui-widget-content .flix-3rdwidget').is(':visible'))){window.addEventListener('scroll',flixtracking.products.thirdpartywidget.checkViewport);}
FlixjQ('.ui-tabs-nav li').on('click',function(){window.addEventListener('scroll',flixtracking.products.thirdpartywidget.checkViewport);var tabno=FlixjQ(this).find('a').attr('href');logqa('Minisite logs-'+tabno);if(FlixjQ(tabno).find('.flix-3rdwidget').length)
flixtracking.products.thirdpartywidget.elementInViewport('.flix-3rdwidget');})}else{window.addEventListener('scroll',flixtracking.products.thirdpartywidget.checkViewport);}},checkViewport:function(element){if(FlixjQ('.flix-3rdwidget iframe').css('display')!=='none')
flixtracking.products.thirdpartywidget.elementInViewport('.flix-3rdwidget');},visibilitychange:function(state,type){logqa('visibilitychange-'+type)
if(document.visibilityState=='hidden'){flixtracking.products.thirdpartywidget.dwelltimer('stop','.flix-3rdwidget')}
else{}},hotspot:function(state,type){logqa('thirdpartywidget hotspot')
flixtracking.logging('3p','page',null,'hotspot');flixtracking.logging('3p','appload',null,'hotspot');flixtracking.products.thirdpartywidget.dwelltimerhot('start')
setTimeout(function(){var target='.share-bubble .flix-3rdwidget, .share-bubblemob .flix-3rdwidget'
const sections=document.querySelectorAll(target);const config={rootMargin:'50px 0px 50px 0px',threshold:0};let isLeaving=false;let observer=new IntersectionObserver(function(entries,self){var delay=0;entries.forEach(entry=>{if(entry.isIntersecting){isLeaving=true;logqa('thirdpartywidget visible ');}else if(isLeaving){isLeaving=false;logqa('thirdpartywidget hidden ');flixtracking.products.thirdpartywidget.dwelltimerhot('stop')
self.unobserve(entry.target);}});},config);if('IntersectionObserver'in window){setTimeout(function(){sections.forEach(section=>{observer.observe(section);});},1000);}else{}},1000)},visibilitychangehot:function(state,type){logqa('visibilitychangehot-'+type)
if(document.visibilityState=='hidden'){flixtracking.products.thirdpartywidget.dwelltimerhot('stop');}
else{}},dwelltimerhot:function(state){logqa('dwelltimerhot-'+state)
if(state=='stop'){var lastt=flixtracking.threephotdwelltime;var tdiff=Date.now()-lastt;var artime='hot_app_time_'+tdiff;logqa('stop- '+artime);if(tdiff>0){logqa('dwelltime'+artime)
flixtracking.logging('3p','dwelltime',null,artime);document.removeEventListener('visibilitychange',flixtracking.products.thirdpartywidget.visibilitychangehot);}}
else if(state=='start'){flixtracking.threephotdwelltime=Date.now();document.addEventListener('visibilitychange',flixtracking.products.thirdpartywidget.visibilitychangehot);}},dwelltimer:function(state,element){if(document.querySelector(element))
var lastt=document.querySelector(element).dataset.flixtime2||0;if(lastt&&lastt!=0&&state=='stop'){var lastt=lastt
tdiff=Date.now()-lastt;type='3p'
if(element&&element.search('inpage_container')!=-1)
type='inpage'
var artime='app_time_'+tdiff;logqa(type+'-timer stop- '+tdiff);if(tdiff>0){flixtracking.logging('3p','dwelltime',null,artime);}
document.querySelector(element).removeAttribute('data-flixtime2')}
else if(state=='start'&&lastt==0){logqa('dwelltimer timer start- new'+element);document.addEventListener('visibilitychange',flixtracking.products.thirdpartywidget.visibilitychange);if(FlixjQ('.ui-tabs-nav li').length){FlixjQ('.ui-tabs-nav li').one('click',function(){var tabno=FlixjQ(this).find('a').attr('href')
logqa('Minisite tab click-'+tabno)
if(FlixjQ(tabno).find('.flix-3rdwidget').length==0)
flixtracking.products.thirdpartywidget.dwelltimer('stop','.flix-3rdwidget')})}
document.querySelector(element).dataset.flixtime2=Date.now();}},elementInViewport:function(element){var myElement=document.querySelector(element);if(myElement){var bounding=myElement.getBoundingClientRect();var myElementHeight=myElement.offsetHeight;var myElementWidth=myElement.offsetWidth;var bounding=myElement.getBoundingClientRect();if(bounding.top>=-myElementHeight&&bounding.left>=-myElementWidth&&bounding.right<=(window.innerWidth||document.documentElement.clientWidth)+myElementWidth&&bounding.bottom<=(window.innerHeight||document.documentElement.clientHeight)+myElementHeight){if(!document.querySelector(element).dataset.flixtime2){flixtracking.products.thirdpartywidget.dwelltimer('start',element)
if(element=='.flix-3rdwidget'&&FlixjQ(element).is(":visible")&&FlixjQ('#flix-bosewidgetbutton').length==0&&!flixtracking.app3ploaded){flixtracking.logging('3p','appload',null,'');flixtracking.app3ploaded=true}}}else{if(document.querySelector(element).dataset.flixtime2)
flixtracking.products.thirdpartywidget.dwelltimer('stop',element)}}},pageposition:function(){logqa('pageposition')
var toptrac=[];var middletrac=[];var bottomtrac=[];FlixjQ(window).scroll(function(){FlixjQ('[id*=flixinpage_]').each(function(inPcount,b){if((FlixjQ(this).find(".flix-3rdwidget").length>0&&FlixjQ(this).find(".flix-3rdwidget").offset()&&FlixjQ(this).find('#flix-bosewidgetiframe').length==0)||(FlixjQ(this).find('#flix-bosewidgetiframe').length>0&&FlixjQ(this).find("#flix-bosewidgetiframe").is(":visible")&&FlixjQ(this).find("#flix-bosewidgetiframe").offset())){var top_of_element=FlixjQ(this).find(".flix-3rdwidget,#flix-bosewidgetiframe").offset().top;var bottom_of_element=FlixjQ(this).find(".flix-3rdwidget,#flix-bosewidgetiframe").offset().top+FlixjQ(this).find(".flix-3rdwidget,#flix-bosewidgetiframe").outerHeight(false);var middle_of_element=FlixjQ(this).find(".flix-3rdwidget,#flix-bosewidgetiframe").offset().top+FlixjQ(this).find(".flix-3rdwidget,#flix-bosewidgetiframe").outerHeight(false)/2;var bottom_of_screen=FlixjQ(window).scrollTop()+window.innerHeight;var top_of_screen=FlixjQ(window).scrollTop();var pagepos='1';if(((bottom_of_screen+20)>top_of_element)&&(top_of_screen<bottom_of_element)){if((bottom_of_screen<top_of_element)&&FlixjQ.inArray(inPcount,toptrac)==-1){logqa('Top of 3p');pagepos=0;toptrac.push(inPcount);flixtracking.logging('3p','viewpoint',opts,'3p_view_'+pagepos)}
if(bottom_of_screen>middle_of_element&&FlixjQ.inArray(inPcount,middletrac)==-1){logqa('Middle of 3p');pagepos=50;middletrac.push(inPcount);flixtracking.logging('3p','viewpoint',opts,'3p_view_'+pagepos)}
if(bottom_of_screen>bottom_of_element&&FlixjQ.inArray(inPcount,bottomtrac)==-1){logqa('Bottom of 3p');pagepos=100;bottomtrac.push(inPcount);flixtracking.logging('3p','viewpoint',opts,'3p_view_'+pagepos)}}else{}}})});}},reviews:{reviews_count:0,reviewsContainer:'',init:function(opts){logqa('init review log');if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.data.product!==undefined){opts=FlixjQ.fn.inPage.data;}else if(FlixjQ.fn.minisite&&FlixjQ.fn.minisite.data.product!==undefined){opts=FlixjQ.fn.minisite.data;}
if(typeof FlixServices!='undefined'&&typeof FlixServices.modular_match_data[0]!='undefined')
reviews_count=FlixServices.modular_match_data[0].modules.reviews.review_count;else
reviews_count=flixtracking.products.reviewsContainer.attr('data-rcount');flixtracking.logging('review','page',opts,'review_'+reviews_count);this.clicks();},clicks:function(){if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.data.product!==undefined){opts=FlixjQ.fn.inPage.data;}else if(FlixjQ.fn.minisite&&FlixjQ.fn.minisite.data.product!==undefined){opts=FlixjQ.fn.minisite.data;}
FlixjQ('body').on('click','[class*=-topreviews]',function(){flixtracking.logging('review','page',opts,'review_scrollTo');});FlixjQ('body').on('click','nav[class*=_pagination] ul li [data-href]',function(){var page=FlixjQ(this).attr("data-href");flixtracking.logging('review','page',opts,'review_page_'+page);});FlixjQ("div#minisite_tabs ul").find("[data-m-typeid='14']").on('click',function(){flixtracking.logging('review','matchhit',opts,'review_tabClick');});}},pagetracking:{init:function(){logqa('start inpage visible tracking')
if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.data.product!==undefined){opts=FlixjQ.fn.inPage.data;}else if(FlixjQ.fn.minisite&&FlixjQ.fn.minisite.data.product!==undefined){opts=FlixjQ.fn.minisite.data;}
var toptrac=[];var middletrac=[];var bottomtrac=[];FlixjQ(window).scroll(function(){FlixjQ('[id*=flixinpage_]').each(function(inPcount,b){if(FlixjQ(this).find("#inpage_container").length>0&&FlixjQ(this).find("#inpage_container").offset()){var top_of_element=FlixjQ(this).find("#inpage_container").offset().top;var bottom_of_element=FlixjQ(this).find("#inpage_container").offset().top+FlixjQ(this).find("#inpage_container").outerHeight(false);var middle_of_element=FlixjQ(this).find("#inpage_container").offset().top+FlixjQ(this).find("#inpage_container").outerHeight(false)/2;var bottom_of_screen=FlixjQ(window).scrollTop()+window.innerHeight;var top_of_screen=FlixjQ(window).scrollTop();var pagepos='';if((bottom_of_screen>top_of_element)&&(top_of_screen<bottom_of_element)){if(top_of_screen<top_of_element&&FlixjQ.inArray(inPcount,toptrac)==-1){logqa('Top of inPage');pagepos='Top of inPage'
toptrac.push(inPcount);}
if(top_of_screen>middle_of_element&&FlixjQ.inArray(inPcount,middletrac)==-1){logqa('Middle of inPage');pagepos='Middle of inPage'
middletrac.push(inPcount);}
if(bottom_of_screen>bottom_of_element&&FlixjQ.inArray(inPcount,bottomtrac)==-1){logqa('Bottom of inPage');pagepos='Bottom of inPage'
bottomtrac.push(inPcount);}
if(typeof FlixjQ.fn.inPage=='function'&&pagepos!=''){var opts=FlixjQ.fn.inPage.data;flixtracking.logging('visible','media',opts,pagepos,null,inPcount)}}else{}}})});}},logotracking:{logoclickonce:0,init:function(){logqa('start logo tracking')
if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.data.product!==undefined){opts=FlixjQ.fn.inPage.data;}else if(FlixjQ.fn.minisite&&FlixjQ.fn.minisite.data.product!==undefined){opts=FlixjQ.fn.minisite.data;}
flixtracking.logging('logo','page',opts,'logo_page');this.hover();this.click();},hover:function(){FlixjQ('body').on('hover','.flix-logop',function(){if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.data.product!==undefined){opts=FlixjQ.fn.inPage.data;}else if(FlixjQ.fn.minisite&&FlixjQ.fn.minisite.data.product!==undefined){opts=FlixjQ.fn.minisite.data;}
if(flixtracking.products.logoclickonce==0)
flixtracking.logging('logo','media',opts,'logo_hover');flixtracking.products.logoclickonce++;});},click:function(){FlixjQ('body').on('touchstart','.flix-logop',function(){if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.data.product!==undefined){opts=FlixjQ.fn.inPage.data;}else if(FlixjQ.fn.minisite&&FlixjQ.fn.minisite.data.product!==undefined){opts=FlixjQ.fn.minisite.data;}
if(flixtracking.products.logoclickonce==0)
flixtracking.logging('logo','media',opts,'logo_click');flixtracking.products.logoclickonce++;});}},ugctracking:{init:function(){logqa('start ugc tracking')
if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.data.product!==undefined){opts=FlixjQ.fn.inPage.data;}else if(FlixjQ.fn.minisite&&FlixjQ.fn.minisite.data.product!==undefined){opts=FlixjQ.fn.minisite.data;}else if(typeof flixhotspot!='undefined')
opts=flixhotspot.data
flixtracking.logging('ugc','page',opts,'ugc_page');this.click();},click:function(){var timerId=null;var lo={"handled":false}
FlixjQ('body').on('click touchstart','[data-flix-ucgmedia]',function(){if(lo.handled===false){lo.handled=true;if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.data.product!==undefined){opts=FlixjQ.fn.inPage.data;}else if(FlixjQ.fn.minisite&&FlixjQ.fn.minisite.data.product!==undefined){opts=FlixjQ.fn.minisite.data;}
var opts2=opts;var ucgtarget=FlixjQ(this).attr('data-flix-ucgmedia').toLowerCase()
if(FlixjQ(this).closest('.share-bubble').length)
ucgtarget='hotspot_'+ucgtarget
if(typeof opts=='undefined'&&typeof flixhotspotmob&&typeof flixhotspotmob.data!='undefined')
opts2=flixhotspotmob.data;if(typeof opts=='undefined'&&typeof flixhotspot&&typeof FlixServices.flixhotspot.data!='undefined')
opts2=FlixServices.flixhotspot.data;if(typeof window.flixlightboxclick=='undefined'&&!timerId){logqa('clicked- '+FlixjQ(this).attr('data-flix-ucgmedia'))
timerId=setTimeout(function(){flixtracking.logging('ugc','media',opts2,ucgtarget);timerId=null;},200);}}
setTimeout(function(){lo.handled=false;},500)});}},flctracking:{init:function(){logqa("start flc tracking via prototype");this.checkmatch()},checkmatch:function(){setTimeout(function(){if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.data.product!==undefined){opts=FlixjQ.fn.inPage.data;}else if(FlixjQ.fn.minisite&&FlixjQ.fn.minisite.data.product!==undefined){opts=FlixjQ.fn.minisite.data;}
if(FlixjQ('#flix-location-content').children().length>0){flixtracking.logging("flc","location",opts,"flc_location ");flixtracking.products.flctracking.click();}else{flixtracking.logging("flc","matchmisslocation ",opts,"flc_matchmisslocation  ");}},1500)},click:function(){var lo={"handled":false}
FlixjQ("body").on("click touchstart","[data-flix-flcmedia]",function(){if(lo.handled===false){lo.handled=true;if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.data.product!==undefined){opts=FlixjQ.fn.inPage.data;}else if(FlixjQ.fn.minisite&&FlixjQ.fn.minisite.data.product!==undefined){opts=FlixjQ.fn.minisite.data;}
var opts2=opts;var flctarget=FlixjQ(this).attr("data-flix-flcmedia").toLowerCase();logqa("clicked- "+flctarget);flixtracking.logging("flc","locationmedia",opts2,flctarget)}
setTimeout(function(){lo.handled=false;},500)})}},buttontracking:{init:function(){logqa('init buttontracking log');var type='inpage';if(typeof opts=='undefined'&&typeof FlixjQ!='undefined'&&typeof FlixjQ.fn.inPage!='undefined')
opts=FlixjQ.fn.inPage.data;if(typeof FlixjQ.fn.minisite!='undefined'){type='minisite'
if(typeof opts=='undefined')
opts=FlixjQ.fn.minisite.data;}
if(typeof opts=='undefined'&&typeof FlixServices!='undefined'&&typeof FlixServices.maindata!='undefined')
opts=FlixServices.maindata;var cc=0;var lo={"handled":false}
var medialog=function(mediatext,prodid){var data2=JSON.parse(JSON.stringify(opts));if(typeof FlixServices.inpagedata!='undefined'&&typeof FlixServices.inpagedata[prodid]=='object'){data2=FlixServices.inpagedata[prodid]}
if(prodid&&prodid!='')
data2.product=prodid;if(cc==0){logqa('clicked data-flix-media: '+mediatext)
cc=1;flixtracking.logging(type,'media',data2,mediatext);setTimeout(function(){cc=0},500)}}
flixtracking.delegate('click','[data-flix-media]',function(){var mediatext=FlixjQ(this).attr('data-flix-media');var targetval=FlixjQ(this).closest('#inpage_container').parent();logqa('data-flix-media click-'+targetval+"__"+mediatext);if(FlixjQ(targetval).find('span[id^=inpage-data], span[class^=mobile-data]').length){var prodid=FlixjQ(targetval).find('span[id^=inpage-data]').attr('id')||FlixjQ(targetval).attr('alt');prodid=prodid.toString().replace('inpage-data-','');medialog(mediatext,prodid)}else if(FlixjQ(targetval).find('[data-flx-p]').length){var prodid=FlixjQ(targetval).find('[data-flx-p]').attr('data-flx-p')
medialog(mediatext,prodid)}else{medialog(mediatext)}
medialog(mediatext,prodid)});}},jwplayer:function(mediaid_now,type,attr,div_name){logqa('in jwlogs - '+type)
if(type=='mediaload'){var et='mediaload';var ed=mediaid_now;this_position='';}
if(type=='mediatime'){var this_position=attr;var et='mediatime';var ed=mediaid_now;}
if(typeof FlixjQ.fn.inPage!='undefined'||typeof FlixjQ.fn.minisite!='undefined'||(flixtracking.getUrlParameter('p')&&flixtracking.getUrlParameter('l'))||(typeof FlixjQ.fn.hotspot!='undefined')){_base='//media.flixcar.com'
if(flixtracking.getUrlParameter('base')&&flixtracking.getUrlParameter('base').length>0)
_base=flixtracking.getUrlParameter('base')
var opts={type:'inpage',event_type:et||'',event_detail:ed||'',product_id:flixtracking.getUrlParameter('p')||'',distributor:flixtracking.getUrlParameter('d')||'',language:flixtracking.getUrlParameter('l')||'',pn:pnurl,page_name:pnurl,mpn:mpn||flixtracking.getUrlParameter('mpn')||'',ean:flixtracking.getUrlParameter('ean')||'',ver:2,vtime:this_position||'',br:flixtracking.getUrlParameter('br')||'',price:flixtracking.getUrlParameter('pr')||'',currency:flixtracking.getUrlParameter('cur')||'',jwvideo:1,pagedata:{br:flixtracking.getUrlParameter('br')||'',price:flixtracking.getUrlParameter('pr')||'',currency:flixtracking.getUrlParameter('cur')||'',pn:pnurl,page_name:pnurl}}
var d=new Date()
if(pnurl.search('minisite/show')!=-1||(typeof FlixjQ!='undefined'&&typeof FlixjQ.fn.minisite!='undefined')){logqa('minisite.log')
opts.type='minisite'}
if(et=='mediatime'&&(this_position==''||this_position<0.11))
opts.vtime=0;d.setMinutes(d.getTimezoneOffset());opts.ut=d.getTime();flixtracking.log(opts);}else{logqa('no video tracking ')}},cgi:function(event_type,edription){logqa('in cgi - '+event_type)
var aaurl=function(sParam){var sPageURL=decodeURI(window.location.search.substring(1)),sURLVariables=sPageURL.split('&'),sParameterName,i;for(i=0;i<sURLVariables.length;i++){sParameterName=sURLVariables[i].split('=');if(sParameterName[0]===sParam){sParameterName[1]=decodeURIComponent(sParameterName[1])
return sParameterName[1]===undefined?true:sParameterName[1];}}}
var data={product_id:flixtracking.getUrlParameter('p')||'',distributor:flixtracking.getUrlParameter('d')||'',language:flixtracking.getUrlParameter('l')||'en',event_type:event_type||'page',event_detail:edription.toLowerCase()||'',mpn:flixtracking.getUrlParameter('mpn')||'',ean:flixtracking.getUrlParameter('ean')||'',type:'3d',pn:aaurl('pn')||location.href,page_name:aaurl('pn')||location.href}
flixtracking.log(data)},threedfw:function(event_type,edription){logqa('in 3dfw - '+event_type)
var pnurl='',mpn='';if(flixtracking.getUrlParameter('pn'))
pnurl=flixtracking.getUrlParameter('pn');pnurl=pnurl.replace(/\|and/g,'&');pnurl=pnurl.replace(/\|for/g,'//');pnurl=pnurl.replace(/\|que/g,'?');pnurl=pnurl.replace(/\|dub/g,':');pnurl=pnurl.replace(/\|is/g,'=');pnurl=pnurl.replace(/\|hash/g,'#');pnurl=pnurl.replace(/\|per/g,'%');if(flixtracking.getUrlParameter('mpn'))
mpn=flixtracking.getUrlParameter('mpn')
mpn=mpn.replace(/\|and/g,'&');mpn=mpn.replace(/\|for/g,'//');mpn=mpn.replace(/\|que/g,'?');mpn=mpn.replace(/\|dub/g,':');mpn=mpn.replace(/\|is/g,'=');mpn=mpn.replace(/\|hash/g,'#');mpn=mpn.replace(/\|per/g,'%');if(!window.flixJsCallbacks){var flixJsCallbacks={_loadCallback:null,_loadInpageCallback:null,_loadMinisiteCallback:null,_loadNoshowCallback:null};var getFlixCallback=function(){return flixJsCallbacks;};window.flixJsCallbacks=getFlixCallback();}
if(flixtracking.getUrlParameter('gvid')&&flixtracking.getUrlParameter('gvid').length>0&&window.flixJsCallbacks){window.flixJsCallbacks.gvid=flixtracking.getUrlParameter('gvid')}
var data={arid:flixtracking.getUrlParameter('arid')||'',product_id:flixtracking.getUrlParameter('p')||'',distributor:flixtracking.getUrlParameter('d')||'',language:flixtracking.getUrlParameter('l')||'en',event_type:event_type||'page',event_detail:edription.toLowerCase()||'3dfw',sid:flixtracking.getUrlParameter('sid')||'',br:flixtracking.getUrlParameter('br')||'',price:flixtracking.getUrlParameter('pr')||'',currency:flixtracking.getUrlParameter('cur')||'',ref:'',pn:pnurl||document.referrer||'',ti:'',mpn:flixtracking.getUrlParameter('mpn')||'',ean:flixtracking.getUrlParameter('ean')||'',type:'3dfw'}
if(data.distributor&&data.distributor!='')
flixtracking.log(data)},videoChat:function(data){logqa('in videoChat log');data.type='videochat';flixtracking.log(data);},addtocart:function(data,ab_hotspot_data){logqa('in addtocart');var dist='';var lan='';if(typeof FlixjQ!='undefined'&&typeof FlixjQ.fn.inPage!='undefined'){dist=FlixjQ.fn.inPage.data.distributor;lan=FlixjQ.fn.inPage.data.language;}
if(!data.d||(data.d&&data.d==''))
data.d=data.distributor||dist;if(!data.l||(data.l&&data.l==''))
data.l=data.language||lan;data.view_time=0;var
d=new Date(),_base='https://media.flixcar.com/inpage/log.gif',encrypt=[],_beatUrlnew=flixtracking.trackingDomainBeat,_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;if(!data.session_id){if(typeof window!=='undefined'&&typeof window.sessionStorage==='object')
var guid=sessionStorage.getItem('flixsession');if(guid&&guid.length)
data.session_id=guid;else{data.session_id=flixtracking.setGuid.New();if(typeof window!=='undefined'&&typeof window.sessionStorage==='object')
sessionStorage.setItem('flixsession',data.session_id);}}
data.gvid=(window.flixJsCallbacks&&window.flixJsCallbacks.gvid)?window.flixJsCallbacks.gvid:'';data.pid=(window.flixJsCallbacks&&window.flixJsCallbacks.pid)?window.flixJsCallbacks.pid:(typeof FlixServices.modular_match_data[0]!='undefined'&&FlixServices.modular_match_data[0].product_meta.product_id)?FlixServices.modular_match_data[0].product_meta.product_id:0;data.product_id=data.comppid||data.pid
url=_base+"?newtrackv2&ts=inpage&m=y&et="+data.event_type;url+="&sid="+data.session_id;url+="&gvid="+data.gvid;url+="&p="+data.product_id;url+="&d="+data.d;url+="&l="+data.l;url+="&ed="+encodeURIComponent(data.event_detail);url+="&ut="+d.getTime();if(window.flreq){var fblan=window.flreq
for(var i=0;i<fblan.length;i++){if('inpage'==fblan[i].flreq_service&&url.search('&l1=')==-1){if(fblan[i].flreq_language&&fblan[i].flreq_language!='null'){var origlan=fblan[i].flreq_language
var falllan=fblan[i].language
url+="&l1="+origlan+"&l2="+falllan;if(data.l!=falllan)
url=url.replace("&l="+data.l,"&l="+falllan);}else{var origlan=fblan[i].language
url+="&l1="+origlan}}}}
if(url.search('&l1=')==-1&&data.l){url+="&l1="+data.l}
if(typeof flixtracking.isMobile!='undefined'){url+="&ism="+flixtracking.isMobile();}
if(url.search('ref=&')!=-1||url.search('ref')==-1){if(document.referrer!=null&&document.referrer.length>1){url=url.replace('ref=&','')
url+="&ref="+document.referrer;}}
var flixApp3P=document.querySelector('.flix-3rdwidget');if(typeof FlixjQ!='undefined'&&(flixApp3P&&flixApp3P.hasAttribute('data_app_id'))){var App_id_value=flixApp3P.getAttribute('data_app_id');url+="&app_id="+App_id_value;logqa('in addtocart 3p = '+url);}
if(typeof FlixjQ!='undefined'&&typeof window.matching_data!='undefined'){var prodid=data.product_id||data.product||data.productid
if(typeof window.matching_data.main!='undefined'){FlixjQ.each(window.matching_data.main.data,function(index,values){if(prodid==index){if(values.match_id)
url+="&mi="+values.match_id
if(values.match_type)
url+="&mt="+values.match_type;if(values['match_type '])
url+="&mt="+values['match_type '];}});}
if(typeof window.matching_data.complimentary!='undefined'){FlixjQ.each(window.matching_data.complimentary.data,function(index,values){if(prodid==index){if(values.match_id)
url+="&mi="+values.match_id
if(values.match_type)
url+="&mt="+values.match_type;if(values['match_type '])
url+="&mt="+values['match_type '];}});}}
indx=window.location.search.indexOf('flxsrc=');if(indx!==-1)
{flixSource=window.location.search.substring(indx);}
if(!!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=flixtracking.parsePage();url+="&ti="+fallback.title;if(flixSource){var decoded=decodeURIComponent(fallback.pn);fallback.pn=encodeURIComponent(decoded+(decoded.indexOf('?')!==-1?"&":"?")+flixSource);}
url+="&pn="+fallback.pn;}
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])){if(url.search(flixTag[i])==-1)
url+="&"+flixTag[i]+"="+document.querySelector('script[data-flix-'+flixTag[i]+']').getAttribute('data-flix-'+flixTag[i]);}else if(url.search('&mpn=')==-1&&typeof FlixServices!='undefined'&&typeof FlixServices.maindata!='undefined'&&typeof FlixServices.maindata.mpn!='undefined'){url+="&mpn="+FlixServices.maindata.mpn}else if(url.search('&ean=')==-1&&typeof FlixServices!='undefined'&&typeof FlixServices.maindata!='undefined'&&typeof FlixServices.maindata.ean!='undefined'){url+="&ean="+FlixServices.maindata.ean}}
if(typeof window.flixJsCallbacks.imgCache==='undefined'){window.flixJsCallbacks.imgCache={};}
var track='img_'+(new Date).getTime();window.flixJsCallbacks.imgCache[track]=new Image();if(data.d&&(encrypt.indexOf(+data.d)!==-1)&&data.event_type==='cart_click'){url=process(url);}
if(url.search('et=undefined')!=-1){logqa('cancel empty complementary alert')
logqa(url)
return false;}
window.flixJsCallbacks.imgCache[track].src=(!!processed)?processed:url;window.flixJsCallbacks.imgCache[track].event_type=data.event_type;if(_beatNotActive.indexOf(+data.d)<0&&data.event_type==='cart_click'){setTimeout(function(){beat='img_'+(new Date()).getTime();},0);window.flixJsCallbacks.imgCache[beat]=new Image();window.flixJsCallbacks.imgCache[beat].src=_beatUrlnew+url.replace(_base,'');window.flixJsCallbacks.imgCache[beat].event_type=data.event_type;if(window.flixJsCallbacks['ab_'+data.d]!=null&&window.flixJsCallbacks['ab_'+data.d].inpage!=null){setTimeout(function(){beat='img_'+(new Date()).getTime();},0);window.flixJsCallbacks.imgCache[beat]=new Image();var _beatUrlnew2=_beatUrlnew;_beatUrlnew2='//rt.flix360.io/beat';if(_base.search('dev')!=-1||flixtracking.site_url.search('dev')!=-1||flixtracking.site_url.search('alpha')!=-1)
_beatUrlnew2='//alpha-rt.flix360.com/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||'';if(url.search('&visitor_id')==-1)
url=url+"&version="+ab_version+"&target="+target+"&visitor_id="+ab_visitor_id+"&groups="+ab_groups+"&ab_id="+ab_id+"&device="+device;window.flixJsCallbacks.imgCache[beat].src=_beatUrlnew2+url.replace(_base,'');window.flixJsCallbacks.imgCache[beat].event_type=data.event_type;}}
else 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
if(url.search('&visitor_id')==-1)
url+="&visitor_id="+ab_visitor_id+"&version="+ab_version+"&groups="+ab_groups;}}
if(data.l)
data.language=data.l;},attachFlix:function(data){logqa('attachFlix');data.type='attach'
flixtracking.log(data);},noshow:function(data){logqa('noshow');if(!data.product_id)
data.product_id="0";if(!data.product)
data.product="0";if(data.type!='interactive'||(typeof window.flixContentHolder=='undefined'||typeof window.flixContentHolder.mobileHotspotData=='undefined'||window.flixContentHolder.mobileHotspotData.hotspots==0)){flixtracking.log(data);}},adjacency:function(data){logqa('adjacency');var opts=JSON.parse(JSON.stringify(data));opts.type='adjacency';var adjacent_codes=FlixServices.modular_match_data[1].settings.adjacent_codes.split('|')
if(opts.event_detail=='hotspot'){FlixjQ.each(FlixServices.modular_match_data[1].product_meta.match_data.adj_match,function(index,values){if(values.match_id){opts.adjacencymatch_id=values.id;opts.match_id=values.match_id;opts.match_type=values.mtadjcnt;if(typeof flixhotspot!='undefined'&&flixhotspot.results){var results=JSON.stringify(flixhotspot.results.hotspots);if(results.search(index)!=-1){logqa('hotspot adjacency page');flixtracking.log(opts);}}else if(typeof flixhotspotmob!='undefined'){var results=JSON.stringify(flixhotspotmob.results.hotspots);if(results.search(index)!=-1){logqa('hotspot adjacency page');flixtracking.log(opts);}}}});}else{setTimeout(function(){if(FlixjQ('[data-flixadjacencies]').length){var AdjArray=[],uniqueArray=[];FlixjQ('[data-flixadjacencies]').each(function(index,values){var adjvalue=FlixjQ(this).attr('data-flixadjacencies');AdjArray.push(adjvalue);AdjArray.forEach(function(index){if(!uniqueArray.includes(index)){uniqueArray.push(index);}});});FlixjQ.each(FlixServices.modular_match_data[1].product_meta.match_data.adj_match,function(index,values){if(uniqueArray.includes(index)===true){logqa('Adjacency page load - '+uniqueArray+" index - "+index);if(values.match_id){opts.adjacencymatch_id=values.id;opts.match_id=values.match_id;opts.match_type=values.mtadjcnt;flixtracking.log(opts);}}});}},2500)
setTimeout(function(){FlixjQ('span[data-flixadjacencies], [data-flixadjacencies][data-flix-media]').each(function(index,values){if(!FlixjQ(this).hasClass('flix-adj')){FlixjQ(this).addClass('flix-adj');var thisadj=FlixjQ(this);var adjvalue=FlixjQ(this).attr('data-flixadjacencies');if(FlixjQ(this).closest('[data-flix-media]').length){FlixjQ(this).closest('[data-flix-media]').on('click',function(){opts.type='adjacency';logqa('Adjacency click -'+adjvalue);FlixjQ.each(FlixServices.modular_match_data[1].product_meta.match_data.adj_match,function(index,values){if(index==adjvalue){opts.adjacencymatch_id=values.id;opts.match_id=values.match_id;opts.match_type=values.mtadjcnt;flixtracking.logMedia(opts,adjvalue);}});});}else{FlixjQ(this).on('click',function(){opts.type='adjacency';logqa('Adjacency click -'+adjvalue);FlixjQ.each(adjacent_codes,function(index,values){if(index==adjvalue){opts.adjacencymatch_id=values.id;opts.match_id=values.match_id;opts.match_type=values.mtadjcnt;if(thisadj.closest('[id^=flixinpage]').find('span[id^=inpage-data]').length){var prodid=thisadj.closest('[id^=flixinpage]').find('span[id^=inpage-data]').attr('id');opts.product_id=prodid.toString().replace('inpage-data-','')
flixtracking.logMedia(opts,adjvalue);}}});});}}});},3000)}}},checkLoader:function(data){logqa('checkLoader');if(typeof FlixjQ!='undefined'&&typeof FlixjQ.fn.inPage!='undefined'&&typeof FlixjQ.fn.inPage.urlMain!='undefined')
flixtracking.site_url=FlixjQ.fn.inPage.urlMain;else if(typeof FlixjQ!='undefined'&&typeof FlixjQ.fn.minisite!='undefined'&&typeof FlixjQ.fn.minisite.urlMain!='undefined')
flixtracking.site_url=FlixjQ.fn.minisite.urlMain;else if(typeof FlixjQ!='undefined'&&typeof FlixjQ.fn.microsite!='undefined'&&typeof FlixjQ.fn.microsite.urlMain!='undefined')
flixtracking.site_url=FlixjQ.fn.microsite.urlMain;flixtracking.trackingDomain='https://media.flixcar.com/';flixtracking.trackingDomainBeat='https://rt.flix360.com/beat/';if(flixtracking.site_url.search('delivery-beta')>0||location.href.search('demo-beta.flix360.io')!=-1||location.href.search('beta=1')!=-1||location.href.search('live=2')!=-1){logqa('beta - beta logs');flixtracking.trackingDomain='https://t-beta.flix360.io/';flixtracking.trackingDomainBeat='https://b-beta.flix360.io/';}
else if(flixtracking.site_url.search('delivery-alpha')!=-1||location.href.search('demo-local.flix360.io')!=-1||location.href.search('demo-alpha.flix360.io')!=-1||location.href.search('alpha=1')!=-1||location.href.search('live=3')!=-1){logqa('alpha - alpha logs');flixtracking.trackingDomain='https://t-alpha.flix360.io/';flixtracking.trackingDomainBeat='https://b-alpha.flix360.io/';}
flixtracking.checkLoaderloaded=true},log:function(data,status){logqa('log',data,status);setTimeout(function(){flixtracking.globalTracking(data);},100);if(!data.distributor_id&&data.distributor)
data.distributor_id=data.distributor;if(!data.distributor&&data.distributor_id)
data.distributor=data.distributor_id;if(!data.distributor&&data.d)
data.distributor=data.d;flixtracking.noTracking=false;if(window.cancelinpagetracking&&(data.type=='inpage'||data.type=='review'||data.type=='attach'||data.type=='compare'||data.type=='logo'||data.type=='ugc')){logqa(' Double tracking, stop the tracking')
return false;}
if(window.cancelhotspottracking&&(data.type=='interactive')){logqa(' Double tracking, stop the tracking')
return false;}
if(window.cancelminisitetracking&&(data.type=='minisite')){logqa(' Double tracking, stop the tracking')
return false;}
if((typeof flixtracking.noTracking!='undefined'&&flixtracking.noTracking==false)){if(flixtracking.checkLoaderloaded==false)
flixtracking.checkLoader(data);var notrackingretailers=[171,6900,181,183,492,499,546,877,1590,2694,4212,4904,5227,6069,6085,6543,6558,6791,6792,6971,7148,7417,7455,8598,9253,12498,14209,15237,16260,17538,178,157];if(notrackingretailers.indexOf(parseInt(data.distributor))!=-1){logqa('This is NO TRACKING retailer');return false;}
if(flixtracking.trackingDomain=='')
flixtracking.trackingDomain='https://media.flixcar.com/'
if(flixtracking.trackingDomain.search('media.flixcar.com/')==-1){var baseurl=flixtracking.trackingDomain+'log.gif';}else
var baseurl=flixtracking.trackingDomain+data.type+'/log.gif';if(data.type=='3d'){baseurl='https://media.flixcar.com/interactive/3d/log.gif'}
if(data.type=='3p'){baseurl=flixtracking.trackingDomain+'3p/log.gif'}
if(data.type=='adjacency'){baseurl=flixtracking.trackingDomain+'adjacency/log.gif'}
var d=new Date(),t='',_base=baseurl,_beatUrl=flixtracking.trackingDomainBeat,_beatNotActive=window.beat_disabled_retailers||[],_beatByLanguage=[],beat,processed=null,encrypt=[],userAgents=['symbian','android','ios'];if(!data.session_id){if(typeof window!=='undefined'&&typeof window.sessionStorage==='object')
var guid=sessionStorage.getItem('flixsession');if(guid&&guid.length)
data.session_id=guid
else{data.session_id=flixtracking.setGuid.New();if(typeof window!=='undefined'&&typeof window.sessionStorage==='object')
sessionStorage.setItem('flixsession',data.session_id);}}
if(!data.distributor_id)
data.distributor_id=data.distributor;if(!data.distributor)
data.distributor=data.distributor_id;d.setMinutes(d.getTimezoneOffset());window.flixJsCallbacks.pageViewnew=window.flixJsCallbacks.pageViewnew||{log:false,beat:false};if(!data.page_name){var page=this.getURL();data.page_name=page;}
data.gvid=(window.flixJsCallbacks&&window.flixJsCallbacks.gvid)?window.flixJsCallbacks.gvid:'';if(typeof FlixjQ!='undefined'&&FlixjQ.fn.inPage&&FlixjQ.fn.inPage.hasOwn(data.ab_data)&&data.ab_data.expire!=='expired'){var cookieab=''
if(typeof data.ab_data.cookie!='undefined'&&typeof data.ab_data.cookie.abid!='undefined')
cookieab=data.ab_data.cookie.abid
data.ab="&ab="+data.ab_data.tst_id+"&abr="+data.ab_data.resource_ref+"&abid="+cookieab;if(!FlixjQ.fn.inPage.defaults.sio_ty){FlixjQ.fn.inPage.writeSioTy(window.flixJsCallbacks.gvid,data.ab_data);FlixjQ.fn.inPage.defaults.sio_ty++;}}
if(data.type&&data.type=='minisite'){pn=window.location.search.match(/\bpn\b=([^&]+)/i);if(!window.location.href.search('minisite')==-1)
data.page_name=(!!pn)?pn[1]:'URL not available - Manual http links';}
if(data.type==''||!data.type)
data.type=='inpage'
var url=_base+"?newtrackv2&ts="+data.type+"&d="+data.distributor+"&l="+data.language+"&et="+data.event_type+"&vtime="+(data.view_time||data.vtime||0)+"&gvid="+data.gvid+"&cs="+flixtracking.tracking+"&cp="+flixtracking.cookieConsent.provider+"&cd="+flixtracking.cookieConsent.data+"&sid="+data.session_id;if(data.event_detail&&data.event_detail.length)
url+="&ed="+encodeURIComponent(data.event_detail)
else
url+="&ed="+""
if(typeof FlixjQ!='undefined'&&(FlixjQ('#flix-mbl-page').length||FlixjQ('.main_mot_product_wrapper').length)&&data.type=='inpage'&&data.event_type=='page'){url+="&mot=1";}
var flixApp3P=document.querySelector('.flix-3rdwidget');if(typeof FlixjQ!='undefined'&&(flixApp3P&&flixApp3P.hasAttribute('data_app_id'))&&data.type=='3p'){var App_id_value=flixApp3P.getAttribute('data_app_id');url+="&app_id="+App_id_value;logqa('in 3p = '+url);}
if(flixtracking.retailercheck&&flixtracking.retailercheck.check==false){flixtracking.retailercheck.init(data);}
if(flixtracking.retailercheck&&flixtracking.retailercheck.cn&&flixtracking.retailercheck.cn.length>1){url+="&cn="+flixtracking.retailercheck.cn+"&cc="+flixtracking.retailercheck.cc;}
if(data.match_id&&data.match_id.length>0){if(data.match_id)
url+="&mi="+data.match_id
if(data.match_type)
url+="&mt="+data.match_type;}else if(typeof FlixjQ!='undefined'&&typeof window.matching_data!='undefined'){var prodid=data.product_id||data.product||data.productid
if(typeof window.matching_data.main!='undefined'){FlixjQ.each(window.matching_data.main.data,function(index,values){if(prodid==index){if(values.match_id)
url+="&mi="+values.match_id
if(values.match_type)
url+="&mt="+values.match_type;if(values['match_type '])
url+="&mt="+values['match_type '];}});}
if(typeof window.matching_data.complimentary!='undefined'){FlixjQ.each(window.matching_data.complimentary.data,function(index,values){if(prodid==index){if(values.match_id)
url+="&mi="+values.match_id
if(values.match_type)
url+="&mt="+values.match_type;if(values['match_type '])
url+="&mt="+values['match_type '];}});}}
if(data.type=='adjacency'){url+="&adjacency_id="+data.adjacencymatch_id;}
if(typeof flixtracking.isMobile!='undefined'){url+="&ism="+flixtracking.isMobile();}
if(data.microsite&&data.microsite!='')
url+="&s="+data.microsite;if(data.variant)
url+="&v="+data.variant;if(window.flreq){var fblan=window.flreq
for(var i=0;i<fblan.length;i++){if(data.type==fblan[i].flreq_service&&url.search('&l1=')==-1){if(fblan[i].flreq_language&&fblan[i].flreq_language!='null'){var origlan=fblan[i].flreq_language
var falllan=fblan[i].language
url+="&l1="+origlan+"&l2="+falllan;}else{var origlan=fblan[i].language
url+="&l1="+origlan}}}}
if(url.search('&l1=')==-1&&data.language){url+="&l1="+data.language}
url+="&p="+(data.product_id||data.product||data.productid||'');if(data.event_type=='matchmiss'||data.event_type=='matchmisshotspot'||data.event_type=='matchmissinpage'){url+="&m=0";}
else if(data.type&&(data.type=='inpage'||data.type=='interactive')){url+="&m=y";}
else if(data.type&&data.type=='minisite'){url+="&m="+(data.minisite_id||data.minisite||data.product_id)}
else if(data.type&&(data.type=='review'||data.type=='compare'||data.type=='3dfw'||data.type=='ugc'||data.type=='logo'||data.type=='visible'||data.type=='flc')){url+="&m=i"}
if(data.type&&data.type=='minisite'&&typeof _FFMatcher!='undefined'&&window.location.href.search('minisite')==-1&&data.event_type!='matchmiss')
url+=this.pageDataMinisite(data);else
url+=this.pageData(data);if(data.type&&data.type=='minisite'&&window.location.href.search('minisite')==-1&&data.event_type!='matchmiss'){}
if(typeof window.flixJsCallbacks.imgCache==='undefined'){window.flixJsCallbacks.imgCache={};}
if(!window.navigator.userAgent.match(/(ios|symbian|android)/i)&&data.distributor_id&&(encrypt.indexOf(+data.distributor_id)>=0)){processed=FlixjQ.fn.inPage.process(url);}
url+="&ut="+d.getTime();url+="&cb="+d.getTime();if(data.type&&data.type=='minisite'){url+='&ver=2';url+="&to="+d.getTimezoneOffset();url+="&ss="+screen.width+'x'+screen.height;url+="&pr="+data.price;url+="&a="+data.asset}
if(data.event_type=='cart_click'||data.event_type=='alert'){url+="&pn="+data.page_name;}
if(url.search('&pn=')==-1&&data.type=="3dfw"){if(data.pn)
var three3url=data.pn;else if(document.referrer)
var three3url=document.referrer;url+="&pn="+encodeURIComponent(three3url);if(data.arid)
url+="&arid="+data.arid;}
if(url.search('=mediaload')!=-1&&(url.search('&pn=')==-1||url.substring(url.length-4)=='&pn=')){url=url.replace('&pn=','');var pnurl=''
if(flixtracking.getUrlParameter('pn'))
pnurl=flixtracking.getUrlParameter('pn');pnurl=pnurl.replace(/\|and/g,'&');pnurl=pnurl.replace(/\|for/g,'//');pnurl=pnurl.replace(/\|que/g,'?');pnurl=pnurl.replace(/\|dub/g,':');pnurl=pnurl.replace(/\|is/g,'=');pnurl=pnurl.replace(/\|hash/g,'#');pnurl=pnurl.replace(/\|per/g,'%');if(pnurl)
url+='&pn='+encodeURIComponent(pnurl);}
if(typeof pnurl!='undefined'&&(data.event_type=='mediatime'||data.event_type=='mediaload')&&url.search('&pn=')==-1){url+="&pn="+encodeURIComponent(data.pn);}
if(url.search('&pn=')==-1&&typeof window.flixJsCallbacks.pageCapture!='undefined'&&typeof window.flixJsCallbacks.pageCapture.pn!='undefined'){url+="&pn="+encodeURIComponent(window.flixJsCallbacks.pageCapture.pn);}
if(url.search('&pn=')==-1&&typeof data.page_name!='undefined'){url+="&pn="+encodeURIComponent(data.page_name);}
if(url.search('ref=&')!=-1||url.search('ref')==-1){if(document.referrer!=null&&document.referrer.length>1){url=url.replace('ref=&','')
url+="&ref="+document.referrer;}}
if(data.ct&&data.type=='compare'){url+="&ct="+data.ct;}
if(url.search('&pn=undefined')!=-1||url.search('&pn=&')!=-1){url=url.replace('&pn=undefined','');url=url.replace('&pn=&','&');if(window.parent){var pnurl=(window.location!=window.parent.location)?document.referrer:top.document.URL;}else{var pnurl=document.location.href;}
if(pnurl=='')
var pnurl=document.location.href;url+='&pn='+encodeURIComponent(pnurl);}
if(data.mpn&&url.search('&mpn=')==-1)
url+="&mpn="+data.mpn
if(data.ean&&url.search('&ean=')==-1)
url+="&ean="+data.ean
if(!window.flixJsCallbacks.pageViewnew.log&&(data.type=='inpage'||data.type=='minisite')&&data.event_type!='mediaload'&&data.event_type!='time'&&data.event_type!='mediatime'){var initBeaconTime=(new Date()).getTime();url+="&pv=1";window.flixJsCallbacks.pageViewnew.log=true;beaconData=url;if(!beaconData)
return false;function getString(objParams,destructure){var params=[],obj={},prop,stem,preObj,str,fireBeaconTime;var req=["m","p","d","l","sid","gvid","ut","ed","et","vtime","ab","abr","abid","pn"];if(!destructure){for(var p in objParams){if(objParams.hasOwnProperty(p)&&(req.indexOf(p)>=0))params.push(p+"="+objParams[p]);}
return"?"+params.join("&");}
else{stem=objParams.split("?");if(stem.length<=1)return false;params=stem[1].split("&");for(var i=0;i<params.length;i++){prop=params[i].split("=");if(req.indexOf(prop[0])>=0){obj[prop[0]]=prop[1];}}
return obj;}}}
if(data.gvid&&data.gvid.length&&data.session_id&&data.session_id.length){if((!status||status!='beatlog')){logqa('Fire log - '-url)
var track='img_'+(new Date()).getTime();window.flixJsCallbacks.imgCache[track]=new Image();window.flixJsCallbacks.imgCache[track].src=url;window.flixJsCallbacks.imgCache[track].event_type=data.event_type;}else{logqa('beat logs ONLY')}}else{logqa('trackingqueue')
flixtracking.trackingqueue(url);}
if(_beatNotActive.indexOf(+data.distributor_id)<0&&data.event_type!='time'){var fireBeat=false,fireLog=true;logqa('beat logs')
if(!!window.flixJsCallbacks&&!!window.flixJsCallbacks.a&&(data.distributor_id===173&&data.mpn==="49UJ630V")){data.service="inpage";window.flixJsCallbacks.a.log(data);return true;}
var ab_res_id='ab_'+data.distributor_id;if(window.flixJsCallbacks['ab_'+data.distributor]!=null&&(data.type=='review'||data.type=='compare'||data.type=='interactive')){fireBeat=true}
if(window.flixJsCallbacks[ab_res_id]&&typeof window.flixJsCallbacks[ab_res_id].inpage!='undefined'&&data.type=='inpage'&&((typeof window.flixJsCallbacks[ab_res_id].inpage.inpages!='undefined'&&typeof window.flixJsCallbacks[ab_res_id].inpage.inpages.disable_inpage!='undefined'&&typeof window.flixJsCallbacks[ab_res_id].inpage.inpages.disable_inpage=="boolean")||(typeof window.flixJsCallbacks[ab_res_id].inpage.inpages!='undefined'&&typeof window.flixJsCallbacks[ab_res_id].inpage.inpages.change_template!='undefined'&&typeof window.flixJsCallbacks[ab_res_id].inpage.inpages.change_template=="boolean"))){fireBeat=true}
if(!window.flixJsCallbacks.pageViewnew.beat){if(!url.match(/pv\=1/)&&data.type=='inpage')url+="&pv=1";window.flixJsCallbacks.pageViewnew.beat=true;}
var beaturl=_beatUrl+url.replace(_base,'');if(typeof flixtracking.noTracking!='undefined'&&flixtracking.noTracking==false&&fireBeat){logqa('Beat tracking',url)
if(window.flixJsCallbacks[ab_res_id]!=null){var ab_version=window.flixJsCallbacks[ab_res_id].version||'';var target=window.flixJsCallbacks[ab_res_id].target||'';var ab_visitor_id=window.flixJsCallbacks[ab_res_id].visitor_id||'';var ab_groups=window.flixJsCallbacks[ab_res_id].groups||'';var ab_id=window.flixJsCallbacks[ab_res_id].ab_id||'';var device=window.flixJsCallbacks[ab_res_id].device||'';url+="&version="+ab_version+"&target="+target+"&visitor_id="+ab_visitor_id+"&groups="+ab_groups+"&ab_id="+ab_id+"&device="+device;}
if(data.type=='inpage'){url+="&fm_service=1"}else if(data.type=='compare'){url+="&fm_service=315";}
else if(data.type=='interactive'){url+="&fm_service=301"}
else if(data.type=='review'){url+="&fm_service=334";}
var beat='img_'+(new Date()).getTime();window.flixJsCallbacks.imgCache[beat]=new Image();var _beatUrl2=_beatUrl;_beatUrl2='//rt.flix360.com/beat';if(window.flixJsCallbacks['ab_'+data.distributor]!=null&&window.flixJsCallbacks['ab_'+data.distributor].inpage!=null){if(flixtracking.trackingDomain.search('alpha')!=-1){_beatUrl2='//alpha-rt.flix360.io/beat'}else{_beatUrl2=_beatUrl2.replace('//rt.flix360.com/beat','');_beatUrl2='//rt.flix360.io/beat'}}else{_beatUrl2=flixtracking.trackingDomainBeat+url.replace(_base,'');}
logqa('_beatUrl2',_beatUrl2+"__"+data.type)
if(window.flixJsCallbacks[ab_res_id]&&typeof window.flixJsCallbacks[ab_res_id].inpage!='undefined'&&data.type=='inpage'&&((typeof window.flixJsCallbacks[ab_res_id].inpage.inpages!='undefined'&&typeof window.flixJsCallbacks[ab_res_id].inpage.inpages.disable_inpage!='undefined'&&typeof window.flixJsCallbacks[ab_res_id].inpage.inpages.disable_inpage=="boolean")||(typeof window.flixJsCallbacks[ab_res_id].inpage.inpages!='undefined'&&typeof window.flixJsCallbacks[ab_res_id].inpage.inpages.change_template!='undefined'&&typeof window.flixJsCallbacks[ab_res_id].inpage.inpages.change_template=="boolean"))){logqa('_beatUrl2 inpage',_beatUrl2+"__"+data.type)
if(window.flixJsCallbacks[ab_res_id].inpage.inpages.disable_inpage==true){if(data.event_type=='impression'||data.event_type=='page'){var targetId=window.flixJsCallbacks[ab_res_id].targetId||0;if(targetId==data.product_id){url=url.replace('&p='+data.product_id,'&p='+(window.flixJsCallbacks[ab_res_id].targetId));window.flixJsCallbacks.imgCache[beat].src=_beatUrl2+url.replace(_base,'');window.flixJsCallbacks.imgCache[beat].event_type=data.event_type;}}}else{var targetId=window.flixJsCallbacks[ab_res_id].targetId||0;if(targetId==data.product_id){url=url.replace('&p='+data.product_id,'&p='+(window.flixJsCallbacks[ab_res_id].targetId));window.flixJsCallbacks.imgCache[beat].src=_beatUrl2+url.replace(_base,'');window.flixJsCallbacks.imgCache[beat].event_type=data.event_type;}}
var beat='img_'+(new Date()).getTime();window.flixJsCallbacks.imgCache[beat]=new Image();window.flixJsCallbacks.imgCache[beat].src=beaturl
window.flixJsCallbacks.imgCache[beat].event_type=data.event_type;}
if(window.flixJsCallbacks[ab_res_id]&&window.flixJsCallbacks[ab_res_id].inpage&&typeof window.flixJsCallbacks[ab_res_id].inpage.inpages!='undefined'&&((typeof window.flixJsCallbacks[ab_res_id].inpage.inpages.disable_comparison_table!='undefined'&&typeof window.flixJsCallbacks[ab_res_id].inpage.inpages.disable_comparison_table=="boolean")||(typeof window.flixJsCallbacks[ab_res_id].inpage.inpages.disable_inpage!='undefined'&&typeof window.flixJsCallbacks[ab_res_id].inpage.inpages.disable_inpage=="boolean")||(typeof window.flixJsCallbacks[ab_res_id].inpage.inpages.change_template!='undefined'&&typeof window.flixJsCallbacks[ab_res_id].inpage.inpages.change_template=="boolean"))&&data.type=='compare'){logqa('comparison _beatUrl2',_beatUrl2)
if(window.flixJsCallbacks[ab_res_id].inpage.inpages.disable_comparison_table==true){if(data.event_type=='impression'){window.flixJsCallbacks.imgCache[beat].src=_beatUrl2+url.replace(_base,'');window.flixJsCallbacks.imgCache[beat].event_type=data.event_type;}}else{window.flixJsCallbacks.imgCache[beat].src=_beatUrl2+url.replace(_base,'');window.flixJsCallbacks.imgCache[beat].event_type=data.event_type;}}
if(window.flixJsCallbacks[ab_res_id]&&window.flixJsCallbacks[ab_res_id].inpage&&typeof window.flixJsCallbacks[ab_res_id].inpage.inpages!='undefined'&&typeof window.flixJsCallbacks[ab_res_id].inpage.inpages.disable_reviews!='undefined'&&typeof window.flixJsCallbacks[ab_res_id].inpage.inpages.disable_reviews=="boolean"&&data.type=='review'){logqa('reviews _beatUrl2',_beatUrl2)
if(window.flixJsCallbacks[ab_res_id].inpage.inpages.disable_reviews==true){if(data.event_type=='page'){window.flixJsCallbacks.imgCache[beat].src=_beatUrl2+url.replace(_base,'');window.flixJsCallbacks.imgCache[beat].event_type=data.event_type;}}else{window.flixJsCallbacks.imgCache[beat].src=_beatUrl2+url.replace(_base,'');window.flixJsCallbacks.imgCache[beat].event_type=data.event_type;}}
if(_beatNotActive.indexOf(+data.d)<0&&(data.event_type==='page'||data.event_type==='media'||data.event_type==='qr_click'||data.event_type==='webar_click'||data.event_type==='dwelltime'||data.event_type==='launch'||data.event_type==='webar_impressions'||data.event_type==='qr_impression'||data.event_type==='qr_impression')&&(!status||status=='beatlog')&&data.type=='interactive'){logqa('Hotspot _beatUrl2',_beatUrl2)
beat='img_'+(new Date()).getTime();window.flixJsCallbacks.imgCache[beat]=new Image();if(!window.flixJsCallbacks.pageViewnew.beat){if(!url.match(/pv\=1/))
url+="&pv=1";window.flixJsCallbacks.pageViewnew.beat=true;}
if(target==device){if(window.flixJsCallbacks[ab_res_id]&&window.flixJsCallbacks[ab_res_id].hotspot&&(window.flixJsCallbacks[ab_res_id].hotspot.hotspots||window.flixJsCallbacks[ab_res_id].hotspot.settings)){window.flixJsCallbacks.imgCache[beat].src=_beatUrl2+url.replace(_base,'');window.flixJsCallbacks.imgCache[beat].event_type=data.event_type;}else{window.flixJsCallbacks.imgCache[beat].src=_beatUrl+url.replace(_base,'');window.flixJsCallbacks.imgCache[beat].event_type=data.event_type;}}}}else{if(data.gvid&&data.gvid.length&&data.session_id&&data.session_id.length){var beat='img_'+(new Date()).getTime();window.flixJsCallbacks.imgCache[beat]=new Image();window.flixJsCallbacks.imgCache[beat].src=beaturl;window.flixJsCallbacks.imgCache[beat].event_type=data.event_type;}else{flixtracking.trackingqueue(beaturl);}}}
try{if(flixtracking.retailercheck.cc&&typeof flixtracking.retailercheck.cc!='undefined'&&flixtracking.retailercheck.cc.search('true')==-1&&typeof flixtracking.retailercheck.rc=='undefined'&&data.type!='minisite'){logqa('retailercheck again');flixtracking.retailercheck.rc=1;data.event_type="time";data.event_detail="";data.view_time=0;for(i=1;i<=5;++i){var b=i*5000;setTimeout(function(){logqa('retailercheck again -init');flixtracking.retailercheck.init(data);if(flixtracking.retailercheck.cc.search('true')!=-1){logqa('retailercheck again -found it');flixtracking.log(data);}},b);}}}catch(ignore){}}else{logqa('No tracking - ');}},logging:function(type,event,data,media,price,inPcount){logqa(type+"__"+event+"__"+data+"__"+media+"__"+price+"__"+inPcount)
if((typeof flixtracking.noTracking!='undefined'&&flixtracking.noTracking==false)){if(flixtracking.checkLoaderloaded==false)
flixtracking.checkLoader(data);var fireBeat=false,fireLog=true;if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.data.product!==undefined){opts2=FlixjQ.fn.inPage.data;}else if(FlixjQ.fn.minisite&&FlixjQ.fn.minisite.data.product!==undefined){opts2=FlixjQ.fn.minisite.data;}
if(data&&data!=null)
opts2=JSON.parse(JSON.stringify(data));if(typeof opts2=='undefined'&&typeof FlixServices!='undefined')
opts2=FlixServices.maindata
if(!flixtracking.getUrlParameter('pn')){opts2.page_name=window.location.href;}
opts2.event_type=event;opts2.event_detail=media;opts2.price=price;opts2.view_time=0;var prodid=opts2.product||opts2.product_id;if((prodid==0||prodid==null)&&typeof FlixServices!='undefined'&&typeof FlixServices.modular_match_data[0].product_meta.inpage.product_id!='undefined'){prodid=FlixServices.modular_match_data[0].product_meta.inpage.product_id!='undefined'}
if(prodid==0||prodid==null){prodid=FlixjQ('.main_mot_product_wrapper:eq(0)').attr('alt')||FlixjQ('[id^=flixinpage]:eq(0)').find('span[id^=inpage-data]').attr('id')||FlixjQ('[id^=flixinpage]:eq(1)').find('span[id^=inpage-data]').attr('id');prodid=prodid.toString().replace('inpage-data-','')}
if(type=='review'&&typeof FlixServices=='undefined'){var prodid=FlixjQ('#flix-mobile_template-reviews').closest('.main_mot_product_wrapper').attr('alt')||FlixjQ('.inpage_selector_reviews').closest('[id^=flixinpage]').find('span[id^=inpage-data]').attr('id')||opts2.product;prodid=prodid.toString().replace('inpage-data-','')}
if(type=='compare'){if(FlixjQ('.flix-compare').length&&FlixjQ('.flix-compare').html().length)
opts2.ct='v1';if(FlixjQ('.flix-comparev2').length&&FlixjQ('.inpage_selector_comparison').attr('data-compv2-ctid'))
opts2.ct=FlixjQ('.inpage_selector_comparison').attr('data-compv2-ctid');if(typeof FlixServices=='undefined'){var prodid=FlixjQ('.flix-compare, .flix-comparev2').closest('.main_mot_product_wrapper').attr('alt')||FlixjQ('.flix-compare, .flix-comparev2').closest('[id^=flixinpage]').find('span[id^=inpage-data]').attr('id')||opts2.product;prodid=prodid.toString().replace('inpage-data-','')}}
if(type=='visible'&&typeof FlixServices=='undefined'){var prodid=FlixjQ('[id*=flixinpage_]:eq('+inPcount+')').find('span[id^=inpage-data]').attr('id')||FlixjQ('[id*=flixinpage_]:eq('+inPcount+')').attr('alt')||opts2.product;prodid=prodid.toString().replace('inpage-data-','');}
if(type=='3dfw'&&typeof FlixServices=='undefined'){var prodid=FlixjQ('[id*=flixinpage_]:eq('+inPcount+')').find('span[id^=inpage-data]').attr('id')||FlixjQ('[id*=flixinpage_]:eq('+inPcount+')').attr('alt')||opts2.product;prodid=prodid.toString().replace('inpage-data-','');}
if(type=='inpage'&&event=='media'&&typeof FlixServices=='undefined'){var prodid=FlixjQ('[id*=flixinpage_]:eq('+inPcount+')').find('span[id^=inpage-data]').attr('id')||FlixjQ('[id*=flixinpage_]:eq('+inPcount+')').attr('alt')||opts2.product;prodid=prodid.toString().replace('inpage-data-','');}
var d=new Date();var domain=flixtracking.trackingDomain
if(flixtracking.trackingDomain.search('media.flixcar.com/')==-1){var _base=flixtracking.trackingDomain+'log.gif';}else
var _base=flixtracking.trackingDomain+type+'/log.gif';var url=_base+"?newtrackv2&ts="+type+"&loggin&m=i"
if(FlixjQ('#flix-mbl-page').length){url+="&mot=1";}
if(type=="flc"){fireLog=false;fireBeat=true;var prodid=opts2.product||'';url+="&mpn="+opts2.mpn+"&ean="
+opts2.ean+"&location="
+opts2.city}
opts2.product_id=prodid
logqa("Global log - type: "+type+"_ prodid: "+prodid);opts2.type=type;logqa(opts2)
flixtracking.log(opts2);}},logTimer:0,logTime:function(data,newtime){if(typeof newtime=='undefined'){newtime=parseInt(flixtracking.logTimer)+10;flixtracking.logTimer=newtime}
logqa('logTime-'+newtime);data.event_type="time";data.event_detail="";data.view_time=newtime;if(!data.type)
data.type="inpage"
if(newtime>300)return;logTimer=newtime;flixtracking.log(data);},logTimeMinisite:function(data,newtime){logqa('logTime');if(newtime==undefined){newtime=parseInt(logTimer)+10;}
data.event_type="time";data.event_detail="";data.view_time=newtime;data.type="minisite"
if(newtime>300)return;logTimer=newtime;flixtracking.log(data);},logClick:function(data,medianame){logqa('logMedia');data.event_type="click";data.event_detail=medianame;data.view_time=0;flixtracking.log(data);},logMedia:function(data,medianame){logqa('logMedia');data.event_type="media";data.event_detail=medianame;data.view_time=0;flixtracking.log(data);},logPage:function(data,pagename){logqa('logPage');data.event_type="page";data.event_detail=pagename;data.view_time=0;flixtracking.log(data);},logVideoTime:function(newtime,newvideo){},logVideoLoad:function(newvideo){if(typeof FlixjQ!='undefined'&&typeof FlixjQ.fn.inPage!='undefined'){var data=FlixjQ.fn.inPage.data
data.type='inpage'}
else if(typeof FlixjQ!='undefined'&&typeof FlixjQ.fn.minisite!='undefined'){var data=FlixjQ.fn.minisite.data
data.type='minisite'}else if(typeof FlixjQ!='undefined'&&typeof FlixjQ.fn.microsite!='undefined'){var data=FlixjQ.fn.microsite.data
data.type='sis'}
data.event_type="mediaload";data.event_detail=newvideo;data.view_time=0;data.asset=0;flixtracking.log(data);},parsePage:function(pagedata,target){var
found='',h=null,fallback=true,generic={},specific={},p,ignore=[],precedence,hit=false;if(!pagedata){pagedata=window.flixJsCallbacks.pageGeneric||{};}
if(Object.keys(pagedata.pageSpecific).length===0){pagedata.pageSpecific=window.flixJsCallbacks.pageSpecific}
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])){if(precedence.attr[j]!='href'||(precedence.attr[j]=='href'&&h.getAttribute(precedence.attr[j]).search('//')!=-1)){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=flixtracking.parsePrice(found);if(value){found=value;}}
return found.trim();}catch(e){return'';}},pageData:function(data){if(!data.pagedata){data.pagedata=window.flixJsCallbacks.pageGeneric||{};}
var pData={},s,df,i,p,get='',skip;window.flixJsCallbacks.pageCapture=window.flixJsCallbacks.pageCapture||{};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]=flixtracking.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]=flixtracking.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'&&flixtracking.parsePrice(pData[df[i]])){pData[df[i]]=flixtracking.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;},pageDataMinisite:function(data){var data={pagedata:_FFMatcher._FFpagedata},pData={},s,df,i,p,get='',p2,skip;window.flixJsCallbacks.pageCapture=window.flixJsCallbacks.pageCapture||{};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]=flixtracking.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]=flixtracking.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'&&_FFUtils._FFparsePrice(pData[df[i]])){pData[df[i]]=_FFUtils._FFparsePrice(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'];}}}}}
for(p2 in pData){if(p2==='pn'&&pData.hasOwnProperty(p2)&&/%/.test(pData[p2])){pData[p2]=decodeURIComponent(pData[p2])}
if(pData.hasOwnProperty(p2)&&!/%/.test(pData[p2])){params[p2]=encodeURIComponent(pData[p2]);}}}catch(ignore){}
for(var key in pData){get+="&"+key+'='+encodeURIComponent(pData[key]);}
return get;},getCanonical:function(data,esc){try{var
ret,canonicalCheck,s;ret=flixtracking.parsePage(data.pagedata,'pn');canonicalCheck=window.location.protocol+'//'+window.location.hostname+'/';if(!ret||ret===canonicalCheck||ret.length+1<=canonicalCheck.length){var url=(window.location!=window.parent.location)?document.referrer:top.document.URL;if(typeof pnurl!='undefined'&&pnurl.length>0)
url=pnurl
ret=url;}
s=ret.indexOf('#');if(s!=-1){ret=ret.substring(0,s);}
return arguments.length>1?escape(ret):ret;}catch(e){}},parsePrice:function(price){try{if(!!price&&!price.trim().match(/[a-z][\.,\u20AC]+/gi)){var
value=price.trim().replace(/[^0-9\.,\u20AC]/gi,''),l=value.length,vl,v='';if(!!window.flixJsCallbacks.priceParser){value=window.flixJsCallbacks.priceParser.regEx(value);l=value.length;}
switch(true){case(!!value.charAt(l-3).match(/[\.,\u20AC]/)):value=value.substr(0,(l-3))+'*'+value.substr((l-2));break;case(!!value.charAt(l-2).match(/[\.,\u20AC]/)):value=value.substr(0,(l-2))+'*'+value.substr((l-1));break;default:value=value.split('.');vl=(value.length-1);if(value.length>1&&value[vl].length>2){value[vl]=value[vl].substr(0,2);}
for(var i=0,vl=value.length;i<vl;i++){(i==(vl-2))?v+=value[i]+'*':v+=value[i];}
value=v;break;}
value=value.replace(/[\.,\u20AC]+/g,'');value=value.replace(/\*/,'.');return value;}}catch(ignore){}
return false;},delegate:function(eventName,elementSelector,handler){document.addEventListener(eventName,function(e){for(var target=e.target;target&&target!=this;target=target.parentNode){if(target&&target.matches(elementSelector)){handler.call(target,e);break;}}},false);},getURL:function(){if(window.parent){var url=(window.location!=window.parent.location)?document.referrer:document.location.href;}else{var url=document.location.href;}
return url;},isMobile:function(){var check=false;(function(a){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|build|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;},getCookieValue:function(a){var b=document.cookie.match('(^|;)\\s*'+a+'\\s*=\\s*([^;]+)');return b?b.pop():'';},setGvid:function(){logqa('setGvid');try{window.flixJsCallbacks=window.flixJsCallbacks||{};if(sessionStorage.getItem('flixgvid')){window.flixJsCallbacks.gvid=sessionStorage.getItem('flixgvid');}else{var ticks=3;(function threeTicks(){if(window.flixJsCallbacks&&typeof window.flixJsCallbacks.gvid=='undefined'&&ticks){setTimeout(function(){ticks--;threeTicks();},100)}
else{logqa('create gvid');if(document.getElementById('data-flix-t-script')&&typeof window.flixJsCallbacks['gvid']!='undefined')return;window['flixgvid']=function(obj){try{delete window['flixgvid'];window.flixJsCallbacks=window.flixJsCallbacks||{};window.flixJsCallbacks['gvid']=obj['gvid'];sessionStorage.setItem('flixgvid',obj['gvid']);}catch(e){}};var _fscript=document.createElement('script');_fscript.setAttribute("type","text/javascript");_fscript.setAttribute("src","https://prod.flixgvid.flix360.io/");_fscript.setAttribute("async","true");_fscript.id="data-flix-t-script";_fscript.onerror=function(){window.flixJsCallbacks=window.flixJsCallbacks||{};window.flixJsCallbacks['gvid']=''
sessionStorage.setItem('flixgvid','');logqa('gvid not loaded')}
document.getElementsByTagName('head')[0].appendChild(_fscript);setTimeout(function(){if(window.flixJsCallbacks&&typeof window.flixJsCallbacks.gvid=='undefined'){window.flixJsCallbacks=window.flixJsCallbacks||{};window.flixJsCallbacks['gvid']=''
sessionStorage.setItem('flixgvid','');}},5000)}})();}}catch(e){}},setGuid:{Set:function(e){var t;if(arguments.length==1){if(this.IsValid(arguments[0])){t=arguments[0];}else{t=this.Empty();}}
this.sessionid(t);return t;},Empty:function(){return"00000000-0000-0000-0000-000000000000";},IsEmpty:function(e){return e==this.Empty()||typeof e=="undefined"||e==null||e=="";},IsValid:function(e){rGx=new RegExp("\\b(?:[A-F0-9]{8})(?:-[A-F0-9]{4}){3}-(?:[A-F0-9]{12})\\b");return rGx.exec(e)!=null;},New:function(){if(arguments.length==1&&this.IsValid(arguments[0])){this.sessionid(arguments[0]);value=arguments[0];return value;}
var e=[],t;var n=new RegExp("[2345]");for(var r=0;r<8;r++){t=((1+Math.random())*65536|0).toString(16).substring(1);if(n.exec(r.toString())!=null){if(r==3){t="6"+t.substr(1,3);}
e.push("-");}
e.push(t.toUpperCase());}
value=e.join("");this.sessionid=value;return value;},Value:function(){if(this.sessionid!=''){return this.sessionid;}
var e=this.New();this.sessionid=e;return e;},sessionid:''},loadComp:function(e,t){logqa('loadComp')
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);}},queue:[],trackingqueue:function(url){logqa('trackingqueue')
if(url)
flixtracking.queue.push(url);if(window.flixJsCallbacks&&typeof window.flixJsCallbacks.gvid!='undefined'){logqa('trackingqueue - gvid found')
for(var i=0;i<flixtracking.queue.length;i++){var url=flixtracking.queue[i]=flixtracking.queue[i].replace('&gvid=&','&gvid='+window.flixJsCallbacks.gvid+'&')
logqa(url)
var img=new Image();img.src=url;}
flixtracking.queue=[];}else{logqa('trackingqueue - queue more')
setTimeout(function(){flixtracking.trackingqueue()},1000)}},getUrlParameter:function(sParam){var sPageURL=decodeURIComponent(window.location.search.substring(1)),sURLVariables=sPageURL.split('&'),sParameterName,i;for(i=0;i<sURLVariables.length;i++){sParameterName=sURLVariables[i].split('=');if(sParameterName[0]===sParam){return sParameterName[1]===undefined?true:sParameterName[1];}}},cookieConsent:{provider:'',initConsent:function(){if(typeof Cookiebot!='undefined'){flixtracking.cookieConsent.cookieBot();}
else if(typeof CookieInformation!='undefined'&&typeof CookieInformation.getConsentGivenFor('cookie_cat_statistic')!='undefined'){flixtracking.cookieConsent.cookieInfo();}
else if(typeof __cmp!='undefined'&&typeof __cmp('getCMPData')!='undefined'&&typeof __cmp('getCMPData').vendorConsents!='undefined'){flixtracking.cookieConsent.consentManager();}
else if(typeof window.evidon!='undefined'&&typeof window.evidon.notice.consentIsGiven!='undefined'){flixtracking.cookieConsent.crownPeak();}
else if(typeof window.didomiState!='undefined'&&typeof window.didomiState.didomiPurposesConsent!='undefined'){flixtracking.cookieConsent.didomi();}
else if(typeof _iub!='undefined'&&typeof _iub.csActivationDone!='undefined'){flixtracking.cookieConsent.iubenda();}
else if(typeof OneTrust!='undefined'){flixtracking.cookieConsent.oneTrust();}
else if(typeof window.cookieconsent!='undefined'){flixtracking.cookieConsent.osano();}
else if(typeof OneTrust=='undefined'&&typeof cact!='undefined'){flixtracking.cookieConsent.trustcommander();}
else if(typeof __cmp=='undefined'&&typeof __tcfapi!='undefined'){flixtracking.cookieConsent.quantcast();}
else{var dnt=flixtracking.cookieConsent.doNotTrack();if(flixtracking.trackingcc<=20&&dnt!=true){setTimeout(function(){flixtracking.trackingcc++;flixtracking.cookieConsent.initConsent();},1000);}}},cookieInfo:function(){var statistic=CookieInformation.getConsentGivenFor('cookie_cat_statistic')||'';logqa('CookieInformation',statistic);flixtracking.cookieConsent.provider='CookieInfo'
if(statistic===false){flixtracking.cookieConsent.stopTracking();}else if(statistic===true){}
if(document.querySelector('.consentstatus')&&document.querySelector('.consentstatus').length>0)
document.querySelector('.consentstatus').innerHTML=statistic;flixconsent=statistic;},consentManager:function(){var preferences=__cmp('consentStatus').consentExists;logqa('consentManager -'+preferences);flixtracking.cookieConsent.provider='ConsentManager'
var obj=__cmp('getCMPData').vendorConsents;if(Object.keys(obj).length===0){preferences=false;flixtracking.cookieConsent.stopTracking();}else{preferences=true;}
if(document.querySelector('.consentstatus')&&document.querySelector('.consentstatus').length>0)
document.querySelector('.consentstatus').innerHTML=preferences;flixconsent=preferences;},cookieBot:function(){var preferences=''
if(typeof Cookiebot!='undefined'&&typeof Cookiebot.consent!='undefined'&&typeof Cookiebot.consent.preferences!='undefined')
preferences=Cookiebot.consent.preferences;logqa('cookieBot -'+preferences);flixtracking.cookieConsent.provider='CookieBot'
if(preferences===false){flixtracking.cookieConsent.stopTracking();}else if(preferences===true){}
if(document.querySelector('.consentstatus')&&document.querySelector('.consentstatus').length>0)
document.querySelector('.consentstatus').innerHTML=preferences;flixconsent=preferences;},crownPeak:function(){var preferences=window.evidon.notice.consentIsGiven;logqa('crownpeak -'+preferences);flixtracking.cookieConsent.provider='CrownPeak'
if(preferences===false){flixtracking.cookieConsent.stopTracking();}else if(preferences===true){}
if(document.querySelector('.consentstatus')&&document.querySelector('.consentstatus').length>0)
document.querySelector('.consentstatus').innerHTML=preferences;flixconsent=preferences;},didomi:function(){var preferences=false;logqa('didomi -');flixtracking.cookieConsent.provider='Didomi'
if(window.didomiState.didomiPurposesConsentDenied.search('measure_content_performance')!=-1){flixtracking.cookieConsent.stopTracking();}else if(preferences===true){}
if(document.querySelector('.consentstatus')&&document.querySelector('.consentstatus').length>0)
document.querySelector('.consentstatus').innerHTML=preferences;flixconsent=preferences;},iubenda:function(){var preferences=_iub.csActivationDone;logqa('iubenda -'+preferences);flixtracking.cookieConsent.provider='Iubenda'
if(typeof _iub.cs.consent.purposes!='undefined'&&typeof _iub.cs.consent.purposes[4]!='undefined'&&_iub.cs.consent.purposes[4]===false){flixtracking.cookieConsent.stopTracking();}
if(document.querySelector('.consentstatus')&&document.querySelector('.consentstatus').length>0)
document.querySelector('.consentstatus').innerHTML=preferences;flixconsent=preferences;},oneTrust:function(){var preferences=''
if(typeof OneTrust!='undefined'&&typeof OneTrust.IsAlertBoxClosed!='undefined')
preferences=OneTrust.IsAlertBoxClosed();logqa('oneTrust -'+preferences);flixtracking.cookieConsent.provider='OneTrust'
if(preferences===false){flixtracking.cookieConsent.stopTracking();}
if(document.querySelector('.consentstatus')&&document.querySelector('.consentstatus').length>0)
document.querySelector('.consentstatus').innerHTML=preferences;if(typeof Optanon!='undefined'&&Optanon.GetDomainData()&&Optanon.GetDomainData().ConsentIntegrationData){var cv=Optanon.GetDomainData().ConsentIntegrationData.consentPayload.purposes
var cv2=JSON.stringify(cv);var onecv='';var third='tp_false|';var func='ft_false|';var target='tt_false';if(cv[2]&&cv[2].TransactionType&&cv[2].TransactionType=='CONFIRMED'){third='tp_true|';}
if(cv[3]&&cv[3].TransactionType&&cv[3].TransactionType=='CONFIRMED'){func='ft_true|';}
if(cv[4]&&cv[4].TransactionType&&cv[4].TransactionType=='CONFIRMED'){target='tt_true';flixtracking.cookieConsent.stopTracking();preferences=true;}
onecv=third+func+target;flixtracking.cookieConsent.data=onecv;}
flixconsent=preferences;},osano:function(){var preferences=false;logqa('osano -');flixtracking.cookieConsent.provider='Osano'
var name='cookieconsent_status';var match=document.cookie.match(new RegExp('(^| )'+name+'=([^;]+)'));if(match){logqa('osano',match[2]);if(match[2]=='allow'){preferences=true;}else{}};if(document.querySelector('.consentstatus')&&document.querySelector('.consentstatus').length>0)
document.querySelector('.consentstatus').innerHTML=preferences;flixconsent=preferences;},quantcast:function(){var preferences=false;logqa('quantcast -');flixtracking.cookieConsent.provider='Quantcast'
__tcfapi('getTCData',2,function(tcData,success){if(typeof tcData!='undefined'&&tcData!==null&&(tcData.eventStatus=='useractioncomplete'||tcData.eventStatus=='tcloaded')){if(tcData.eventStatus=='useractioncomplete'||tcData.eventStatus=='tcloaded'){var obj=tcData.purpose.consents;if(Object.keys(obj).length===0){preferences=false;flixtracking.cookieConsent.stopTracking();}else{preferences=true;}}}
if(document.querySelector('.consentstatus')&&document.querySelector('.consentstatus').length>0)
document.querySelector('.consentstatus').innerHTML=preferences;flixconsent=preferences;});},trustcommander:function(){var preferences=false;logqa('trustcommander -');flixtracking.cookieConsent.provider='Trustcommander'
cact('consent.get',function(result){if(result.consent.status==='unset'){}else{if(result.consent.categories[1].status=='on')
preferences=true;else
flixtracking.cookieConsent.stopTracking();}})
if(document.querySelector('.consentstatus')&&document.querySelector('.consentstatus').length>0)
document.querySelector('.consentstatus').innerHTML=preferences;flixconsent=preferences;},doNotTrack:function(){var preferences=navigator.doNotTrack=="yes"||navigator.doNotTrack=="1"||navigator.msDoNotTrack=="1"||window.doNotTrack==="1";if(preferences===true){flixconsent=false;flixtracking.cookieConsent.stopTracking();flixtracking.cookieConsent.provider='DNT';flixtracking.cookieConsent.data=flixconsent;}else{flixtracking.cookieConsent.provider='';flixtracking.cookieConsent.data='';flixconsent=''}
if(document.querySelector('.consentstatus')&&document.querySelector('.consentstatus').length>0)
document.querySelector('.consentstatus').innerHTML=preferences;return preferences;},stopTracking:function(){logqa('stopTracking - disable tracking');flixtracking.tracking=false;}},checkNoTracking:function(){logqa('checkNoTracking');try{if(flixtracking.noTracking==true)
logqa('No tracking retailer');}catch(e){}},globalTracking:function(opts){logqa('globalTracking')
if(typeof FlixjQ=='undefined'){setTimeout(function(){flixtracking.globalTracking(opts);},500)
return false}
if(typeof FlixjQ!='undefined'&&typeof FlixjQ.fn.on=='undefined')
FlixjQ.fn.on=FlixjQ.fn.live;if(flixtracking.globalTrackingInit===false){logqa('globalTracking --passed')
if(typeof FlixjQ.fn.logging=='undefined'){FlixjQ.fn.logging=function(type,event,data,media,price,inPcount){}}
if(typeof FlixjQ!='undefined'&&typeof FlixjQ.fn.inPage!='undefined'&&typeof FlixjQ.fn.inPage.data.product!==undefined){opts=FlixjQ.fn.inPage.data;}else if(typeof FlixjQ!='undefined'&&typeof FlixjQ.fn.minisite!='undefined'&&typeof FlixjQ.fn.minisite.data.product!==undefined){opts=FlixjQ.fn.minisite.data;}else if(typeof opts!='object'){return false;}
setTimeout(function(){flixtracking.products.reviewsContainer=FlixjQ('.inpage_selector_reviews');if(FlixjQ.fn.inPage=='undefined'||(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.hasOwn(FlixjQ.fn.inPage.data.ab_data))){if(FlixjQ("#inpage_container").length>0){flixtracking.products.pagetracking.init();}}else{logqa('No time tracking');if(typeof FlixjQ.fn.inPage!='undefined'&&typeof FlixjQ.fn.inPage.logTime!='undefined'){FlixjQ.fn.inPage.logTime=function(){}}
if(typeof FlixjQ.fn.minisite!='undefined'&&typeof FlixjQ.fn.minisite.logTime!='undefined'){FlixjQ.fn.minisite.logTime=function(){}}
if(typeof FlixjQ.fn.compMinisite!='undefined'&&typeof FlixjQ.fn.compMinisite.logTime!='undefined'){FlixjQ.fn.compMinisite.logTime=function(){}}
if(typeof instance!='undefined'&&typeof instance.logTime!='undefined'){instance.logTime=function(){}}}
if(FlixjQ('[skey]').length>0){flixtracking.products.logotracking.init();}
flixtracking.checkModuleExists('[flixtemplate-key="thirdparty_app"], [data-3p]').then((elm)=>{logqa('3rdapp  loaded');flixtracking.products.thirdpartywidget.init();});if(!window.comparecheck)
window.comparecheck=false;var ctprodlength=FlixjQ('.flix-comp-product').length;var comparisonTable=FlixjQ('.flix-compare');if(comparisonTable&&comparisonTable.length>0){if(window.comparecheck==false){window.comparecheck=true;if(ctprodlength>1||ctprodlength===0){flixtracking.products.comparison.init();}
flixtracking.loadComp(flixtracking.site_url+'static/comparison/standard/js/append.js');flixtracking.loadComp(flixtracking.site_url+'static/comparison/standard/css/main.css');}}else{flixtracking.checkModuleExists('.flix-compare').then((elm)=>{logqa('CT v1 loaded');var ctprodlength=FlixjQ('.flix-comp-product').length;if(window.comparecheck==false){window.comparecheck=true;if(ctprodlength>1||ctprodlength===0){flixtracking.products.comparison.init();}}});}
var comparisonTable=FlixjQ('.flix-comparev2');if(comparisonTable&&comparisonTable.length>0&&abtablecheck==false){if(window.comparecheck==false){window.comparecheck=true;flixtracking.products.comparisonv2.init();}}else{flixtracking.checkModuleExists('[flixtemplate-key="comparison_tables"]').then((elm)=>{logqa('CT v2 loaded');if(typeof window.comparecheck=='undefined'||window.comparecheck==false&&FlixjQ('.flix-ctv2-wrapper').length>0)
flixtracking.products.comparisonv2.init();if(window.comparecheck==false)
window.comparecheck=true;});}
if(flixtracking.products.reviewsContainer&&flixtracking.products.reviewsContainer.length>0){flixtracking.products.reviews.init();}else{flixtracking.checkModuleExists('[flixtemplate-key="reviews"]').then((elm)=>{logqa('review loaded');flixtracking.products.reviews.init();});}
if(FlixjQ('#flix-ugc-galfeatures').length>0){flixtracking.products.ugctracking.init();}else{flixtracking.checkModuleExists('[flixtemplate-key="ugcs"], #flix_product_ugc').then((elm)=>{logqa('UGC loaded');flixtracking.products.ugctracking.init();});}
flixtracking.products.buttontracking.init();var compcc=0
function checkCompButton(){if(FlixjQ('#inpage-iframe-modal a')&&FlixjQ('#inpage-iframe-modal a').length&&FlixjQ('#inpage-iframe-modal a').attr('onclick').search('scrollToComplimentary')!=-1){var s=FlixjQ('#inpage-iframe-modal a').attr('onclick')
var id=s.split('(\"#link')[1].split('\")')[0]
if(FlixjQ('[id^=flixinpage_'+id+']').length&&FlixjQ('[id^=flixinpage_'+id+']').html().length==0){FlixjQ('#inpage-iframe-modal a').hide();setTimeout(function(){if(compcc<10)
checkCompButton()
compcc++;},2000)}else{FlixjQ('#inpage-iframe-modal a').show()}}}
if(FlixjQ.fn.inPage&&FlixjQ.fn.inPage.hasOwn(FlixjQ.fn.inPage.data.ab_data))
checkCompButton();},500);flixtracking.globalTrackingInit=true;}},retailercheck:{check:false,init:function(data){logqa('retailercheck');flixtracking.retailercheck.check=true;setTimeout(function(){flixtracking.retailercheck.check=false;},1000);flixtracking.retailercheck.cn='';flixtracking.retailercheck.cc='';if((document.getElementById('ccs-inline-content')&&document.getElementById('ccs-inline-content')!=null)||(document.getElementById('ccs-logos')&&document.getElementById('ccs-logos')!=null&&document.getElementById('ccs-logos').childNodes.length>0)){if(flixtracking.retailercheck.cn!=''){flixtracking.retailercheck.cn+='|';flixtracking.retailercheck.cc+='|'}
flixtracking.retailercheck.cnet(data);}
if(document.querySelectorAll('[class^="__ttl__widget"]').length){if(flixtracking.retailercheck.cn!=''){flixtracking.retailercheck.cn+='|';flixtracking.retailercheck.cc+='|'}
flixtracking.retailercheck.twentyfourttl(data);}
if(document.querySelectorAll('.loadbeeTabContent').length){if(flixtracking.retailercheck.cn!=''){flixtracking.retailercheck.cn+='|';flixtracking.retailercheck.cc+='|'}
flixtracking.retailercheck.loadbee(data);}
if((document.getElementById('syndi_powerpage')&&document.getElementById('syndi_powerpage')!=null)||(document.getElementById('syndigo-hero-image')&&document.getElementById('syndigo-hero-image')!=null&&document.getElementById('syndigo-hero-image').childNodes.length>0)){if(flixtracking.retailercheck.cn!=''){flixtracking.retailercheck.cn+='|';flixtracking.retailercheck.cc+='|'}
flixtracking.retailercheck.syndigo(data);}
if(document.querySelectorAll('*[data-contentdriver]').length){if(flixtracking.retailercheck.cn!=''){flixtracking.retailercheck.cn+='|';flixtracking.retailercheck.cc+='|'}
flixtracking.retailercheck.contentdriver(data);}
if(document.querySelectorAll('script[src*="1worldsync"]')&&document.querySelectorAll('script[src*="1worldsync"]').length){if(flixtracking.retailercheck.cn!=''){flixtracking.retailercheck.cn+='|';flixtracking.retailercheck.cc+='|'}
flixtracking.retailercheck.oneworld(data);}},cnet:function(data){flixtracking.retailercheck.cn+='cnet';try{if((document.querySelectorAll('.ccs-cc-inline')&&document.querySelectorAll('.ccs-cc-inline').length&&document.querySelectorAll('.ccs-cc-inline')[0].innerText.length>100)||document.getElementById('ccs-logos').innerHTML.length>10){flixtracking.retailercheck.cc+='true';}else{flixtracking.retailercheck.cc+='false';}}catch(e){flixtracking.retailercheck.cc+='false';}},twentyfourttl:function(data){flixtracking.retailercheck.cn+='24ttl';try{if(document.querySelectorAll('[class^="__ttl__widget"]')&&document.querySelectorAll('[class^="__ttl__widget"]').length&&document.querySelectorAll('[class^="__ttl__widget"]')[0].innerText.length>100){flixtracking.retailercheck.cc+='true';}else{flixtracking.retailercheck.cc+='false';}}catch(e){flixtracking.retailercheck.cc+='false';}},loadbee:function(data){flixtracking.retailercheck.cn+='loadbee';try{if(document.querySelectorAll('[class^="loadbeeTabContent"]').childNodes&&document.querySelectorAll('[class^="__ttl__widget"]').childNodes.length>10){flixtracking.retailercheck.cc+='true';}else{flixtracking.retailercheck.cc+='false';}}catch(e){flixtracking.retailercheck.cc+='false';}},syndigo:function(data){flixtracking.retailercheck.cn+='syndigo';try{if((document.getElementById('syndi_powerpage').childNodes.length>0&&document.getElementById('syndi_powerpage').innerHTML.length>10)||(typeof document.querySelector('syndigo-mosaic')!='undefined'&&typeof document.querySelector('syndigo-mosaic').shadowRoot!='undefined'&&typeof document.querySelector('syndigo-mosaic').shadowRoot.querySelector('syndigo-mosaic-ribbon')!='undefined'&&document.querySelector('syndigo-mosaic').shadowRoot.querySelector('syndigo-mosaic-ribbon')!=null&&typeof document.querySelector('syndigo-mosaic').shadowRoot.querySelector('syndigo-mosaic-ribbon').shadowRoot!='undefined'&&typeof document.querySelector('syndigo-mosaic').shadowRoot.querySelector('syndigo-mosaic-ribbon').shadowRoot.querySelector('.syndigo-mosaic-content')!='undefined'&&document.querySelector('syndigo-mosaic').shadowRoot.querySelector('syndigo-mosaic-ribbon').shadowRoot.querySelector('.syndigo-mosaic-content')!=null)){flixtracking.retailercheck.cc+='true';}else{flixtracking.retailercheck.cc+='false';}}catch(e){flixtracking.retailercheck.cc+='false';}},contentdriver:function(data){flixtracking.retailercheck.cn+='contentdriver';try{if(document.querySelectorAll('*[data-contentdriver]')&&document.querySelectorAll('*[data-contentdriver]').length&&document.querySelectorAll('*[data-contentdriver]')[0].innerText.length>100){flixtracking.retailercheck.cc+='true';}else{flixtracking.retailercheck.cc+='false';}}catch(e){flixtracking.retailercheck.cc+='false';}},oneworld:function(data){flixtracking.retailercheck.cn+='oneworld';try{if(document.querySelectorAll('img[src*="1worldsync"]')&&document.querySelectorAll('img[src*="1worldsync"]').length){flixtracking.retailercheck.cc+='true';}else{flixtracking.retailercheck.cc+='false';}}catch(e){flixtracking.retailercheck.cc+='false';}}},startModular:function(){logqa('startModular tracking');if(typeof FlixServices!='undefined'&&FlixServices.modular_match_data&&FlixServices.modular_match_data&&typeof FlixServices.modular_match_data[0]=='object'){logqa('start tracking')
var data={}
data.distributor=flixmain_distributor||main_distributor;var matchdata=FlixServices.modular_match_data
var matchdatacc=0
for(val of matchdata){var match=val;data.mpn=''
if(typeof flixmain_mpn!='undefined'&&flixmain_mpn.length>0)
data.mpn=flixmain_mpn;else if(typeof main_mpn!='undefined'&&main_mpn.length>0)
data.mpn=main_mpn;else if(typeof match.product_meta.product_mpn!='undefined'&&match.product_meta.product_mpn.length>0)
data.mpn=match.product_meta.product_mpn;data.ean=flixmain_ean||main_ean||match.product_meta.product_ean||'';if(match.product_meta.match_data){if(typeof window.matching_data=='undefined'){window.matching_data=[]}
window.matching_data=match.product_meta.match_data
if(match.product_meta.match_data.direct_match){var prodid=match.product_meta.product_id
var directmatch=match.product_meta.match_data.direct_match[prodid]
data.match_id=directmatch.match_id
data.match_type=directmatch.match_type
window.matching_data['main']={"data":{},"matchType":"direct"}
window.matching_data['main']['data']={[prodid]:{}}
window.matching_data['main']['data'][prodid]['match_id']=directmatch.match_id
window.matching_data['main']['data'][prodid]['match_type']=directmatch.match_type}
if(match.product_meta.match_data.dist_match){var prodid=match.product_meta.product_id
var directmatch=match.product_meta.match_data.dist_match[prodid]
data.match_id=directmatch.match_id
data.match_type=directmatch.match_type
window.matching_data['distributor']={"data":{},"matchType":"direct"}
window.matching_data['distributor']['data']={[prodid]:{}}
window.matching_data['distributor']['data'][prodid]['match_id']=directmatch.match_id
window.matching_data['distributor']['data'][prodid]['match_type']=directmatch.match_type}
if(match.product_meta.match_data.comp_match){var prodid=match.product_meta.product_id
var directmatch=match.product_meta.match_data.comp_match[prodid]
data.match_id=directmatch.match_id
data.match_type=directmatch.match_type
window.matching_data['complimentary']={"data":{},"matchType":"complimentary"}
window.matching_data['complimentary']['data']={[prodid]:{}}
window.matching_data['complimentary']['data'][prodid]['match_id']=directmatch.match_id
window.matching_data['complimentary']['data'][prodid]['match_type']=directmatch.match_type}}
if(matchdatacc==0){data.product_id=match.product_meta.product_id;data.language=match.product_meta.language_iso;FlixServices.maindata=data;}
if(typeof match.product_meta.inpage=='object'){const indata=JSON.parse(JSON.stringify(data))
if(!FlixServices.inpagedata)
FlixServices.inpagedata=[]
var prodid=match.product_meta.inpage.product_id;FlixServices.inpagedata[prodid]=indata;FlixServices.inpagedata[prodid]['type']='inpage';FlixServices.inpagedata[prodid]['event_type']='page';FlixServices.inpagedata[prodid]['event_detail']='';FlixServices.inpagedata[prodid]['product_id']=prodid;FlixServices.inpagedata[prodid]['product']=prodid;FlixServices.inpagedata[prodid]['language']=match.product_meta.language_iso;FlixServices.inpagedata[prodid]['flixcontainer']='#inpage_container';flixtracking.checkModuleExists('div#flix-inpage').then((elm)=>{if(flixtracking.inpageloaded==false){logqa('inpage log');var matchdata=FlixServices.modular_match_data
var fli=0;for(val2 of matchdata){var prodid=val2.product_meta.product_id
var indata=FlixServices.inpagedata[prodid]
if(FlixjQ('div#inpage_container:eq('+fli+')').length&&FlixjQ('div#inpage_container:eq('+fli+')').attr('data-flx-p'))
indata.flixcontainer='[data-flx-p="'+FlixjQ('div#inpage_container:eq('+fli+')').attr('data-flx-p')+'"]'
flixtracking.products.inpage(indata);fli++;}}});if(typeof FlixjQ.fn.inPage=='undefined'){FlixjQ.fn.inPage=function(){}
FlixjQ.fn.inPage.data=data;FlixjQ.fn.inPage.hasOwn=function(obj){for(var p in obj){if(obj.hasOwnProperty(p)){return true;}}
return false;};}}
FlixjQ.fn.newdata=data
if(typeof match.product_meta.minisite=='object'&&flixtracking.isMobile()==false&&FlixServices.service_lock_minisite==false){if(FlixjQ('#flix-minisite').length>0){const minidata=JSON.parse(JSON.stringify(data))
logqa('minisite button log')
flixtracking.minisitebuttonloaded=true;minidata.type='minisite';minidata.language=match.product_meta.language_iso;minidata.product_id=match.product_meta.inpage.product_id;var d=new Date(),h='';minidata.ut=d.getTime();minidata.to=d.getTimezoneOffset();minidata.ss=screen.width+'x'+screen.height;minidata.event_type='matchhit';flixtracking.log(minidata);}}
if(typeof FlixServices.modular_match_data[0]!='undefined'&&typeof FlixServices.modular_match_data[0].modules!='undefined'&&typeof FlixServices.modular_match_data[0].modules.hotspot!='undefined'&&FlixServices.modular_match_data[0].modules.hotspot!=null){const matchhot=FlixServices.modular_match_data[0];matchhot.data=JSON.parse(JSON.stringify(data))
flixtracking.checkModuleExists('#flix_hotspots').then((elm)=>{if(!flixtracking.hotspotloaded2){flixtracking.hotspotloaded2=true
logqa('hotspot desktop log');matchhot.data.language=matchhot.product_meta.language_iso
matchhot.data.product_id=matchhot.product_meta.inpage.product_id;matchhot.data.edvalueT=matchhot.data.mpn||matchhot.data.ean||matchhot.data.product_id,matchhot.data.type='interactive'
if(typeof flixhotspot=='undefined')
window.flixhotspot={}
window.flixhotspot.data=matchhot.data;FlixServices.flixhotspot.data=matchhot.data
setTimeout(function(){flixtracking.products.hotspot();},1000)}});if(flixtracking.isMobile()==true){flixtracking.checkModuleExists('#flix_hotspotsmob').then((elm)=>{if(!flixtracking.hotspotloaded3){flixtracking.hotspotloaded3=true
logqa('hotspot mob log');matchhot.data.language=matchhot.product_meta.language_iso
matchhot.data.product_id=matchhot.product_meta.inpage.product_id;matchhot.data.edvalueT=matchhot.data.mpn||matchhot.data.ean||matchhot.data.product_id,matchhot.data.type='interactive'
if(typeof flixhotspot=='undefined')
window.flixhotspot={}
window.flixhotspot.data=matchhot.data;FlixServices.flixhotspot.data=matchhot.data
flixtracking.products.hotspotmob();}});}}else{if(match.product_meta.hotspot==0){var data={}
data.type='interactive';data.distributor=flixmain_distributor;data.language=flixmain_language;data.mpn=flixmain_mpn;data.ean=flixmain_ean;data.distributor=flixmain_distributor;data.distributor=flixmain_distributor;data.event_detail='';data.event_type='matchmisshotspot';if(!data.product_id)
data.product_id="0";if(!data.product)
data.product="0";flixtracking.log(data)}}
matchdatacc++;}}else if(typeof FlixServices!='undefined'&&FlixServices.modular_match_data&&typeof FlixServices.modular_match_data!='undefined'&&typeof FlixServices.modular_match_data[0]!='object'){if(typeof FlixServices.modular_match_data.oem!='undefined'&&typeof FlixServices.modular_match_data.oem.not_migrated!='undefined'){logqa('Not migrated log')
function notmigratedfallback(){var data={}
if(typeof window.flixJsCallbacks!='undefined'&&typeof window.flixJsCallbacks.pid!='undefined'&&window.flixJsCallbacks.pid.length>0)
data.product_id=window.flixJsCallbacks.pid
if(data.product_id){console.log('old js loaded- '+window.flixJsCallbacks.pid)
var data={}
data.type='inpage'
data.distributor=flixmain_distributor;data.language=flixmain_language;data.mpn=flixmain_mpn;data.ean=flixmain_ean;data.distributor=flixmain_distributor;data.distributor=flixmain_distributor;data.event_type='fallback'
data.event_detail=''
if(window.flixJsCallbacks&&window.flixJsCallbacks.pid&window.flixJsCallbacks.pid.length>0){data.product_id=window.flixJsCallbacks.pid
data.pid=window.flixJsCallbacks.pid}
flixtracking.log(data)}else{setTimeout(function(){notmigratedfallback()},1000)}}
notmigratedfallback()}
if(typeof FlixServices.modular_match_data.oem!='undefined'&&typeof FlixServices.modular_match_data.oem.match_failed!='undefined'&&FlixServices.modular_match_data.oem.match_failed==true){logqa('matchmiss log')
var data={}
data.type='inpage'
data.distributor=flixmain_distributor||main_distributor;data.language=flixmain_language||main_language;data.mpn=flixmain_mpn||main_mpn;data.ean=flixmain_ean||main_ean;data.distributor=flixmain_distributor||main_distributor;data.distributor=flixmain_distributor||main_distributor;data.event_detail='';if(!data.product_id)
data.product_id="0";if(!data.product)
data.product="0";data.type='inpage'
data.event_type='matchmissinpage';flixtracking.log(data)
data.type='minisite'
data.event_type='matchmiss'
flixtracking.log(data)
data.type='interactive';data.event_type='matchmisshotspot';flixtracking.log(data)}}else{flixtracking.startModularcc++;setTimeout(function(){if(flixtracking.startModularcc<30)
flixtracking.startModular();},500);}},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});});},initmoduletracking:function(target){logqa('initmoduletracking: '+target)
const sections=document.querySelectorAll(target);const config={rootMargin:'50px 0px 50px 0px',threshold:0};let isLeaving=false;let observer=new IntersectionObserver(function(entries,self){var delay=0;entries.forEach(entry=>{if(entry.isIntersecting){setTimeout(function(){isLeaving=true;if(target=='#flix-ugc-galfeatures'){flixtracking.products.ugctracking.init();}},delay);delay+=100;self.unobserve(entry.target);if(entry.target){}}else if(isLeaving){isLeaving=false;}});},config);if('IntersectionObserver'in window){sections.forEach(section=>{observer.observe(section);});}else{}}}
flixtracking.init();}
if(typeof FlixjQ=='undefined'){!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("FlixjQ requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.1",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={FlixjQ:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"FlixjQ"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=lb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=mb(b);function pb(){}pb.prototype=d.filters=d.pseudos,d.setFilters=new pb,g=fb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fb.error(a):z(a,i).slice(0)};function qb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.FlixjQ?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.FlixjQ?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?m.queue(this[0],a):void 0===b?this:this.each(function(){var c=m.queue(this,a,b);m._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&m.dequeue(this,a)})},dequeue:function(a){return this.each(function(){m.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=m.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=m._data(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=["Top","Right","Bottom","Left"],U=function(a,b){return a=b||a,"none"===m.css(a,"display")||!m.contains(a.ownerDocument,a)},V=m.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===m.type(c)){e=!0;for(h in c)m.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,m.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(m(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav></:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="<input type='radio' checked='checked' name='t'/>",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[m.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=Z.test(e)?this.mouseHooks:Y.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new m.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=f.srcElement||y),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,g.filter?g.filter(a,f):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button,g=b.fromElement;return null==a.pageX&&null!=b.clientX&&(d=a.target.ownerDocument||y,e=d.documentElement,c=d.body,a.pageX=b.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&g&&(a.relatedTarget=g===a.target?b.toElement:g),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==cb()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===cb()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return m.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(a){return m.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=m.extend(new m.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?m.event.trigger(e,null,b):m.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},m.removeEvent=y.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var d="on"+b;a.detachEvent&&(typeof a[d]===K&&(a[d]=null),a.detachEvent(d,c))},m.Event=function(a,b){return this instanceof m.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ab:bb):this.type=a,b&&m.extend(this,b),this.timeStamp=a&&a.timeStamp||m.now(),void(this[m.expando]=!0)):new m.Event(a,b)},m.Event.prototype={isDefaultPrevented:bb,isPropagationStopped:bb,isImmediatePropagationStopped:bb,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ab,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ab,a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ab,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){m.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!m.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.submitBubbles||(m.event.special.submit={setup:function(){return m.nodeName(this,"form")?!1:void m.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=m.nodeName(b,"input")||m.nodeName(b,"button")?b.form:void 0;c&&!m._data(c,"submitBubbles")&&(m.event.add(c,"submit._submit",function(a){a._submit_bubble=!0}),m._data(c,"submitBubbles",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&m.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){return m.nodeName(this,"form")?!1:void m.event.remove(this,"._submit")}}),k.changeBubbles||(m.event.special.change={setup:function(){return X.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(m.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),m.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),m.event.simulate("change",this,a,!0)})),!1):void m.event.add(this,"beforeactivate._change",function(a){var b=a.target;X.test(b.nodeName)&&!m._data(b,"changeBubbles")&&(m.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||m.event.simulate("change",this.parentNode,a,!0)}),m._data(b,"changeBubbles",!0))})},handle:function(a){var b=a.target;return this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return m.event.remove(this,"._change"),!X.test(this.nodeName)}}),k.focusinBubbles||m.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){m.event.simulate(b,a.target,m.event.fix(a),!0)};m.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=m._data(d,b);e||d.addEventListener(a,c,!0),m._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=m._data(d,b)-1;e?m._data(d,b,e):(d.removeEventListener(a,c,!0),m._removeData(d,b))}}}),m.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(f in a)this.on(f,b,c,a[f],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=bb;else if(!d)return this;return 1===e&&(g=d,d=function(a){return m().off(a),g.apply(this,arguments)},d.guid=g.guid||(g.guid=m.guid++)),this.each(function(){m.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,m(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=bb),this.each(function(){m.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){m.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?m.event.trigger(a,b,c,!0):void 0}});function db(a){var b=eb.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}var eb="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",fb=/ FlixjQ\d+="(?:null|\d+)"/g,gb=new RegExp("<(?:"+eb+")[\\s/>]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/<tbody/i,lb=/<|&#?\w+;/,mb=/<(?:script|style|link)/i,nb=/checked\s*(?:[^=]|=\s*.checked.)/i,ob=/^$|\/(?:java|ecma)script/i,pb=/^true\/(.*)/,qb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,rb={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:k.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1></$2>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?"<table>"!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ub(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Cb[0].contentWindow||Cb[0].contentDocument).document,b.write(),b.close(),c=Eb(a,b),Cb.detach()),Db[a]=c),c}!function(){var a;k.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,d;return c=y.getElementsByTagName("body")[0],c&&c.style?(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",b.appendChild(y.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(d),a):void 0}}();var Gb=/^margin/,Hb=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Ib,Jb,Kb=/^(top|right|bottom|left)$/;a.getComputedStyle?(Ib=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)},Jb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ib(a),g=c?c.getPropertyValue(b)||c[b]:void 0,c&&(""!==g||m.contains(a.ownerDocument,a)||(g=m.style(a,b)),Hb.test(g)&&Gb.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0===g?g:g+""}):y.documentElement.currentStyle&&(Ib=function(a){return a.currentStyle},Jb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ib(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Hb.test(g)&&!Kb.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Lb(a,b){return{get:function(){var c=a();if(null!=c)return c?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d,e,f,g,h;if(b=y.createElement("div"),b.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=d&&d.style){c.cssText="float:left;opacity:.5",k.opacity="0.5"===c.opacity,k.cssFloat=!!c.cssFloat,b.style.backgroundClip="content-box",b.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===b.style.backgroundClip,k.boxSizing=""===c.boxSizing||""===c.MozBoxSizing||""===c.WebkitBoxSizing,m.extend(k,{reliableHiddenOffsets:function(){return null==g&&i(),g},boxSizingReliable:function(){return null==f&&i(),f},pixelPosition:function(){return null==e&&i(),e},reliableMarginRight:function(){return null==h&&i(),h}});function i(){var b,c,d,i;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),b.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",e=f=!1,h=!0,a.getComputedStyle&&(e="1%"!==(a.getComputedStyle(b,null)||{}).top,f="4px"===(a.getComputedStyle(b,null)||{width:"4px"}).width,i=b.appendChild(y.createElement("div")),i.style.cssText=b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",b.style.width="1px",h=!parseFloat((a.getComputedStyle(i,null)||{}).marginRight)),b.innerHTML="<table><tr><td></td><td>t</td></tr></table>",i=b.getElementsByTagName("td"),i[0].style.cssText="margin:0;border:0;padding:0;display:none",g=0===i[0].offsetHeight,g&&(i[0].style.display="",i[1].style.display="none",g=0===i[0].offsetHeight),c.removeChild(d))}}}(),m.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var Mb=/alpha\([^)]*\)/i,Nb=/opacity\s*=\s*([^)]*)/,Ob=/^(none|table(?!-c[ea]).+)/,Pb=new RegExp("^("+S+")(.*)$","i"),Qb=new RegExp("^([+-])=("+S+")","i"),Rb={position:"absolute",visibility:"hidden",display:"block"},Sb={letterSpacing:"0",fontWeight:"400"},Tb=["Webkit","O","Moz","ms"];function Ub(a,b){if(b in a)return b;var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=Tb.length;while(e--)if(b=Tb[e]+c,b in a)return b;return d}function Vb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=m._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&U(d)&&(f[g]=m._data(d,"olddisplay",Fb(d.nodeName)))):(e=U(d),(c&&"none"!==c||!e)&&m._data(d,"olddisplay",e?c:m.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function Wb(a,b,c){var d=Pb.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Xb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=m.css(a,c+T[f],!0,e)),d?("content"===c&&(g-=m.css(a,"padding"+T[f],!0,e)),"margin"!==c&&(g-=m.css(a,"border"+T[f]+"Width",!0,e))):(g+=m.css(a,"padding"+T[f],!0,e),"padding"!==c&&(g+=m.css(a,"border"+T[f]+"Width",!0,e)));return g}function Yb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ib(a),g=k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Jb(a,b,f),(0>e||null==e)&&(e=a.style[b]),Hb.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Xb(a,b,c||(g?"border":"content"),d,f)+"px"}m.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Jb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":k.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=m.camelCase(b),i=a.style;if(b=m.cssProps[h]||(m.cssProps[h]=Ub(i,h)),g=m.cssHooks[b]||m.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=Qb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(m.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||m.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=m.camelCase(b);return b=m.cssProps[h]||(m.cssProps[h]=Ub(a.style,h)),g=m.cssHooks[b]||m.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Jb(a,b,d)),"normal"===f&&b in Sb&&(f=Sb[b]),""===c||c?(e=parseFloat(f),c===!0||m.isNumeric(e)?e||0:f):f}}),m.each(["height","width"],function(a,b){m.cssHooks[b]={get:function(a,c,d){return c?Ob.test(m.css(a,"display"))&&0===a.offsetWidth?m.swap(a,Rb,function(){return Yb(a,b,d)}):Yb(a,b,d):void 0},set:function(a,c,d){var e=d&&Ib(a);return Wb(a,c,d?Xb(a,b,d,k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,e),e):0)}}}),k.opacity||(m.cssHooks.opacity={get:function(a,b){return Nb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=m.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===m.trim(f.replace(Mb,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Mb.test(f)?f.replace(Mb,e):f+" "+e)}}),m.cssHooks.marginRight=Lb(k.reliableMarginRight,function(a,b){return b?m.swap(a,{display:"inline-block"},Jb,[a,"marginRight"]):void 0}),m.each({margin:"",padding:"",border:"Width"},function(a,b){m.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+T[d]+b]=f[d]||f[d-2]||f[0];return e}},Gb.test(a)||(m.cssHooks[a+b].set=Wb)}),m.fn.extend({css:function(a,b){return V(this,function(a,b,c){var d,e,f={},g=0;if(m.isArray(b)){for(d=Ib(a),e=b.length;e>g;g++)f[b[g]]=m.css(a,b[g],!1,d);return f}return void 0!==c?m.style(a,b,c):m.css(a,b)},a,b,arguments.length>1)},show:function(){return Vb(this,!0)},hide:function(){return Vb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){U(this)?m(this).show():m(this).hide()})}});function Zb(a,b,c,d,e){return new Zb.prototype.init(a,b,c,d,e)}m.Tween=Zb,Zb.prototype={constructor:Zb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(m.cssNumber[c]?"":"px")},cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this):Zb.propHooks._default.get(this)},run:function(a){var b,c=Zb.propHooks[this.prop];return this.pos=b=this.options.duration?m.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Zb.propHooks._default.set(this),this}},Zb.prototype.init.prototype=Zb.prototype,Zb.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=m.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){m.fx.step[a.prop]?m.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[m.cssProps[a.prop]]||m.cssHooks[a.prop])?m.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Zb.propHooks.scrollTop=Zb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},m.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},m.fx=Zb.prototype.init,m.fx.step={};var $b,_b,ac=/^(?:toggle|show|hide)$/,bc=new RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),cc=/queueHooks$/,dc=[ic],ec={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=bc.exec(b),f=e&&e[3]||(m.cssNumber[a]?"":"px"),g=(m.cssNumber[a]||"px"!==f&&+d)&&bc.exec(m.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,m.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function fc(){return setTimeout(function(){$b=void 0}),$b=m.now()}function gc(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=T[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function hc(a,b,c){for(var d,e=(ec[b]||[]).concat(ec["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function ic(a,b,c){var d,e,f,g,h,i,j,l,n=this,o={},p=a.style,q=a.nodeType&&U(a),r=m._data(a,"fxshow");c.queue||(h=m._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,n.always(function(){n.always(function(){h.unqueued--,m.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=m.css(a,"display"),l="none"===j?m._data(a,"olddisplay")||Fb(a.nodeName):j,"inline"===l&&"none"===m.css(a,"float")&&(k.inlineBlockNeedsLayout&&"inline"!==Fb(a.nodeName)?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",k.shrinkWrapBlocks()||n.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],ac.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||m.style(a,d)}else j=void 0;if(m.isEmptyObject(o))"inline"===("none"===j?Fb(a.nodeName):j)&&(p.display=j);else{r?"hidden"in r&&(q=r.hidden):r=m._data(a,"fxshow",{}),f&&(r.hidden=!q),q?m(a).show():n.done(function(){m(a).hide()}),n.done(function(){var b;m._removeData(a,"fxshow");for(b in o)m.style(a,b,o[b])});for(d in o)g=hc(q?r[d]:0,d,n),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function jc(a,b){var c,d,e,f,g;for(c in a)if(d=m.camelCase(c),e=b[d],f=a[c],m.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=m.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function kc(a,b,c){var d,e,f=0,g=dc.length,h=m.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=$b||fc(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:m.extend({},b),opts:m.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:$b||fc(),duration:c.duration,tweens:[],createTween:function(b,c){var d=m.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(jc(k,j.opts.specialEasing);g>f;f++)if(d=dc[f].call(j,a,k,j.opts))return d;return m.map(k,hc,j),m.isFunction(j.opts.start)&&j.opts.start.call(a,j),m.fx.timer(m.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}m.Animation=m.extend(kc,{tweener:function(a,b){m.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],ec[c]=ec[c]||[],ec[c].unshift(b)},prefilter:function(a,b){b?dc.unshift(a):dc.push(a)}}),m.speed=function(a,b,c){var d=a&&"object"==typeof a?m.extend({},a):{complete:c||!c&&b||m.isFunction(a)&&a,duration:a,easing:c&&b||b&&!m.isFunction(b)&&b};return d.duration=m.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in m.fx.speeds?m.fx.speeds[d.duration]:m.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){m.isFunction(d.old)&&d.old.call(this),d.queue&&m.dequeue(this,d.queue)},d},m.fn.extend({fadeTo:function(a,b,c,d){return this.filter(U).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=m.isEmptyObject(a),f=m.speed(b,c,d),g=function(){var b=kc(this,m.extend({},a),f);(e||m._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=m.timers,g=m._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&cc.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&m.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=m._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=m.timers,g=d?d.length:0;for(c.finish=!0,m.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),m.each(["toggle","show","hide"],function(a,b){var c=m.fn[b];m.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(gc(b,!0),a,d,e)}}),m.each({slideDown:gc("show"),slideUp:gc("hide"),slideToggle:gc("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){m.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),m.timers=[],m.fx.tick=function(){var a,b=m.timers,c=0;for($b=m.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||m.fx.stop(),$b=void 0},m.fx.timer=function(a){m.timers.push(a),a()?m.fx.start():m.timers.pop()},m.fx.interval=13,m.fx.start=function(){_b||(_b=setInterval(m.fx.tick,m.fx.interval))},m.fx.stop=function(){clearInterval(_b),_b=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(a,b){return a=m.fx?m.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a,b,c,d,e;b=y.createElement("div"),b.setAttribute("className","t"),b.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=y.createElement("select"),e=c.appendChild(y.createElement("option")),a=b.getElementsByTagName("input")[0],d.style.cssText="top:1px",k.getSetAttribute="t"!==b.className,k.style=/top/.test(d.getAttribute("style")),k.hrefNormalized="/a"===d.getAttribute("href"),k.checkOn=!!a.value,k.optSelected=e.selected,k.enctype=!!y.createElement("form").enctype,c.disabled=!0,k.optDisabled=!e.disabled,a=y.createElement("input"),a.setAttribute("value",""),k.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),k.radioValue="t"===a.value}();var lc=/\r/g;m.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=m.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,m(this).val()):a,null==e?e="":"number"==typeof e?e+="":m.isArray(e)&&(e=m.map(e,function(a){return null==a?"":a+""})),b=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=m.valHooks[e.type]||m.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(lc,""):null==c?"":c)}}}),m.extend({valHooks:{option:{get:function(a){var b=m.find.attr(a,"value");return null!=b?b:m.trim(m.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&m.nodeName(c.parentNode,"optgroup"))){if(b=m(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=m.makeArray(b),g=e.length;while(g--)if(d=e[g],m.inArray(m.valHooks.option.get(d),f)>=0)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(a,b){return m.isArray(b)?a.checked=m.inArray(m(a).val(),b)>=0:void 0}},k.checkOn||(m.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var mc,nc,oc=m.expr.attrHandle,pc=/^(?:checked|selected)$/i,qc=k.getSetAttribute,rc=k.input;m.fn.extend({attr:function(a,b){return V(this,m.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){m.removeAttr(this,a)})}}),m.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===K?m.prop(a,b,c):(1===f&&m.isXMLDoc(a)||(b=b.toLowerCase(),d=m.attrHooks[b]||(m.expr.match.bool.test(b)?nc:mc)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=m.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void m.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=m.propFix[c]||c,m.expr.match.bool.test(c)?rc&&qc||!pc.test(c)?a[d]=!1:a[m.camelCase("default-"+c)]=a[d]=!1:m.attr(a,c,""),a.removeAttribute(qc?c:d)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&m.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),nc={set:function(a,b,c){return b===!1?m.removeAttr(a,c):rc&&qc||!pc.test(c)?a.setAttribute(!qc&&m.propFix[c]||c,c):a[m.camelCase("default-"+c)]=a[c]=!0,c}},m.each(m.expr.match.bool.source.match(/\w+/g),function(a,b){var c=oc[b]||m.find.attr;oc[b]=rc&&qc||!pc.test(b)?function(a,b,d){var e,f;return d||(f=oc[b],oc[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,oc[b]=f),e}:function(a,b,c){return c?void 0:a[m.camelCase("default-"+b)]?b.toLowerCase():null}}),rc&&qc||(m.attrHooks.value={set:function(a,b,c){return m.nodeName(a,"input")?void(a.defaultValue=b):mc&&mc.set(a,b,c)}}),qc||(mc={set:function(a,b,c){var d=a.getAttributeNode(c);return d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c)?b:void 0}},oc.id=oc.name=oc.coords=function(a,b,c){var d;return c?void 0:(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},m.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:mc.set},m.attrHooks.contenteditable={set:function(a,b,c){mc.set(a,""===b?!1:b,c)}},m.each(["width","height"],function(a,b){m.attrHooks[b]={set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):void 0}}})),k.style||(m.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var sc=/^(?:input|select|textarea|button|object)$/i,tc=/^(?:a|area)$/i;m.fn.extend({prop:function(a,b){return V(this,m.prop,a,b,arguments.length>1)},removeProp:function(a){return a=m.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),m.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!m.isXMLDoc(a),f&&(b=m.propFix[b]||b,e=m.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=m.find.attr(a,"tabindex");return b?parseInt(b,10):sc.test(a.nodeName)||tc.test(a.nodeName)&&a.href?0:-1}}}}),k.hrefNormalized||m.each(["href","src"],function(a,b){m.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),k.optSelected||(m.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this}),k.enctype||(m.propFix.enctype="encoding");var uc=/[\t\r\n\f]/g;m.fn.extend({addClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j="string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).addClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(uc," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=m.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j=0===arguments.length||"string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).removeClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(uc," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?m.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(m.isFunction(a)?function(c){m(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=m(this),f=a.match(E)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===K||"boolean"===c)&&(this.className&&m._data(this,"__className__",this.className),this.className=this.className||a===!1?"":m._data(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(uc," ").indexOf(b)>=0)return!0;return!1}}),m.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(a,b){m.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),m.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var vc=m.now(),wc=/\?/,xc=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;m.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=m.trim(b+"");return e&&!m.trim(e.replace(xc,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():m.error("Invalid JSON: "+b)},m.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||m.error("Invalid XML: "+b),c};var yc,zc,Ac=/#.*$/,Bc=/([?&])_=[^&]*/,Cc=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Dc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ec=/^(?:GET|HEAD)$/,Fc=/^\/\//,Gc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Hc={},Ic={},Jc="*/".concat("*");try{zc=location.href}catch(Kc){zc=y.createElement("a"),zc.href="",zc=zc.href}yc=Gc.exec(zc.toLowerCase())||[];function Lc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(m.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Mc(a,b,c,d){var e={},f=a===Ic;function g(h){var i;return e[h]=!0,m.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Nc(a,b){var c,d,e=m.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&m.extend(!0,a,c),a}function Oc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Pc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:zc,type:"GET",isLocal:Dc.test(yc[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Jc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":m.parseJSON,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Nc(Nc(a,m.ajaxSettings),b):Nc(m.ajaxSettings,a)},ajaxPrefilter:Lc(Hc),ajaxTransport:Lc(Ic),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=m.ajaxSetup({},b),l=k.context||k,n=k.context&&(l.nodeType||l.FlixjQ)?m(l):m.event,o=m.Deferred(),p=m.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!j){j={};while(b=Cc.exec(f))j[b[1].toLowerCase()]=b[2]}b=j[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?f:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return i&&i.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||zc)+"").replace(Ac,"").replace(Fc,yc[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=m.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(c=Gc.exec(k.url.toLowerCase()),k.crossDomain=!(!c||c[1]===yc[1]&&c[2]===yc[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(yc[3]||("http:"===yc[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=m.param(k.data,k.traditional)),Mc(Hc,k,b,v),2===t)return v;h=k.global,h&&0===m.active++&&m.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!Ec.test(k.type),e=k.url,k.hasContent||(k.data&&(e=k.url+=(wc.test(e)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=Bc.test(e)?e.replace(Bc,"$1_="+vc++):e+(wc.test(e)?"&":"?")+"_="+vc++)),k.ifModified&&(m.lastModified[e]&&v.setRequestHeader("If-Modified-Since",m.lastModified[e]),m.etag[e]&&v.setRequestHeader("If-None-Match",m.etag[e])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+Jc+"; q=0.01":""):k.accepts["*"]);for(d in k.headers)v.setRequestHeader(d,k.headers[d]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(d in{success:1,error:1,complete:1})v[d](k[d]);if(i=Mc(Ic,k,b,v)){v.readyState=1,h&&n.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,i.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,c,d){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),i=void 0,f=d||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,c&&(u=Oc(k,v,c)),u=Pc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(m.lastModified[e]=w),w=v.getResponseHeader("etag"),w&&(m.etag[e]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,h&&n.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),h&&(n.trigger("ajaxComplete",[v,k]),--m.active||m.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return m.get(a,b,c,"json")},getScript:function(a,b){return m.get(a,void 0,b,"script")}}),m.each(["get","post"],function(a,b){m[b]=function(a,c,d,e){return m.isFunction(c)&&(e=e||d,d=c,c=void 0),m.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){m.fn[b]=function(a){return this.on(b,a)}}),m._evalUrl=function(a){return m.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},m.fn.extend({wrapAll:function(a){if(m.isFunction(a))return this.each(function(b){m(this).wrapAll(a.call(this,b))});if(this[0]){var b=m(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return this.each(m.isFunction(a)?function(b){m(this).wrapInner(a.call(this,b))}:function(){var b=m(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=m.isFunction(a);return this.each(function(c){m(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){m.nodeName(this,"body")||m(this).replaceWith(this.childNodes)}).end()}}),m.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!k.reliableHiddenOffsets()&&"none"===(a.style&&a.style.display||m.css(a,"display"))},m.expr.filters.visible=function(a){return!m.expr.filters.hidden(a)};var Qc=/%20/g,Rc=/\[\]$/,Sc=/\r?\n/g,Tc=/^(?:submit|button|image|reset|file)$/i,Uc=/^(?:input|select|textarea|keygen)/i;function Vc(a,b,c,d){var e;if(m.isArray(b))m.each(b,function(b,e){c||Rc.test(a)?d(a,e):Vc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==m.type(b))d(a,b);else for(e in b)Vc(a+"["+e+"]",b[e],c,d)}m.param=function(a,b){var c,d=[],e=function(a,b){b=m.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=m.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(a)||a.FlixjQ&&!m.isPlainObject(a))m.each(a,function(){e(this.name,this.value)});else for(c in a)Vc(c,a[c],b,e);return d.join("&").replace(Qc,"+")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=m.prop(this,"elements");return a?m.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!m(this).is(":disabled")&&Uc.test(this.nodeName)&&!Tc.test(a)&&(this.checked||!W.test(a))}).map(function(a,b){var c=m(this).val();return null==c?null:m.isArray(c)?m.map(c,function(a){return{name:b.name,value:a.replace(Sc,"\r\n")}}):{name:b.name,value:c.replace(Sc,"\r\n")}}).get()}}),m.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Zc()||$c()}:Zc;var Wc=0,Xc={},Yc=m.ajaxSettings.xhr();a.ActiveXObject&&m(a).on("unload",function(){for(var a in Xc)Xc[a](void 0,!0)}),k.cors=!!Yc&&"withCredentials"in Yc,Yc=k.ajax=!!Yc,Yc&&m.ajaxTransport(function(a){if(!a.crossDomain||k.cors){var b;return{send:function(c,d){var e,f=a.xhr(),g=++Wc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)void 0!==c[e]&&f.setRequestHeader(e,c[e]+"");f.send(a.hasContent&&a.data||null),b=function(c,e){var h,i,j;if(b&&(e||4===f.readyState))if(delete Xc[g],b=void 0,f.onreadystatechange=m.noop,e)4!==f.readyState&&f.abort();else{j={},h=f.status,"string"==typeof f.responseText&&(j.text=f.responseText);try{i=f.statusText}catch(k){i=""}h||!a.isLocal||a.crossDomain?1223===h&&(h=204):h=j.text?200:404}j&&d(h,i,j,f.getAllResponseHeaders())},a.async?4===f.readyState?setTimeout(b):f.onreadystatechange=Xc[g]=b:b()},abort:function(){b&&b(void 0,!0)}}}});function Zc(){try{return new a.XMLHttpRequest}catch(b){}}function $c(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return m.globalEval(a),a}}}),m.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),m.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=y.head||m("head")[0]||y.documentElement;return{send:function(d,e){b=y.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||e(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var _c=[],ad=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=_c.pop()||m.expando+"_"+vc++;return this[a]=!0,a}}),m.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(ad.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&ad.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=m.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(ad,"$1"+e):b.jsonp!==!1&&(b.url+=(wc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||m.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,_c.push(e)),g&&m.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),m.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||y;var d=u.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=m.buildFragment([a],b,e),e&&e.length&&m(e).remove(),m.merge([],d.childNodes))};var bd=m.fn.load;m.fn.load=function(a,b,c){if("string"!=typeof a&&bd)return bd.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=m.trim(a.slice(h,a.length)),a=a.slice(0,h)),m.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(f="POST"),g.length>0&&m.ajax({url:a,type:f,dataType:"html",data:b}).done(function(a){e=arguments,g.html(d?m("<div>").append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},m.expr.filters.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};var cd=a.document.documentElement;function dd(a){return m.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}m.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=m.css(a,"position"),l=m(a),n={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=m.css(a,"top"),i=m.css(a,"left"),j=("absolute"===k||"fixed"===k)&&m.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),m.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(n.top=b.top-h.top+g),null!=b.left&&(n.left=b.left-h.left+e),"using"in b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!==K&&(d=e.getBoundingClientRect()),c=dd(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===m.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),m.nodeName(a[0],"html")||(c=a.offset()),c.top+=m.css(a[0],"borderTopWidth",!0),c.left+=m.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-m.css(d,"marginTop",!0),left:b.left-c.left-m.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||cd;while(a&&!m.nodeName(a,"html")&&"static"===m.css(a,"position"))a=a.offsetParent;return a||cd})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);m.fn[a]=function(d){return V(this,function(a,d,e){var f=dd(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),m.each(["top","left"],function(a,b){m.cssHooks[b]=Lb(k.pixelPosition,function(a,c){return c?(c=Jb(a,b),Hb.test(c)?m(a).position()[b]+"px":c):void 0})}),m.each({Height:"height",Width:"width"},function(a,b){m.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){m.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return V(this,function(b,c,d){var e;return m.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?m.css(b,c,g):m.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,"function"==typeof define&&define.amd&&define("FlixjQ",[],function(){return m});var ed=a.FlixjQ,fd=a.$;return m.noConflict=function(b){return a.$===m&&(a.$=fd),b&&a.FlixjQ===m&&(a.FlixjQ=ed),m},typeof b===K&&(a.FlixjQ=a.$=m),m});FlixjQ=FlixjQ.noConflict();if(typeof FlixjQ.fn.live=='undefined'&&typeof FlixjQ.fn.on!='undefined')
FlixjQ.fn.live=FlixjQ.fn.on;}
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);if(typeof FlixjQ2=='undefined'){FlixjQ2=FlixjQ;}
var ENV='-prod'
var flixmain_base_url='//media.flixcar.com/delivery/';var flixmain_api_base_url='//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_language='';var flixmain_language_fliso='';var flixmain_mpn='';var flixmain_ean='';var flixmain_adjacent_codes='';var flixmain_HS_pos='';var flixmain_HS_container='';if(typeof URLSearchParams=='function'){var urlParams=new URLSearchParams(window.location.search);var myScript=document.querySelector('script[src*="/js/service.js"]');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'));if(serviceurl.get('fl'))
serviceurl.set('fliso',serviceurl.get('fl'));if(serviceurl.get('d'))
serviceurl.set('distId',serviceurl.get('d'));urlParams=serviceurl;}}
if(urlParams.get('mpn')||urlParams.get('ean')){flixmain_mpn=urlParams.get('mpn')?urlParams.get('mpn'):'';flixmain_ean=urlParams.get('ean')?urlParams.get('ean'):'comp';flixmain_distributor=urlParams.get('distId')?urlParams.get('distId'):'6';flixmain_language=urlParams.get('iso')?urlParams.get('iso'):'';flixmain_adjacent_codes=urlParams.get('adjacent_codes')?urlParams.get('adjacent_codes'):'';flixmain_HS_pos=urlParams.get('hotposition')?urlParams.get('hotposition'):'';flixmain_HS_container=urlParams.get('hotimage_container')?urlParams.get('hotimage_container'):'';flixmain_language_fliso=urlParams.get('flIso')?urlParams.get('flIso'):'';flixmain_api_call_url_dummy=urlParams.get('dummy')?urlParams.get('dummy'):false;var flixmain_mpn_ean='';if(flixmain_mpn){flixmain_mpn_ean+=flixmain_mpn}
if(flixmain_ean){flixmain_mpn_ean+=flixmain_ean}
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 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(){};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_cloud_url:null,webar_cloud_url:null,webar_usdz_url:null,init:function(obj){var d=new Date();var i=d.getTime();var itemplate_node=i;FlixServices.time_stamp=itemplate_node
inpcontainer=FlixjQ("#flix-inpage",FlixjQ("body"));FlixServices.inpage_holder=inpcontainer
FlixServices.flixmain_base_url=obj.base_url
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){FlixServices.modular_match_data=data
var t_modular_hotspot_data={}
var d_modular_hotspot_settings={}
if(!data.oem){var hotspot_key=0;data.forEach(function(product,index){if(typeof(product.modules)!='undefined'){setTimeout(function(){FlixServices.modular_updated=true;},100);if(product.modules.hotspot){if(product.modules.view3dfm&&typeof(product.modules.view3dfm)!=='undefined'){if(typeof(product.modules.view3dfm.type_web_id)!=='undefined'){FlixServices.setWebArUrls(product.modules.view3dfm.type_web_id);}}
var modular_has_reviews=false;var modular_has_comparison=false;if(typeof(product.modules)!='undefined'){FlixjQ.each(product.modules,function(ix,main_data){if(main_data&&main_data.module_mapper){switch(main_data.module_mapper){case"ugcs":break;case"reviews":modular_has_reviews=FlixServices.flixinpage.processor(main_data,product);break;case"comparison_tables":modular_has_comparison=FlixServices.flixinpage.processor(main_data,product);break;}}});}
for(let key in product.modules.hotspot){if(!t_modular_hotspot_data.hasOwnProperty(key)){if(key=="product_webar"||key=="desktop_webar"){var resolved=product.modules.hotspot[key].html.replaceAll('&d=6&','&d='+flixmain_distributor+'&')
resolved=resolved.replaceAll('&amp;d=6&amp;','&amp;d='+flixmain_distributor+'&amp;')
product.modules.hotspot[key].html=resolved}
if(FlixServices.ismobile()){if(typeof(product.settings.manufacturer_settings)=='undefined'){if(key=="product_webar"||key=="desktop_webar"){}else{continue;}}}
if(key=="product_comparison"){if(!modular_has_comparison){continue;}else{product.modules.hotspot[key].html=modular_has_comparison;}}
if(key=="product_review"){if(!modular_has_reviews){continue;}else{product.modules.hotspot[key].html=modular_has_reviews;}}
if(hotspot_key>0){if(!FlixServices.isEmptyObject(t_modular_hotspot_data)){var total_obj=Object.keys(t_modular_hotspot_data).length
if(total_obj<4&&key=="comp_product_summary"){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"){t_modular_hotspot_data[key]=product.modules.hotspot[key];}}}}
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){if(data.oem.not_migrated){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+'&ext=.js'
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'
FlixServices.loadFlixJs(inpagejs);if(document.querySelector('script[data-flix-button]')&&document.querySelector('script[data-flix-button]').getAttribute('data-flix-button').length>0)
FlixServices.loadFlixJs(minisitejs);}}}).catch(function(err){});},preloadImage:function(urls){return false;if(typeof(urls)!='undefined'&&!FlixServices.ismobile()){urls.forEach(function(file_url,index){if(/\.(jpg|jpeg|png|webp|avif|gif)$/.test(file_url)){var img=new Image();img.src=file_url;img.alt=file_url.replace(/^.*[\\\/]/,'');img.style="position:absolute";FlixServices.impage_preloader.appendChild(img);}else{var links=document.createElement("link");links.style="position:absolute";links.rel="preload";links.as="font";links.crossorigin="anonymous";links.href=file_url;FlixServices.impage_preloader.appendChild(links);}})}},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(FlixjQ2('[flixdata-type="placeholder"]').length>0){FlixjQ2('[flixdata-type="placeholder"]').each(function(i,divs){var _this=this
setTimeout(function(){var $targetElements=FlixjQ2(divs.getAttribute("placeholder")).closest('[flixdata-type="template"]');$targetElements.wrapAll('<div class="flix-html-wrapper"></div>');FlixjQ2(divs.getAttribute("placeholder")).closest('.flix-html-wrapper').contents().appendTo(FlixjQ2(_this));},1000);});}else{setTimeout(function(){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/";}},loadFlixJs:function(e,t){if(ENV=='-prod'){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/");console.log(e);}
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){document.head.appendChild(c);}}
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){document.head.appendChild(n);}}
if(!proceed){console.log("Cannot load file, because the same file name: '"+e+"' already loaded");}},flixinpage:{init:function(obj){if(FlixServices.service_lock_inpage){console.log("service_lock_inpage=1")
return;}
FlixServices.flixinpage.urlMain=obj.urlMain;var tryrun=0;var refreshId=setInterval(function(){if(FlixServices.modular_match_data!='null'&&typeof FlixServices.modular_match_data!=='undefined'&&typeof(FlixServices.modular_match_data)=='object'){FlixServices.flixinpage.inPage(obj);clearInterval(refreshId);}
if(tryrun===200){clearInterval(refreshId);}
tryrun++},100);},urlMain:'',modular_style_files_loaded:false,modular_css_url:[],modular_js_url:[],inPage:function(o){var self=FlixjQ(o.thisef);var modular_wrapper_main='';if(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(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){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,' ');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(!module_html.includes('{{ugcs}}')){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(!module_html.includes('{{reviewsTopStarRating}}')){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{if(!module_html.includes('{{reviews}}')){module_html='<div><div flixdata-type="template" flixtemplate-key="reviewsTopStarRating">{{reviewsTopStarRating}}</div>'+module_html+'<div flixdata-type="template" flixtemplate-key="reviews">{{reviews}}</div></div></div>';}else{module_html='<div><div flixdata-type="template" flixtemplate-key="reviewsTopStarRating">{{reviewsTopStarRating}}</div>'+module_html+'</div>';}
moduler=FlixjQ(module_html)}}
break;case"reviews":if(!module_html.includes('{{reviews}}')){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{module_html='<div>'+module_html+'<div flixdata-type="template" flixtemplate-key="reviews">{{reviews}}</div></div>';moduler=FlixjQ(module_html)}}
break;case"inpageHtml":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.replaceAll('&d=6&','&d='+flixmain_distributor+'&')
resolved=resolved.replaceAll('&amp;d=6&amp;','&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.replaceAll('data-adjacencies=""','data-adjacencies="'+_in_adjacent_codes_+'"')
resolved=resolved.replaceAll('data-adjacencies=\"\"','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)
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]){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+'"');var d=new Date();var i=d.getTime();FlixServices.time_stamp=i
var div=FlixjQ('<div>').attr('id','flixinpage_'+flixmain_product_id+FlixServices.time_stamp);FlixServices.inpageidno='flixinpage_'+flixmain_product_id+FlixServices.time_stamp
FlixServices.inpage_holder.attr('alt',FlixServices.time_stamp);FlixServices.inpage_holder.append(div);FlixjQ('#flix-inpage').append(div);FlixjQ('#'+FlixServices.inpageidno).append(module_html);var spanid='<span id="inpage-data-'+prod_module_data.product_meta.product_id+'"></span>'
FlixjQ('#'+FlixServices.inpageidno).append(spanid);}});FlixServices.modular_match_data.forEach(function(products,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);});}}
FlixServices.flixinpage.modular_css_url.push('https://media.flixcar.com/modular/js/minify/?url=/static/distributor/'+flixmain_distributor+'/inpage.css');FlixServices.flixinpage.modular_js_url.push('https://media.flixcar.com/modular/js/minify/?url=/static/distributor/'+flixmain_distributor+'/inpage.js');});}
setTimeout(function(){FlixServices.loadFlixJs('//modular.flix360.io/modular/js/lazysizes.js');FlixServices.placeHolderReplacer();if(FlixjQ('img[data-flixsrcset]').length>0&&FlixServices.modular_match_data[0].product_meta.manufacturer_id==57){}
setTimeout(function(){FlixjQ('#flix-lg-inpage.flix-lg5 .flix-collapse').show();},1000);if(typeof FlixServices.modular_hotspot_data!='undefined'&&FlixServices.modular_hotspot_data==null&&typeof FlixServices.modular_match_data[0]!='undefined'&&typeof FlixServices.modular_match_data[0].modules!='undefined'&&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('https://media.flixcar.com/modular/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'){var html_for_this=FlixjQ.trim(this_selector[0].outerHTML);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);module_html=module_html.replace(html_for_this,this_html)}
return module_html},processor:function(flixmain_data,prod_module_data){var module_id=flixmain_data.module_id,module_html=prod_module_data.settings.loaded_modules[module_id]||'',moduler=FlixjQ(module_html),module_html=FlixjQ.trim(module_html);if(!module_id){return;}
if('FM00002F'!=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'){var this_full_html='',html_for_this=FlixjQ.trim(this_selector[0].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');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_full_html+=this_html;});}else if(typeof(data)=='string'){var replaceThis='{{'+index+'}}'
var re=new RegExp(replaceThis,'ig');module_html=module_html.replace(re,data);}}else{var replaceThis='{{'+index+'}}'
var re=new RegExp(replaceThis,'ig');module_html=module_html.replace(re,data);}
module_html=module_html.replace(html_for_this,this_full_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=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.replaceAll('flixdata-type="template"','');module_html=module_html.replace(/\s\s+/g,' ');}
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}}}
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=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){console.log("service_lock_minisite=1")
return;}
if(FlixServices.ismobile()){console.log("minisite request on mobile=1")
return;}
var tryrun=0;var refreshId=setInterval(function(){if(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){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);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='';if(ENV=='-prod'){base_image=base_image.replace(/modular-beta.flix360.io/g,"media.flixcar.com/modular");base_image=base_image.replace(/modular-alpha.flix360.io/g,"media.flixcar.com/modular");base_image=base_image.replace(/modular.flix360.io/g,"media.flixcar.com/modular");}
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;;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 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  id="_flixbtn'+p_id+'" alt="'+_alt+'" border="0" src="'+base_image+'"/>';}
else{if(isComplementary){if(p_id==false){html+='<img  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  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  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.service_lock_hotspot){console.log("service_lock_hotspot=1")
return;}
var tryrun=0;var refreshId=setInterval(function(){if(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('https://media.flixcar.com/modular/js/minify/?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.writeCanvas();clearInterval(refreshId);}
if(tryrun===200){clearInterval(refreshId);}
tryrun++},100);},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.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++;},1000);}},fcounter:0,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.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'));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);FlixServices.flixhotspot.loadspeed('start','qr');if(FlixjQ('.flix_hotspotV2:not(".ek_hotspots") svg').length==0){FlixServices.flixhotspot.createHotspots();}}}},500);},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){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){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(hs.html.search('inpage_selector_3d')!=-1){hs.html=hs.html.replaceAll('&d=6&','&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(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+'" 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){console.log('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=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 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 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 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"><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(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)}}
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();});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(typeof FlixServices.modular_match_data[0]!='undefined'&&typeof FlixServices.modular_match_data[0].modules!='undefined'&&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;loadJWScript('https://media.flixcar.com/modular/static/3dfw/3dfw.js');}}
FlixjQ('#flix_hotspots .flix_hs,#flix_hotspots .ek-desktop').on({click:function(event){var id=this.id.replace(settings[0].prefix,""),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(){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){FlixServices.flixhotspot.updateHotspotPosition()}
log3(3)}
function checkScroll(){t=setTimeout(function(){if(FlixjQ(window).scrollTop()<800){FlixServices.flixhotspot.updateHotspotPosition()
setTimeout(function(){FlixServices.flixhotspot.updateHotspotPosition();},100)
setTimeout(function(){FlixServices.flixhotspot.updateHotspotPosition();},200)
setTimeout(function(){FlixServices.flixhotspot.updateHotspotPosition();},500);setTimeout(function(){FlixServices.flixhotspot.updateHotspotPosition();},1500);setTimeout(function(){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" 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-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','');FlixServices.flixhotspot.loadspeed('start','ar');document.addEventListener('visibilitychange',FlixServices.flixhotspot.visibilitychange2);})
FlixServices.flixhotspot.updateHotspotPosition();setTimeout(function(){FlixServices.flixhotspot.updateHotspotPosition();},500);setTimeout(function(){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',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);FlixServices.flixhotspot.loadspeed('stop','ar');}else{log5('visibilitychange2 visible');document.removeEventListener('visibilitychange',FlixServices.flixhotspot.visibilitychange2);}},loadspeed:function(state,type){log5('loadspeed-'+type,state)
if(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')
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.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',FlixServices.flixhotspot.visibilitychange2);document.removeEventListener('visibilitychange',FlixServices.flixhotspot.visibilitychange);FlixServices.flixhotspot.lastt=0;}
if(state=='start'&&FlixServices.flixhotspot.lastt!=0){log5('dwelltimer timer start');document.addEventListener('visibilitychange',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{console.log("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||pophtml.search('flix-jw')!=-1){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(pophtml.search('showqrpopup=1')!=-1&&popwidth>450){popwidth=470;}
if(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&&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{function loadhotJWfiles(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)}}
loadhotJWfiles(flixmain_base_url+"static/jwplayer/js/video.js");}
var manufacturer_id='57';if(manufacturer_id!=9){if(FlixjQ('#limelight_player_17263')&&FlixjQ('#limelight_player_17263').length>0){LimelightPlayerUtil.initEmbed('limelight_player_17263');}}}
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.flixhotspot.results.settings[0].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){window.flixErrorLogged=true;console.log("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.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_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);}},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;}},flixhotspotmob:{modular_style_files_loaded:false,modular_css_url:[],modular_js_url:[],init:function(results){if(FlixServices.service_lock_hotspot){console.log("service_lock_hotspot=1")
return;}
var tryrun=0;var refreshId=setInterval(function(){if(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);});}}});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.flixhotspotmob.fcounter=10}}
console.log('retailer_product_img = '+FlixjQ(settings[0].image_id))
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.flixhotspotmob.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.flixhotspotmob.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}
if(flixmain_HS_pos){FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment=flixmain_HS_pos;}
if(flixmain_HS_container){FlixServices.flixhotspot.hotspot_settings[0].image_container=flixmain_HS_container;}
FlixServices.flixhotspotmob.writeCanvas();clearInterval(refreshId);}
if(tryrun===200){clearInterval(refreshId);}
tryrun++},100);},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.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++;},1000);}},fcounter: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.flixhotspotmob.fcounter<10&&FlixjQ('#flix_hotspotsmob').length==0){FlixServices.flixhotspotmob.writeCanvas();FlixServices.flixhotspotmob.fcounter++;}else{if(!(FlixjQ("#flix_hotspotsmob.ek_hotspots").length>0)){FlixjQ('div#flix_hotspotsmob').remove();FlixjQ('<div id = "flix_hotspotsmob"> </div>').appendTo(FlixjQ('body'));FlixjQ('#flix_hotspotsmob').addClass('flix_hotspotV3').css('display','none').attr('data-hotv2',FlixServices.flixhotspot.hotspot_settings[0].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.flixhotspotmob.createHotspots();}}}},500);},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.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.flixhotspotmob.loadGoogleMeta(arid);}
if(settings[0].css&&settings[0].css.length>0){FlixjQ("#flix_hotspotsmob").after(settings[0].css);}
FlixjQ.each(hotspots,function(index,hs){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(FlixServices.modular_match_data[0].settings.distributor_settings.mobile_alignment.match(/(^|\W)HotMobBelow($|\W)/)){FlixjQ("#flix_hotspotsmob").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(hs.html.search('inpage_selector_3d')!=-1){hs.html=hs.html.replaceAll('&d=6&','&d='+flixmain_distributor+'&')}
if(index=="comp_product_logo"){var target=settings[0].logo_program_container;var html=results.hotspots.comp_product_logo.html;FlixjQ(target).append(html);}else if(!FlixServices.ismobile()){log3("Show hotspots-"+index,ismobile());if(FlixServices.flixhotspotmob.flixDetectWebGLContext()==false&&index=="product_view3dfw"){log3("hide 3d hotspot",FlixServices.flixhotspotmob.flixDetectWebGLContext());return true;}
var hotspotsvg='<div role="button" tabindex="0" id="'+settings[0].prefix+index+'" 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:34px;height:34px" 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 role="button" id="'+settings[0].prefix+index+'" 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 role="button" id="'+settings[0].prefix+index+'" 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(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);}}else if(FlixServices.ismobile()){log3("Show mobile hotspots-"+index,FlixServices.ismobile());if(FlixServices.flixhotspotmob.flixDetectWebGLContext()==false&&index=="product_view3dfw"){log3("hide 3d hotspot",FlixServices.flixhotspotmob.flixDetectWebGLContext());return true;}
var hotspotsvg='<div 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 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 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(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)}
FlixServices.flixhotspotmob.updateHotspotPosition();});if(typeof FlixServices.flixhotspot.results.settings[0].mobilehotspot_custom_button!='undefined'&&FlixServices.flixhotspot.results.settings[0].mobilehotspot_custom_button==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();FlixServices.flixhotspotmob.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(typeof FlixServices.modular_match_data[0]!='undefined'&&typeof FlixServices.modular_match_data[0].modules!='undefined'&&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;loadJWScript('https://media.flixcar.com/modular/static/3dfw/3dfw.js');}}
FlixjQ("#flix_hotspotsmob .flix_hsmob,#flix_hotspotsmob .ek-desktop").on({click:function(){var idmob=this.id.replace(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.flixhotspotmob.flixBox(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(){FlixServices.flixhotspotmob.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){FlixServices.flixhotspotmob.updateHotspotPosition();}
log3(3);}
function checkScroll(){t=setTimeout(function(){if(FlixjQ(window).scrollTop()<800){FlixServices.flixhotspotmob.updateHotspotPosition();setTimeout(function(){FlixServices.flixhotspotmob.updateHotspotPosition();},100);setTimeout(function(){FlixServices.flixhotspotmob.updateHotspotPosition();},200);setTimeout(function(){FlixServices.flixhotspotmob.updateHotspotPosition();},500);setTimeout(function(){FlixServices.flixhotspotmob.updateHotspotPosition();},1500);setTimeout(function(){FlixServices.flixhotspotmob.updateHotspotPosition();},2500);}},1);}},flixDetectWebGLContext:function(){var canvas=document.createElement("canvas");var gl=canvas.getContext("webgl")||canvas.getContext("experimental-webgl");if(gl&&gl instanceof WebGLRenderingContext){return true}else{console.log("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('.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();}});},flixBox:function(pophtml,hotspotid){FlixjQ(".share-bubblemob").remove();var vid=0;if(hotspotid.search("video")!=-1||pophtml.search("flix-jw")!=-1){vid=1;}
var bubbletype=''
var customheader=''
var closebtnbtm='',devicetype=''
if(FlixServices.ismobile()=='true'){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'){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.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.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.flixhotspotmob.featpagination();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{function loadhotJWfiles(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)}}
loadhotJWfiles(flixmain_base_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");}
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.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.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.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.flixhotspotmob.dwelltimer("start","qr");},updateHotspotPosition: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.flixhotspot.results.settings[0].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(!flixErrorLogged){flixErrorLogged=true;console.log("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);}}},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;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){event.target.click();};if(event.keyCode==32){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{setTimeout(function(){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(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.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.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){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){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;}
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.match(/iPhone|iPad|iPod|Intel Mac OS X/i);},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());}}};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(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="";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(){window.FlixServices.init({'flixmain_api_base_url':flixmain_api_base_url});if(typeof flixtracking=='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(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('https://media.flixcar.com/modular/js/minify/?url=/static/tracking/tracking.js');}
if(ENV=='-alpha')
FlixServices.loadFlixJs('https://delivery'+ENV+'.flix360.io/static/distributor/'+flixmain_distributor+'/pagedata-specific.js');else
FlixServices.loadFlixJs('https://media.flixcar.com/modular/js/minify/?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||{};var myInterval=setInterval(function(){if(FlixServices.modular_match_data!='null'&&typeof(FlixServices.modular_match_data)=='object'&&FlixServices.modular_updated){if(FlixServices.modular_match_data[0].product_meta.isMobile=="true"&&!FlixServices.hotspot_loaded){FlixServices.hotspot_loaded=true;FlixServices.flixhotspot.init();FlixServices.flixhotspotmob.init();FlixServices.loadFlixJs('https://media.flixcar.com/delivery/js/minify?url=/static/hotspot/standard/css/mobile-main.css');}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"){window.flixJsCallbacks._loadInpageCallback();}}
if(!FlixServices.minisite_loaded&&FlixServices.modular_match_data!='null'&&typeof(FlixServices.modular_match_data)=='object'&&FlixServices.modular_updated){FlixServices.minisite_loaded=true;FlixServices.flixminisite.init('flix-minisite',flixmain_distributor,flixmain_language);clearInterval(myInterval);}},100);if(document.querySelector('#flix-inpage')==null&&document.querySelector('script[data-flix-distributor]')!=null){var nodename=document.querySelector('script[data-flix-distributor]').getAttribute('data-flix-inpage');if(nodename.length>0&&document.querySelector('#'+nodename)==null){var loadernode=document.createElement('div');loadernode.id=nodename;var inpagenode=document.querySelector('script[data-flix-distributor]');inpagenode.parentNode.insertBefore(loadernode,inpagenode.nextSibling);}}
var checkModuleViewport=function(target){return new Promise(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(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(section=>{observer.observe(section);});}else{}});}
checkModuleViewport('#flix-inpage').then((elm)=>{function loadinpage(){if(!FlixServices.is_content_loaded&&FlixServices.modular_match_data!='null'&&typeof(FlixServices.modular_match_data)=='object'&&FlixServices.modular_updated){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(){FlixServices.flixinpage.loadJsCss();FlixjQ('.flix-privacy-policy-link').live('click',function(e){e.preventDefault();FlixjQ(this).parent().next().find('.flix-privacy-policy-text').slideToggle();});},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('https://media.flixcar.com/modular/js/minify/?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(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'){}else{loadinpage();}}else
loadinpage();},300)}}
loadinpage()});});})(FlixjQ,window);