/*!Wed Apr 08 2026 08:29:33 GMT+0800 (China Standard Time) */ (function(e,t){function n(e){return H.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:!1}function r(e){if(!vn[e]){var t=_.body,n=H("<"+e+">").appendTo(t),r=n.css("display");n.remove();if(r==="none"||r===""){mn||(mn=_.createElement("iframe"),mn.frameBorder=mn.width=mn.height=0),t.appendChild(mn);if(!gn||!mn.createElement)gn=(mn.contentWindow||mn.contentDocument).document,gn.write((H.support.boxModel?"":"")+""),gn.close();n=gn.createElement(e),gn.body.appendChild(n),r=H.css(n,"display"),t.removeChild(mn)}vn[e]=r}return vn[e]}function i(e,t){var n={};return H.each(En.concat.apply([],En.slice(0,t)),function(){n[this]=e}),n}function s(){Sn=t}function o(){return setTimeout(s,0),Sn=H.now()}function u(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function a(){try{return new e.XMLHttpRequest}catch(t){}}function f(e,n){e.dataFilter&&(n=e.dataFilter(n,e.dataType));var r=e.dataTypes,i={},s,o,u=r.length,a,f=r[0],l,c,h,p,d;for(s=1;s0){if(n!=="border")for(;i=0===n})}function N(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function C(){return!0}function k(){return!1}function L(e,t,n){var r=t+"defer",i=t+"queue",s=t+"mark",o=H._data(e,r);o&&(n==="queue"||!H._data(e,i))&&(n==="mark"||!H._data(e,s))&&setTimeout(function(){!H._data(e,i)&&!H._data(e,s)&&(H.removeData(e,r,!0),o.fire())},0)}function A(e){for(var t in e){if(t==="data"&&H.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function O(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(I,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:H.isNumeric(r)?+r:F.test(r)?H.parseJSON(r):r}catch(s){}H.data(e,n,r)}else r=t}return r}function M(e){var t=B[e]={},n,r;e=e.split(/\s+/);for(n=0,r=e.length;n)[^>]*$|#([\w\-]*)$)/,a=/\S/,f=/^\s+/,l=/\s+$/,c=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,h=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,d=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,v=/(?:^|:|,)(?:\s*\[)+/g,m=/(webkit)[ \/]([\w.]+)/,g=/(opera)(?:.*version)?[ \/]([\w.]+)/,y=/(msie) ([\w.]+)/,b=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z]|[0-9])/ig,E=/^-ms-/,S=function(e,t){return(t+"").toUpperCase()},x=D.userAgent,T,N,C,k=Object.prototype.toString,L=Object.prototype.hasOwnProperty,A=Array.prototype.push,O=Array.prototype.slice,M=String.prototype.trim,P=Array.prototype.indexOf,H={};return r.fn=r.prototype={constructor:r,init:function(e,n,i){var s,o,a,f;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(e==="body"&&!n&&_.body)return this.context=_,this[0]=_.body,this.selector=e,this.length=1,this;if(typeof e=="string"){e.charAt(0)!=="<"||e.charAt(e.length-1)!==">"||e.length<3?s=u.exec(e):s=[null,e,null];if(s&&(s[1]||!n)){if(s[1])return n=n instanceof r?n[0]:n,f=n?n.ownerDocument||n:_,a=c.exec(e),a?r.isPlainObject(n)?(e=[_.createElement(a[1])],r.fn.attr.call(e,n,!0)):e=[f.createElement(a[1])]:(a=r.buildFragment([s[1]],[f]),e=(a.cacheable?r.clone(a.fragment):a.fragment).childNodes),r.merge(this,e);o=_.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2])return i.find(e);this.length=1,this[0]=o}return this.context=_,this.selector=e,this}return!n||n.jquery?(n||i).find(e):this.constructor(n).find(e)}return r.isFunction(e)?i.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),r.makeArray(e,this))},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return O.call(this,0)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var i=this.constructor();return r.isArray(e)?A.apply(i,e):r.merge(i,e),i.prevObject=this,i.context=this.context,t==="find"?i.selector=this.selector+(this.selector?" ":"")+n:t&&(i.selector=this.selector+"."+t+"("+n+")"),i},each:function(e,t){return r.each(this,e,t)},ready:function(e){return r.bindReady(),N.add(e),this},eq:function(e){return e=+e,e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(O.apply(this,arguments),"slice",O.call(arguments).join(","))},map:function(e){return this.pushStack(r.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:A,sort:[].sort,splice:[].splice},r.fn.init.prototype=r.fn,r.extend=r.fn.extend=function(){var e,n,i,s,o,u,a=arguments[0]||{},f=1,l=arguments.length,c=!1;typeof a=="boolean"&&(c=a,a=arguments[1]||{},f=2),typeof a!="object"&&!r.isFunction(a)&&(a={}),l===f&&(a=this,--f);for(;f0)return;N.fireWith(_,[r]),r.fn.trigger&&r(_).trigger("ready").off("ready")}},bindReady:function(){if(!N){N=r.Callbacks("once memory");if(_.readyState==="complete")return setTimeout(r.ready,1);if(_.addEventListener)_.addEventListener("DOMContentLoaded",C,!1),e.addEventListener("load",r.ready,!1);else if(_.attachEvent){_.attachEvent("onreadystatechange",C),e.attachEvent("onload",r.ready);var t=!1;try{t=e.frameElement==null}catch(i){}_.documentElement.doScroll&&t&&n()}}},isFunction:function(e){return r.type(e)==="function"},isArray:Array.isArray||function(e){return r.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):H[k.call(e)]||"object"},isPlainObject:function(e){if(!e||r.type(e)!=="object"||e.nodeType||r.isWindow(e))return!1;try{if(e.constructor&&!L.call(e,"constructor")&&!L.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var i;for(i in e);return i===t||L.call(e,i)},isEmptyObject:function(e){for(var t in e)return!1;return!0},error:function(e){throw new Error(e)},parseJSON:function(t){if(typeof t!="string"||!t)return null;t=r.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(h.test(t.replace(p,"@").replace(d,"]").replace(v,"")))return(new Function("return "+t))();r.error("Invalid JSON: "+t)},parseXML:function(n){if(typeof n!="string"||!n)return null;var i,s;try{e.DOMParser?(s=new DOMParser,i=s.parseFromString(n,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(n))}catch(o){i=t}return(!i||!i.documentElement||i.getElementsByTagName("parsererror").length)&&r.error("Invalid XML: "+n),i},noop:function(){},globalEval:function(t){t&&a.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(E,"ms-").replace(w,S)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,n,i){var s,o=0,u=e.length,a=u===t||r.isFunction(e);if(i){if(a){for(s in e)if(n.apply(e[s],i)===!1)break}else for(;o0&&e[0]&&e[f-1]||f===0||r.isArray(e));if(l)for(;a1?j.call(arguments,0):t,f.notifyWith(l,o)}}function n(e){return function(t){r[e]=arguments.length>1?j.call(arguments,0):t,--u||f.resolveWith(f,r)}}var r=j.call(arguments,0),i=0,s=r.length,o=Array(s),u=s,a=s,f=s<=1&&e&&H.isFunction(e.promise)?e:H.Deferred(),l=f.promise();if(s>1){for(;i
a",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0];if(!n||!n.length||!r)return{};i=_.createElement("select"),s=i.appendChild(_.createElement("option")),o=p.getElementsByTagName("input")[0],t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.55/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:o.value==="on",optSelected:s.selected,getSetAttribute:p.className!=="t",enctype:!!_.createElement("form").enctype,html5Clone:_.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},H.boxModel=t.boxModel=_.compatMode==="CSS1Compat",o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,i.disabled=!0,t.optDisabled=!s.disabled;try{delete p.test}catch(v){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick")),o=_.createElement("input"),o.value="t",o.setAttribute("type","radio"),t.radioValue=o.value==="t",o.setAttribute("checked","checked"),o.setAttribute("name","t"),p.appendChild(o),u=_.createDocumentFragment(),u.appendChild(p.lastChild),t.checkClone=u.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=o.checked,u.removeChild(o),u.appendChild(p);if(p.attachEvent)for(c in{submit:1,change:1,focusin:1})l="on"+c,h=l in p,h||(p.setAttribute(l,"return;"),h=typeof p[l]=="function"),t[c+"Bubbles"]=h;return u.removeChild(p),u=i=s=p=o=null,H(function(){var n,r,i,s,o,u,f,l,c,d,v,m,g,y=_.getElementsByTagName("body")[0];!y||(l=1,g="padding:0;margin:0;border:",v="position:absolute;top:0;left:0;width:1px;height:1px;",m=g+"0;visibility:hidden;",c="style='"+v+g+"5px solid #000;",d="
"+""+"
",n=_.createElement("div"),n.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+l+"px",y.insertBefore(n,y.firstChild),p=_.createElement("div"),n.appendChild(p),p.innerHTML="
t
",a=p.getElementsByTagName("td"),h=a[0].offsetHeight===0,a[0].style.display="",a[1].style.display="none",t.reliableHiddenOffsets=h&&a[0].offsetHeight===0,e.getComputedStyle&&(p.innerHTML="",f=_.createElement("div"),f.style.width="0",f.style.marginRight="0",p.style.width="2px",p.appendChild(f),t.reliableMarginRight=(parseInt((e.getComputedStyle(f,null)||{marginRight:0}).marginRight,10)||0)===0),typeof p.style.zoom!="undefined"&&(p.innerHTML="",p.style.width=p.style.padding="1px",p.style.border=0,p.style.overflow="hidden",p.style.display="inline",p.style.zoom=1,t.inlineBlockNeedsLayout=p.offsetWidth===3,p.style.display="block",p.style.overflow="visible",p.innerHTML="
",t.shrinkWrapBlocks=p.offsetWidth!==3),p.style.cssText=v+m,p.innerHTML=d,r=p.firstChild,i=r.firstChild,o=r.nextSibling.firstChild.firstChild,u={doesNotAddBorder:i.offsetTop!==5,doesAddBorderForTableAndCells:o.offsetTop===5},i.style.position="fixed",i.style.top="20px",u.fixedPosition=i.offsetTop===20||i.offsetTop===15,i.style.position=i.style.top="",r.style.overflow="hidden",r.style.position="relative",u.subtractsBorderForOverflowNotVisible=i.offsetTop===-5,u.doesNotIncludeMarginInBodyOffset=y.offsetTop!==l,e.getComputedStyle&&(p.style.marginTop="1%",t.pixelMargin=(e.getComputedStyle(p,null)||{marginTop:0}).marginTop!=="1%"),typeof n.style.zoom!="undefined"&&(n.style.zoom=1),y.removeChild(n),f=p=n=null,H.extend(t,u))}),t}();var F=/^(?:\{.*\}|\[.*\])$/,I=/([A-Z])/g;H.extend({cache:{},uuid:0,expando:"jQuery"+(H.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?H.cache[e[H.expando]]:e[H.expando],!!e&&!A(e)},data:function(e,n,r,i){if(!!H.acceptData(e)){var s,o,u,a=H.expando,f=typeof n=="string",l=e.nodeType,c=l?H.cache:e,h=l?e[a]:e[a]&&a,p=n==="events";if((!h||!c[h]||!p&&!i&&!c[h].data)&&f&&r===t)return;h||(l?e[a]=h=++H.uuid:h=a),c[h]||(c[h]={},l||(c[h].toJSON=H.noop));if(typeof n=="object"||typeof n=="function")i?c[h]=H.extend(c[h],n):c[h].data=H.extend(c[h].data,n);return s=o=c[h],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[H.camelCase(n)]=r),p&&!o[n]?s.events:(f?(u=o[n],u==null&&(u=o[H.camelCase(n)])):u=o,u)}},removeData:function(e,t,n){if(!!H.acceptData(e)){var r,i,s,o=H.expando,u=e.nodeType,a=u?H.cache:e,f=u?e[o]:o;if(!a[f])return;if(t){r=n?a[f]:a[f].data;if(r){H.isArray(t)||(t in r?t=[t]:(t=H.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(i=0,s=t.length;i1,null,!1))},removeData:function(e){return this.each(function(){H.removeData(this,e)})}}),H.extend({_mark:function(e,t){e&&(t=(t||"fx")+"mark",H._data(e,t,(H._data(e,t)||0)+1))},_unmark:function(e,t,n){e!==!0&&(n=t,t=e,e=!1);if(t){n=n||"fx";var r=n+"mark",i=e?0:(H._data(t,r)||1)-1;i?H._data(t,r,i):(H.removeData(t,r,!0),L(t,n,"mark"))}},queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=H._data(e,t),n&&(!r||H.isArray(n)?r=H._data(e,t,H.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=H.queue(e,t),r=n.shift(),i={};r==="inprogress"&&(r=n.shift()),r&&(t==="fx"&&n.unshift("inprogress"),H._data(e,t+".run",i),r.call(e,function(){H.dequeue(e,t)},i)),n.length||(H.removeData(e,t+"queue "+t+".run",!0),L(e,t,"queue"))}}),H.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length1)},removeAttr:function(e){return this.each(function(){H.removeAttr(this,e)})},prop:function(e,t){return H.access(this,H.prop,e,t,arguments.length>1)},removeProp:function(e){return e=H.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(H.isFunction(e))return this.each(function(t){H(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(R);for(n=0,r=this.length;n-1)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!!arguments.length)return i=H.isFunction(e),this.each(function(r){var s=H(this),o;if(this.nodeType===1){i?o=e.call(this,r,s.val()):o=e,o==null?o="":typeof o=="number"?o+="":H.isArray(o)&&(o=H.map(o,function(e){return e==null?"":e+""})),n=H.valHooks[this.type]||H.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,o,"value")===t)this.value=o}});if(s)return n=H.valHooks[s.type]||H.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(U,""):r==null?"":r)}}),H.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r,i,s=e.selectedIndex,o=[],u=e.options,a=e.type==="select-one";if(s<0)return null;n=a?s:0,r=a?s+1:u.length;for(;n=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!!e&&a!==3&&a!==8&&a!==2){if(i&&n in H.attrFn)return H(e)[n](r);if(typeof e.getAttribute=="undefined")return H.prop(e,n,r);u=a!==1||!H.isXMLDoc(e),u&&(n=n.toLowerCase(),o=H.attrHooks[n]||(V.test(n)?K:J));if(r!==t){if(r===null){H.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,""+r),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)}},removeAttr:function(e,t){var n,r,i,s,o,u=0;if(t&&e.nodeType===1){r=t.toLowerCase().split(R),s=r.length;for(;u=0}})});var G=/^(?:textarea|input|select)$/i,Y=/^([^\.]*)?(?:\.(.+))?$/,Z=/(?:^|\s)hover(\.\S+)?\b/,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,it=function(e){var t=rt.exec(e);return t&&(t[1]=(t[1]||"").toLowerCase(),t[3]=t[3]&&new RegExp("(?:^|\\s)"+t[3]+"(?:\\s|$)")),t},st=function(e,t){var n=e.attributes||{};return(!t[1]||e.nodeName.toLowerCase()===t[1])&&(!t[2]||(n.id||{}).value===t[2])&&(!t[3]||t[3].test((n["class"]||{}).value))},ot=function(e){return H.event.special.hover?e:e.replace(Z,"mouseenter$1 mouseleave$1")};H.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,v,m,g;if(!(e.nodeType===3||e.nodeType===8||!n||!r||!(o=H._data(e)))){r.handler&&(d=r,r=d.handler,s=d.selector),r.guid||(r.guid=H.guid++),a=o.events,a||(o.events=a={}),u=o.handle,u||(o.handle=u=function(e){return typeof H=="undefined"||!!e&&H.event.triggered===e.type?t:H.event.dispatch.apply(u.elem,arguments)},u.elem=e),n=H.trim(ot(n)).split(" ");for(f=0;f=0&&(o=o.slice(0,-1),f=!0),o.indexOf(".")>=0&&(u=o.split("."),o=u.shift(),u.sort());if((!i||H.event.customEvent[o])&&!H.event.global[o])return;n=typeof n=="object"?n[H.expando]?n:new H.Event(o,n):new H.Event(o),n.type=o,n.isTrigger=!0,n.exclusive=f,n.namespace=u.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+u.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,p=o.indexOf(":")<0?"on"+o:"";if(!i){a=H.cache;for(l in a)a[l].events&&a[l].events[o]&&H.event.trigger(n,r,a[l].handle.elem,!0);return}n.result=t,n.target||(n.target=i),r=r!=null?H.makeArray(r):[],r.unshift(n),d=H.event.special[o]||{};if(d.trigger&&d.trigger.apply(i,r)===!1)return;m=[[i,d.bindType||o]];if(!s&&!d.noBubble&&!H.isWindow(i)){g=d.delegateType||o,c=nt.test(g+o)?i:i.parentNode,h=null;for(;c;c=c.parentNode)m.push([c,g]),h=c;h&&h===i.ownerDocument&&m.push([h.defaultView||h.parentWindow||e,g])}for(l=0;li&&a.push({elem:this,matches:r.slice(i)});for(f=0;f0?this.on(t,null,e,n):this.trigger(t)},H.attrFn&&(H.attrFn[t]=!0),et.test(t)&&(H.event.fixHooks[t]=H.event.keyHooks),tt.test(t)&&(H.event.fixHooks[t]=H.event.mouseHooks)}),function(){function e(e,t,n,r,s,o){for(var u=0,a=r.length;u0){l=f;break}}f=f[e]}r[u]=l}}}function n(e,t,n,r,s,o){for(var u=0,a=r.length;u+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i="sizcache"+(Math.random()+"").replace(".",""),s=0,o=Object.prototype.toString,u=!1,a=!0,f=/\\/g,l=/\r\n/g,c=/\W/;[0,0].sort(function(){return a=!1,0});var h=function(e,t,n,i){n=n||[],t=t||_;var s=t;if(t.nodeType!==1&&t.nodeType!==9)return[];if(!e||typeof e!="string")return n;var u,a,f,l,c,p,m,g,b=!0,w=h.isXML(t),E=[],x=e;do{r.exec(""),u=r.exec(x);if(u){x=u[3],E.push(u[1]);if(u[2]){l=u[3];break}}}while(u);if(E.length>1&&v.exec(e))if(E.length===2&&d.relative[E[0]])a=S(E[0]+E[1],t,i);else{a=d.relative[E[0]]?[t]:h(E.shift(),t);while(E.length)e=E.shift(),d.relative[e]&&(e+=E.shift()),a=S(e,a,i)}else{!i&&E.length>1&&t.nodeType===9&&!w&&d.match.ID.test(E[0])&&!d.match.ID.test(E[E.length-1])&&(c=h.find(E.shift(),t,w),t=c.expr?h.filter(c.expr,c.set)[0]:c.set[0]);if(t){c=i?{expr:E.pop(),set:y(i)}:h.find(E.pop(),E.length!==1||E[0]!=="~"&&E[0]!=="+"||!t.parentNode?t:t.parentNode,w),a=c.expr?h.filter(c.expr,c.set):c.set,E.length>0?f=y(a):b=!1;while(E.length)p=E.pop(),m=p,d.relative[p]?m=E.pop():p="",m==null&&(m=t),d.relative[p](f,m,w)}else f=E=[]}f||(f=a),f||h.error(p||e);if(o.call(f)==="[object Array]")if(!b)n.push.apply(n,f);else if(t&&t.nodeType===1)for(g=0;f[g]!=null;g++)f[g]&&(f[g]===!0||f[g].nodeType===1&&h.contains(t,f[g]))&&n.push(a[g]);else for(g=0;f[g]!=null;g++)f[g]&&f[g].nodeType===1&&n.push(a[g]);else y(f,n);return l&&(h(l,s,n,i),h.uniqueSort(n)),n};h.uniqueSort=function(e){if(w){u=a,e.sort(w);if(u)for(var t=1;t0},h.find=function(e,t,n){var r,i,s,o,u,a;if(!e)return[];for(i=0,s=d.order.length;i":function(e,t){var n,r=typeof t=="string",i=0,s=e.length;if(r&&!c.test(t)){t=t.toLowerCase();for(;i=0)?n||r.push(u):n&&(t[o]=!1));return!1},ID:function(e){return e[1].replace(f,"")},TAG:function(e,t){return e[1].replace(f,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){e[2]||h.error(e[0]),e[2]=e[2].replace(/^\+|\s*/g,"");var t=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=t[1]+(t[2]||1)-0,e[3]=t[3]-0}else e[2]&&h.error(e[0]);return e[0]=s++,e},ATTR:function(e,t,n,r,i,s){var o=e[1]=e[1].replace(f,"");return!s&&d.attrMap[o]&&(e[1]=d.attrMap[o]),e[4]=(e[4]||e[5]||"").replace(f,""),e[2]==="~="&&(e[4]=" "+e[4]+" "),e},PSEUDO:function(e,t,n,i,s){if(e[1]==="not"){if(!((r.exec(e[3])||"").length>1||/^\w/.test(e[3]))){var o=h.filter(e[3],t,n,!0^s);return n||i.push.apply(i,o),!1}e[3]=h(e[3],null,null,t)}else if(d.match.POS.test(e[0])||d.match.CHILD.test(e[0]))return!0;return e},POS:function(e){return e.unshift(!0),e}},filters:{enabled:function(e){return e.disabled===!1&&e.type!=="hidden"},disabled:function(e){return e.disabled===!0},checked:function(e){return e.checked===!0},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,t,n){return!!h(n[3],e).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){var t=e.getAttribute("type"),n=e.type;return e.nodeName.toLowerCase()==="input"&&"text"===n&&(t===n||t===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(e){var t=e.nodeName.toLowerCase();return(t==="input"||t==="button")&&"submit"===e.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(e){var t=e.nodeName.toLowerCase();return(t==="input"||t==="button")&&"reset"===e.type},button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&"button"===e.type||t==="button"},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(e,t){return t===0},last:function(e,t,n,r){return t===r.length-1},even:function(e,t){return t%2===0},odd:function(e,t){return t%2===1},lt:function(e,t,n){return tn[3]-0},nth:function(e,t,n){return n[3]-0===t},eq:function(e,t,n){return n[3]-0===t}},filter:{PSEUDO:function(e,t,n,r){var i=t[1],s=d.filters[i];if(s)return s(e,n,t,r);if(i==="contains")return(e.textContent||e.innerText||p([e])||"").indexOf(t[3])>=0;if(i==="not"){var o=t[3];for(var u=0,a=o.length;u=0}},ID:function(e,t){return e.nodeType===1&&e.getAttribute("id")===t},TAG:function(e,t){return t==="*"&&e.nodeType===1||!!e.nodeName&&e.nodeName.toLowerCase()===t},CLASS:function(e,t){return(" "+(e.className||e.getAttribute("class"))+" ").indexOf(t)>-1},ATTR:function(e,t){var n=t[1],r=h.attr?h.attr(e,n):d.attrHandle[n]?d.attrHandle[n](e):e[n]!=null?e[n]:e.getAttribute(n),i=r+"",s=t[2],o=t[4];return r==null?s==="!=":!s&&h.attr?r!=null:s==="="?i===o:s==="*="?i.indexOf(o)>=0:s==="~="?(" "+i+" ").indexOf(o)>=0:o?s==="!="?i!==o:s==="^="?i.indexOf(o)===0:s==="$="?i.substr(i.length-o.length)===o:s==="|="?i===o||i.substr(0,o.length+1)===o+"-":!1:i&&r!==!1},POS:function(e,t,n,r){var i=t[2],s=d.setFilters[i];if(s)return s(e,n,t,r)}}},v=d.match.POS,m=function(e,t){return"\\"+(t-0+1)};for(var g in d.match)d.match[g]=new RegExp(d.match[g].source+/(?![^\[]*\])(?![^\(]*\))/.source),d.leftMatch[g]=new RegExp(/(^(?:.|\r|\n)*?)/.source+d.match[g].source.replace(/\\(\d+)/g,m));d.match.globalPOS=v;var y=function(e,t){return e=Array.prototype.slice.call(e,0),t?(t.push.apply(t,e),t):e};try{Array.prototype.slice.call(_.documentElement.childNodes,0)[0].nodeType}catch(b){y=function(e,t){var n=0,r=t||[];if(o.call(e)==="[object Array]")Array.prototype.push.apply(r,e);else if(typeof e.length=="number")for(var i=e.length;n",r.insertBefore(e,r.firstChild),_.getElementById(n)&&(d.find.ID=function(e,n,r){if(typeof n.getElementById!="undefined"&&!r){var i=n.getElementById(e[1]);return i?i.id===e[1]||typeof i.getAttributeNode!="undefined"&&i.getAttributeNode("id").nodeValue===e[1]?[i]:t:[]}},d.filter.ID=function(e,t){var n=typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id");return e.nodeType===1&&n&&n.nodeValue===t}),r.removeChild(e),r=e=null}(),function(){var e=_.createElement("div");e.appendChild(_.createComment("")),e.getElementsByTagName("*").length>0&&(d.find.TAG=function(e,t){var n=t.getElementsByTagName(e[1]);if(e[1]==="*"){var r=[];for(var i=0;n[i];i++)n[i].nodeType===1&&r.push(n[i]);n=r}return n}),e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!="undefined"&&e.firstChild.getAttribute("href")!=="#"&&(d.attrHandle.href=function(e){return e.getAttribute("href",2)}),e=null}(),_.querySelectorAll&&function(){var e=h,t=_.createElement("div"),n="__sizzle__";t.innerHTML="

";if(!t.querySelectorAll||t.querySelectorAll(".TEST").length!==0){h=function(t,r,i,s){r=r||_;if(!s&&!h.isXML(r)){var o=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(t);if(o&&(r.nodeType===1||r.nodeType===9)){if(o[1])return y(r.getElementsByTagName(t),i);if(o[2]&&d.find.CLASS&&r.getElementsByClassName)return y(r.getElementsByClassName(o[2]),i)}if(r.nodeType===9){if(t==="body"&&r.body)return y([r.body],i);if(o&&o[3]){var u=r.getElementById(o[3]);if(!u||!u.parentNode)return y([],i);if(u.id===o[3])return y([u],i)}try{return y(r.querySelectorAll(t),i)}catch(a){}}else if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){var f=r,l=r.getAttribute("id"),c=l||n,p=r.parentNode,v=/^\s*[+~]/.test(t);l?c=c.replace(/'/g,"\\$&"):r.setAttribute("id",c),v&&p&&(r=r.parentNode);try{if(!v||p)return y(r.querySelectorAll("[id='"+c+"'] "+t),i)}catch(m){}finally{l||f.removeAttribute("id")}}}return e(t,r,i,s)};for(var r in e)h[r]=e[r];t=null}}(),function(){var e=_.documentElement,t=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(t){var n=!t.call(_.createElement("div"),"div"),r=!1;try{t.call(_.documentElement,"[test!='']:sizzle")}catch(i){r=!0}h.matchesSelector=function(e,i){i=i.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!h.isXML(e))try{if(r||!d.match.PSEUDO.test(i)&&!/!=/.test(i)){var s=t.call(e,i);if(s||!n||e.document&&e.document.nodeType!==11)return s}}catch(o){}return h(i,null,null,[e]).length>0}}}(),function(){var e=_.createElement("div");e.innerHTML="
";if(!!e.getElementsByClassName&&e.getElementsByClassName("e").length!==0){e.lastChild.className="e";if(e.getElementsByClassName("e").length===1)return;d.order.splice(1,0,"CLASS"),d.find.CLASS=function(e,t,n){if(typeof t.getElementsByClassName!="undefined"&&!n)return t.getElementsByClassName(e[1])},e=null}}(),_.documentElement.contains?h.contains=function(e,t){return e!==t&&(e.contains?e.contains(t):!0)}:_.documentElement.compareDocumentPosition?h.contains=function(e,t){return!!(e.compareDocumentPosition(t)&16)}:h.contains=function(){return!1},h.isXML=function(e){var t=(e?e.ownerDocument||e:0).documentElement;return t?t.nodeName!=="HTML":!1};var S=function(e,t,n){var r,i=[],s="",o=t.nodeType?[t]:t;while(r=d.match.PSEUDO.exec(e))s+=r[0],e=e.replace(d.match.PSEUDO,"");e=d.relative[e]?e+"*":e;for(var u=0,a=o.length;u0)for(o=s;o=0:H.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n=[],r,i,s=this[0];if(H.isArray(e)){var o=1;while(s&&s.ownerDocument&&s!==t){for(r=0;r-1:H.find.matchesSelector(s,e)){n.push(s);break}s=s.parentNode;if(!s||!s.ownerDocument||s===t||s.nodeType===11)break}}return n=n.length>1?H.unique(n):n,this.pushStack(n,"closest",e)},index:function(e){return e?typeof e=="string"?H.inArray(this[0],H(e)):H.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?H(e,t):H.makeArray(e&&e.nodeType?[e]:e),r=H.merge(this.get(),n);return this.pushStack(N(n[0])||N(r[0])?r:H.unique(r))},andSelf:function(){return this.add(this.prevObject)}}),H.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return H.dir(e,"parentNode")},parentsUntil:function(e,t,n){return H.dir(e,"parentNode",n)},next:function(e){return H.nth(e,2,"nextSibling")},prev:function(e){return H.nth(e,2,"previousSibling")},nextAll:function(e){return H.dir(e,"nextSibling")},prevAll:function(e){return H.dir(e,"previousSibling")},nextUntil:function(e,t,n){return H.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return H.dir(e,"previousSibling",n)},siblings:function(e){return H.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return H.sibling(e.firstChild)},contents:function(e){return H.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:H.makeArray(e.childNodes)}},function(e,t){H.fn[e]=function(n,r){var i=H.map(this,t,n);return ut.test(e)||(r=n),r&&typeof r=="string"&&(i=H.filter(r,i)),i=this.length>1&&!pt[e]?H.unique(i):i,(this.length>1||ft.test(r))&&at.test(e)&&(i=i.reverse()),this.pushStack(i,e,ct.call(arguments).join(","))}}),H.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?H.find.matchesSelector(t[0],e)?[t[0]]:[]:H.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!H(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},nth:function(e,t,n,r){t=t||1;var i=0;for(;e;e=e[n])if(e.nodeType===1&&++i===t)break;return e},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var dt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",vt=/ jQuery\d+="(?:\d+|null)"/g,mt=/^\s+/,gt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,yt=/<([\w:]+)/,bt=/]","i"),Tt=/checked\s*(?:[^=]|=\s*.checked.)/i,Nt=/\/(java|ecma)script/i,Ct=/^\s*",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},Lt=x(_);kt.optgroup=kt.option,kt.tbody=kt.tfoot=kt.colgroup=kt.caption=kt.thead,kt.th=kt.td,H.support.htmlSerialize||(kt._default=[1,"div
","
"]),H.fn.extend({text:function(e){return H.access(this,function(e){return e===t?H.text(this):this.empty().append((this[0]&&this[0].ownerDocument||_).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(H.isFunction(e))return this.each(function(t){H(this).wrapAll(e.call(this,t))});if(this[0]){var t=H(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return H.isFunction(e)?this.each(function(t){H(this).wrapInner(e.call(this,t))}):this.each(function(){var t=H(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=H.isFunction(e);return this.each(function(n){H(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){H.nodeName(this,"body")||H(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){this.nodeType===1&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){this.nodeType===1&&this.insertBefore(e,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=H.clean(arguments);return e.push.apply(e,this.toArray()),this.pushStack(e,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=this.pushStack(this,"after",arguments);return e.push.apply(e,H.clean(arguments)),e}},remove:function(e,t){for(var n=0,r;(r=this[n])!=null;n++)if(!e||H.filter(e,[r]).length)!t&&r.nodeType===1&&(H.cleanData(r.getElementsByTagName("*")),H.cleanData([r])),r.parentNode&&r.parentNode.removeChild(r);return this},empty:function(){for(var e=0,t;(t=this[e])!=null;e++){t.nodeType===1&&H.cleanData(t.getElementsByTagName("*"));while(t.firstChild)t.removeChild(t.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return H.clone(this,e,t)})},html:function(e){return H.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(vt,""):null;if(typeof e=="string"&&!Et.test(e)&&(H.support.leadingWhitespace||!mt.test(e))&&!kt[(yt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(gt,"<$1>");try{for(;r1&&l0?this.clone(!0):this).get();H(i[o])[t](a),r=r.concat(a)}return this.pushStack(r,e,i.selector)}}),H.extend({clone:function(e,t,n){var r,i,s,o=H.support.html5Clone||H.isXMLDoc(e)||!xt.test("<"+e.nodeName+">")?e.cloneNode(!0):m(e);if((!H.support.noCloneEvent||!H.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!H.isXMLDoc(e)){w(e,o),r=b(e),i=b(o);for(s=0;r[s];++s)i[s]&&w(r[s],i[s])}if(t){E(e,o);if(n){r=b(e),i=b(o);for(s=0;r[s];++s)E(r[s],i[s])}}return r=i=null,o},clean:function(e,t,n,r){var i,s,o,u=[];t=t||_,typeof t.createElement=="undefined"&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||_);for(var a=0,f;(f=e[a])!=null;a++){typeof f=="number"&&(f+="");if(!f)continue;if(typeof f=="string")if(!wt.test(f))f=t.createTextNode(f);else{f=f.replace(gt,"<$1>");var l=(yt.exec(f)||["",""])[1].toLowerCase(),c=kt[l]||kt._default,h=c[0],p=t.createElement("div"),d=Lt.childNodes,v;t===_?Lt.appendChild(p):x(t).appendChild(p),p.innerHTML=c[1]+f+c[2];while(h--)p=p.lastChild;if(!H.support.tbody){var m=bt.test(f),y=l==="table"&&!m?p.firstChild&&p.firstChild.childNodes:c[1]===""&&!m?p.childNodes:[];for(o=y.length-1;o>=0;--o)H.nodeName(y[o],"tbody")&&!y[o].childNodes.length&&y[o].parentNode.removeChild(y[o])}!H.support.leadingWhitespace&&mt.test(f)&&p.insertBefore(t.createTextNode(mt.exec(f)[0]),p.firstChild),f=p.childNodes,p&&(p.parentNode.removeChild(p),d.length>0&&(v=d[d.length-1],v&&v.parentNode&&v.parentNode.removeChild(v)))}var b;if(!H.support.appendChecked)if(f[0]&&typeof (b=f.length)=="number")for(o=0;o1)},H.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ft(e,"opacity");return n===""?"1":n}return e.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":H.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!!e&&e.nodeType!==3&&e.nodeType!==8&&!!e.style){var s,o,u=H.camelCase(n),a=e.style,f=H.cssHooks[u];n=H.cssProps[u]||u;if(r===t)return f&&"get"in f&&(s=f.get(e,!1,i))!==t?s:a[n];o=typeof r,o==="string"&&(s=Pt.exec(r))&&(r=+(s[1]+1)*+s[2]+parseFloat(H.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!H.cssNumber[u]&&(r+="px");if(!f||!("set"in f)||(r=f.set(e,r))!==t)try{a[n]=r}catch(l){}}},css:function(e,n,r){var i,s;n=H.camelCase(n),s=H.cssHooks[n],n=H.cssProps[n]||n,n==="cssFloat"&&(n="float");if(s&&"get"in s&&(i=s.get(e,!0,r))!==t)return i;if(Ft)return Ft(e,n)},swap:function(e,t,n){var r={},i,s;for(s in t)r[s]=e.style[s],e.style[s]=t[s];i=n.call(e);for(s in t)e.style[s]=r[s];return i}}),H.curCSS=H.css,_.defaultView&&_.defaultView.getComputedStyle&&(It=function(e,t){var n,r,i,s,o=e.style;return t=t.replace(Mt,"-$1").toLowerCase(),(r=e.ownerDocument.defaultView)&&(i=r.getComputedStyle(e,null))&&(n=i.getPropertyValue(t),n===""&&!H.contains(e.ownerDocument.documentElement,e)&&(n=H.style(e,t))),!H.support.pixelMargin&&i&&Ht.test(t)&&Dt.test(n)&&(s=o.width,o.width=n,n=i.width,o.width=s),n}),_.documentElement.currentStyle&&(qt=function(e,t){var n,r,i,s=e.currentStyle&&e.currentStyle[t],o=e.style;return s==null&&o&&(i=o[t])&&(s=i),Dt.test(s)&&(n=o.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),o.left=t==="fontSize"?"1em":s,s=o.pixelLeft+"px",o.left=n,r&&(e.runtimeStyle.left=r)),s===""?"auto":s}),Ft=It||qt,H.each(["height","width"],function(e,t){H.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth!==0?v(e,t,r):H.swap(e,Bt,function(){return v(e,t,r)})},set:function(e,t){return _t.test(t)?t+"px":t}}}),H.support.opacity||(H.cssHooks.opacity={get:function(e,t){return Ot.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=H.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&H.trim(s.replace(At,""))===""){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=At.test(s)?s.replace(At,i):s+" "+i}}),H(function(){H.support.reliableMarginRight||(H.cssHooks.marginRight={get:function(e,t){return H.swap(e,{display:"inline-block"},function(){return t?Ft(e,"margin-right"):e.style.marginRight})}})}),H.expr&&H.expr.filters&&(H.expr.filters.hidden=function(e){var t=e.offsetWidth,n=e.offsetHeight;return t===0&&n===0||!H.support.reliableHiddenOffsets&&(e.style&&e.style.display||H.css(e,"display"))==="none"},H.expr.filters.visible=function(e){return!H.expr.filters.hidden(e)}),H.each({margin:"",padding:"",border:"Width"},function(e,t){H.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],s={};for(r=0;r<4;r++)s[e+jt[r]+t]=i[r]||i[r-2]||i[0];return s}}});var Rt=/%20/g,Ut=/\[\]$/,zt=/\r?\n/g,Wt=/#.*$/,Xt=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Vt=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,$t=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,Jt=/^(?:GET|HEAD)$/,Kt=/^\/\//,Qt=/\?/,Gt=/)<[^<]*)*<\/script>/gi,Yt=/^(?:select|textarea)/i,Zt=/\s+/,en=/([?&])_=[^&]*/,tn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,nn=H.fn.load,rn={},sn={},on,un,an=["*/"]+["*"];try{on=P.href}catch(fn){on=_.createElement("a"),on.href="",on=on.href}un=tn.exec(on.toLowerCase())||[],H.fn.extend({load:function(e,n,r){if(typeof e!="string"&&nn)return nn.apply(this,arguments);if(!this.length)return this;var i=e.indexOf(" ");if(i>=0){var s=e.slice(i,e.length);e=e.slice(0,i)}var o="GET";n&&(H.isFunction(n)?(r=n,n=t):typeof n=="object"&&(n=H.param(n,H.ajaxSettings.traditional),o="POST"));var u=this;return H.ajax({url:e,type:o,dataType:"html",data:n,complete:function(e,t,n){n=e.responseText,e.isResolved()&&(e.done(function(e){n=e}),u.html(s?H("
").append(n.replace(Gt,"")).find(s):n)),r&&u.each(r,[n,t,e])}}),this},serialize:function(){return H.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?H.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Yt.test(this.nodeName)||Vt.test(this.type))}).map(function(e,t){var n=H(this).val();return n==null?null:H.isArray(n)?H.map(n,function(e,n){return{name:t.name,value:e.replace(zt,"\r\n")}}):{name:t.name,value:n.replace(zt,"\r\n")}}).get()}}),H.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){H.fn[t]=function(e){return this.on(t,e)}}),H.each(["get","post"],function(e,n){H[n]=function(e,r,i,s){return H.isFunction(r)&&(s=s||i,i=r,r=t),H.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),H.extend({getScript:function(e,n){return H.get(e,t,n,"script")},getJSON:function(e,t,n){return H.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?h(e,H.ajaxSettings):(t=e,e=H.ajaxSettings),h(e,t),e},ajaxSettings:{url:on,isLocal:$t.test(un[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":an},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":H.parseJSON,"text xml":H.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:d(rn),ajaxTransport:d(sn),ajax:function(e,n){function r(e,n,r,p){if(E!==2){E=2,b&&clearTimeout(b),y=t,m=p||"",T.readyState=e>0?4:0;var d,v,g,w=n,x=r?l(i,T,r):t,N,C;if(e>=200&&e<300||e===304){if(i.ifModified){if(N=T.getResponseHeader("Last-Modified"))H.lastModified[h]=N;if(C=T.getResponseHeader("Etag"))H.etag[h]=C}if(e===304)w="notmodified",d=!0;else try{v=f(i,x),w="success",d=!0}catch(k){w="parsererror",g=k}}else{g=w;if(!w||e)w="error",e<0&&(e=0)}T.status=e,T.statusText=""+(n||w),d?u.resolveWith(s,[v,w,T]):u.rejectWith(s,[T,w,g]),T.statusCode(c),c=t,S&&o.trigger("ajax"+(d?"Success":"Error"),[T,i,d?v:g]),a.fireWith(s,[T,w]),S&&(o.trigger("ajaxComplete",[T,i]),--H.active||H.event.trigger("ajaxStop"))}}typeof e=="object"&&(n=e,e=t),n=n||{};var i=H.ajaxSetup({},n),s=i.context||i,o=s!==i&&(s.nodeType||s instanceof H)?H(s):H.event,u=H.Deferred(),a=H.Callbacks("once memory"),c=i.statusCode||{},h,d={},v={},m,g,y,b,w,E=0,S,x,T={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=v[n]=v[n]||e,d[e]=t}return this},getAllResponseHeaders:function(){return E===2?m:null},getResponseHeader:function(e){var n;if(E===2){if(!g){g={};while(n=Xt.exec(m))g[n[1].toLowerCase()]=n[2]}n=g[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return E||(i.mimeType=e),this},abort:function(e){return e=e||"abort",y&&y.abort(e),r(0,e),this}};u.promise(T),T.success=T.done,T.error=T.fail,T.complete=a.add,T.statusCode=function(e){if(e){var t;if(E<2)for(t in e)c[t]=[c[t],e[t]];else t=e[T.status],T.then(t,t)}return this},i.url=((e||i.url)+"").replace(Wt,"").replace(Kt,un[1]+"//"),i.dataTypes=H.trim(i.dataType||"*").toLowerCase().split(Zt),i.crossDomain==null&&(w=tn.exec(i.url.toLowerCase()),i.crossDomain=!(!w||w[1]==un[1]&&w[2]==un[2]&&(w[3]||(w[1]==="http:"?80:443))==(un[3]||(un[1]==="http:"?80:443)))),i.data&&i.processData&&typeof i.data!="string"&&(i.data=H.param(i.data,i.traditional)),p(rn,i,n,T);if(E===2)return!1;S=i.global,i.type=i.type.toUpperCase(),i.hasContent=!Jt.test(i.type),S&&H.active++===0&&H.event.trigger("ajaxStart");if(!i.hasContent){i.data&&(i.url+=(Qt.test(i.url)?"&":"?")+i.data,delete i.data),h=i.url;if(i.cache===!1){var N=H.now(),C=i.url.replace(en,"$1_="+N);i.url=C+(C===i.url?(Qt.test(i.url)?"&":"?")+"_="+N:"")}}(i.data&&i.hasContent&&i.contentType!==!1||n.contentType)&&T.setRequestHeader("Content-Type",i.contentType),i.ifModified&&(h=h||i.url,H.lastModified[h]&&T.setRequestHeader("If-Modified-Since",H.lastModified[h]),H.etag[h]&&T.setRequestHeader("If-None-Match",H.etag[h])),T.setRequestHeader("Accept",i.dataTypes[0]&&i.accepts[i.dataTypes[0]]?i.accepts[i.dataTypes[0]]+(i.dataTypes[0]!=="*"?", "+an+"; q=0.01":""):i.accepts["*"]);for(x in i.headers)T.setRequestHeader(x,i.headers[x]);if(!i.beforeSend||i.beforeSend.call(s,T,i)!==!1&&E!==2){for(x in{success:1,error:1,complete:1})T[x](i[x]);y=p(sn,i,n,T);if(!y)r(-1,"No Transport");else{T.readyState=1,S&&o.trigger("ajaxSend",[T,i]),i.async&&i.timeout>0&&(b=setTimeout(function(){T.abort("timeout")},i.timeout));try{E=1,y.send(d,r)}catch(k){if(!(E<2))throw k;r(-1,k)}}return T}return T.abort(),!1},param:function(e,n){var r=[],i=function(e,t){t=H.isFunction(t)?t():t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=H.ajaxSettings.traditional);if(H.isArray(e)||e.jquery&&!H.isPlainObject(e))H.each(e,function(){i(this.name,this.value)});else for(var s in e)c(s,e[s],n,i);return r.join("&").replace(Rt,"+")}}),H.extend({active:0,lastModified:{},etag:{}});var ln=H.now(),cn=/(\=)\?(&|$)|\?\?/i;H.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return H.expando+"_"+ln++}}),H.ajaxPrefilter("json jsonp",function(t,n,r){var i=typeof t.data=="string"&&/^application\/x\-www\-form\-urlencoded/.test(t.contentType);if(t.dataTypes[0]==="jsonp"||t.jsonp!==!1&&(cn.test(t.url)||i&&cn.test(t.data))){var s,o=t.jsonpCallback=H.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,u=e[o],a=t.url,f=t.data,l="$1"+o+"$2";return t.jsonp!==!1&&(a=a.replace(cn,l),t.url===a&&(i&&(f=f.replace(cn,l)),t.data===f&&(a+=(/\?/.test(a)?"&":"?")+t.jsonp+"="+o))),t.url=a,t.data=f,e[o]=function(e){s=[e]},r.always(function(){e[o]=u,s&&H.isFunction(u)&&e[o](s[0])}),t.converters["script json"]=function(){return s||H.error(o+" was not called"),s[0]},t.dataTypes[0]="json","script"}}),H.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return H.globalEval(e),e}}}),H.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),H.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=_.head||_.getElementsByTagName("head")[0]||_.documentElement;return{send:function(i,s){n=_.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||s(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var hn=e.ActiveXObject?function(){for(var e in dn)dn[e](0,1)}:!1,pn=0,dn;H.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&a()||u()}:a,function(e){H.extend(H.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(H.ajaxSettings.xhr()),H.support.ajax&&H.ajaxTransport(function(n){if(!n.crossDomain||H.support.cors){var r;return{send:function(i,s){var o=n.xhr(),u,a;n.username?o.open(n.type,n.url,n.async,n.username,n.password):o.open(n.type,n.url,n.async);if(n.xhrFields)for(a in n.xhrFields)o[a]=n.xhrFields[a];n.mimeType&&o.overrideMimeType&&o.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(a in i)o.setRequestHeader(a,i[a])}catch(f){}o.send(n.hasContent&&n.data||null),r=function(e,i){var a,f,l,c,h;try{if(r&&(i||o.readyState===4)){r=t,u&&(o.onreadystatechange=H.noop,hn&&delete dn[u]);if(i)o.readyState!==4&&o.abort();else{a=o.status,l=o.getAllResponseHeaders(),c={},h=o.responseXML,h&&h.documentElement&&(c.xml=h);try{c.text=o.responseText}catch(e){}try{f=o.statusText}catch(p){f=""}!a&&n.isLocal&&!n.crossDomain?a=c.text?200:404:a===1223&&(a=204)}}}catch(d){i||s(-1,d)}c&&s(a,f,c,l)},!n.async||o.readyState===4?r():(u=++pn,hn&&(dn||(dn={},H(e).unload(hn)),dn[u]=r),o.onreadystatechange=r)},abort:function(){r&&r(0,1)}}}});var vn={},mn,gn,yn=/^(?:toggle|show|hide)$/,bn=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,wn,En=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],Sn;H.fn.extend({show:function(e,t,n){var s,o;if(e||e===0)return this.animate(i("show",3),e,t,n);for(var u=0,a=this.length;u=a.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),a.animatedProperties[this.prop]=!0;for(t in a.animatedProperties)a.animatedProperties[t]!==!0&&(s=!1);if(s){a.overflow!=null&&!H.support.shrinkWrapBlocks&&H.each(["","X","Y"],function(e,t){u.style["overflow"+t]=a.overflow[e]}),a.hide&&H(u).hide();if(a.hide||a.show)for(t in a.animatedProperties)H.style(u,t,a.orig[t]),H.removeData(u,"fxshow"+t,!0),H.removeData(u,"toggle"+t,!0);r=a.complete,r&&(a.complete=!1,r.call(u))}return!1}return a.duration==Infinity?this.now=i:(n=i-this.startTime,this.state=n/a.duration,this.pos=H.easing[a.animatedProperties[this.prop]](this.state,n,0,1,a.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},H.extend(H.fx,{tick:function(){var e,t=H.timers,n=0;for(;n-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),H.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},H.fn.extend({position:function(){if(!this[0])return null;var e=this[0],t=this.offsetParent(),n=this.offset(),r=Nn.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(H.css(e,"marginTop"))||0,n.left-=parseFloat(H.css(e,"marginLeft"))||0,r.top+=parseFloat(H.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(H.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||_.body;while(e&&!Nn.test(e.nodeName)&&H.css(e,"position")==="static")e=e.offsetParent;return e})}}),H.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,r){var i=/Y/.test(r);H.fn[e]=function(s){return H.access(this,function(e,s,o){var u=n(e);if(o===t)return u?r in u?u[r]:H.support.boxModel&&u.document.documentElement[s]||u.document.body[s]:e[s];u?u.scrollTo(i?H(u).scrollLeft():o,i?o:H(u).scrollTop()):e[s]=o},e,s,arguments.length,null)}}),H.each({Height:"height",Width:"width"},function(e,n){var r="client"+e,i="scroll"+e,s="offset"+e;H.fn["inner"+e]=function(){var e=this[0];return e?e.style?parseFloat(H.css(e,n,"padding")):this[n]():null},H.fn["outer"+e]=function(e){var t=this[0];return t?t.style?parseFloat(H.css(t,n,e?"margin":"border")):this[n]():null},H.fn[n]=function(e){return H.access(this,function(e,n,o){var u,a,f,l;if(H.isWindow(e))return u=e.document,a=u.documentElement[r],H.support.boxModel&&a||u.body&&u.body[r]||a;if(e.nodeType===9)return u=e.documentElement,u[r]>=u[i]?u[r]:Math.max(e.body[i],u[i],e.body[s],u[s]);if(o===t)return f=H.css(e,n),l=parseFloat(f),H.isNumeric(l)?l:f;H(e).css(n,o)},n,e,arguments.length,null)}}),e.jQuery=e.$=H,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return H})})(window);var __hasProp=Object.prototype.hasOwnProperty,__extends=function(e,t){function n(){this.constructor=e}for(var r in t)__hasProp.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},AdNetworkManager=function(e,t,n){this.confUrl="//xml.affiliate.rakuten.co.jp/widget/adnetwork/conf/get_adnetwork_conf.php",this.confUrl+="?AdNetworkId="+encodeURIComponent(t),this.func=e,this.id=t,this.redirectUrl=n,this.config={}};AdNetworkManager.prototype.validates=function(e,t){if(null==this.config||null==this.config[e])return"noSetting";if(null==this.config[e]["adNetworkUrlFormat"])return"noSetting";var n=!1,r=this.config[e].adNetworkUrlFormat;for(var i=0;i0&&(h+="&itemCodes=",$.each(i,function(e,t){h+=(t.item_code?t.item_code:"itemCodeNone:00000000")+",",t.genre_id!==null&&t.genre_id?v.push(t.genre_id):v.push("0")}),h=h.substr(0,h.length-1)),v.length>0&&(h+="&genreIdList="+v.join(",")),u&&(h+=this.addMeasurementParameter(u)),a&&(h+=this.addRecommendParameter(a)),f&&(h+=this.addBhTypeParameter(f)),h+=this.addItemCount(l),h+=this.addPublisherUrl(c),h},WebBeaconLoader.prototype.makeUrlForMediaId=function(e,t){return this.logUrlBase+this.accessGif+"?"+"t="+t+"&pointbackId="+e},WebBeaconLoader.prototype.makeUrlForNotMediaId=function(e){return this.logUrlBase+this.accessGif+"?"+"pointbackId="+e},WebBeaconLoader.prototype.confImgLoad=function(e,t,n,r,i,s,o,u,a,f,l,c){this.imgLoad(this.makeConfImgUrl(e,t,n,r,i,s,o,u,a,f,l,c))},WebBeaconLoader.prototype.getTimeBaseUrl=function(e,t,n,r,i,s,o,u,a,f,l,c){var h=this.makeConfImgUrl(e,t,n,r,i,s,o,u,a,f,l,c);return h.replace(/a\.gif/g,"t.gif")},WebBeaconLoader.prototype.imgLoad=function(e){if(typeof e!="undefined"&&e.match(/^\/\/.*\.affiliate.rakuten.co.jp/)){var t=new Image;return e=e+"&date="+(new Date).getTime(),t.src=e,t}},WebBeaconLoader.prototype.trafficControl=function(){var e=this.trafficRate;if(undefined==e||e<0||e>100)return!1;var t=Math.floor(Math.random()*100);return t=0?"&itemCount="+e:""},WebBeaconLoader.prototype.addPublisherUrl=function(e){return e?"&pUrl="+e:""};var UtilArray=function(){};UtilArray.shuffle=function(e){if(!e||!$.isArray(e))return new Array;var t=e.length;while(t){var n=Math.floor(Math.random()*t),r=e[--t];e[t]=e[n],e[n]=r}return e};var UtilDate=function(){};UtilDate.isValidDate=function(e){return Object.prototype.toString.call(e)!=="[object Date]"?!1:!isNaN(e.getTime())};var MediaIdManager=function(){this.toolId=this.fetch()};MediaIdManager.prototype.save=function(){myAPI&&myAPI.parameters&&(myAPI.parameters.toolId=this.toolId)},MediaIdManager.prototype.fetch=function(){return myAPI&&myAPI.parameters&&myAPI.parameters.toolId?myAPI.parameters.toolId:null},MediaIdManager.prototype.isOldType=function(){return this.toolId.match(/mtlk10/)!==null},MediaIdManager.prototype.isCorp=function(){return this.toolId.match(/mtlk\d{3}1/)!==null},MediaIdManager.prototype.changeHeader=function(e){null===this.toolId&&(this.toolId=this.fetch()),this.isOldType()||(this.toolId=this.toolId.replace(/mtlk[0-9]{2}/,"mtlk"+e),this.save())};var CTRScoringManager=function(){CTRScoringManager.__super__.constructor.call(this),this.enableCTRScoring=!1,this.expandCTRScoring=!1,this.optGenreId="",this.startFlag=!1,this.pattern=null,this.mediaIdHeader="70",this.ngGenreIdList=[],this.mediaIdManager=new MediaIdManager,this.selectPattern()};__extends(CTRScoringManager,MediaIdManager),CTRScoringManager.prototype.isStarted=function(){return this.startFlag},CTRScoringManager.prototype.isNgGenreId=function(e,t){if(!t||!$.isArray(t)||0>=t.length)return!1;var n=!1;return $.each(t,function(t,r){if(r==e)return n=!0,!1}),n},CTRScoringManager.prototype.setCondition=function(e,t,n,r){null!=e&&(this.enableCTRScoring=e),null!=t&&(this.optGenreId=t),null!=n&&(this.expandCTRScoring=n),null!=r&&(this.ngGenreIdList=r);if(this.enableCTRScoring||this.optGenreId||this.expandCTRScoring)this.isNgGenreId(this.optGenreId,this.ngGenreIdList)||(this.startFlag=!0);this.isExpandCTRScoring()&&this.exchangeMediaIdHeaderForExpand()},CTRScoringManager.prototype.changePointbackIdHeader=function(){this.isStarted()&&this.mediaIdManager.changeHeader(this.mediaIdHeader)},CTRScoringManager.prototype.createNewFunc=function(e){if(this.isStarted()){var t=e,n=this;e=function(e,r,i){e.length>0&&e[0].source!=ParallelAshiatoLoader.key&&n.changePointbackIdHeader(),t(e,r,i)}}return e},CTRScoringManager.prototype.isExpandCTRScoring=function(){return this.enableCTRScoring?!1:this.expandCTRScoring||!this.enableCTRScoring&&this.isStarted()},CTRScoringManager.prototype.exchangeMediaIdHeaderForExpand=function(){switch(this.mediaIdHeader){case"70":this.mediaIdHeader="34";break;case"56":this.mediaIdHeader="36";break;case"58":this.mediaIdHeader="38"}},CTRScoringManager.prototype.createNewComposer=function(e){return this.isStarted()&&this.optGenreId&&(e=new IchibaMediaGenreRankingComposer(this.optGenreId)),e},CTRScoringManager.prototype.selectPattern=function(e){var t=e;!t&&0!==t&&(t=Math.floor(Math.random()*2));switch(t){case 0:this.pattern="2",this.mediaIdHeader="56";break;case 1:this.pattern="4",this.mediaIdHeader="58";break;default:this.pattern=null,this.mediaIdHeader="99"}};var AdvancedItemsManager=function(){AdvancedItemsManager.__super__.constructor.call(this),this.mediaIdHeader="39",this.mediaIdManager=new MediaIdManager};__extends(AdvancedItemsManager,MediaIdManager),AdvancedItemsManager.prototype.createNewFunc=function(e){var t=e,n=this;return e=function(e,r,i){n.mediaIdManager.changeHeader(n.mediaIdHeader),t(e,r,i)},e},AdvancedItemsManager.prototype.createNewComposer=function(){return new IchibaAdvancedItemsComposer};var ViewDataMaker=function(e){this.param=e&&typeof e=="object"?e:{}};ViewDataMaker.LOGO_URL="https://www.rakuten.co.jp/",ViewDataMaker.prototype.makeViewData=function(){return this.logoUrl=this.makeLogoUrl(this.param.pointSiteData),this},ViewDataMaker.prototype.makeLogoUrl=function(e){return e&&e.match(/https?:\/\//)?e+encodeURIComponent(ViewDataMaker.LOGO_URL):ViewDataMaker.LOGO_URL};var BaseParser=function(){};BaseParser.getShopUrl=function(e){return null==e||null==e.item_code?"":e.item_code.split(":")[0]},BaseParser.ngShopFilter=function(e,t){if(null==t||null==t.data||t.data.length==0)return e;var n=[],r,i=t.data.join(),s="";for(var o=0;on.length&&(t.flag=!0),n};var JSONAshiatoParser=function(){};JSONAshiatoParser.parse=function(e,t,n,r){var r;if(!e||!String(e.code).match(/^\d$/))return{code:"-1",itemData:[]};if("2"==e.code)return{code:e.code,itemData:[]};var i=[],s;t&&$.isArray(t)&&t.length!==0?$.each(e.items,function(e,n){s=0,$.each(t,function(e,t){n.genreidlist.indexOf(t)==-1&&s++}),s==t.length&&i.push(n)}):$.each(e.items,function(e,t){t!==null&&i.push(t)});var o=[];return $.each(i,function(e,t){if(o.length>=n)return;var r=t.imageurl64;r=JSONAshiatoParser.imageURLConverter(r),r="https:"+r.replace(/^https?:/,"");var i=t.itemurlfull,s="0";if(t.genreidlist){var u=t.genreidlist.match(/(\d{6})$/);u&&(s=u[1])}var a=t.itemprice||"";a=a.toString().replace(/([0-9]+?)(?=(?:[0-9]{3})+$)/g,"$1,")+"円";var f=t.itemprice;typeof t.haspricerange!="undefined"&&t.haspricerange===1&&(a+=Properties.PRICE_RANGE_MARK,f=0),o.push({source:ParallelAshiatoLoader.key,name:t.itemname,shopName:t.shopname,price:a,min_price:t.itemprice,max_price:f,reviewnum:t.reviewnum,reviewave:t.reviewave,url:i,image_url:r,item_code:t.shopurl+":"+t.itemid,shop_id:t.shopid,item_id:t.itemid,historydate:JSONAshiatoParser.historydate(t.historydate),genre_id:s,version:Properties.MW_API_SKU_VERSION,type:Properties.SERVICE_TYPE_ICHIBA})}),o=BaseParser.ngShopFilter(o,r),{code:e.code,itemData:o}},JSONAshiatoParser.imageURLConverter=function(e){var t=e;return e.match(/https?:\/\/thumbnail.image.rakuten.co.jp/)&&(t=e.replace(/_ex=64x64/,"_ex=128x128")),e.match(/https?:\/\/image.rakuten.co.jp/)&&(t=e.replace(/\/\img64\//,"/img128/")),t},JSONAshiatoParser.historydate=function(e){var t=new Date("December 01, 2011");if(e&&typeof e.match=="function"&&e.match(/^\d{14}$/)){var n=Number(e.substr(0,4)),r=Number(e.substr(4,2)),i=Number(e.substr(6,2)),s=new Date(n,r-1,i),o=s.getFullYear(),u=s.getMonth(),a=s.getDate();u<10&&(u="0"+u),a<10&&(a="0"+a);if(n!=o||r-1!=u||i!=a)return t;t=s}return t};var JSONProductSearchParser=function(){};JSONProductSearchParser.parse=function(e){if(!e)return{status:"ParseError",itemData:new Array};var t=new Array,n="ParseError";if(typeof e.error=="undefined"){n=Properties.STATUS_SUCCESS;for(var r=0;r=this.itemNum)return!1;t!=null&&t.item_code&&n.push(t)}),$.each(e,function(e,r){if(typeof r!="object")return!0;if(n.length>=this.itemNum)return!1;r!=null&&r.item_code&&!BaseAction.isDuplicateItem(r,t)&&n.push(r)}),n};var SimpleAction=function(e,t){SimpleAction.__super__.constructor.call(this,e,t)};__extends(SimpleAction,BaseAction),SimpleAction.prototype.sort=function(e){return e},SimpleAction.prototype.mainCallback=function(e,t,n){var r=this;$.each(r.loaderArray,function(t,n){var i=n.key();if(r.itemArray.length>=r.itemNum)return;e[i]&&e[i].length>0&&(r.itemArray=r.mergeItemArray(e[i]))}),this.itemCallback(this.itemArray)};var GuaranteeAction=function(e,t){GuaranteeAction.__super__.constructor.call(this,e,t)};__extends(GuaranteeAction,BaseAction),GuaranteeAction.prototype.mainCallback=function(e,t,n){var r=this;$.each(r.loaderArray,function(t,n){var i=n.key();if(r.itemArray.length>=r.itemNum)return;e[i]&&e[i].length>0&&(r.itemArray=r.mergeItemArray(e[i],r.itemArray))});if(this.itemArray.length>0)while(this.itemArray.length=r.itemNum)return!1;r.itemArray.push(t)});this.itemCallback(this.itemArray)};var LatestShuffleAction=function(e,t,n){LatestShuffleAction.__super__.constructor.call(this,e,t),this.prevDays=n?n:30,this.targetDate=this.getTargetDate(n)};__extends(LatestShuffleAction,SimpleAction),LatestShuffleAction.prototype={load:LatestShuffleAction.prototype.load,mergeItemArray:LatestShuffleAction.prototype.mergeItemArray,start:LatestShuffleAction.prototype.start,getTargetDate:function(e){var t=new Date;return t.setTime(t.getTime()-e*24*60*60*1e3),t},mainCallback:function(e,t,n){var r=this;$.each(r.loaderArray,function(t,n){var i=n.key();if(r.itemArray.length>=r.itemNum)return!1;if(i!=ParallelAshiatoLoader.key&&r.itemArray.length>0)return!1;e[i]&&e[i].length>0&&(r.itemArray=r.mergeItemArray(r.sort(e[i])))}),this.itemCallback(this.itemArray)},sort:function(e){if(!e||!$.isArray(e))return new Array;var t=new Array,n=new Array,r=this;return $.each(e,function(e,i){if(!i.historydate||typeof i.historydate.getTime!="function")return!1;i.historydate.getTime()-r.targetDate.getTime()>0?n.push(i):t.push(i)}),$.isArray(n)&&n.length!=0||$.isArray(t)&&t.length!=0?UtilArray.shuffle(n).concat(t):e}};var AdvanceItemAction=function(e,t){AdvanceItemAction.__super__.constructor.call(this,e,t)};__extends(AdvanceItemAction,BaseAction),AdvanceItemAction.prototype={load:AdvanceItemAction.prototype.load,mergeItemArray:AdvanceItemAction.prototype.mergeItemArray,start:AdvanceItemAction.prototype.start,mainCallback:function(e,t,n){e[ParallelAshiatoLoader.key]&&e[ParallelAshiatoLoader.key].length>0&&(this.itemArray=this.mergeItemArray(UtilArray.shuffle(e[ParallelAshiatoLoader.key]))),e[ParallelAdvancedItemsLoader.key]&&e[ParallelAdvancedItemsLoader.key].length>0&&(this.itemArray=this.mergeItemArray(UtilArray.shuffle(e[ParallelAdvancedItemsLoader.key]))),this.itemCallback(this.itemArray)}};var LoaderFactory=function(){};LoaderFactory.prototype.createDefaultLoader=function(e,t){return new ParallelDefaultLoader(e,t)},LoaderFactory.prototype.createRankingLoader=function(e,t){return new ParallelRankingLoader(e,t)},LoaderFactory.prototype.createCTSMatchLoader=function(e,t,n){return new ParallelCTSMatchLoader(e,t,n)},LoaderFactory.prototype.createAshiatoLoader=function(e,t,n,r,i,s,o,u,a,f){return new ParallelAshiatoLoader(i,s,o,u,a,f)},LoaderFactory.prototype.createProductSearchLoader=function(e){return new ParallelProductSearchLoader(e)},LoaderFactory.prototype.createAshiatoRecommendLoader=function(e,t){return new ParallelAshiatoRecommendLoader(e,t)},LoaderFactory.prototype.createCTRScoringLoader=function(e){return new ParallelCTRScoringLoader(e)},LoaderFactory.prototype.createAdvancedItemsLoader=function(){return new ParallelAdvancedItemsLoader};var TravelLoaderFactory=function(){};TravelLoaderFactory.prototype.createDefaultLoader=function(e){return new ParallelTravelDefaultLoader(e)},TravelLoaderFactory.prototype.createRankingLoader=function(e){return new ParallelTravelRankingLoader(e)},TravelLoaderFactory.prototype.createCTSMatchLoader=function(e,t){return new ParallelTravelCTSMatchLoader(e,t)},TravelLoaderFactory.prototype.createAshiatoLoader=function(){return new ParallelTravelAshiatoLoader};var IchibaComposer=function(){this.fact=new LoaderFactory,this.itemNum=IchibaComposer.DISPLAY_CNT};IchibaComposer.DISPLAY_CNT=10,IchibaComposer.ASHIATO_DISPLAY_ITEM_CNT=30,IchibaComposer.prototype.contentsMatchLoaders=function(e,t,n){return[this.fact.createCTSMatchLoader(e,t,n)]},IchibaComposer.prototype.rankingLoaders=function(e,t){return null==e||!e.match(/(0|\d{6})/)?new Array:[this.fact.createRankingLoader(e,t)]},IchibaComposer.prototype.ashiatoLoaders=function(e,t,n,r,i,s,o,u,a,f){this.itemNum=IchibaComposer.ASHIATO_DISPLAY_ITEM_CNT;var l=[this.fact.createAshiatoLoader(e,t,n,r,i,s,o,u,a,f)];return e==Parameters.ITEM_RANKING?l.push(this.fact.createRankingLoader(n)):e==Parameters.ITEM_CTSMATCH&&r?(l.push(this.fact.createCTSMatchLoader(t,r,f)),l.push(this.fact.createDefaultLoader(undefined,f))):l.push(this.fact.createDefaultLoader(undefined,f)),l},IchibaComposer.prototype.ashiatoLoader=function(e,t,n,r,i,s,o,u,a,f){return[this.fact.createAshiatoLoader(e,t,n,r,i,s,o,u,a,f)]},IchibaComposer.prototype.defaultLoader=function(e,t){return[this.fact.createDefaultLoader(e,t)]},IchibaComposer.prototype.ashiatoRecommendLoaders=function(e,t){return null==e||!e.match(/(0|\d{6})/)?new Array:[this.fact.createAshiatoRecommendLoader(e,t)]},IchibaComposer.prototype.productSearchLoaders=function(e){return[this.fact.createProductSearchLoader(e)]};var IchibaMediaGenreRankingComposer=function(e){IchibaMediaGenreRankingComposer.__super__.constructor.call(this),this.optGenreId=e};__extends(IchibaMediaGenreRankingComposer,IchibaComposer),IchibaMediaGenreRankingComposer.prototype.ashiatoLoader=function(e,t,n,r,i,s,o,u,a){return[this.fact.createAshiatoLoader(e,t,n,r,i,s,o,u,a),this.fact.createCTRScoringLoader(this.optGenreId)]};var IchibaAdvancedItemsComposer=function(){IchibaAdvancedItemsComposer.__super__.constructor.call(this)};__extends(IchibaAdvancedItemsComposer,IchibaComposer),IchibaAdvancedItemsComposer.prototype.ashiatoLoader=function(e,t,n,r,i,s,o,u,a){return[this.fact.createAshiatoLoader(e,t,n,r,i,s,o,u,a),this.fact.createAdvancedItemsLoader()]};var TravelComposer=function(){this.fact=new TravelLoaderFactory,this.itemNum=TravelComposer.DISPLAY_CNT};TravelComposer.DISPLAY_CNT=10,TravelComposer.ASHIATO_DISPLAY_ITEM_CNT=30,TravelComposer.prototype.ashiatoLoaders=function(e,t,n,r){this.itemNum=TravelComposer.ASHIATO_DISPLAY_ITEM_CNT;var i=[this.fact.createAshiatoLoader()];return e==Parameters.ITEM_TRAVEL_RANKING?(i.push(this.fact.createRankingLoader(n)),i.push(this.fact.createDefaultLoader())):e==Parameters.ITEM_TRAVEL_CTSMATCH&&r?(i.push(this.fact.createCTSMatchLoader(t,r)),i.push(this.fact.createDefaultLoader())):i.push(this.fact.createDefaultLoader()),i},TravelComposer.prototype.contentsMatchLoaders=function(e,t){var n=[this.fact.createCTSMatchLoader(e,t)];return this.itemNum>TravelComposer.DISPLAY_CNT&&n.push(this.fact.createDefaultLoader()),n},TravelComposer.prototype.rankingLoaders=function(e){var t=[this.fact.createRankingLoader(e)];return this.itemNum>TravelComposer.DISPLAY_CNT&&t.push(this.fact.createDefaultLoader()),t},TravelComposer.prototype.ashiatoLoader=function(e,t,n,r,i,s,o,u){return[this.fact.createAshiatoLoader(e,t,n,r,i,s,o,u)]},TravelComposer.prototype.defaultLoader=function(e){return[this.fact.createDefaultLoader(e)]};var BaseController=function(e,t,n){this.drawFunction=e,this.itemNum=typeof t=="undefined"?10:t,this.limitTime=typeof n=="undefined"?5e3:n,this.loaderArray=new Array,this.itemArray=new Array,this.finished=!1};BaseController.prototype.complete=function(){if(this.finished)return;this.itemArray.length=MotionWidgetAPI.DISPLAY_ITEM_CNT)break}return e},MotionWidgetAPI.prototype.isAshiatoIntoItemData=function(e){for(var t=0;t=1)for(var i=0;i=1)for(var r=0;r=1)for(var r=0;r=1)for(var r=0;r").html(t).text()}},r.ui={Carousel:function(){var t;return t=function(t,n){this.$element=t,this.$frame=t.find(".rakuten_motionWidget-main"),this.$itemList=t.find(".rakuten_motionWidget-itemList"),this.$item=t.find(".ui-carousel-item"),this.options=e.extend({direction:"horizonal",speed:250,interval:5e3},n),this._moveFlag=!1,this.setup(this.options.direction)},t.prototype={setup:function(e){var t=this;switch(e){case"vertical":this._setVertical();break;default:this._setHorizontal()}return t.$itemList.css({position:"relative"}),this},startAuto:function(){var e=this,t=e.options.interval;return e._auto=!0,e._timer=null,e._timer=setTimeout(e.toNext,t),e.$element.one("carousel.moveend.auto",function(){e.startAuto()}),e},cancelAutoQueue:function(){var e=this;return e._timer&&clearTimeout(e._timer),e._timer=null,e},stopAuto:function(){var e=this;return e._timer&&(clearTimeout(e._timer),e.$element.off("carousel.moveend.auto")),e._timer=null,e},toNext:function(){},toPrev:function(){},_setVertical:function(){var e=this;return e._distance=e.$item.eq(0).height(),e.toNext=function(){return e._slideTop()},e.toPrev=function(){return e._slideBottom()},e},_setHorizontal:function(){var e=this;return e._distance=e.$item.eq(0).width(),e.toNext=function(){return e._slideLeft()},e.toPrev=function(){return e._slideRight()},e},_beforeMove:function(){return this._flag=!0,this},_afterMove:function(){var e=this;return e._flag=!1,e._auto&&e.$element.trigger("carousel.moveend.auto"),this},_slideLeft:function(){var e=this,t=this._distance,n=e.options.speed,r=this.$itemList;return this._flag?this:(e._beforeMove(),r.animate({left:-1*t},n,function(){r.css({left:0});var t=r.find(".ui-carousel-item:first");t.appendTo(r),e._afterMove()}),this)},_slideRight:function(){var e=this,t=this._distance,n=e.options.speed,r=this.$itemList;if(this._flag)return;e._beforeMove(),r.css({left:-1*t});var i=r.find(".ui-carousel-item:last");return i.prependTo(r),r.animate({left:0},n,function(){e._afterMove()}),this},_slideTop:function(){var e=this,t=this._distance,n=e.options.speed,r=this.$itemList;return this._flag?this:(e._beforeMove(),r.animate({top:-1*t},n,function(){r.css({top:0});var t=r.find(".ui-carousel-item:first");t.appendTo(r),e._afterMove()}),this)},_slideBottom:function(){var e=this,t=this._distance,n=e.options.speed,r=this.$itemList;if(this._flag)return this;e._beforeMove(),r.css({top:-1*t});var i=r.find(".ui-carousel-item:last");return i.prependTo(r),r.animate({top:0},n,function(){e._afterMove()}),this}},t}()},r.data={param:null,design:null,itemData:null,extraData:null,setting:null},r.model={validateItemData:function(e){var t,n,r=["AreaSum","name","url","image_url","item_code","type","pointRate","price","reviewnum","reviewave","shopName","caption"],i,s=r.length;for(t=0,n=e.length;t>16&255)+(t>>8&255)+(t&255),e=i>s?"000000":"FFFFFF",r.util.isRGBColor(n.rakuten_subTxtColor)||(n.rakuten_subTxtColor=e)}(),n.rakuten_loadingImage||(n.rakuten_loadingImage="auto"),/^on$|^off$/.test(n.rakuten_auto_mode)||(n.rakuten_auto_mode="off"),e.isNumeric(n.rakuten_auto_interval)||(n.rakuten_auto_interval=6e3),/^\d+x\d+$/.test(n.rakuten_imageSize)||(n.rakuten_imageSize="auto"),function(){var e=n.rakuten_slideCell;/^\d+x\d+$/.test(e)||(n.rakuten_slideCell="auto")}();if(!/^auto$|^horizontal$|^vertical$/.test(n.rakuten_slideDirection)||n.rakuten_pattern!=="default")n.rakuten_slideDirection="auto";return function(){var e=n.rakuten_order,t=[0,1,2,3],r,i,s,o=0;if(!/^[0-3],[0-3],[0-3],[0-3]$/.test(e))n.rakuten_order=t;else{e=e.split(","),n.rakuten_order=e,s=e.length;for(r=0;ri?o="vertical":o="horizontal"}return o},getSettings:function(){var e=this,t=e.data.design,n=e.data.pattern,i=r.pattern[t][n],s;return i||(s=e.getCell(),i={subPosition:"bottom",col:s.col,row:s.row}),i},setItemData:function(e){return r.data.itemData=e,this},setExtraData:function(e){return r.data.extraData=e,this},setSize:function(e){var t=this,n=t.data.size||{},r;for(r in e)n[r]=e[r];return this},addAreaSum:function(){var e=r.data.itemData,t,n,i;for(t=0,n=e.length;t価格:'+i+"",o!==0&&(n+=' レビュー:'+o+"件")):n="";break;default:n=n}return n},n=function(t){var n,i,u,a,f,l,c;typeof s=="function"&&(s=s());if(r.data.param.rakuten_design!=="text"){for(n=0,i=t.length;no?o:i:r=s,r}();return e.imageFrameSize={width:i,height:s},this},widgetSize:function(){var e=this,t=e.$window.width(),n=e.$window.height();return t+"x"+n},createReviewHTML:function(e){var t="",n='',r='',i='',s,o,u=(e.toString().split(".")[1]+"").slice(0,1)*1||0;e=Math.floor(e*1);for(s=0,o=e;s=5&&(t+=r,e+=1);for(s=5-e,o=0;s>o;s-=1)t+=i;return t},template:function(e,t,n,i,s,o,u,a,f){var l=r.data.param.rakuten_order,c,h,p;return c=[function(e,t,n,r,i,s,o){return'
No Picture
'},function(e,t,n,r,i,s,o){return'
'+e+"
"},function(e,t,n,r,i,s,o){return'
'+t+"
"},function(e,t,n,r,i,s,o){var u="";return u+='
'+n+"
",u+='
'+r+"
",s=s?"レビュー:"+s+"件":"",u+='
'+s+"
",o=o&&o*1!==1?"ポイント:"+o+"倍":"",u+='
'+o+"
",u}],p=function(e,t,n,r,i,s,o,u,a){var f="";return f+='",f},this.template=p,p(e,t,n,i,s,o,u,a,f)},createItems:function(t){var n=this,i=r.util.formalizeComma,s=r.data.design,o,u,a="",f,l,c,h,p,d,v,m,g,y;for(o=0,u=t.length;o');break;default:for(o=0,u=s;o')}return e.$carousel_item=e.$widget.find(".ui-carousel-item"),this},addClass:function(){var e=this,t=r.data.design,n=r.data.pattern,i=r.data.direction;return e.$widget.addClass("design-"+t).addClass("direction-"+i),/^default/.test(n)?e.$widget.addClass("pattern-"+t+"-default"):e.$widget.addClass("pattern-"+t+"-"+n),this},onItemHover:function(){var t=this,n="hover",r=t.$a;return r.mouseenter(function(){e(this).addClass("hover")}).mouseleave(function(){e(this).removeClass("hover")}),this},imgObserver:{collections:[],add:function(e){return this.collections.push(e),this},destroy:function(){return this.collections=[],this},checkAll:function(){var e,t,n=!0;for(e=0,t=this.deferreds.length;e=3e3?e():setTimeout(function(){t.readyOrTimeout(e)},40),this}},drawImageSize:function(){var t=this,n=r.controller,i=t.imageFrameSize.height;return t.$image.css("display")==="none"?(n.imageReady(),this):(this.$image.css({height:i}),this.$image.each(function(){var n=e(this),r=n.find("img");n.addClass("error").width(n.width()-2).height(n.height()-2),t.imgObserver.add(r),r.css({visibility:"hidden"})}),this.imgObserver.createDeferreds(),this.imgObserver.startWatching(),e.each(this.imgObserver.deferreds,function(n,r){r.then(function(n){var r=e(n).closest(t.$image);r.removeClass("error").width(r.width()+2).height(r.height()+2),t.drawImgSize(r),r.addClass("loaded").find("img").css({visibility:"visible"})})}),this.imgObserver.readyOrTimeout(function(){n.imageReady()}),this)},drawImgSize:function(e){var t,n,r,i,s,o,u;return t=this.imageFrameSize.height,n=e.find("img"),r=e.innerWidth(),n.css({width:r,height:"auto"}),u=n.height(),u>t?n.css({width:"auto",height:t}):u')}),n},drawTextLineForNoCaption:function(){var e=this,t=e.$caption.css("display")==="none"?!0:!1,n=e.$image.css("display")==="none"?!0:!1,i=e.$price.css("display")==="none"?!0:!1,s=e.$review.css("display")==="none"?!0:!1,o=e.$pointRate.css("display")==="none"?!0:!1,u=e.$a.height(),a=n?0:e.$image.outerHeight(!0),f=i?0:e.$price.outerHeight(!0),l=s?0:e.$review.outerHeight(!0),c=o?0:e.$pointRate.outerHeight(!0),h=e.$text.innerHeight()-e.$text.height(),p=u-a-f-l-c-h,d=function(){var t=e.$text.css("line-height"),n=e.$text.css("font-size");return/px$/.test(t)||(t*=parseFloat(n)),parseFloat(t)}(),v=parseInt(p/d,10);return t&&r.data.param.rakuten_design==="text"&&r.data.param.rakuten_txtRow==="auto"&&e.$text.css({height:d*v-h}),e},adjustNoPictureFontSize:function(){var e=this,t=e.$image.width();return t<70?e.$noPicture.addClass("noPicture-font-S"):t<100&&e.$noPicture.addClass("noPicture-font-M"),e},updateNoPicturePosition:function(){var e=this,t=e.$noPicture.height();return t?e.$noPicture.css({marginTop:t/2*-1}):setTimeout(function(){e.updateNoPicturePosition()},40),e},beforeLoading:function(){var e=this;return e.addClass().drawBorder().drawWidgetSize().drawLoadingImage().hide(),this},hide:function(){var e=this;return e.$main.css({opacity:0}),e.$sub.css({opacity:0}),e},show:function(){var e=this;return e.$main.animate({opacity:1},250),e.$sub.animate({opacity:1},250),e},addCaptionType:function(e){var t=this;return t.$widget.addClass("captionType-"+e),e==="none"&&t.$caption.hide(),t},afterLoading:function(n){var i=this,s=i.deferWidgetSize,o=r.data.param.rakuten_slideSpeed,u=r.data.param.rakuten_auto_interval,a;return s.then(function(){i.drawImageDisplay().createCell().drawItemSize().drawImageFrameSize().setImageFrameSize(),a=i.$image.innerWidth(),r.controller.adjustImageSize(a),i.drawImageSize().drawSmallViews().drawTextLineForNoCaption().adjustNoPictureFontSize().onItemHover().hidePointRate().hideReview(n),i.ui=new r.ui.Carousel(r.view.$widget,{direction:r.data.direction,speed:o,interval:u}),i.$prev.on("click",function(e){i.ui.cancelAutoQueue().toPrev(),e.preventDefault(),e.stopPropagation()}),i.$next.on("click",function(e){i.ui.cancelAutoQueue().toNext(),e.preventDefault(),e.stopPropagation()});var s=r.data.param.rakuten_target==="_self"?"_parent":"_blank",f=/MSIE [67]/.test(t.navigator.userAgent);i.$a.each(function(){var n=e(this),r=n.attr("href");r?f&&n.find("img").on("click",function(){t.open(r,s)}):n.on("click",function(e){return e.preventDefault(),!1}).css({cursor:"default"})})}),this},init:function(){var n=this;return n.$window=e(t),n.$widget=e(".rakuten_motionWidget"),n.$loading=n.$widget.find(".rakuten_motionWidget-loading"),n.$main=n.$widget.find(".rakuten_motionWidget-main"),n.$sub=n.$widget.find(".rakuten_motionWidget-sub"),n.$itemList=n.$widget.find(".rakuten_motionWidget-itemList"),n.$nav=n.$widget.find(".rakuten_motionWidget-nav"),n.$navItem=n.$nav.find(".rakuten_motionWidget-nav-item"),n.$prev=n.$navItem.filter(".rakuten_motionWidget-nav-prev").find("a"),n.$next=n.$navItem.filter(".rakuten_motionWidget-nav-next").find("a"),n.$about=n.$widget.find(".rakuten_motionWidget-about"),n.$ads=n.$widget.find(".rakuten_motionWidget-ads"),this}},r.controller={adjustImageSize:function(e){var t=r.model,n=r.view,i=this;return t.formalizeImageUrl(e),n.drawImage(r.data.itemData),i},loadedItemData:function(e){var t=r.model,n=r.view,i=this,s;return s=t.validateItemData(e),s=t.formalizeCaption(s),t.setItemData(s),t.addAreaSum(),n.createItems(s),n.addCaptionType(r.data.captionType),n.afterLoading(s),i},loadedExtraData:function(e){var t=r.model,n=r.view,i=this;return t.setExtraData(e),n.createLogoUrl(e),i},imageReady:function(){var e=r.view,t=r.controller,n=r.data.param.rakuten_loadingTimeout,i=function(){e.hideLoading().show(),r.data.param.rakuten_auto_mode==="on"&&setTimeout(function(){e.ui.startAuto()},0);if(r.data.extraData&&r.data.param.rakuten_timestamp!=0&&r.data.extraData.param.timeBaseUrl&&Math.random()*100