Weitere ähnliche Inhalte
Ähnlich wie Combined presentation init
Ähnlich wie Combined presentation init (20)
Combined presentation init
- 1. combined_presentation_init
(function(p,n){function G(a){return
c.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}function
N(a){if(!Ea[a]){var
b=k.body,d=c("<"+a+">").appendTo(b),e=d.css("display");d.remove();if("none"===e||""=
==e){D||(D=k.createElement("iframe"),D.frameBorder=D.width=D.height=0);b.appendChild
(D);if(!R||!D.createElement)R=(D.contentWindow||D.contentDocument).document,R.write(
(c.support.boxModel?"<!doctype
html>":"")+"<html><body>"),R.close();d=R.createElement(a);R.body.appendChild(d);e=c.
css(d,
"display");b.removeChild(D)}Ea[a]=e}return Ea[a]}function w(a,b){var
d={};c.each(ga.concat.apply([],ga.slice(0,b)),function(){d[this]=a});return
d}function ha(){ia=n}function ja(){setTimeout(ha,0);return ia=c.now()}function
ka(){try{return new p.XMLHttpRequest}catch(a){}}function
A(a,b,d,e){if(c.isArray(b))c.each(b,function(b,c){d||Zb.test(a)?e(a,c):A(a+"["+("obj
ect"==typeof c?b:"")+"]",c,d,e)});else if(!d&&"object"===c.type(b))for(var f in
b)A(a+"["+f+"]",b[f],d,e);else e(a,b)}function S(a,b){var d,
e,f=c.ajaxSettings.flatOptions||{};for(d in
b)b[d]!==n&&((f[d]?a:e||(e={}))[d]=b[d]);e&&c.extend(!0,a,e)}function
la(a,b,d,e,c,g){c=c||b.dataTypes[0];g=g||{};g[c]=!0;for(var
c=a[c],h=0,i=c?c.length:0,l=a===Fa,m;h<i&&(l||!m);h++)m=c[h](b,d,e),"string"==typeof
m&&(!l||g[m]?m=n:(b.dataTypes.unshift(m),m=la(a,b,d,e,m,g)));(l||!m)&&!g["*"]&&(m=la
(a,b,d,e,"*",g));return m}function $a(a){return function(b,d){"string"!=typeof
b&&(d=b,b="*");if(c.isFunction(d))for(var
e=b.toLowerCase().split(ab),f=0,g=e.length,
h,i;f<g;f++)h=e[f],(i=/^+/.test(h))&&(h=h.substr(1)||"*"),h=a[h]=a[h]||[],h[i?"unsh
ift":"push"](d)}}function bb(a,b,d){var
e="width"===b?a.offsetWidth:a.offsetHeight,f="width"===b?1:0;if(0<e){if("border"!==d
)for(;4>f;f+=2)d||(e-=parseFloat(c.css(a,"padding"+K[f]))||0),"margin"===d?e+=parseF
loat(c.css(a,d+K[f]))||0:e-=parseFloat(c.css(a,"border"+K[f]+"Width"))||0;return
e+"px"}e=T(a,b);if(0>e||null==e)e=a.style[b];if(Ga.test(e))return
e;e=parseFloat(e)||0;if(d)for(;4>f;f+=2)e+=parseFloat(c.css(a,
"padding"+K[f]))||0,"padding"!==d&&(e+=parseFloat(c.css(a,"border"+K[f]+"Width"))||0
),"margin"===d&&(e+=parseFloat(c.css(a,d+K[f]))||0);return e+"px"}function cb(a){var
b=(a.nodeName||"").toLowerCase();"input"===b?db(a):"script"!==b&&"undefined"!=typeof
a.getElementsByTagName&&c.grep(a.getElementsByTagName("input"),db)}function
db(a){if("checkbox"===a.type||"radio"===a.type)a.defaultChecked=a.checked}function
ma(a){return"undefined"!=typeof
a.getElementsByTagName?a.getElementsByTagName("*"):"undefined"!=
typeof a.querySelectorAll?a.querySelectorAll("*"):[]}function eb(a,b){var
d;1===b.nodeType&&(b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.merge
Attributes(a),d=b.nodeName.toLowerCase(),"object"===d?b.outerHTML=a.outerHTML:"input
"!==d||"checkbox"!==a.type&&"radio"!==a.type?"option"===d?b.selected=a.defaultSelect
ed:"input"===d||"textarea"===d?b.defaultValue=a.defaultValue:"script"===d&&b.text!==
a.text&&(b.text=a.text):(a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!=
=a.value&&
(b.value=a.value)),b.removeAttribute(c.expando),b.removeAttribute("_submit_attached"
),b.removeAttribute("_change_attached"))}function
fb(a,b){if(1===b.nodeType&&c.hasData(a)){var d,e,f;e=c._data(a);var
g=c._data(b,e),h=e.events;if(h)for(d in delete
g.handle,g.events={},h){e=0;for(f=h[d].length;e<f;e++)c.event.add(b,d,h[d][e])}g.dat
a&&(g.data=c.extend({},g.data))}}function gb(a){var
b=hb.split("|"),a=a.createDocumentFragment();if(a.createElement)for(;b.length;)a.cre
ateElement(b.pop());return a}function ib(a,
b,d){b=b||0;if(c.isFunction(b))return
c.grep(a,function(a,e){return!!b.call(a,e,a)===d});if(b.nodeType)return
c.grep(a,function(a){return a===b===d});if("string"==typeof b){var
e=c.grep(a,function(a){return 1===a.nodeType});if($b.test(b))return
c.filter(b,e,!d);b=c.filter(b,e)}return c.grep(a,function(a){return
0<=c.inArray(a,b)===d})}function na(){return!0}function U(){return!1}function
jb(a,b,d){var
e=b+"defer",f=b+"queue",g=b+"mark",h=c._data(a,e);h&&("queue"===d||!c._data(a,f))&&(
"mark"===d||
!c._data(a,g))&&setTimeout(function(){!c._data(a,f)&&!c._data(a,g)&&(c.removeData(a,
Page 1
- 2. combined_presentation_init
e,!0),h.fire())},0)}function Ha(a){for(var b in
a)if(!("data"===b&&c.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function
kb(a,b,d){if(d===n&&1===a.nodeType)if(d="data-"+b.replace(ac,"-$1").toLowerCase(),d=
a.getAttribute(d),"string"==typeof
d){try{d="true"===d?!0:"false"===d?!1:"null"===d?null:c.isNumeric(d)?+d:bc.test(d)?c
.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=n;return d}var
k=p.document,cc=p.location,
c,lb=function(){if(!j.isReady){try{k.documentElement.doScroll("left")}catch(a){setTi
meout(lb,1);return}j.ready()}},j=function(a,b){return new
j.fn.init(a,b,mb)},dc=p.jQuery,ec=p.$,mb,fc=/^(?:[^#<]*(<[wW]+>)[^>]*$|#([w-]*)$
)/,nb=/S/,ob=/^s+/,pb=/s+$/,gc=/^<(w+)s*/?>(?:</1>)?$/,hc=/^[],:{}s]*$/,ic
=/(?:["/bfnrt]|u[0-9a-fA-F]{4})/g,jc=/"[^"nr]*"|true|false|null|-?d+(?:.
d*)?(?:[eE][+-]?d+)?/g,kc=/(?:^|:|,)(?:s*[)+/g,lc=/(webkit)[
/]([w.]+)/,mc=/(opera)(?:.*version)?[ /]([w.]+)/,
nc=/(msie) ([w.]+)/,oc=/(mozilla)(?:.*?
rv:([w.]+))?/,pc=/-([a-z]|[0-9])/ig,qc=/^-ms-/,rc=function(a,b){return(b+"").toUppe
rCase()},sc=p.navigator.userAgent,oa,pa,V,tc=Object.prototype.toString,Ia=Object.pro
totype.hasOwnProperty,Ja=Array.prototype.push,ba=Array.prototype.slice,qb=String.pro
totype.trim,rb=Array.prototype.indexOf,sb={};j.fn=j.prototype={constructor:j,init:fu
nction(a,b,d){var e,c;if(!a)return this;if(a.nodeType)return
this.context=this[0]=a,this.length=1,this;if("body"===a&&!b&&k.body)return
this.context=
k,this[0]=k.body,this.selector=a,this.length=1,this;if("string"==typeof
a){"<"!==a.charAt(0)||">"!==a.charAt(a.length-1)||3>a.length?e=fc.exec(a):e=[null,a,
null];if(e&&(e[1]||!b)){if(e[1])return c=(b=b instanceof
j?b[0]:b)?b.ownerDocument||b:k,(d=gc.exec(a))?j.isPlainObject(b)?(a=[k.createElement
(d[1])],j.fn.attr.call(a,b,!0)):a=[c.createElement(d[1])]:(d=j.buildFragment([e[1]],
[c]),a=(d.cacheable?j.clone(d.fragment):d.fragment).childNodes),j.merge(this,a);if((
b=k.getElementById(e[2]))&&b.parentNode){if(b.id!==
e[2])return d.find(a);this.length=1;this[0]=b}this.context=k;this.selector=a;return
this}return!b||b.jquery?(b||d).find(a):this.constructor(b).find(a)}if(j.isFunction(a
))return
d.ready(a);a.selector!==n&&(this.selector=a.selector,this.context=a.context);return
j.makeArray(a,this)},selector:"",jquery:"1.7.2",length:0,size:function(){return
this.length},toArray:function(){return ba.call(this,0)},get:function(a){return
null==a?this.toArray():0>a?this[this.length+a]:this[a]},pushStack:function(a,b,d){va
r e=
this.constructor();j.isArray(a)?Ja.apply(e,a):j.merge(e,a);e.prevObject=this;e.conte
xt=this.context;"find"===b?e.selector=this.selector+(this.selector?"
":"")+d:b&&(e.selector=this.selector+"."+b+"("+d+")");return
e},each:function(a,b){return
j.each(this,a,b)},ready:function(a){j.bindReady();pa.add(a);return
this},eq:function(a){a=+a;return-1===a?this.slice(a):this.slice(a,a+1)},first:functi
on(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return
this.pushStack(ba.apply(this,
arguments),"slice",ba.call(arguments).join(","))},map:function(a){return
this.pushStack(j.map(this,function(b,d){return
a.call(b,d,b)}))},end:function(){return
this.prevObject||this.constructor(null)},push:Ja,sort:[].sort,splice:[].splice};j.fn
.init.prototype=j.fn;j.extend=j.fn.extend=function(){var
a,b,d,e,c,g,h=arguments[0]||{},i=1,l=arguments.length,m=!1;"boolean"==typeof
h&&(m=h,h=arguments[1]||{},i=2);"object"!=typeof
h&&!j.isFunction(h)&&(h={});for(l===i&&(h=this,--i);i<l;i++)if(null!=(a=arguments[i]
))for(b in a)d=
h[b],e=a[b],h!==e&&(m&&e&&(j.isPlainObject(e)||(c=j.isArray(e)))?(c?(c=!1,g=d&&j.isA
rray(d)?d:[]):g=d&&j.isPlainObject(d)?d:{},h[b]=j.extend(m,g,e)):e!==n&&(h[b]=e));re
turn
h};j.extend({noConflict:function(a){p.$===j&&(p.$=ec);a&&p.jQuery===j&&(p.jQuery=dc)
;return
j},isReady:!1,readyWait:1,holdReady:function(a){a?j.readyWait++:j.ready(!0)},ready:f
unction(a){if(!0===a&&!--j.readyWait||!0!==a&&!j.isReady){if(!k.body)return
setTimeout(j.ready,1);j.isReady=!0;!0!==a&&0<--j.readyWait||(pa.fireWith(k,[j]),
j.fn.trigger&&j(k).trigger("ready").off("ready"))}},bindReady:function(){if(!pa){pa=
Page 2
- 3. combined_presentation_init
j.Callbacks("once memory");if("complete"===k.readyState)return
setTimeout(j.ready,1);if(k.addEventListener)k.addEventListener("DOMContentLoaded",V,
!1),p.addEventListener("load",j.ready,!1);else
if(k.attachEvent){k.attachEvent("onreadystatechange",V);p.attachEvent("onload",j.rea
dy);var
a=!1;try{a=null==p.frameElement}catch(b){}k.documentElement.doScroll&&a&&lb()}}},isF
unction:function(a){return"function"===j.type(a)},
isArray:Array.isArray||function(a){return"array"===j.type(a)},isWindow:function(a){r
eturn
null!=a&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)
},type:function(a){return
null==a?String(a):sb[tc.call(a)]||"object"},isPlainObject:function(a){if(!a||"object
"!==j.type(a)||a.nodeType||j.isWindow(a))return!1;try{if(a.constructor&&!Ia.call(a,"
constructor")&&!Ia.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(b){r
eturn!1}for(var d in a);return d===n||Ia.call(a,d)},
isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw
Error(a);},parseJSON:function(a){if("string"!=typeof a||!a)return
null;a=j.trim(a);if(p.JSON&&p.JSON.parse)return
p.JSON.parse(a);if(hc.test(a.replace(ic,"@").replace(jc,"]").replace(kc,"")))return(
new Function("return "+a))();j.error("Invalid JSON:
"+a)},parseXML:function(a){if("string"!=typeof a||!a)return null;var
b,d;try{p.DOMParser?(d=new DOMParser,b=d.parseFromString(a,"text/xml")):(b=new
ActiveXObject("Microsoft.XMLDOM"),
b.async="false",b.loadXML(a))}catch(e){b=n}(!b||!b.documentElement||b.getElementsByT
agName("parsererror").length)&&j.error("Invalid XML: "+a);return
b},noop:function(){},globalEval:function(a){a&&nb.test(a)&&(p.execScript||function(a
){p.eval.call(p,a)})(a)},camelCase:function(a){return
a.replace(qc,"ms-").replace(pc,rc)},nodeName:function(a,b){return
a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var
e,c=0,g=a.length,h=g===n||j.isFunction(a);if(d)if(h)for(e in a){if(!1===
b.apply(a[e],d))break}else for(;c<g&&!1!==b.apply(a[c++],d););else if(h)for(e in
a){if(!1===b.call(a[e],e,a[e]))break}else
for(;c<g&&!1!==b.call(a[c],c,a[c++]););return a},trim:qb?function(a){return
null==a?"":qb.call(a)}:function(a){return
null==a?"":(a+"").replace(ob,"").replace(pb,"")},makeArray:function(a,b){var
d=b||[];if(null!=a){var
e=j.type(a);null==a.length||"string"===e||"function"===e||"regexp"===e||j.isWindow(a
)?Ja.call(d,a):j.merge(d,a)}return d},inArray:function(a,b,d){var
e;if(b){if(rb)return rb.call(b,
a,d);e=b.length;for(d=d?0>d?Math.max(0,e+d):d:0;d<e;d++)if(d in b&&b[d]===a)return
d}return-1},merge:function(a,b){var d=a.length,e=0;if("number"==typeof
b.length)for(var c=b.length;e<c;e++)a[d++]=b[e];else
for(;b[e]!==n;)a[d++]=b[e++];a.length=d;return a},grep:function(a,b,d){for(var
e=[],c,d=!!d,g=0,h=a.length;g<h;g++)c=!!b(a[g],g),d!==c&&e.push(a[g]);return
e},map:function(a,b,d){var e,c,g=[],h=0,i=a.length;if(a instanceof
j||i!==n&&"number"==typeof i&&(0<i&&a[0]&&a[i-1]||0===i||j.isArray(a)))for(;h<
i;h++)e=b(a[h],h,d),null!=e&&(g[g.length]=e);else for(c in
a)e=b(a[c],c,d),null!=e&&(g[g.length]=e);return
g.concat.apply([],g)},guid:1,proxy:function(a,b){if("string"==typeof b)var
d=a[b],b=a,a=d;if(!j.isFunction(a))return n;var
e=ba.call(arguments,2),d=function(){return
a.apply(b,e.concat(ba.call(arguments)))};d.guid=a.guid=a.guid||d.guid||j.guid++;retu
rn d},access:function(a,b,d,e,c,g,h){var
i,l=null==d,m=0,y=a.length;if(d&&"object"==typeof d){for(m in
d)j.access(a,b,m,d[m],1,g,e);c=1}else if(e!==
n){i=h===n&&j.isFunction(e);l&&(i?(i=b,b=function(a,b,d){return
i.call(j(a),d)}):(b.call(a,e),b=null));if(b)for(;m<y;m++)b(a[m],d,i?e.call(a[m],m,b(
a[m],d)):e,h);c=1}return c?a:l?b.call(a):y?b(a[0],d):g},now:function(){return(new
Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=lc.exec(a)||mc.exec(a)||nc.
exec(a)||0>a.indexOf("compatible")&&oc.exec(a)||[];return{browser:a[1]||"",version:a
[2]||"0"}},sub:function(){function a(b,e){return new
a.fn.init(b,e)}j.extend(!0,a,this);a.superclass=this;
a.fn=a.prototype=this();a.fn.constructor=a;a.sub=this.sub;a.fn.init=function(d,e){e&
Page 3
- 4. combined_presentation_init
&e instanceof j&&!(e instanceof a)&&(e=a(e));return
j.fn.init.call(this,d,e,b)};a.fn.init.prototype=a.fn;var b=a(k);return
a},browser:{}});j.each("Boolean Number String Function Array Date RegExp
Object".split(" "),function(a,b){sb["[object
"+b+"]"]=b.toLowerCase()});oa=j.uaMatch(sc);oa.browser&&(j.browser[oa.browser]=!0,j.
browser.version=oa.version);j.browser.webkit&&(j.browser.safari=!0);nb.test("u00a0"
)&&(ob=/^[sxA0]+/,
pb=/[sxA0]+$/);mb=j(k);k.addEventListener?V=function(){k.removeEventListener("DOMC
ontentLoaded",V,!1);j.ready()}:k.attachEvent&&(V=function(){"complete"===k.readyStat
e&&(k.detachEvent("onreadystatechange",V),j.ready())});c=j;var
tb={};c.Callbacks=function(a){var b;if(a){if(!(b=tb[a])){b=a;var
d=tb[b]={},e,f;b=b.split(/s+/);e=0;for(f=b.length;e<f;e++)d[b[e]]=!0;b=d}}else
b={};var a=b,g=[],h=[],i,l,m,y,O,k,t=function(b){var
d,e,f,h;d=0;for(e=b.length;d<e;d++)f=b[d],h=c.type(f),"array"===h?t(f):"function"===
h&&(!a.unique||!p.has(f))&&g.push(f)},j=function(b,d){d=d||[];i=!a.memory||[b,d];m=l
=!0;k=y||0;y=0;for(O=g.length;g&&k<O;k++)if(!1===g[k].apply(b,d)&&a.stopOnFalse){i=!
0;break}m=!1;g&&(a.once?!0===i?p.disable():g=[]:h&&h.length&&(i=h.shift(),p.fireWith
(i[0],i[1])))},p={add:function(){if(g){var
a=g.length;t(arguments);m?O=g.length:i&&!0!==i&&(y=a,j(i[0],i[1]))}return
this},remove:function(){if(g)for(var b=arguments,d=0,e=b.length;d<e;d++)for(var
c=0;c<g.length&&!(b[d]===g[c]&&(m&&c<=O&&(O--,c<=k&&
k--),g.splice(c--,1),a.unique));c++);return this},has:function(a){if(g)for(var
b=0,d=g.length;b<d;b++)if(a===g[b])return!0;return!1},empty:function(){g=[];return
this},disable:function(){g=h=i=n;return
this},disabled:function(){return!g},lock:function(){h=n;(!i||!0===i)&&p.disable();re
turn
this},locked:function(){return!h},fireWith:function(b,d){h&&(m?a.once||h.push([b,d])
:(!a.once||!i)&&j(b,d));return
this},fire:function(){p.fireWith(this,arguments);return
this},fired:function(){return!!l}};return p};
var Ka=[].slice;c.extend({Deferred:function(a){var b=c.Callbacks("once
memory"),d=c.Callbacks("once
memory"),e=c.Callbacks("memory"),f="pending",g={resolve:b,reject:d,notify:e},h={done
:b.add,fail:d.add,progress:e.add,state:function(){return
f},isResolved:b.fired,isRejected:d.fired,then:function(a,b,d){i.done(a).fail(b).prog
ress(d);return
this},always:function(){i.done.apply(i,arguments).fail.apply(i,arguments);return
this},pipe:function(a,b,d){return c.Deferred(function(e){c.each({done:[a,"resolve"],
fail:[b,"reject"],progress:[d,"notify"]},function(a,b){var
d=b[0],f=b[1],g;c.isFunction(d)?i[a](function(){(g=d.apply(this,arguments))&&c.isFun
ction(g.promise)?g.promise().then(e.resolve,e.reject,e.notify):e[f+"With"](this===i?
e:this,[g])}):i[a](e[f])})}).promise()},promise:function(a){if(null==a)a=h;else
for(var b in h)a[b]=h[b];return a}},i=h.promise({}),l;for(l in
g)i[l]=g[l].fire,i[l+"With"]=g[l].fireWith;i.done(function(){f="resolved"},d.disable
,e.lock).fail(function(){f="rejected"},b.disable,
e.lock);a&&a.call(i,i);return i},when:function(a){function b(a){return
function(b){h[a]=1<arguments.length?Ka.call(arguments,0):b;l.notifyWith(m,h)}}functi
on d(a){return
function(b){e[a]=1<arguments.length?Ka.call(arguments,0):b;--i||l.resolveWith(l,e)}}
var
e=Ka.call(arguments,0),f=0,g=e.length,h=Array(g),i=g,l=1>=g&&a&&c.isFunction(a.promi
se)?a:c.Deferred(),m=l.promise();if(1<g){for(;f<g;f++)e[f]&&e[f].promise&&c.isFuncti
on(e[f].promise)?e[f].promise().then(d(f),l.reject,b(f)):--i;i||l.resolveWith(l,
e)}else l!==a&&l.resolveWith(l,g?[a]:[]);return m}});var uc=c,La;var
u,Ma,W,qa,ra,x,I,ca,sa,Na,da,q=k.createElement("div");q.setAttribute("className","t"
);q.innerHTML=" <link/><table></table><a href='/a'
style='top:1px;float:left;opacity:.55;'>a</a><input
type='checkbox'/>";Ma=q.getElementsByTagName("*");W=q.getElementsByTagName("a")[0];i
f(!Ma||!Ma.length||!W)La={};else{qa=k.createElement("select");ra=qa.appendChild(k.cr
eateElement("option"));x=q.getElementsByTagName("input")[0];u={leadingWhitespace:3==
=
q.firstChild.nodeType,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!
q.getElementsByTagName("link").length,style:/top/.test(W.getAttribute("style")),href
Page 4
- 5. combined_presentation_init
Normalized:"/a"===W.getAttribute("href"),opacity:/^0.55/.test(W.style.opacity),cssFl
oat:!!W.style.cssFloat,checkOn:"on"===x.value,optSelected:ra.selected,getSetAttribut
e:"t"!==q.className,enctype:!!k.createElement("form").enctype,html5Clone:"<:nav></:n
av>"!==k.createElement("nav").cloneNode(!0).outerHTML,submitBubbles:!0,changeBubbles
:!0,
focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkW
rapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0};c.boxModel=u.boxModel="CSS1Compa
t"===k.compatMode;x.checked=!0;u.noCloneChecked=x.cloneNode(!0).checked;qa.disabled=
!0;u.optDisabled=!ra.disabled;try{delete
q.test}catch(ld){u.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&
&(q.attachEvent("onclick",function(){u.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("
onclick"));x=k.createElement("input");x.value=
"t";x.setAttribute("type","radio");u.radioValue="t"===x.value;x.setAttribute("checke
d","checked");x.setAttribute("name","t");q.appendChild(x);I=k.createDocumentFragment
();I.appendChild(q.lastChild);u.checkClone=I.cloneNode(!0).cloneNode(!0).lastChild.c
hecked;u.appendChecked=x.checked;I.removeChild(x);I.appendChild(q);if(q.attachEvent)
for(Na in{submit:1,change:1,focusin:1})sa="on"+Na,(da=sa in
q)||(q.setAttribute(sa,"return;"),da="function"==typeof
q[sa]),u[Na+"Bubbles"]=da;I.removeChild(q);I=qa=ra=
q=x=null;c(function(){var
a,b,d,e,f,g,h=k.getElementsByTagName("body")[0];!h||(a=k.createElement("div"),a.styl
e.cssText="padding:0;margin:0;border:0;visibility:hidden;width:0;height:0;position:s
tatic;top:0;margin-top:1px",h.insertBefore(a,h.firstChild),q=k.createElement("div"),
a.appendChild(q),q.innerHTML="<table><tr><td
style='padding:0;margin:0;border:0;display:none'></td><td>t</td></tr></table>",ca=q.
getElementsByTagName("td"),da=0===ca[0].offsetHeight,ca[0].style.display="",ca[1].st
yle.display=
"none",u.reliableHiddenOffsets=da&&0===ca[0].offsetHeight,p.getComputedStyle&&(q.inn
erHTML="",g=k.createElement("div"),g.style.width="0",g.style.marginRight="0",q.style
.width="2px",q.appendChild(g),u.reliableMarginRight=0===(parseInt((p.getComputedStyl
e(g,null)||{marginRight:0}).marginRight,10)||0)),"undefined"!=typeof
q.style.zoom&&(q.innerHTML="",q.style.width=q.style.padding="1px",q.style.border=0,q
.style.overflow="hidden",q.style.display="inline",q.style.zoom=1,u.inlineBlockNeedsL
ayout=3===q.offsetWidth,
q.style.display="block",q.style.overflow="visible",q.innerHTML="<div
style='width:5px;'></div>",u.shrinkWrapBlocks=3!==q.offsetWidth),q.style.cssText="po
sition:absolute;top:0;left:0;width:1px;height:1px;padding:0;margin:0;border:0;visibi
lity:hidden;",q.innerHTML="<div
style='position:absolute;top:0;left:0;width:1px;height:1px;padding:0;margin:0;border
:5px solid #000;display:block;'><div
style='padding:0;margin:0;border:0;display:block;overflow:hidden;'></div></div><tabl
e
style='position:absolute;top:0;left:0;width:1px;height:1px;padding:0;margin:0;border
:5px solid #000;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>",
b=q.firstChild,d=b.firstChild,e=b.nextSibling.firstChild.firstChild,f={doesNotAddBor
der:5!==d.offsetTop,doesAddBorderForTableAndCells:5===e.offsetTop},d.style.position=
"fixed",d.style.top="20px",f.fixedPosition=20===d.offsetTop||15===d.offsetTop,d.styl
e.position=d.style.top="",b.style.overflow="hidden",b.style.position="relative",f.su
btractsBorderForOverflowNotVisible=-5===d.offsetTop,f.doesNotIncludeMarginInBodyOffs
et=1!==h.offsetTop,p.getComputedStyle&&(q.style.marginTop="1%",u.pixelMargin="1%"!==
(p.getComputedStyle(q,null)||{marginTop:0}).marginTop),"undefined"!=typeof
a.style.zoom&&(a.style.zoom=1),h.removeChild(a),q=null,c.extend(u,f))});La=u}uc.supp
ort=La;var
bc=/^(?:{.*}|[.*])$/,ac=/([A-Z])/g;c.extend({cache:{},uuid:0,expando:"jQuery"+(c
.fn.jquery+Math.random()).replace(/D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-
AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?c.cache[a[c
.expando]]:a[c.expando];return!!a&&!Ha(a)},data:function(a,b,d,e){if(c.acceptData(a)
){var f,
g;f=c.expando;var h="string"==typeof
b,i=a.nodeType,l=i?c.cache:a,m=i?a[f]:a[f]&&f,y="events"===b;if(m&&l[m]&&(y||e||l[m]
.data)||!(h&&d===n)){m||(i?a[f]=m=++c.uuid:m=f);l[m]||(l[m]={},i||(l[m].toJSON=c.noo
p));if("object"==typeof b||"function"==typeof
b)e?l[m]=c.extend(l[m],b):l[m].data=c.extend(l[m].data,b);a=f=l[m];e||(f.data||(f.da
Page 5
- 6. combined_presentation_init
ta={}),f=f.data);d!==n&&(f[c.camelCase(b)]=d);if(y&&!f[b])return
a.events;h?(g=f[b],null==g&&(g=f[c.camelCase(b)])):g=f;return
g}}},removeData:function(a,b,d){if(c.acceptData(a)){var e,
f,g,h=c.expando,i=a.nodeType,l=i?c.cache:a,m=i?a[h]:h;if(l[m]){if(b&&(e=d?l[m]:l[m].
data)){c.isArray(b)||(b in e?b=[b]:(b=c.camelCase(b),b in e?b=[b]:b=b.split("
")));f=0;for(g=b.length;f<g;f++)delete
e[b[f]];if(!(d?Ha:c.isEmptyObject)(e))return}if(!d&&(delete
l[m].data,!Ha(l[m])))return;c.support.deleteExpando||!l.setInterval?delete
l[m]:l[m]=null;i&&(c.support.deleteExpando?delete
a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null)}}},_data:function(a,b,d){retu
rn c.data(a,b,d,!0)},acceptData:function(a){if(a.nodeName){var b=
c.noData[a.nodeName.toLowerCase()];if(b)return!0!==b&&a.getAttribute("classid")===b}
return!0}});c.fn.extend({data:function(a,b){var
d,e,f,g,h,i=this[0],l=0,m=null;if(a===n){if(this.length&&(m=c.data(i),1===i.nodeType
&&!c._data(i,"parsedAttrs"))){f=i.attributes;for(h=f.length;l<h;l++)g=f[l].name,0===
g.indexOf("data-")&&(g=c.camelCase(g.substring(5)),kb(i,g,m[g]));c._data(i,"parsedAt
trs",!0)}return m}if("object"==typeof a)return
this.each(function(){c.data(this,a)});d=a.split(".",2);d[1]=d[1]?"."+d[1]:
"";e=d[1]+"!";return c.access(this,function(b){if(b===n)return
m=this.triggerHandler("getData"+e,[d[0]]),m===n&&i&&(m=c.data(i,a),m=kb(i,a,m)),m===
n&&d[1]?this.data(d[0]):m;d[1]=b;this.each(function(){var
f=c(this);f.triggerHandler("setData"+e,d);c.data(this,a,b);f.triggerHandler("changeD
ata"+e,d)})},null,b,1<arguments.length,null,!1)},removeData:function(a){return
this.each(function(){c.removeData(this,a)})}});c.extend({_mark:function(a,b){a&&(b=(
b||"fx")+"mark",c._data(a,b,(c._data(a,b)||0)+1))},
_unmark:function(a,b,d){!0!==a&&(d=b,b=a,a=!1);if(b){var
d=d||"fx",e=d+"mark";(a=a?0:(c._data(b,e)||1)-1)?c._data(b,e,a):(c.removeData(b,e,!0
),jb(b,d,"mark"))}},queue:function(a,b,d){var e;if(a)return
b=(b||"fx")+"queue",e=c._data(a,b),d&&(!e||c.isArray(d)?e=c._data(a,b,c.makeArray(d)
):e.push(d)),e||[]},dequeue:function(a,b){var
b=b||"fx",d=c.queue(a,b),e=d.shift(),f={};"inprogress"===e&&(e=d.shift());e&&("fx"==
=b&&d.unshift("inprogress"),c._data(a,b+".run",f),e.call(a,function(){c.dequeue(a,b)
},
f));d.length||(c.removeData(a,b+"queue
"+b+".run",!0),jb(a,b,"queue"))}});c.fn.extend({queue:function(a,b){var
d=2;"string"!=typeof a&&(b=a,a="fx",d--);return
arguments.length<d?c.queue(this[0],a):b===n?this:this.each(function(){var
d=c.queue(this,a,b);"fx"===a&&"inprogress"!==d[0]&&c.dequeue(this,a)})},dequeue:func
tion(a){return
this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]|
|a:a;return this.queue(b||"fx",function(b,e){var
c=setTimeout(b,a);e.stop=function(){clearTimeout(c)}})},
clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){function
d(){--h||e.resolveWith(f,[f])}"string"!=typeof a&&(b=a,a=n);for(var
a=a||"fx",e=c.Deferred(),f=this,g=f.length,h=1,i=a+"defer",l=a+"queue",m=a+"mark",y;
g--;)if(y=c.data(f[g],i,n,!0)||(c.data(f[g],l,n,!0)||c.data(f[g],m,n,!0))&&c.data(f[
g],i,c.Callbacks("once memory"),!0))h++,y.add(d);d();return e.promise(b)}});var
ub=/[ntr]/g,ta=/s+/,vc=/r/g,wc=/^(?:button|input)$/i,xc=/^(?:button|input|objec
t|select|textarea)$/i,
yc=/^a(?:rea)?$/i,vb=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|h
idden|loop|multiple|open|readonly|required|scoped|selected)$/i,wb=c.support.getSetAt
tribute,L,xb,yb;c.fn.extend({attr:function(a,b){return
c.access(this,c.attr,a,b,1<arguments.length)},removeAttr:function(a){return
this.each(function(){c.removeAttr(this,a)})},prop:function(a,b){return
c.access(this,c.prop,a,b,1<arguments.length)},removeProp:function(a){a=c.propFix[a]|
|a;return this.each(function(){try{this[a]=n,delete this[a]}catch(b){}})},
addClass:function(a){var b,d,e,f,g,h,i;if(c.isFunction(a))return
this.each(function(b){c(this).addClass(a.call(this,b,this.className))});if(a&&"strin
g"==typeof
a){b=a.split(ta);d=0;for(e=this.length;d<e;d++)if(f=this[d],1===f.nodeType)if(!f.cla
ssName&&1===b.length)f.className=a;else{g=" "+f.className+"
";h=0;for(i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+"
");f.className=c.trim(g)}}return this},removeClass:function(a){var
Page 6
- 7. combined_presentation_init
b,d,e,f,g,h,i;if(c.isFunction(a))return
this.each(function(b){c(this).removeClass(a.call(this,
b,this.className))});if(a&&"string"==typeof
a||a===n){b=(a||"").split(ta);d=0;for(e=this.length;d<e;d++)if(f=this[d],1===f.nodeT
ype&&f.className)if(a){g=(" "+f.className+" ").replace(ub,"
");h=0;for(i=b.length;h<i;h++)g=g.replace(" "+b[h]+" ","
");f.className=c.trim(g)}else f.className=""}return
this},toggleClass:function(a,b){var d=typeof a,e="boolean"==typeof b;return
c.isFunction(a)?this.each(function(d){c(this).toggleClass(a.call(this,d,this.classNa
me,b),b)}):this.each(function(){if("string"===
d)for(var
f,g=0,h=c(this),i=b,l=a.split(ta);f=l[g++];)i=e?i:!h.hasClass(f),h[i?"addClass":"rem
oveClass"](f);else
if("undefined"===d||"boolean"===d)this.className&&c._data(this,"__className__",this.
className),this.className=this.className||!1===a?"":c._data(this,"__className__")||"
"})},hasClass:function(a){for(var a=" "+a+"
",b=0,d=this.length;b<d;b++)if(1===this[b].nodeType&&-1<(" "+this[b].className+"
").replace(ub," ").indexOf(a))return!0;return!1},val:function(a){var
b,d,e,f=this[0];if(arguments.length)return e=
c.isFunction(a),this.each(function(d){var
f=c(this),i;if(1===this.nodeType&&(e?i=a.call(this,d,f.val()):i=a,null==i?i="":"numb
er"==typeof i?i+="":c.isArray(i)&&(i=c.map(i,function(a){return
null==a?"":a+""})),b=c.valHooks[this.type]||c.valHooks[this.nodeName.toLowerCase()],
!b||!("set"in
b)||b.set(this,i,"value")===n))this.value=i});if(f){if((b=c.valHooks[f.type]||c.valH
ooks[f.nodeName.toLowerCase()])&&"get"in b&&(d=b.get(f,"value"))!==n)return
d;d=f.value;return"string"==typeof d?d.replace(vc,""):
null==d?"":d}}});c.extend({valHooks:{option:{get:function(a){var
b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){
var b,d,e=a.selectedIndex,f=[],g=a.options,h="select-one"===a.type;if(0>e)return
null;a=h?e:0;for(d=h?e+1:g.length;a<d;a++)if(b=g[a],b.selected&&(c.support.optDisabl
ed?!b.disabled:null===b.getAttribute("disabled"))&&(!b.parentNode.disabled||!c.nodeN
ame(b.parentNode,"optgroup"))){b=c(b).val();if(h)return b;f.push(b)}return
h&&!f.length&&g.length?c(g[e]).val():
f},set:function(a,b){var
d=c.makeArray(b);c(a).find("option").each(function(){this.selected=0<=c.inArray(c(th
is).val(),d)});d.length||(a.selectedIndex=-1);return
d}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},att
r:function(a,b,d,e){var f,g,h=a.nodeType;if(a&&3!==h&&8!==h&&2!==h){if(e&&b in
c.attrFn)return c(a)[b](d);if("undefined"==typeof a.getAttribute)return
c.prop(a,b,d);(e=1!==h||!c.isXMLDoc(a))&&(b=b.toLowerCase(),g=c.attrHooks[b]||(vb.te
st(b)?xb:L));if(d!==
n){if(null===d){c.removeAttr(a,b);return}if(g&&"set"in
g&&e&&(f=g.set(a,d,b))!==n)return f;a.setAttribute(b,""+d);return d}if(g&&"get"in
g&&e&&null!==(f=g.get(a,b)))return f;f=a.getAttribute(b);return
null===f?n:f}},removeAttr:function(a,b){var
d,e,f,g,h,i=0;if(b&&1===a.nodeType){e=b.toLowerCase().split(ta);for(g=e.length;i<g;i
++)(f=e[i])&&(d=c.propFix[f]||f,h=vb.test(f),h||c.attr(a,f,""),a.removeAttribute(wb?
f:d),h&&d in
a&&(a[d]=!1))}},attrHooks:{type:{set:function(a,b){if(wc.test(a.nodeName)&&
a.parentNode)c.error("type property can't be changed");else
if(!c.support.radioValue&&"radio"===b&&c.nodeName(a,"input")){var
d=a.value;a.setAttribute("type",b);d&&(a.value=d);return
b}}},value:{get:function(a,b){return L&&c.nodeName(a,"button")?L.get(a,b):b in
a?a.value:null},set:function(a,b,d){if(L&&c.nodeName(a,"button"))return
L.set(a,b,d);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"ht
mlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpaddi
ng:"cellPadding",
rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",conten
teditable:"contentEditable"},prop:function(a,b,d){var
e,f,g;g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return(g=1!==g||!c.isXMLDoc(a))&&(b=c.p
ropFix[b]||b,f=c.propHooks[b]),d!==n?f&&"set"in
f&&(e=f.set(a,d,b))!==n?e:a[b]=d:f&&"get"in
Page 7
- 8. combined_presentation_init
f&&null!==(e=f.get(a,b))?e:a[b]},propHooks:{tabIndex:{get:function(a){var
b=a.getAttributeNode("tabindex");return
b&&b.specified?parseInt(b.value,10):xc.test(a.nodeName)||yc.test(a.nodeName)&&
a.href?0:n}}}});c.attrHooks.tabindex=c.propHooks.tabIndex;xb={get:function(a,b){var
d,e=c.prop(a,b);return!0===e||"boolean"!=typeof
e&&(d=a.getAttributeNode(b))&&!1!==d.nodeValue?b.toLowerCase():n},set:function(a,b,d
){var e;!1===b?c.removeAttr(a,d):(e=c.propFix[d]||d,e in
a&&(a[e]=!0),a.setAttribute(d,d.toLowerCase()));return
d}};wb||(yb={name:!0,id:!0,coords:!0},L=c.valHooks.button={get:function(a,b){var
d;return(d=a.getAttributeNode(b))&&(yb[b]?""!==d.nodeValue:d.specified)?d.nodeValue:
n},set:function(a,
b,d){var
e=a.getAttributeNode(d);e||(e=k.createAttribute(d),a.setAttributeNode(e));return
e.nodeValue=b+""}},c.attrHooks.tabindex.set=L.set,c.each(["width","height"],function
(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{set:function(a,e){if(""===e)return
a.setAttribute(b,"auto"),e}})}),c.attrHooks.contenteditable={get:L.get,set:function(
a,b,d){""===b&&(b="false");L.set(a,b,d)}});c.support.hrefNormalized||c.each(["href",
"src","width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{get:fu
nction(a){a=
a.getAttribute(b,2);return
null===a?n:a}})});c.support.style||(c.attrHooks.style={get:function(a){return
a.style.cssText.toLowerCase()||n},set:function(a,b){return
a.style.cssText=""+b}});c.support.optSelected||(c.propHooks.selected=c.extend(c.prop
Hooks.selected,{get:function(a){a=a.parentNode;a&&(a.selectedIndex,a.parentNode&&a.p
arentNode.selectedIndex);return
null}}));c.support.enctype||(c.propFix.enctype="encoding");c.support.checkOn||c.each
(["radio","checkbox"],function(){c.valHooks[this]={get:function(a){return null===
a.getAttribute("value")?"on":a.value}}});c.each(["radio","checkbox"],function(){c.va
lHooks[this]=c.extend(c.valHooks[this],{set:function(a,b){if(c.isArray(b))return
a.checked=0<=c.inArray(c(a).val(),b)}})});var
Oa=/^(?:textarea|input|select)$/i,zb=/^([^.]*)?(?:.(.+))?$/,zc=/(?:^|s)hover(.S
+)?b/,Ac=/^key/,Bc=/^(?:mouse|contextmenu)|click/,Ab=/^(?:focusinfocus|focusoutblur
)$/,Cc=/^(w*)(?:#([w-]+))?(?:.([w-]+))?$/,Dc=function(a){(a=Cc.exec(a))&&(a[1]
=(a[1]||"").toLowerCase(),a[3]=a[3]&&RegExp("(?:^|s)"+
a[3]+"(?:s|$)"));return a},Bb=function(a){return
c.event.special.hover?a:a.replace(zc,"mouseenter$1
mouseleave$1")};c.event={add:function(a,b,d,e,f){var
g,h,i,l,m,y,k,j,t;if(!(3===a.nodeType||8===a.nodeType||!b||!d||!(g=c._data(a)))){d.h
andler&&(k=d,d=k.handler,f=k.selector);d.guid||(d.guid=c.guid++);(i=g.events)||(g.ev
ents=i={});(h=g.handle)||(g.handle=h=function(a){return"undefined"!=typeof
c&&(!a||c.event.triggered!==a.type)?c.event.dispatch.apply(h.elem,arguments):n},h.el
em=a);b=c.trim(Bb(b)).split(" ");
for(g=0;g<b.length;g++){l=zb.exec(b[g])||[];m=l[1];y=(l[2]||"").split(".").sort();t=
c.event.special[m]||{};m=(f?t.delegateType:t.bindType)||m;t=c.event.special[m]||{};l
=c.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:f,quick:f&&Dc(
f),namespace:y.join(".")},k);j=i[m];if(!j&&(j=i[m]=[],j.delegateCount=0,!t.setup||!1
===t.setup.call(a,e,y,h)))a.addEventListener?a.addEventListener(m,h,!1):a.attachEven
t&&a.attachEvent("on"+m,h);t.add&&(t.add.call(a,l),l.handler.guid||(l.handler.guid=
d.guid));f?j.splice(j.delegateCount++,0,l):j.push(l);c.event.global[m]=!0}a=null}},g
lobal:{},remove:function(a,b,d,e,f){var
g=c.hasData(a)&&c._data(a),h,i,l,m,y,n,k,j,p,r,q;if(g&&(k=g.events)){b=c.trim(Bb(b||
"")).split("
");for(h=0;h<b.length;h++)if(i=zb.exec(b[h])||[],l=m=i[1],i=i[2],l){j=c.event.specia
l[l]||{};l=(e?j.delegateType:j.bindType)||l;r=k[l]||[];y=r.length;i=i?RegExp("(^|.
)"+i.split(".").sort().join(".(?:.*.)?")+"(.|$)"):null;for(n=0;n<r.length;n++)
q=r[n],(f||m===q.origType)&&
(!d||d.guid===q.guid)&&(!i||i.test(q.namespace))&&(!e||e===q.selector||"**"===e&&q.s
elector)&&(r.splice(n--,1),q.selector&&r.delegateCount--,j.remove&&j.remove.call(a,q
));0===r.length&&y!==r.length&&((!j.teardown||!1===j.teardown.call(a,i))&&c.removeEv
ent(a,l,g.handle),delete k[l])}else for(l in
k)c.event.remove(a,l+b[h],d,e,!0);c.isEmptyObject(k)&&(p=g.handle,p&&(p.elem=null),c
.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeDa
ta:!0},trigger:function(a,b,d,e){if(!d||
Page 8
- 9. combined_presentation_init
3!==d.nodeType&&8!==d.nodeType){var
f=a.type||a,g=[],h,i,l,m,y,k;if(!Ab.test(f+c.event.triggered)&&(0<=f.indexOf("!")&&(
f=f.slice(0,-1),h=!0),0<=f.indexOf(".")&&(g=f.split("."),f=g.shift(),g.sort()),d&&!c
.event.customEvent[f]||c.event.global[f]))if(a="object"==typeof a?a[c.expando]?a:new
c.Event(f,a):new
c.Event(f),a.type=f,a.isTrigger=!0,a.exclusive=h,a.namespace=g.join("."),a.namespace
_re=a.namespace?RegExp("(^|.)"+g.join(".(?:.*.)?")+"(.|$)"):null,h=0>f.index
Of(":")?"on"+f:"",d){if(a.result=
n,a.target||(a.target=d),b=null!=b?c.makeArray(b):[],b.unshift(a),m=c.event.special[
f]||{},!(m.trigger&&!1===m.trigger.apply(d,b))){k=[[d,m.bindType||f]];if(!e&&!m.noBu
bble&&!c.isWindow(d)){i=m.delegateType||f;g=Ab.test(i+f)?d:d.parentNode;for(l=null;g
;g=g.parentNode)k.push([g,i]),l=g;l&&l===d.ownerDocument&&k.push([l.defaultView||l.p
arentWindow||p,i])}for(i=0;i<k.length&&!a.isPropagationStopped();i++)g=k[i][0],a.typ
e=k[i][1],(y=(c._data(g,"events")||{})[a.type]&&c._data(g,"handle"))&&y.apply(g,b),
(y=h&&g[h])&&c.acceptData(g)&&!1===y.apply(g,b)&&a.preventDefault();a.type=f;!e&&!a.
isDefaultPrevented()&&(!m._default||!1===m._default.apply(d.ownerDocument,b))&&("cli
ck"!==f||!c.nodeName(d,"a"))&&c.acceptData(d)&&h&&d[f]&&("focus"!==f&&"blur"!==f||0!
==a.target.offsetWidth)&&!c.isWindow(d)&&(l=d[h],l&&(d[h]=null),c.event.triggered=f,
d[f](),c.event.triggered=n,l&&(d[h]=l));return a.result}}else for(i in
d=c.cache,d)d[i].events&&d[i].events[f]&&c.event.trigger(a,b,d[i].handle.elem,!0)}},
dispatch:function(a){var a=
c.event.fix(a||p.event),b=(c._data(this,"events")||{})[a.type]||[],d=b.delegateCount
,e=[].slice.call(arguments,0),f=!a.exclusive&&!a.namespace,g=c.event.special[a.type]
||{},h=[],i,l,m,k,j,r,t;e[0]=a;a.delegateTarget=this;if(!g.preDispatch||!1!==g.preDi
spatch.call(this,a)){if(d&&(!a.button||"click"!==a.type)){m=c(this);m.context=this.o
wnerDocument||this;for(l=a.target;l!=this;l=l.parentNode||this)if(!0!==l.disabled){j
={};r=[];m[0]=l;for(i=0;i<d;i++){k=b[i];t=k.selector;if(j[t]===n){var
q=j,s=t,z;if(k.quick){z=
k.quick;var
H=l.attributes||{};z=(!z[1]||l.nodeName.toLowerCase()===z[1])&&(!z[2]||(H.id||{}).va
lue===z[2])&&(!z[3]||z[3].test((H["class"]||{}).value))}else
z=m.is(t);q[s]=z}j[t]&&r.push(k)}r.length&&h.push({elem:l,matches:r})}}b.length>d&&h
.push({elem:this,matches:b.slice(d)});for(i=0;i<h.length&&!a.isPropagationStopped();
i++){d=h[i];a.currentTarget=d.elem;for(b=0;b<d.matches.length&&!a.isImmediatePropaga
tionStopped();b++)if(k=d.matches[b],f||!a.namespace&&!k.namespace||a.namespace_re&&a
.namespace_re.test(k.namespace))a.data=
k.data,a.handleObj=k,k=((c.event.special[k.origType]||{}).handle||k.handler).apply(d
.elem,e),k!==n&&(a.result=k,!1===k&&(a.preventDefault(),a.stopPropagation()))}g.post
Dispatch&&g.postDispatch.call(this,a);return a.result}},props:"attrChange attrName
relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase
metaKey relatedTarget shiftKey target timeStamp view which".split("
"),fixHooks:{},keyHooks:{props:["char","charCode","key","keyCode"],filter:function(a
,b){null==a.which&&
(a.which=null!=b.charCode?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button
buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY
toElement".split(" "),filter:function(a,b){var
d,e,c,g=b.button,h=b.fromElement;null==a.pageX&&null!=b.clientX&&(d=a.target.ownerDo
cument||k,e=d.documentElement,c=d.body,a.pageX=b.clientX+(e&&e.scrollLeft||c&&c.scro
llLeft||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&&h&&(a.relatedTarget=h===a.target?b.toElement:h);!
a.which&&g!==n&&(a.which=g&1?1:g&2?3:g&4?2:0);return
a}},fix:function(a){if(a[c.expando])return a;var
b,d,e=a,f=c.event.fixHooks[a.type]||{},g=f.props?this.props.concat(f.props):this.pro
ps,a=c.Event(e);for(b=g.length;b;)d=g[--b],a[d]=e[d];a.target||(a.target=e.srcElemen
t||k);3===a.target.nodeType&&(a.target=a.target.parentNode);a.metaKey===n&&(a.metaKe
y=a.ctrlKey);return f.filter?f.filter(a,e):a},special:{ready:{setup:c.bindReady},
load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},bef
oreunload:{setup:function(a,b,d){c.isWindow(this)&&(this.onbeforeunload=d)},teardown
:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:funct
ion(a,b,d,e){a=c.extend(new
c.Event,d,{type:a,isSimulated:!0,originalEvent:{}});e?c.event.trigger(a,null,b):c.ev
ent.dispatch.call(b,a);a.isDefaultPrevented()&&d.preventDefault()}};c.event.handle=c
Page 9
- 10. combined_presentation_init
.event.dispatch;c.removeEvent=k.removeEventListener?function(a,
b,d){a.removeEventListener&&a.removeEventListener(b,d,!1)}:function(a,b,d){a.detachE
vent&&a.detachEvent("on"+b,d)};c.Event=function(a,b){if(!(this instanceof
c.Event))return new
c.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevente
d=a.defaultPrevented||!1===a.returnValue||a.getPreventDefault&&a.getPreventDefault()
?na:U):this.type=a;b&&c.extend(this,b);this.timeStamp=a&&a.timeStamp||c.now();this[c
.expando]=!0};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=
na;var
a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},sto
pPropagation:function(){this.isPropagationStopped=na;var
a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)}
,stopImmediatePropagation:function(){this.isImmediatePropagationStopped=na;this.stop
Propagation()},isDefaultPrevented:U,isPropagationStopped:U,isImmediatePropagationSto
pped:U};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.
special[a]={delegateType:b,
bindType:b,handle:function(a){var
e=a.relatedTarget,f=a.handleObj,g;if(!e||e!==this&&!c.contains(this,e))a.type=f.orig
Type,g=f.handler.apply(this,arguments),a.type=b;return
g}}});c.support.submitBubbles||(c.event.special.submit={setup:function(){if(c.nodeNa
me(this,"form"))return!1;c.event.add(this,"click._submit
keypress._submit",function(a){a=a.target;(a=c.nodeName(a,"input")||c.nodeName(a,"but
ton")?a.form:n)&&!a._submit_attached&&(c.event.add(a,"submit._submit",function(a){a.
_submit_bubble=!0}),
a._submit_attached=!0)})},postDispatch:function(a){a._submit_bubble&&(delete
a._submit_bubble,this.parentNode&&!a.isTrigger&&c.event.simulate("submit",this.paren
tNode,a,!0))},teardown:function(){if(c.nodeName(this,"form"))return!1;c.event.remove
(this,"._submit")}});c.support.changeBubbles||(c.event.special.change={setup:functio
n(){if(Oa.test(this.nodeName)){if("checkbox"===this.type||"radio"===this.type)c.even
t.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.property
Name&&
(this._just_changed=!0)}),c.event.add(this,"click._change",function(a){this._just_ch
anged&&!a.isTrigger&&(this._just_changed=!1,c.event.simulate("change",this,a,!0))});
return!1}c.event.add(this,"beforeactivate._change",function(a){a=a.target;Oa.test(a.
nodeName)&&!a._change_attached&&(c.event.add(a,"change._change",function(a){this.par
entNode&&!a.isSimulated&&!a.isTrigger&&c.event.simulate("change",this.parentNode,a,!
0)}),a._change_attached=!0)})},handle:function(a){var
b=a.target;if(this!==b||a.isSimulated||
a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type)return
a.handleObj.handler.apply(this,arguments)},teardown:function(){c.event.remove(this,"
._change");return
Oa.test(this.nodeName)}});c.support.focusinBubbles||c.each({focus:"focusin",blur:"fo
cusout"},function(a,b){var
d=0,e=function(a){c.event.simulate(b,a.target,c.event.fix(a),!0)};c.event.special[b]
={setup:function(){0===d++&&k.addEventListener(a,e,!0)},teardown:function(){0===--d&
&k.removeEventListener(a,e,!0)}}});c.fn.extend({on:function(a,
b,d,e,f){var g,h;if("object"==typeof a){"string"!=typeof b&&(d=d||b,b=n);for(h in
a)this.on(h,b,d,a[h],f);return
this}null==d&&null==e?(e=b,d=b=n):null==e&&("string"==typeof
b?(e=d,d=n):(e=d,d=b,b=n));if(!1===e)e=U;else if(!e)return
this;1===f&&(g=e,e=function(a){c().off(a);return
g.apply(this,arguments)},e.guid=g.guid||(g.guid=c.guid++));return
this.each(function(){c.event.add(this,a,e,d,b)})},one:function(a,b,d,e){return
this.on(a,b,d,e,1)},off:function(a,b,d){if(a&&a.preventDefault&&a.handleObj){var e=
a.handleObj;c(a.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origTyp
e,e.selector,e.handler);return this}if("object"==typeof a){for(e in
a)this.off(e,b,a[e]);return this}if(!1===b||"function"==typeof
b)d=b,b=n;!1===d&&(d=U);return
this.each(function(){c.event.remove(this,a,d,b)})},bind:function(a,b,d){return
this.on(a,null,b,d)},unbind:function(a,b){return
this.off(a,null,b)},live:function(a,b,d){c(this.context).on(a,this.selector,b,d);ret
urn this},die:function(a,b){c(this.context).off(a,
this.selector||"**",b);return this},delegate:function(a,b,d,e){return
Page 10
- 11. combined_presentation_init
this.on(b,a,d,e)},undelegate:function(a,b,d){return
1==arguments.length?this.off(a,"**"):this.off(b,a,d)},trigger:function(a,b){return
this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(th
is[0])return c.event.trigger(a,b,this[0],!0)},toggle:function(a){var
b=arguments,d=a.guid||c.guid++,e=0,f=function(d){var
f=(c._data(this,"lastToggle"+a.guid)||0)%e;c._data(this,"lastToggle"+a.guid,f+1);d.p
reventDefault();
return b[f].apply(this,arguments)||!1};for(f.guid=d;e<b.length;)b[e++].guid=d;return
this.click(f)},hover:function(a,b){return
this.mouseenter(a).mouseleave(b||a)}});c.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){c.fn[b]=function(a,e){null==e&&(e=a,a=null);return
0<arguments.length?this.on(b,null,a,e):this.trigger(b)};
c.attrFn&&(c.attrFn[b]=!0);Ac.test(b)&&(c.event.fixHooks[b]=c.event.keyHooks);Bc.tes
t(b)&&(c.event.fixHooks[b]=c.event.mouseHooks)});var
Cb=function(a,b,d,e,c,g){for(var c=0,h=e.length;c<h;c++){var i=e[c];if(i){for(var
l=!1,i=i[a];i;){if(i[X]===d){l=e[i.sizset];break}if(1===i.nodeType)if(g||(i[X]=d,i.s
izset=c),"string"!=typeof b){if(i===b){l=!0;break}}else
if(0<r.filter(b,[i]).length){l=i;break}i=i[a]}e[c]=l}}},Db=function(a,b,d,c,f,g){for
(var f=0,h=c.length;f<h;f++){var i=c[f];if(i){for(var l=!1,
i=i[a];i;){if(i[X]===d){l=c[i.sizset];break}1===i.nodeType&&!g&&(i[X]=d,i.sizset=f);
if(i.nodeName.toLowerCase()===b){l=i;break}i=i[a]}c[f]=l}}},Pa=/((?:((?:([^()]+)|
[^()]+)+)|[(?:[[^[]]*]|['"][^'"]*['"]|[^[]'"]+)+]|.|[^
>+~,([]+)+|[>+~])(s*,s*)?((?:.|r|n)*)/g,X="sizcache"+(Math.random()+"").repla
ce(".",""),Qa=0,Eb=Object.prototype.toString,ua=!1,Fb=!0,Y=//g,Ec=/rn/g,va=/W/;
[0,0].sort(function(){Fb=!1;return 0});var r=function(a,b,d,c){var
d=d||[],f=b=b||k;if(1!==b.nodeType&&
9!==b.nodeType)return[];if(!a||"string"!=typeof a)return d;var
g,h,i,l,m,j,n=!0,p=r.isXML(b),t=[],q=a;do
if(Pa.exec(""),g=Pa.exec(q))if(q=g[3],t.push(g[1]),g[2]){l=g[3];break}while(g);if(1<
t.length&&Gb.exec(a))if(2===t.length&&s.relative[t[0]])h=Hb(t[0]+t[1],b,c);else
for(h=s.relative[t[0]]?[b]:r(t.shift(),b);t.length;)a=t.shift(),s.relative[a]&&(a+=t
.shift()),h=Hb(a,h,c);else
if(!c&&1<t.length&&9===b.nodeType&&!p&&s.match.ID.test(t[0])&&!s.match.ID.test(t[t.l
ength-1])&&(m=r.find(t.shift(),b,p),b=
m.expr?r.filter(m.expr,m.set)[0]:m.set[0]),b){m=c?{expr:t.pop(),set:E(c)}:r.find(t.p
op(),1===t.length&&("~"===t[0]||"+"===t[0])&&b.parentNode?b.parentNode:b,p);h=m.expr
?r.filter(m.expr,m.set):m.set;for(0<t.length?i=E(h):n=!1;t.length;)g=j=t.pop(),s.rel
ative[j]?g=t.pop():j="",null==g&&(g=b),s.relative[j](i,g,p)}else
i=[];i||(i=h);i||r.error(j||a);if("[object
Array]"===Eb.call(i))if(n)if(b&&1===b.nodeType)for(a=0;null!=i[a];a++)i[a]&&(!0===i[
a]||1===i[a].nodeType&&r.contains(b,i[a]))&&d.push(h[a]);
else for(a=0;null!=i[a];a++)i[a]&&1===i[a].nodeType&&d.push(h[a]);else
d.push.apply(d,i);else E(i,d);l&&(r(l,f,d,c),r.uniqueSort(d));return
d};r.uniqueSort=function(a){if(wa&&(ua=Fb,a.sort(wa),ua))for(var
b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1);return
a};r.matches=function(a,b){return
r(a,null,null,b)};r.matchesSelector=function(a,b){return
0<r(b,null,null,[a]).length};r.find=function(a,b,d){var
c,f,g,h,i,l;if(!a)return[];f=0;for(g=s.order.length;f<g;f++)if(i=s.order[f],h=s.left
Match[i].exec(a))if(l=
h[1],h.splice(1,1),""!==l.substr(l.length-1)&&(h[1]=(h[1]||"").replace(Y,""),c=s.f
ind[i](h,b,d),null!=c)){a=a.replace(s.match[i],"");break}c||(c="undefined"!=typeof
b.getElementsByTagName?b.getElementsByTagName("*"):[]);return{set:c,expr:a}};r.filte
r=function(a,b,d,c){for(var
f,g,h,i,l,m,k,j,p=a,t=[],q=b,w=b&&b[0]&&r.isXML(b[0]);a&&b.length;){for(h in
s.filter)if(null!=(f=s.leftMatch[h].exec(a))&&f[2])if(m=s.filter[h],l=f[1],g=!1,f.sp
lice(1,1),""!==l.substr(l.length-1)){q===t&&(t=[]);if(s.preFilter[h])if(f=
s.preFilter[h](f,q,d,t,c,w)){if(!0===f)continue}else
g=i=!0;if(f)for(k=0;null!=(l=q[k]);k++)l&&(i=m(l,f,k,q),j=c^i,d&&null!=i?j?g=!0:q[k]
=!1:j&&(t.push(l),g=!0));if(i!==n){d||(q=t);a=a.replace(s.match[h],"");if(!g)return[
Page 11
- 12. combined_presentation_init
];break}}if(a===p)if(null==g)r.error(a);else break;p=a}return
q};r.error=function(a){throw Error("Syntax error, unrecognized expression:
"+a);};var Ra=r.getText=function(a){var b,d;b=a.nodeType;var
c="";if(b)if(1===b||9===b||11===b){if("string"==typeof a.textContent)return
a.textContent;
if("string"==typeof a.innerText)return
a.innerText.replace(Ec,"");for(a=a.firstChild;a;a=a.nextSibling)c+=Ra(a)}else{if(3==
=b||4===b)return a.nodeValue}else
for(b=0;d=a[b];b++)8!==d.nodeType&&(c+=Ra(d));return
c},s=r.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[wu00c0-uFFFF-]|.)
+)/,CLASS:/.((?:[wu00c0-uFFFF-]|.)+)/,NAME:/[name=['"]*((?:[wu00c0-uFFFF
-]|.)+)['"]*]/,ATTR:/[s*((?:[wu00c0-uFFFF-]|.)+)s*(?:(S?=)s*(?:(['"])(
.*?)3|(#?(?:[wu00c0-uFFFF-]|.)*)|)|)s*]/,
TAG:/^((?:[wu00c0-uFFFF*-]|.)+)/,CHILD:/:(only|nth|last|first)-child(?:(s*(
even|odd|(?:[+-]?d+|(?:[+-]?d*)?ns*(?:[+-]s*d+)?))s*))?/,POS:/:(nth|eq|gt|
lt|first|last|even|odd)(?:((d*)))?(?=[^-]|$)/,PSEUDO:/:((?:[wu00c0-uFFFF-]|
.)+)(?:((['"]?)((?:([^)]+)|[^()]*)+)2))?/},leftMatch:{},attrMap:{"class":"c
lassName","for":"htmlFor"},attrHandle:{href:function(a){return
a.getAttribute("href")},type:function(a){return
a.getAttribute("type")}},relative:{"+":function(a,b){var d=
"string"==typeof b,c=d&&!va.test(b),d=d&&!c;c&&(b=b.toLowerCase());for(var
c=0,f=a.length,g;c<f;c++)if(g=a[c]){for(;(g=g.previousSibling)&&1!==g.nodeType;);a[c
]=d||g&&g.nodeName.toLowerCase()===b?g||!1:g===b}d&&r.filter(b,a,!0)},">":function(a
,b){var d,c="string"==typeof
b,f=0,g=a.length;if(c&&!va.test(b))for(b=b.toLowerCase();f<g;f++){if(d=a[f])d=d.pare
ntNode,a[f]=d.nodeName.toLowerCase()===b?d:!1}else{for(;f<g;f++)(d=a[f])&&(a[f]=c?d.
parentNode:d.parentNode===b);c&&r.filter(b,a,!0)}},"":function(a,
b,d){var c,f=Qa++,g=Cb;"string"==typeof
b&&!va.test(b)&&(b=b.toLowerCase(),c=b,g=Db);g("parentNode",b,f,a,c,d)},"~":function
(a,b,d){var c,f=Qa++,g=Cb;"string"==typeof
b&&!va.test(b)&&(b=b.toLowerCase(),c=b,g=Db);g("previousSibling",b,f,a,c,d)}},find:{
ID:function(a,b,d){if("undefined"!=typeof
b.getElementById&&!d)return(a=b.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:fun
ction(a,b){if("undefined"!=typeof b.getElementsByName){for(var
d=[],c=b.getElementsByName(a[1]),f=0,g=c.length;f<g;f++)c[f].getAttribute("name")===
a[1]&&d.push(c[f]);return
0===d.length?null:d}},TAG:function(a,b){if("undefined"!=typeof
b.getElementsByTagName)return
b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,d,c,f,g){a="
"+a[1].replace(Y,"")+" ";if(g)return a;for(var
g=0,h;null!=(h=b[g]);g++)h&&(f^(h.className&&0<=(" "+h.className+"
").replace(/[tnr]/g,"
").indexOf(a))?d||c.push(h):d&&(b[g]=!1));return!1},ID:function(a){return
a[1].replace(Y,"")},TAG:function(a){return
a[1].replace(Y,"").toLowerCase()},CHILD:function(a){if("nth"===
a[1]){a[2]||r.error(a[0]);a[2]=a[2].replace(/^+|s*/g,"");var
b=/(-?)(d*)(?:n([+-]?d*))?/.exec("even"===a[2]&&"2n"||"odd"===a[2]&&"2n+1"||!/D/
.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}else
a[2]&&r.error(a[0]);a[0]=Qa++;return
a},ATTR:function(a,b,d,c,f,g){b=a[1]=a[1].replace(Y,"");!g&&s.attrMap[b]&&(a[1]=s.at
trMap[b]);a[4]=(a[4]||a[5]||"").replace(Y,"");"~="===a[2]&&(a[4]=" "+a[4]+"
");return
a},PSEUDO:function(a,b,d,c,f){if("not"===a[1])if(1<(Pa.exec(a[3])||"").length||
/^w/.test(a[3]))a[3]=r(a[3],null,null,b);else return
a=r.filter(a[3],b,d,1^f),d||c.push.apply(c,a),!1;else
if(s.match.POS.test(a[0])||s.match.CHILD.test(a[0]))return!0;return
a},POS:function(a){a.unshift(!0);return
a}},filters:{enabled:function(a){return!1===a.disabled&&"hidden"!==a.type},disabled:
function(a){return!0===a.disabled},checked:function(a){return!0===a.checked},selecte
d:function(a){a.parentNode&&a.parentNode.selectedIndex;return!0===a.selected},parent
:function(a){return!!a.firstChild},
empty:function(a){return!a.firstChild},has:function(a,b,d){return!!r(d[3],a).length}
,header:function(a){return/hd/i.test(a.nodeName)},text:function(a){var
Page 12
- 13. combined_presentation_init
b=a.getAttribute("type"),d=a.type;return"input"===a.nodeName.toLowerCase()&&"text"==
=d&&(b===d||null===b)},radio:function(a){return"input"===a.nodeName.toLowerCase()&&"
radio"===a.type},checkbox:function(a){return"input"===a.nodeName.toLowerCase()&&"che
ckbox"===a.type},file:function(a){return"input"===a.nodeName.toLowerCase()&&"file"==
=a.type},
password:function(a){return"input"===a.nodeName.toLowerCase()&&"password"===a.type},
submit:function(a){var
b=a.nodeName.toLowerCase();return("input"===b||"button"===b)&&"submit"===a.type},ima
ge:function(a){return"input"===a.nodeName.toLowerCase()&&"image"===a.type},reset:fun
ction(a){var
b=a.nodeName.toLowerCase();return("input"===b||"button"===b)&&"reset"===a.type},butt
on:function(a){var
b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},input
:function(a){return/input|select|textarea|button/i.test(a.nodeName)},
focus:function(a){return
a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return
0===b},last:function(a,b,d,c){return b===c.length-1},even:function(a,b){return
0===b%2},odd:function(a,b){return 1===b%2},lt:function(a,b,d){return
b<d[3]-0},gt:function(a,b,d){return b>d[3]-0},nth:function(a,b,d){return
d[3]-0===b},eq:function(a,b,d){return
d[3]-0===b}},filter:{PSEUDO:function(a,b,d,c){var f=b[1],g=s.filters[f];if(g)return
g(a,d,b,c);if("contains"===f)return 0<=(a.textContent||a.innerText||
Ra([a])||"").indexOf(b[3]);if("not"===f){b=b[3];d=0;for(c=b.length;d<c;d++)if(b[d]==
=a)return!1;return!0}r.error(f)},CHILD:function(a,b){var
d,c,f,g,h,i;d=b[1];i=a;switch(d){case "only":case
"first":for(;i=i.previousSibling;)if(1===i.nodeType)return!1;if("first"===d)return!0
;i=a;case "last":for(;i=i.nextSibling;)if(1===i.nodeType)return!1;return!0;case
"nth":d=b[2];c=b[3];if(1===d&&0===c)return!0;f=b[0];if((g=a.parentNode)&&(g[X]!==f||
!a.nodeIndex)){h=0;for(i=g.firstChild;i;i=i.nextSibling)1===i.nodeType&&
(i.nodeIndex=++h);g[X]=f}i=a.nodeIndex-c;return
0===d?0===i:0===i%d&&0<=i/d}},ID:function(a,b){return
1===a.nodeType&&a.getAttribute("id")===b},TAG:function(a,b){return"*"===b&&1===a.nod
eType||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return-1<("
"+(a.className||a.getAttribute("class"))+" ").indexOf(b)},ATTR:function(a,b){var
d=b[1],d=r.attr?r.attr(a,d):s.attrHandle[d]?s.attrHandle[d](a):null!=a[d]?a[d]:a.get
Attribute(d),c=d+"",f=b[2],g=b[4];return null==d?"!="===f:!f&&r.attr?
null!=d:"="===f?c===g:"*="===f?0<=c.indexOf(g):"~="===f?0<=(" "+c+"
").indexOf(g):g?"!="===f?c!==g:"^="===f?0===c.indexOf(g):"$="===f?c.substr(c.length-
g.length)===g:"|="===f?c===g||c.substr(0,g.length+1)===g+"-":!1:c&&!1!==d},POS:funct
ion(a,b,d,c){var f=s.setFilters[b[2]];if(f)return
f(a,d,b,c)}}},Gb=s.match.POS,Fc=function(a,b){return""+(b-0+1)},ea;for(ea in
s.match)s.match[ea]=RegExp(s.match[ea].source+/(?![^[]*])(?![^(]*))/.source),s.l
eftMatch[ea]=RegExp(/(^(?:.|r|n)*?)/.source+s.match[ea].source.replace(/(d+)/g,
Fc));s.match.globalPOS=Gb;var
E=function(a,b){a=Array.prototype.slice.call(a,0);return
b?(b.push.apply(b,a),b):a};try{Array.prototype.slice.call(k.documentElement.childNod
es,0)[0].nodeType}catch(md){E=function(a,b){var d=0,c=b||[];if("[object
Array]"===Eb.call(a))Array.prototype.push.apply(c,a);else if("number"==typeof
a.length)for(var f=a.length;d<f;d++)c.push(a[d]);else
for(;a[d];d++)c.push(a[d]);return c}}var
wa,fa;k.documentElement.compareDocumentPosition?wa=function(a,b){return
a===b?(ua=!0,
0):!a.compareDocumentPosition||!b.compareDocumentPosition?a.compareDocumentPosition?
-1:1:a.compareDocumentPosition(b)&4?-1:1}:(wa=function(a,b){if(a===b)return
ua=!0,0;if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var
d,c,f=[],g=[];d=a.parentNode;c=b.parentNode;var h=d;if(d===c)return
fa(a,b);if(!d)return-1;if(!c)return
1;for(;h;)f.unshift(h),h=h.parentNode;for(h=c;h;)g.unshift(h),h=h.parentNode;d=f.len
gth;c=g.length;for(h=0;h<d&&h<c;h++)if(f[h]!==g[h])return fa(f[h],g[h]);return h===
d?fa(a,g[h],-1):fa(f[h],b,1)},fa=function(a,b,c){if(a===b)return
c;for(a=a.nextSibling;a;){if(a===b)return-1;a=a.nextSibling}return 1});var
xa=k.createElement("div"),Ib="script"+(new
Date).getTime(),ya=k.documentElement;xa.innerHTML="<a
Page 13
- 14. combined_presentation_init
name='"+Ib+"'/>";ya.insertBefore(xa,ya.firstChild);k.getElementById(Ib)&&(s.find.ID=
function(a,b,c){if("undefined"!=typeof
b.getElementById&&!c)return(b=b.getElementById(a[1]))?b.id===a[1]||"undefined"!=type
of b.getAttributeNode&&b.getAttributeNode("id").nodeValue===
a[1]?[b]:n:[]},s.filter.ID=function(a,b){var c="undefined"!=typeof
a.getAttributeNode&&a.getAttributeNode("id");return
1===a.nodeType&&c&&c.nodeValue===b});ya.removeChild(xa);var
ya=xa=null,M=k.createElement("div");M.appendChild(k.createComment(""));0<M.getElemen
tsByTagName("*").length&&(s.find.TAG=function(a,b){var
c=b.getElementsByTagName(a[1]);if("*"===a[1]){for(var
e=[],f=0;c[f];f++)1===c[f].nodeType&&e.push(c[f]);c=e}return c});M.innerHTML="<a
href='#'></a>";M.firstChild&&"undefined"!=typeof M.firstChild.getAttribute&&
"#"!==M.firstChild.getAttribute("href")&&(s.attrHandle.href=function(a){return
a.getAttribute("href",2)});M=null;if(k.querySelectorAll){var
Sa=r,za=k.createElement("div");za.innerHTML="<p
class='TEST'></p>";if(!za.querySelectorAll||0!==za.querySelectorAll(".TEST").length)
{var r=function(a,b,c,e){b=b||k;if(!e&&!r.isXML(b)){var
f=/^(w+$)|^.([w-]+$)|^#([w-]+$)/.exec(a);if(f&&(1===b.nodeType||9===b.nodeType
)){if(f[1])return
E(b.getElementsByTagName(a),c);if(f[2]&&s.find.CLASS&&b.getElementsByClassName)retur
n E(b.getElementsByClassName(f[2]),
c)}if(9===b.nodeType){if("body"===a&&b.body)return E([b.body],c);if(f&&f[3]){var
g=b.getElementById(f[3]);if(!g||!g.parentNode)return E([],c);if(g.id===f[3])return
E([g],c)}try{return E(b.querySelectorAll(a),c)}catch(h){}}else
if(1===b.nodeType&&"object"!==b.nodeName.toLowerCase()){var
f=b,i=(g=b.getAttribute("id"))||"__sizzle__",l=b.parentNode,m=/^s*[+~]/.test(a);g?i
=i.replace(/'/g,"$&"):b.setAttribute("id",i);m&&l&&(b=b.parentNode);try{if(!m||l)r
eturn E(b.querySelectorAll("[id='"+i+"'] "+a),
c)}catch(j){}finally{g||f.removeAttribute("id")}}}return Sa(a,b,c,e)},Ta;for(Ta in
Sa)r[Ta]=Sa[Ta];za=null}}var
Aa=k.documentElement,Ba=Aa.matchesSelector||Aa.mozMatchesSelector||Aa.webkitMatchesS
elector||Aa.msMatchesSelector;if(Ba){var
Gc=!Ba.call(k.createElement("div"),"div"),Jb=!1;try{Ba.call(k.documentElement,"[test
!='']:sizzle")}catch(nd){Jb=!0}r.matchesSelector=function(a,b){b=b.replace(/=s*([^
'"]]*)s*]/g,"='$1']");if(!r.isXML(a))try{if(Jb||!s.match.PSEUDO.test(b)&&!/!=/.te
st(b)){var c=
Ba.call(a,b);if(c||!Gc||a.document&&11!==a.document.nodeType)return
c}}catch(e){}return 0<r(b,null,null,[a]).length}}var
Z=k.createElement("div");Z.innerHTML="<div class='test e'></div><div
class='test'></div>";Z.getElementsByClassName&&0!==Z.getElementsByClassName("e").len
gth&&(Z.lastChild.className="e",1!==Z.getElementsByClassName("e").length&&(s.order.s
plice(1,0,"CLASS"),s.find.CLASS=function(a,b,c){if("undefined"!=typeof
b.getElementsByClassName&&!c)return b.getElementsByClassName(a[1])},Z=null));
k.documentElement.contains?r.contains=function(a,b){return
a!==b&&(a.contains?a.contains(b):!0)}:k.documentElement.compareDocumentPosition?r.co
ntains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:r.contains=function(
){return!1};r.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?"
HTML"!==a.nodeName:!1};var Hb=function(a,b,c){for(var
e,f=[],g="",b=b.nodeType?[b]:b;e=s.match.PSEUDO.exec(a);)g+=e[0],a=a.replace(s.match
.PSEUDO,"");a=s.relative[a]?a+"*":a;e=0;for(var h=b.length;e<
h;e++)r(a,b[e],f,c);return
r.filter(g,f)};r.attr=c.attr;r.selectors.attrMap={};c.find=r;c.expr=r.selectors;c.ex
pr[":"]=c.expr.filters;c.unique=r.uniqueSort;c.text=r.getText;c.isXMLDoc=r.isXML;c.c
ontains=r.contains;var
Hc=/Until$/,Ic=/^(?:parents|prevUntil|prevAll)/,Jc=/,/,$b=/^.[^:#[.,]*$/,Kc=Array.
prototype.slice,Kb=c.expr.match.globalPOS,Lc={children:!0,contents:!0,next:!0,prev:!
0};c.fn.extend({find:function(a){var b=this,d,e;if("string"!=typeof a)return
c(a).filter(function(){d=0;for(e=b.length;d<
e;d++)if(c.contains(b[d],this))return!0});var
f=this.pushStack("","find",a),g,h,i;d=0;for(e=this.length;d<e;d++)if(g=f.length,c.fi
nd(a,this[d],f),0<d)for(h=g;h<f.length;h++)for(i=0;i<g;i++)if(f[i]===f[h]){f.splice(
h--,1);break}return f},has:function(a){var b=c(a);return
this.filter(function(){for(var
Page 14
- 15. combined_presentation_init
a=0,e=b.length;a<e;a++)if(c.contains(this,b[a]))return!0})},not:function(a){return
this.pushStack(ib(this,a,!1),"not",a)},filter:function(a){return
this.pushStack(ib(this,a,!0),"filter",a)},is:function(a){return!!a&&
("string"==typeof
a?Kb.test(a)?0<=c(a,this.context).index(this[0]):0<c.filter(a,this).length:0<this.fi
lter(a).length)},closest:function(a,b){var
d=[],e,f,g=this[0];if(c.isArray(a)){for(f=1;g&&g.ownerDocument&&g!==b;){for(e=0;e<a.
length;e++)c(g).is(a[e])&&d.push({selector:a[e],elem:g,level:f});g=g.parentNode;f++}
return d}var h=Kb.test(a)||"string"!=typeof
a?c(a,b||this.context):0;e=0;for(f=this.length;e<f;e++)for(g=this[e];g;){if(h?-1<h.i
ndex(g):c.find.matchesSelector(g,a)){d.push(g);break}g=g.parentNode;
if(!g||!g.ownerDocument||g===b||11===g.nodeType)break}d=1<d.length?c.unique(d):d;ret
urn
this.pushStack(d,"closest",a)},index:function(a){return!a?this[0]&&this[0].parentNod
e?this.prevAll().length:-1:"string"==typeof
a?c.inArray(this[0],c(a)):c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var
d="string"==typeof
a?c(a,b):c.makeArray(a&&a.nodeType?[a]:a),e=c.merge(this.get(),d);return
this.pushStack(!d[0]||!d[0].parentNode||11===d[0].parentNode.nodeType||!e[0]||!e[0].
parentNode||11===e[0].parentNode.nodeType?
e:c.unique(e))},andSelf:function(){return
this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&11!=
=a.nodeType?a:null},parents:function(a){return
c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return
c.dir(a,"parentNode",d)},next:function(a){return
c.nth(a,2,"nextSibling")},prev:function(a){return
c.nth(a,2,"previousSibling")},nextAll:function(a){return
c.dir(a,"nextSibling")},prevAll:function(a){return
c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,
"nextSibling",d)},prevUntil:function(a,b,d){return
c.dir(a,"previousSibling",d)},siblings:function(a){return
c.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return
c.sibling(a.firstChild)},contents:function(a){return
c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.chi
ldNodes)}},function(a,b){c.fn[a]=function(d,e){var
f=c.map(this,b,d);Hc.test(a)||(e=d);e&&"string"==typeof
e&&(f=c.filter(e,f));f=1<this.length&&!Lc[a]?c.unique(f):f;(1<this.length||Jc.test(e
))&&
Ic.test(a)&&(f=f.reverse());return
this.pushStack(f,a,Kc.call(arguments).join(","))}});c.extend({filter:function(a,b,d)
{d&&(a=":not("+a+")");return
1===b.length?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:funct
ion(a,b,d){for(var
e=[],a=a[b];a&&9!==a.nodeType&&(d===n||1!==a.nodeType||!c(a).is(d));)1===a.nodeType&
&e.push(a),a=a[b];return e},nth:function(a,b,c){for(var
b=b||1,e=0;a&&!(1===a.nodeType&&++e===b);a=a[c]);return
a},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===
a.nodeType&&a!==b&&c.push(a);return c}});var
hb="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|foot
er|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Mc=/
jQueryd+="(?:d+|null)"/g,Ua=/^s+/,Lb=/<(?!area|br|col|embed|hr|img|input|link|met
a|param)(([w:]+)[^>]*)/>/ig,Mb=/<([w:]+)/,Nc=/<tbody/i,Oc=/<|&#?w+;/,Pc=/<(?:scr
ipt|style)/i,Qc=/<(?:script|object|embed|option|style)/i,Nb=RegExp("<(?:"+hb+")[s/
>]","i"),Ob=/checkeds*(?:[^=]|=s*.checked.)/i,
Pb=//(java|ecma)script/i,Rc=/^s*<!(?:[CDATA[|--)/,B={option:[1,"<select
multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<
table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody>
<tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup
></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},Va=gb(k);B.optgroup=B.opti
on;B.tbody=B.tfoot=B.colgroup=B.caption=B.thead;B.th=B.td;c.support.htmlSerialize||(
B._default=
[1,"div<div>","</div>"]);c.fn.extend({text:function(a){return
c.access(this,function(a){return
Page 15
- 16. combined_presentation_init
a===n?c.text(this):this.empty().append((this[0]&&this[0].ownerDocument||k).createTex
tNode(a))},null,a,arguments.length)},wrapAll:function(a){if(c.isFunction(a))return
this.each(function(b){c(this).wrapAll(a.call(this,b))});if(this[0]){var
b=c(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this
[0]);b.map(function(){for(var
a=this;a.firstChild&&1===a.firstChild.nodeType;)a=a.firstChild;
return a}).append(this)}return this},wrapInner:function(a){return
c.isFunction(a)?this.each(function(b){c(this).wrapInner(a.call(this,b))}):this.each(
function(){var
b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){var
b=c.isFunction(a);return
this.each(function(d){c(this).wrapAll(b?a.call(this,d):a)})},unwrap:function(){retur
n
this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.chil
dNodes)}).end()},append:function(){return this.domManip(arguments,
!0,function(a){1===this.nodeType&&this.appendChild(a)})},prepend:function(){return
this.domManip(arguments,!0,function(a){1===this.nodeType&&this.insertBefore(a,this.f
irstChild)})},before:function(){if(this[0]&&this[0].parentNode)return
this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arg
uments.length){var a=c.clean(arguments);a.push.apply(a,this.toArray());return
this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNo
de)return this.domManip(arguments,
!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.lengt
h){var
a=this.pushStack(this,"after",arguments);a.push.apply(a,c.clean(arguments));return
a}},remove:function(a,b){for(var
d=0,e;null!=(e=this[d]);d++)if(!a||c.filter(a,[e]).length)!b&&1===e.nodeType&&(c.cle
anData(e.getElementsByTagName("*")),c.cleanData([e])),e.parentNode&&e.parentNode.rem
oveChild(e);return this},empty:function(){for(var
a=0,b;null!=(b=this[a]);a++)for(1===b.nodeType&&c.cleanData(b.getElementsByTagName("
*"));b.firstChild;)b.removeChild(b.firstChild);
return this},clone:function(a,b){a=null==a?!1:a;b=null==b?a:b;return
this.map(function(){return c.clone(this,a,b)})},html:function(a){return
c.access(this,function(a){var d=this[0]||{},e=0,f=this.length;if(a===n)return
1===d.nodeType?d.innerHTML.replace(Mc,""):null;if("string"==typeof
a&&!Pc.test(a)&&(c.support.leadingWhitespace||!Ua.test(a))&&!B[(Mb.exec(a)||["",""])
[1].toLowerCase()]){a=a.replace(Lb,"<$1></$2>");try{for(;e<f;e++)d=this[e]||{},1===d
.nodeType&&(c.cleanData(d.getElementsByTagName("*")),
d.innerHTML=a);d=0}catch(g){}}d&&this.empty().append(a)},null,a,arguments.length)},r
eplaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return
this.each(function(b){var
d=c(this),e=d.html();d.replaceWith(a.call(this,b,e))});"string"!=typeof
a&&(a=c(a).detach());return this.each(function(){var
b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a
)})}return
this.length?this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a):this},detach:fu
nction(a){return this.remove(a,
!0)},domManip:function(a,b,d){var
e,f,g,h=a[0],i=[];if(!c.support.checkClone&&3===arguments.length&&"string"==typeof
h&&Ob.test(h))return
this.each(function(){c(this).domManip(a,b,d,!0)});if(c.isFunction(h))return
this.each(function(e){var
f=c(this);a[0]=h.call(this,e,b?f.html():n);f.domManip(a,b,d)});if(this[0]){g=h&&h.pa
rentNode;c.support.parentNode&&g&&11===g.nodeType&&g.childNodes.length===this.length
?e={fragment:g}:e=c.buildFragment(a,this,i);g=e.fragment;1===g.childNodes.length?f=g
=g.firstChild:
f=g.firstChild;if(f){b=b&&c.nodeName(f,"tr");f=0;for(var
l=this.length,m=l-1;f<l;f++)d.call(b?c.nodeName(this[f],"table")?this[f].getElements
ByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbod
y")):this[f]:this[f],e.cacheable||1<l&&f<m?c.clone(g,!0,!0):g)}i.length&&c.each(i,fu
nction(a,b){b.src?c.ajax({type:"GET",global:!1,url:b.src,async:!1,dataType:"script"}
):c.globalEval((b.text||b.textContent||b.innerHTML||"").replace(Rc,"/*$0*/"));b.pare
ntNode&&b.parentNode.removeChild(b)})}return this}});
Page 16
- 17. combined_presentation_init
c.buildFragment=function(a,b,d){var
e,f,g,h,i=a[0];b&&b[0]&&(h=b[0].ownerDocument||b[0]);h.createDocumentFragment||(h=k)
;1===a.length&&"string"==typeof
i&&512>i.length&&h===k&&"<"===i.charAt(0)&&!Qc.test(i)&&(c.support.checkClone||!Ob.t
est(i))&&(c.support.html5Clone||!Nb.test(i))&&(f=!0,g=c.fragments[i],g&&1!==g&&(e=g)
);e||(e=h.createDocumentFragment(),c.clean(a,h,e,d));f&&(c.fragments[i]=g?e:1);retur
n{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append",prependTo:"prepe
nd",insertBefore:"before",
insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var
e=[],d=c(d),f=1===this.length&&this[0].parentNode;if(f&&11===f.nodeType&&1===f.child
Nodes.length&&1===d.length)return d[b](this[0]),this;for(var
f=0,g=d.length;f<g;f++){var
h=(0<f?this.clone(!0):this).get();c(d[f])[b](h);e=e.concat(h)}return
this.pushStack(e,a,d.selector)}});c.extend({clone:function(a,b,d){var
e,f,g;c.support.html5Clone||c.isXMLDoc(a)||!Nb.test("<"+a.nodeName+">")?e=a.cloneNod
e(!0):(e=k.createElement("div"),
Va.appendChild(e),e.innerHTML=a.outerHTML,e=e.firstChild);var
h=e;if((!c.support.noCloneEvent||!c.support.noCloneChecked)&&(1===a.nodeType||11===a
.nodeType)&&!c.isXMLDoc(a)){eb(a,h);e=ma(a);f=ma(h);for(g=0;e[g];++g)f[g]&&eb(e[g],f
[g])}if(b&&(fb(a,h),d)){e=ma(a);f=ma(h);for(g=0;e[g];++g)fb(e[g],f[g])}return
h},clean:function(a,b,d,e){var f,g=[],b=b||k;"undefined"==typeof
b.createElement&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||k);for(var
h=0,i;null!=(i=a[h]);h++)if("number"==typeof i&&(i+=""),
i){if("string"==typeof
i)if(Oc.test(i)){i=i.replace(Lb,"<$1></$2>");f=(Mb.exec(i)||["",""])[1].toLowerCase(
);var
l=B[f]||B._default,m=l[0],j=b.createElement("div"),n=Va.childNodes,p;b===k?Va.append
Child(j):gb(b).appendChild(j);for(j.innerHTML=l[1]+i+l[2];m--;)j=j.lastChild;if(!c.s
upport.tbody){m=Nc.test(i);l="table"===f&&!m?j.firstChild&&j.firstChild.childNodes:"
<table>"===l[1]&&!m?j.childNodes:[];for(f=l.length-1;0<=f;--f)c.nodeName(l[f],"tbody
")&&!l[f].childNodes.length&&l[f].parentNode.removeChild(l[f])}!c.support.leadingWhi
tespace&&
Ua.test(i)&&j.insertBefore(b.createTextNode(Ua.exec(i)[0]),j.firstChild);i=j.childNo
des;j&&(j.parentNode.removeChild(j),0<n.length&&(p=n[n.length-1],p&&p.parentNode&&p.
parentNode.removeChild(p)))}else i=b.createTextNode(i);var
q;if(!c.support.appendChecked)if(i[0]&&"number"==typeof(q=i.length))for(f=0;f<q;f++)
cb(i[f]);else
cb(i);i.nodeType?g.push(i):g=c.merge(g,i)}if(d){a=function(a){return!a.type||Pb.test
(a.type)};for(h=0;g[h];h++)b=g[h],e&&c.nodeName(b,"script")&&(!b.type||Pb.test(b.typ
e))?e.push(b.parentNode?
b.parentNode.removeChild(b):b):(1===b.nodeType&&(i=c.grep(b.getElementsByTagName("sc
ript"),a),g.splice.apply(g,[h+1,0].concat(i))),d.appendChild(b))}return
g},cleanData:function(a){for(var
b,d,e=c.cache,f=c.event.special,g=c.support.deleteExpando,h=0,i;null!=(i=a[h]);h++)i
f(!i.nodeName||!c.noData[i.nodeName.toLowerCase()])if(d=i[c.expando]){if((b=e[d])&&b
.events){for(var l in
b.events)f[l]?c.event.remove(i,l):c.removeEvent(i,l,b.handle);b.handle&&(b.handle.el
em=null)}g?delete i[c.expando]:i.removeAttribute&&
i.removeAttribute(c.expando);delete e[d]}}});var
Wa=/alpha([^)]*)/i,Sc=/opacity=([^)]*)/,Tc=/([A-Z]|^ms)/g,Uc=/^[-+]?(?:d*.)?d+
$/i,Ga=/^-?(?:d*.)?d+(?!px)[^ds]+$/i,Vc=/^([-+])=([-+.de]+)/,Wc=/^margin/,Xc
={position:"absolute",visibility:"hidden",display:"block"},K=["Top","Right","Bottom"
,"Left"],T,Qb,Rb;c.fn.css=function(a,b){return c.access(this,function(a,b,f){return
f!==n?c.style(a,b,f):c.css(a,b)},a,b,1<arguments.length)};c.extend({cssHooks:{opacit
y:{get:function(a,b){if(b){var c=
T(a,"opacity");return""===c?"1":c}return
a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,
orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":c.support.cssFloat?"cssFlo
at":"styleFloat"},style:function(a,b,d,e){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.st
yle){var
f,g=c.camelCase(b),h=a.style,i=c.cssHooks[g],b=c.cssProps[g]||g;if(d===n)return
i&&"get"in i&&(f=i.get(a,!1,e))!==n?f:h[b];e=typeof
d;"string"===e&&(f=Vc.exec(d))&&(d=+(f[1]+1)*+f[2]+parseFloat(c.css(a,
Page 17
- 18. combined_presentation_init
b)),e="number");if(!(null==d||"number"===e&&isNaN(d)))if("number"===e&&!c.cssNumber[
g]&&(d+="px"),!i||!("set"in
i)||(d=i.set(a,d))!==n)try{h[b]=d}catch(l){}}},css:function(a,b,d){var
e,f,b=c.camelCase(b);f=c.cssHooks[b];b=c.cssProps[b]||b;"cssFloat"===b&&(b="float");
if(f&&"get"in f&&(e=f.get(a,!0,d))!==n)return e;if(T)return
T(a,b)},swap:function(a,b,c){var e={},f;for(f in
b)e[f]=a.style[f],a.style[f]=b[f];c=c.call(a);for(f in b)a.style[f]=e[f];return
c}});c.curCSS=c.css;k.defaultView&&k.defaultView.getComputedStyle&&
(Qb=function(a,b){var
d,e,f,g,h=a.style,b=b.replace(Tc,"-$1").toLowerCase();(e=a.ownerDocument.defaultView
)&&(f=e.getComputedStyle(a,null))&&(d=f.getPropertyValue(b),""===d&&!c.contains(a.ow
nerDocument.documentElement,a)&&(d=c.style(a,b)));!c.support.pixelMargin&&f&&Wc.test
(b)&&Ga.test(d)&&(g=h.width,h.width=d,d=f.width,h.width=g);return
d});k.documentElement.currentStyle&&(Rb=function(a,b){var
c,e,f,g=a.currentStyle&&a.currentStyle[b],h=a.style;null==g&&h&&(f=h[b])&&(g=f);Ga.t
est(g)&&(c=h.left,e=
a.runtimeStyle&&a.runtimeStyle.left,e&&(a.runtimeStyle.left=a.currentStyle.left),h.l
eft="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=c,e&&(a.runtimeStyle.left=e));r
eturn""===g?"auto":g});T=Qb||Rb;c.each(["height","width"],function(a,b){c.cssHooks[b
]={get:function(a,e,f){if(e)return
0!==a.offsetWidth?bb(a,b,f):c.swap(a,Xc,function(){return
bb(a,b,f)})},set:function(a,b){return
Uc.test(b)?b+"px":b}}});c.support.opacity||(c.cssHooks.opacity={get:function(a,b){re
turn Sc.test((b&&a.currentStyle?a.currentStyle.filter:
a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var
d=a.style,e=a.currentStyle,f=c.isNumeric(b)?"alpha(opacity="+100*b+")":"",g=e&&e.fil
ter||d.filter||"";d.zoom=1;if(1<=b&&""===c.trim(g.replace(Wa,""))&&(d.removeAttribut
e("filter"),e&&!e.filter))return;d.filter=Wa.test(g)?g.replace(Wa,f):g+"
"+f}});c(function(){c.support.reliableMarginRight||(c.cssHooks.marginRight={get:func
tion(a,b){return c.swap(a,{display:"inline-block"},function(){return
b?T(a,"margin-right"):a.style.marginRight})}})});
c.expr&&c.expr.filters&&(c.expr.filters.hidden=function(a){var
b=a.offsetHeight;return
0===a.offsetWidth&&0===b||!c.support.reliableHiddenOffsets&&"none"===(a.style&&a.sty
le.display||c.css(a,"display"))},c.expr.filters.visible=function(a){return!c.expr.fi
lters.hidden(a)});c.each({margin:"",padding:"",border:"Width"},function(a,b){c.cssHo
oks[a+b]={expand:function(c){for(var e="string"==typeof c?c.split("
"):[c],f={},c=0;4>c;c++)f[a+K[c]+b]=e[c]||e[c-2]||e[0];return f}}});var
Yc=/%20/g,Zb=/[]$/,Sb=
/r?n/g,Zc=/#.*$/,$c=/^(.*?):[
t]*([^rn]*)r?$/mg,ad=/^(?:color|date|datetime|datetime-local|email|hidden|month|
number|password|range|search|tel|text|time|url|week)$/i,bd=/^(?:GET|HEAD)$/,cd=/^/
//,Tb=/?/,dd=/<scriptb[^<]*(?:(?!</script>)<[^<]*)*</script>/gi,ed=/^(?:select|t
extarea)/i,ab=/s+/,fd=/([?&])_=[^&]*/,Ub=/^([w+.-]+:)(?://([^/?#:]*)(?::(d+
))?)?/,Vb=c.fn.load,Fa={},Wb={},F,J,Xb=["*/"]+["*"];try{F=cc.href}catch(od){F=k.crea
teElement("a"),F.href="",F=F.href}J=Ub.exec(F.toLowerCase())||
[];c.fn.extend({load:function(a,b,d){if("string"!=typeof a&&Vb)return
Vb.apply(this,arguments);if(!this.length)return this;var e=a.indexOf("
");if(0<=e)var
f=a.slice(e,a.length),a=a.slice(0,e);e="GET";b&&(c.isFunction(b)?(d=b,b=n):"object"=
=typeof b&&(b=c.param(b,c.ajaxSettings.traditional),e="POST"));var
g=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(a,b,e){e=a.resp
onseText;a.isResolved()&&(a.done(function(a){e=a}),g.html(f?c("<div>").append(e.repl
ace(dd,"")).find(f):e));d&&
g.each(d,[e,b,a])}});return this},serialize:function(){return
c.param(this.serializeArray())},serializeArray:function(){return
this.map(function(){return
this.elements?c.makeArray(this.elements):this}).filter(function(){return
this.name&&!this.disabled&&(this.checked||ed.test(this.nodeName)||ad.test(this.type)
)}).map(function(a,b){var d=c(this).val();return
null==d?null:c.isArray(d)?c.map(d,function(a){return{name:b.name,value:a.replace(Sb,
"rn")}}):{name:b.name,value:d.replace(Sb,"rn")}}).get()}});
c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split("
Page 18
- 19. combined_presentation_init
"),function(a,b){c.fn[b]=function(a){return
this.on(b,a)}});c.each(["get","post"],function(a,b){c[b]=function(a,e,f,g){c.isFunct
ion(e)&&(g=g||f,f=e,e=n);return
c.ajax({type:b,url:a,data:e,success:f,dataType:g})}});c.extend({getScript:function(a
,b){return c.get(a,n,b,"script")},getJSON:function(a,b,d){return
c.get(a,b,d,"json")},ajaxSetup:function(a,b){b?S(a,c.ajaxSettings):(b=a,a=c.ajaxSett
ings);S(a,b);return a},ajaxSettings:{url:F,
isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(J[1]),glo
bal:!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","*":Xb},contents:{xml:/xml/,html:/html/,json:/json/},responseFields
:{xml:"responseXML",text:"responseText"},converters:{"* text":p.String,"text
html":!0,"text json":c.parseJSON,"text xml":c.parseXML},
flatOptions:{context:!0,url:!0}},ajaxPrefilter:$a(Fa),ajaxTransport:$a(Wb),ajax:func
tion(a,b){function
d(a,b,d,j){if(2!==H){H=2;s&&clearTimeout(s);r=n;p=j||"";v.readyState=0<a?4:0;var
k,q,t,j=b;if(d){var
y=e,O=v,z=y.contents,u=y.dataTypes,A=y.responseFields,x,C,B,S;for(C in A)C in
d&&(O[A[C]]=d[C]);for(;"*"===u[0];)u.shift(),x===n&&(x=y.mimeType||O.getResponseHead
er("content-type"));if(x)for(C in
z)if(z[C]&&z[C].test(x)){u.unshift(C);break}if(u[0]in d)B=u[0];else{for(C in
d){if(!u[0]||y.converters[C+
" "+u[0]]){B=C;break}S||(S=C)}B=B||S}B?(B!==u[0]&&u.unshift(B),d=d[B]):d=void 0}else
d=n;if(200<=a&&300>a||304===a){if(e.ifModified){if(x=v.getResponseHeader("Last-Modif
ied"))c.lastModified[m]=x;if(x=v.getResponseHeader("Etag"))c.etag[m]=x}if(304===a)j=
"notmodified",k=!0;else try{x=e;x.dataFilter&&(d=x.dataFilter(d,x.dataType));var
E=x.dataTypes;C={};var
D,G,L=E.length,K,P=E[0],I,M,Q,F,J;for(D=1;D<L;D++){if(1===D)for(G in
x.converters)"string"==typeof G&&(C[G.toLowerCase()]=x.converters[G]);I=P;P=
E[D];if("*"===P)P=I;else if("*"!==I&&I!==P){M=I+" "+P;Q=C[M]||C["* "+P];if(!Q)for(F
in J=n,C)if(K=F.split(" "),K[0]===I||"*"===K[0])if(J=C[K[1]+"
"+P]){F=C[F];!0===F?Q=J:!0===J&&(Q=F);break}!Q&&!J&&c.error("No conversion from
"+M.replace(" "," to
"));!0!==Q&&(d=Q?Q(d):J(F(d)))}}q=d;j="success";k=!0}catch(N){j="parsererror",t=N}}e
lse
if(t=j,!j||a)j="error",0>a&&(a=0);v.status=a;v.statusText=""+(b||j);k?h.resolveWith(
f,[q,j,v]):h.rejectWith(f,[v,j,t]);v.statusCode(l);l=n;w&&g.trigger("ajax"+(k?"Succe
ss":
"Error"),[v,e,k?q:t]);i.fireWith(f,[v,j]);w&&(g.trigger("ajaxComplete",[v,e]),--c.ac
tive||c.event.trigger("ajaxStop"))}}"object"==typeof a&&(b=a,a=n);var
b=b||{},e=c.ajaxSetup({},b),f=e.context||e,g=f!==e&&(f.nodeType||f instanceof
c)?c(f):c.event,h=c.Deferred(),i=c.Callbacks("once
memory"),l=e.statusCode||{},m,j={},k={},p,q,r,s,z,H=0,w,u,v={readyState:0,setRequest
Header:function(a,b){if(!H){var c=a.toLowerCase(),a=k[c]=k[c]||a;j[a]=b}return
this},getAllResponseHeaders:function(){return 2===H?p:null},
getResponseHeader:function(a){var
b;if(2===H){if(!q)for(q={};b=$c.exec(p);)q[b[1].toLowerCase()]=b[2];b=q[a.toLowerCas
e()]}return b===n?null:b},overrideMimeType:function(a){H||(e.mimeType=a);return
this},abort:function(a){a=a||"abort";r&&r.abort(a);d(0,a);return
this}};h.promise(v);v.success=v.done;v.error=v.fail;v.complete=i.add;v.statusCode=fu
nction(a){if(a){var b;if(2>H)for(b in a)l[b]=[l[b],a[b]];else
b=a[v.status],v.then(b,b)}return
this};e.url=((a||e.url)+"").replace(Zc,"").replace(cd,J[1]+
"//");e.dataTypes=c.trim(e.dataType||"*").toLowerCase().split(ab);null==e.crossDomai
n&&(z=Ub.exec(e.url.toLowerCase()),e.crossDomain=!(!z||z[1]==J[1]&&z[2]==J[2]&&(z[3]
||("http:"===z[1]?80:443))==(J[3]||("http:"===J[1]?80:443))));e.data&&e.processData&
&"string"!=typeof
e.data&&(e.data=c.param(e.data,e.traditional));la(Fa,e,b,v);if(2===H)return!1;w=e.gl
obal;e.type=e.type.toUpperCase();e.hasContent=!bd.test(e.type);w&&0===c.active++&&c.
event.trigger("ajaxStart");if(!e.hasContent&&(e.data&&(e.url+=(Tb.test(e.url)?
"&":"?")+e.data,delete e.data),m=e.url,!1===e.cache)){z=c.now();var
A=e.url.replace(fd,"$1_="+z);e.url=A+(A===e.url?(Tb.test(e.url)?"&":"?")+"_="+z:"")}
Page 19
- 20. combined_presentation_init
(e.data&&e.hasContent&&!1!==e.contentType||b.contentType)&&v.setRequestHeader("Conte
nt-Type",e.contentType);e.ifModified&&(m=m||e.url,c.lastModified[m]&&v.setRequestHea
der("If-Modified-Since",c.lastModified[m]),c.etag[m]&&v.setRequestHeader("If-None-Ma
tch",c.etag[m]));v.setRequestHeader("Accept",e.dataTypes[0]&&e.accepts[e.dataTypes[0
]]?e.accepts[e.dataTypes[0]]+
("*"!==e.dataTypes[0]?", "+Xb+"; q=0.01":""):e.accepts["*"]);for(u in
e.headers)v.setRequestHeader(u,e.headers[u]);if(e.beforeSend&&(!1===e.beforeSend.cal
l(f,v,e)||2===H))return v.abort(),!1;for(u
in{success:1,error:1,complete:1})v[u](e[u]);if(r=la(Wb,e,b,v)){v.readyState=1;w&&g.t
rigger("ajaxSend",[v,e]);e.async&&0<e.timeout&&(s=setTimeout(function(){v.abort("tim
eout")},e.timeout));try{H=1,r.send(j,d)}catch(x){if(2>H)d(-1,x);else throw x;}}else
d(-1,"No Transport");return v},param:function(a,b){var d=
[],e=function(a,b){b=c.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+enc
odeURIComponent(b)};b===n&&(b=c.ajaxSettings.traditional);if(c.isArray(a)||a.jquery&
&!c.isPlainObject(a))c.each(a,function(){e(this.name,this.value)});else for(var f in
a)A(f,a[f],b,e);return
d.join("&").replace(Yc,"+")}});c.extend({active:0,lastModified:{},etag:{}});var
gd=c.now(),Ca=/(=)?(&|$)|??/i;c.ajaxSetup({jsonp:"callback",jsonpCallback:functi
on(){return c.expando+"_"+gd++}});c.ajaxPrefilter("json jsonp",
function(a,b,d){b="string"==typeof
a.data&&/^application/x-www-form-urlencoded/.test(a.contentType);if("jsonp"===a.
dataTypes[0]||!1!==a.jsonp&&(Ca.test(a.url)||b&&Ca.test(a.data))){var
e,f=a.jsonpCallback=c.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,
g=p[f],h=a.url,i=a.data,l="$1"+f+"$2";!1!==a.jsonp&&(h=h.replace(Ca,l),a.url===h&&(b
&&(i=i.replace(Ca,l)),a.data===i&&(h+=(/?/.test(h)?"&":"?")+a.jsonp+"="+f)));a.url=
h;a.data=i;p[f]=function(a){e=[a]};d.always(function(){p[f]=
g;e&&c.isFunction(g)&&p[f](e[0])});a.converters["script
json"]=function(){e||c.error(f+" was not called");return
e[0]};a.dataTypes[0]="json";return"script"}});c.ajaxSetup({accepts:{script:"text/jav
ascript, application/javascript, application/ecmascript,
application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"te
xt script":function(a){c.globalEval(a);return
a}}});c.ajaxPrefilter("script",function(a){a.cache===n&&(a.cache=!1);a.crossDomain&&
(a.type="GET",a.global=!1)});c.ajaxTransport("script",
function(a){if(a.crossDomain){var
b,c=k.head||k.getElementsByTagName("head")[0]||k.documentElement;return{send:functio
n(e,f){b=k.createElement("script");b.async="async";a.scriptCharset&&(b.charset=a.scr
iptCharset);b.src=a.url;b.onload=b.onreadystatechange=function(a,e){if(e||!b.readySt
ate||/loaded|complete/.test(b.readyState))b.onload=b.onreadystatechange=null,c&&b.pa
rentNode&&c.removeChild(b),b=n,e||f(200,"success")};c.insertBefore(b,c.firstChild)},
abort:function(){b&&b.onload(0,1)}}}});var Xa=p.ActiveXObject?
function(){for(var a in
aa)aa[a](0,1)}:!1,hd=0,aa;c.ajaxSettings.xhr=p.ActiveXObject?function(){var
a;if(!(a=!this.isLocal&&ka()))a:{try{a=new
p.ActiveXObject("Microsoft.XMLHTTP");break a}catch(b){}a=void 0}return a}:ka;var
Ya=c.ajaxSettings.xhr();c.extend(c.support,{ajax:!!Ya,cors:!!Ya&&"withCredentials"in
Ya});c.support.ajax&&c.ajaxTransport(function(a){if(!a.crossDomain||c.support.cors){
var b;return{send:function(d,e){var
f=a.xhr(),g,h;a.username?f.open(a.type,a.url,a.async,a.username,a.password):
f.open(a.type,a.url,a.async);if(a.xhrFields)for(h in
a.xhrFields)f[h]=a.xhrFields[h];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a
.mimeType);!a.crossDomain&&!d["X-Requested-With"]&&(d["X-Requested-With"]="XMLHttpRe
quest");try{for(h in
d)f.setRequestHeader(h,d[h])}catch(i){}f.send(a.hasContent&&a.data||null);b=function
(d,h){var
i,j,k,p,q;try{if(b&&(h||4===f.readyState))if(b=n,g&&(f.onreadystatechange=c.noop,Xa&
&delete
aa[g]),h)4!==f.readyState&&f.abort();else{i=f.status;k=f.getAllResponseHeaders();
p={};(q=f.responseXML)&&q.documentElement&&(p.xml=q);try{p.text=f.responseText}catch
(r){}try{j=f.statusText}catch(s){j=""}!i&&a.isLocal&&!a.crossDomain?i=p.text?200:404
:1223===i&&(i=204)}}catch(u){h||e(-1,u)}p&&e(i,j,p,k)};!a.async||4===f.readyState?b(
):(g=++hd,Xa&&(aa||(aa={},c(p).unload(Xa)),aa[g]=b),f.onreadystatechange=b)},abort:f
unction(){b&&b(0,1)}}}});var
Page 20