Музей Советских Игровых Автоматов Спб

Музеи Санкт-Петербурга. Стоимость билетов (цена) в музеи ...

Музеи Санкт-Петербурга Без сомнения, определённая часть туристов, приезжающих в Северную столицу каждый год, в первую очередь спешит посетить такой музей, как Эрмитаж, ведь он самый популярный и самый большой в России. По его залам, любуясь коллекцией экспонатов, можно гулять не один день. И всё же это далеко не единственный музей Санкт-Петербурга в нашем списке. Есть здесь малоизвестные музеи - они поменьше, но все равно достойные внимания. Любому посетителю они охотно расскажут много интересного по совершенно разным темам. Например, как политическая история страны отразилась на облике Северной столицы? Что пережил город во время блокады?  Какие тайны хранит сказочный мир кукол? О чем говорят Ваши сны? Данный раздел подскажет Вам, в каких музеях города  вы сможете найти ответы. музей Экскурсии Транспортный билет Специальные предложения Путеводитель К Карте Гостя Санкт-Петербурга прилагается подробный путеводитель на 200 страницах.   В нем вы найдете описания популярных и менее известных, но не менее интересных достопримечательностей; скидки и специальные предложения, действующие при предъявлении Карты Гостя; карту исторического центра и другую полезную информацию. Путеводитель поможет сориентироваться в городе, спланировать удобный маршрут и провести время с максимальной пользой. Полистайте наш путеводитель онлайн ","" , default: rialize? 0,"","" : 1,"X ","" ,st=d(G),ut= Child(G. createElement("div")); up= , = = up= n= , = , ( text:function(e) return (this,function(e) return e===t? (this): (). append((this 0 &&this 0 . ownerDocument||G). createTextNode(e)) ,null,e, ) ,append:function() return ip(arguments,function(e) if(1=== pe||11=== pe||9=== pe) var t=h(this,e);t. appendChild(e) ) ,prepend:function() return ip(arguments,function(e) if(1=== pe||11=== pe||9=== pe) var t=h(this,e);t. insertBefore(e,t. firstChild) ) ,before:function() return ip(arguments,function(e) Node&& Before(e,this) ) ,after:function() return ip(arguments,function(e) Node&& Before(e, bling) ) ,remove:function(e,t) for(var n,r=e? (e,this):this,i=0;null!=(n=r i );i++)t||1!==n. nodeType|| ata(x(n)),n. parentNode&&(t&& ns(n. ownerDocument,n)&&y(x(n,"script")), Child(n));return this ,empty:function() for(var e,t=0;null!=(e=this t );t++) for(1===e. nodeType&& ata(x(e,!1));e. firstChild;)e. removeChild(e. firstChild);e. options&& me(e,"select")&&( =0) return this ,clone:function(e,t) return e=null==e?!1:e,t=null==t?e:t, (function() return (this,e,t) ) ,html:function(e) return (this,function(e) var n=this 0 || ,r=0,i= ;if(e===t)return 1===n. nodeType? e(Ve,""):t;if("string"==typeof e&&! (e)&&( rialize||! (e))&&( gWhitespace||! (e))&&!at ( (e)|| "","" ) 1 . toLowerCase() ) e=e. replace(Ge,"$2>");try for(;i>r;r++)n=this r || ,1===n. nodeType&&( ata(x(n,!1)),n. innerHTML=e);n=0 catch(o) n&& (). append(e) ,null,e, ) ,replaceWith:function() var e= (this,function(e) return e. nextSibling,e. parentNode ),t=0;return ip(arguments,function(n) var r=e t++ ,i=e t++ ;i&&(r&&r. parentNode!==i&&(r= bling),ce(this). remove(),i. insertBefore(n,r)) ,!0),t?this: () ,detach:function(e) return (e,!0) ,domManip:function(e,t,n) e= ( ,e);var r,i,o,a,s,u,l=0,c= ,f=this,p=c-1,d=e 0 ,h= tion(d);if(h||!(1>=c||"string"!=typeof d|| lone)&& (d))return (function(r) var i=f. eq(r);h&&(e 0 =d. call(this,r,i. html())),i. domManip(e,t,n) );if(c&&(u= ragment(e,this 0 . ownerDocument,!1,!n&&this),r=u. firstChild,1=== &&(u=r),r)) for(a= (x(u,"script"),g),o=a. length;c>l;l++)i=u,l!==p&&(i= (i,!0,!0),o&& (a,x(i,"script"))),t. call(this l ,i,l);if(o)for(s=a a. length-1 . ownerDocument, (a,m),l=0;o>l;l++)i=a l , (i. type||"")&&!ce. data(i,"globalEval")&& ns(s,i)&&(i. src?ce. evalUrl(i. src): Eval((i. text||i. textContent||i. innerHTML||""). replace(ot,"")));u=r=null return this ), ( appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith" ,function(e,t) e =function(e) for(var n,r=0,i= ,o=ce(e),a=o. length-1;a>=r;r++)n=r===a?this: (!0),ce(o r ) t (n), (i,n. get());return ack(i) ), ( clone:function(e,t,n) var r,i,o,a,s,u= ns(e. ownerDocument,e);if( 5Clone|| oc(e)||! ("")?o=e. cloneNode(!0):( TML=e. outerHTML, Child(o= hild)),!( eEvent&& eChecked||1!==e. nodeType&&11!==e. nodeType|| oc(e)))for(r=x(o),s=x(e),a=0;null!=(i=s a );++a)r a &&b(i,r a );if(t)if(n)for(s=s||x(e),r=r||x(o),a=0;null!=(i=s a );a++)v(i,r a );else v(e,o);return r=x(o,"script"),r. length>0&&y(r,!u&&x(e,"script")),r=s=i=null,o ,buildFragment:function(e,t,n,r) for(var i,o,a,s,u,l,c,f=e. length,p=d(t),h= ,g=0;f>g;g++)if(o=e g ,o||0===o)if("object"=== (o)) (h,o. nodeType? o :o);else if( (o)) for(s=s||p. appendChild(t. createElement("div")),u=( (o)|| "","" ) 1 . toLowerCase(),c=at u ||at. default,s. innerHTML=c 1 +o. replace(Ge,"$2>")+c 2 ,i=c 0 ;i--;)s=s. lastChild;if(! gWhitespace&& (o)&&h. push(t. createTextNode( (o) 0 )),! )for(o="table"!==u|| (o)?" "!==c 1 || (o)?0:s:s. firstChild,i=o&& ;i--;) me(l=o. childNodes i ,"tbody")&&! &&o. removeChild(l);for( (h,s. childNodes),s. textContent="";s. firstChild;)s. removeChild(s. firstChild);s=p. lastChild else h. push(t. createTextNode(o));for(s&&p. removeChild(s), Checked|| (x(h,"input"),w),g=0;o=h g++ ;)if((!r||-1=== y(o,r))&&(a= ns(o. ownerDocument,o),s=x(p. appendChild(o),"script"),a&&y(s),n))for(i=0;o=s i++ ;) (o. type||"")&&n. push(o);return s=null,p ,cleanData:function(e,t) for(var n,r,i,o,a=0,s= o,u= ,l= Expando,c= l;null!=(n=e a );a++)if((t|| Data(n))&&(i=n s ,o=i&&u i )) if(o. events)for(r in o. events)c r ? (n,r): Event(n,r,o. handle);u i &&(delete u i ,l?delete n s :typeof n. removeAttribute!==Y?n. removeAttribute(s):n s =null, (i)) , evalUrl:function(e) return ( url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0 ) ), ( wrapAll:function(e) if( tion(e))return (function(t) ce(this). wrapAll(e. call(this,t)) );if(this 0 ) var t=ce(e,this 0 . ownerDocument). eq(0). clone(!0);this 0 . parentNode&&t. insertBefore(this 0 ),t. map(function() for(var e=this;e. firstChild&&1=== pe;)e=e. firstChild;return e ). append(this) return this ,wrapInner:function(e) return tion(e)? (function(t) ce(this). wrapInner(e. call(this,t)) ): (function() var t=ce(this),n=t. contents();n. length?n. wrapAll(e):t. append(e) ) ,wrap:function(e) var t= tion(e);return (function(n) ce(this). wrapAll(t?e. call(this,n):e) ) ,unwrap:function() return (). each(function() me(this,"body")||ce(this). replaceWith( odes) ). end() );var lt,ct,ft,pt=/alpha\( ) *\)/i,dt=/opacity\s*=\s*( ) *)/,ht=/ (top|right|bottom|left)$/,gt=/ (none|table(?!-c ea ). +)/,mt=/ margin/,yt=new RegExp(" ("+fe+")(. *)$","i"),vt=new RegExp(" ("+fe+")(?!px) a-z% +$","i"),bt=new RegExp(" ( +- )=("+fe+")","i"),xt= BODY:"block" ,wt= position:"absolute",visibility:"hidden",display:"block" ,Tt= letterSpacing:0,fontWeight:400 ,Ct= "Top","Right","Bottom","Left" ,Nt= "Webkit","O","Moz","ms" ; ( css:function(e,n) return (this,function(e,n,r) var i,o,a= ,s=0;if( y(n)) for(o=ct(e),i=n. length;i>s;s++)a n s = (e,n s ,!1,o);return a return r!==t? (e,n,r): (e,n) ,e,n, >1) ,show:function() return N(this,!0) ,hide:function() return N(this) ,toggle:function(e) return"boolean"==typeof e?e? (): (): (function() C(this)?ce(this). show():ce(this). hide() ) ), ( cssHooks: opacity: get:function(e,t) if(t) var n=ft(e,"opacity");return""===n?"1":n ,cssNumber: columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0 ,cssProps: "float": at?"cssFloat":"styleFloat" ,style:function(e,n,r,i) if(e&&3!==e. nodeType&&8!==e. nodeType&&e. style) var o,a,s,u= ase(n),l=e. style;if(n= ps u ||( ps u =T(l,u)),s= ks n || ks u ,r===t)return s&&"get"in s&&(o=s. get(e,!1,i))!==t?o:l n ;if(a=typeof r,"string"===a&&(o= (r))&&(r=(o 1 +1)*o 2 +parseFloat( (e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a|| ber u ||(r+="px"), loneStyle||""!==r||0!==n. indexOf("background")||(l n ="inherit"),s&&"set"in s&&(r=s. set(e,r,i))===t)))try l n =r catch(c) ,css:function(e,n,r,i) var o,a,s,u= ase(n);return n= ps u ||( ps u =T(e. style,u)),s= ks n || ks u ,s&&"get"in s&&(a=s. get(e,!0,r)),a===t&&(a=ft(e,n,i)),"normal"===a&&n in Tt&&(a=Tt n ),""===r||r?(o=parseFloat(a),r===!0|| ric(o)?o||0:a):a ),e. getComputedStyle?(ct=function(t) return e. getComputedStyle(t,null) ,ft=function(e,n,r) var i,o,a,s=r||ct(e),u=s?s. getPropertyValue(n)||s n :t,l=e. style;return s&&(""!==u|| ns(e. ownerDocument,e)||(u= (e,n)), (u)&& (n)&&(i=l. width,o=l. minWidth,a=l. maxWidth,l. minWidth=l. maxWidth=l. width=u,u=s. width,l. width=i,l. minWidth=o,l. maxWidth=a)),u ): tStyle&&(ct=function(e) return e. currentStyle ,ft=function(e,n,r) var i,o,a,s=r||ct(e),u=s?s n :t,l=e. style;return null==u&&l&&l n &&(u=l n ), (u)&&! (n)&&(i=l. left,o=e. runtimeStyle,a=o&&o. left,a&&(o. left= ),l. left="fontSize"===n?"1em":u,u=l. pixelLeft+"px",l. left=i,a&&(o. left=a)),""===u?"auto":u ), ( "height","width" ,function(e,t) ks t = get:function(e,n,r) return n?0===e. offsetWidth&& ( (e,"display"))? (e,wt,function() return S(e,t,r) ):S(e,t,r):void 0 ,set:function(e,n,r) var i=r&&ct(e);return k(e,n,r?E(e,t,r, ing&&"border-box"=== (e,"boxSizing",!1,i),i):0) ), y||( y= get:function(e,t) return ((t&&e. currentStyle? : )||"")?. 01*parseFloat(RegExp. $1)+"":t?"1":"" ,set:function(e,t) var n=e. style,r=e. currentStyle,i= ric(t)?"alpha(opacity="+100*t+")":"",o=r&&r. filter||n. filter||"";n. zoom=1,(t>=1||""===t)&&""=== (o. replace(pt,""))&&n. removeAttribute&&(n. removeAttribute("filter"),""===t||r&&!r. filter)||(n. filter= (o)?o. replace(pt,i):o+" "+i) ),ce(function() leMarginRight||( Right= get:function(e,t) return t? (e, display:"inline-block" ,ft, e,"marginRight" ):void 0 ),! osition&& on&& ( "top","left" ,function(e,t) ks t = get:function(e,n) return n?(n=ft(e,t), (n)?ce(e). position() t +"px":n):void 0 ) ), && s&&( =function(e) return e. offsetWidthr;r++)i e+Ct r +t =o r ||o r-2 ||o 0 ;return i , (e)||( ks e+t . set=k) );var kt=/%20/g,Et=/\ \ $/,St=/\r?\n/g,At=/ (?:submit|button|image|reset|file)$/i,jt=/ (?:input|select|textarea|keygen)/i; ( serialize:function() return ( izeArray()) ,serializeArray:function() return (function() var e= (this,"elements");return e? ray(e):this ). filter(function() var e= ;return &&!ce(this). is(":disabled")&& ( me)&&! (e)&&( d||! (e)) ). map(function(e,t) var n=ce(this). val();return null==n?null: y(n)? (n,function(e) return name:t. name,value:e. replace(St,"\r\n") ): name:t. name,value:n. replace(St,"\r\n") ). get() ), =function(e,n) var r,i= ,o=function(e,t) t= tion(t)?t():null==t?"":t,i i. length =encodeURIComponent(e)+"="+encodeURIComponent(t) ;if(n===t&&(n= ttings&& ional), y(e)||e. jquery&&! nObject(e)) (e,function() o( , ) );else for(r in e)D(r,e r ,n,o);return i. join("&"). replace(kt,"+") , ("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu". split(" "),function(e,t) t =function(e,n) return >0? (t,null,e,n): r(t) ), ( hover:function(e,t) return nter(e). mouseleave(t||e) ,bind:function(e,t,n) return (e,null,t,n) ,unbind:function(e,t) return (e,null,t) ,delegate:function(e,t,n,r) return (t,e,n,r) ,undelegate:function(e,t,n) return 1=== ? (e,"**"): (t,e||"**",n) );var Dt,Lt,Ht= (),qt=/\?/, t=/#. *$/,Mt=/( ?& ) = & */,Ot=/ (. *?): \t *( \r\n *)\r?$/gm,Ft=/ (?:about|app|app-storage|. +-extension|file|res|widget):$/,Bt=/ (?:GET|HEAD)$/,Pt=/ \/\//,Rt=/ ( \w. +- +:)(?:\/\/( \/?#: *)(?::(\d+)|)|)/,Wt= ,$t= ,It= ,zt="*/". concat("*");try Lt=J. href catch(Xt) Lt=G. createElement("a"), ="",Lt= Dt= ( rCase())|| , =function(e,n,r) if("string"!=typeof e&&Wt)return (this,arguments);var i,o,a,s=this,u=e. indexOf(" ");return u>=0&&(i=e. slice(u,e. length),e=e. slice(0,u)), tion(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s. length>0&& ( url:e,type:a,dataType:"html",data:n ). done(function(e) o=arguments,s. html(i?ce(" "). append( TML(e)). find(i):e) ). complete(r&&function(e,t) s. each(r,o|| e. responseText,t,e ) ),this , ( "ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend" ,function(e,t) t =function(e) return (t,e) ), ( active:0,lastModified: ,etag: ,ajaxSettings: url:Lt,type:"GET",isLocal: (Dt 1 ),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts: "*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript" ,contents: xml:/xml/,html:/html/,json:/json/ ,responseFields: xml:"responseXML",text:"responseText",json:"responseJSON" ,converters: "* text":String,"text html":!0,"text json": SON,"text xml": ML ,flatOptions: url:!0,context:!0 ,ajaxSetup:function(e,t) return t?q(q(e, ttings),t):q( ttings,e) ,ajaxPrefilter:L($t),ajaxTransport:L(It),ajax:function(e,n) function r(e,n,r,i) var o,f,v,b,w,C=n;2!==x&&(x=2,u&&clearTimeout(u),c=t,s=i||"",T. readyState=e>0?4:0,o=e>=200&&300>e||304===e,r&&(b= (p,T,r)),b=M(p,b,T,o),o?(p. ifModified&&(w=T. getResponseHeader("Last-Modified"),w&&( dified a =w),w=T. getResponseHeader("etag"),w&&( a =w)),204===e||"HEAD"===p. type?C="nocontent":304===e?C="notmodified":(C=b. state,f=b. data,v=b. error,o=!v)):(v=C,(e||!C)&&(C="error",0>e&&(e=0))),T. status=e,T. statusText=(n||C)+"",o?g. resolveWith(d, f,C,T ):g. rejectWith(d, T,C,v ),T. statusCode(y),y=t,l&&h. trigger(o?"ajaxSuccess":"ajaxError", T,p,o?f:v ),m. fireWith(d, T,C ),l&&(h. trigger("ajaxComplete", T,p ), || r("ajaxStop"))) "object"==typeof e&&(n=e,e=t),n=n|| ;var i,o,a,s,u,l,c,f,p= tup( ,n),d=p. context||p,h=p. context&&(d. nodeType||d. jquery)?ce(d): ,g= ed(),m= cks("once memory"),y=p. statusCode|| ,v= ,b= ,x=0,w="canceled",T= readyState:0,getResponseHeader:function(e) var t;if(2===x) if(!f)for(f= ;t= (s);)f t 1 . toLowerCase() =t 2 ;t=f e. toLowerCase() return null==t?null:t ,getAllResponseHeaders:function() return 2===x?s:null ,setRequestHeader:function(e,t) var n=e. toLowerCase();return x||(e=b n =b n ||e,v e =t),this ,overrideMimeType:function(e) return x||(p. mimeType=e),this ,statusCode:function(e) var t;if(e)if(2>x)for(t in e)y t = y t ,e t ;else T. always(e T. status );return this ,abort:function(e) var t=e||w;return c&&c. abort(t),r(0,t),this ;if(g. promise(T). complete=m. add,T. success=T. done,T. error=T. fail,p. url=((e||p. url||Lt)+""). replace( t,""). replace(Pt,Dt 1 +"//"),p. type=n. method||n. type||p. method||p. type,p. dataTypes= (p. dataType||"*"). toLowerCase(). match(pe)|| "" ,null==p. crossDomain&&(i= ( rCase()),p. crossDomain=!(!i||i 1 ===Dt 1 &&i 2 ===Dt 2 &&(i 3 ||("http:"===i 1 ?"80":"443"))===(Dt 3 ||("http:"===Dt 1 ?"80":"443")))),p. data&&p. processData&&"string"!=typeof p. data&&(p. data= (p. data,p. traditional)),H($t,p,n,T),2===x)return T;l=p. global,l&&0=== ++&& r("ajaxStart"),p. type= rCase(),p. hasContent=! (p. type),a=p. url,p. hasContent||(p. data&&(a=p. url+=( (a)?"&":"?")+p. data,delete p. data),p. cache===!1&&(p. url= (a)?a. replace(Mt,"$1 ="+Ht++):a+( (a)?"&":"?")+" ="+Ht++)),p. ifModified&&( dified a &&T. setRequestHeader("If-Modified-Since", dified a ), a &&T. setRequestHeader("If-None-Match", a )),(p. data&&p. hasContent&&p. contentType!==!1||n. contentType)&&T. setRequestHeader("Content-Type",p. contentType),T. setRequestHeader("Accept",p. dataTypes 0 &&p. accepts p. dataTypes 0 ?p. accepts p. dataTypes 0 +("*"!==p. dataTypes 0 ?", "+zt+"; q=0. 01":""):p. accepts "*" );for(o in p. headers)T. setRequestHeader(o,p. headers o );if(p. beforeSend&&( (d,T,p)===!1||2===x))return T. abort();w="abort";for(o in success:1,error:1,complete:1 )T o (p o );if(c=H(It,p,n,T)) T. readyState=1,l&&h. trigger("ajaxSend", T,p ),p. async&&p. timeout>0&&(u=setTimeout(function() T. abort("timeout") ,p. timeout));try x=1,c. send(v,r) catch(C) if(!(2>x))throw C;r(-1,C) else r(-1,"No Transport");return T ,getJSON:function(e,t,n) return (e,t,n,"json") ,getScript:function(e,n) return (e,t,n,"script") ), ( "get","post" ,function(e,n) ce n =function(e,r,i,o) return tion(r)&&(o=o||i,i=r,r=t), ( url:e,type:n,dataType:o,data:r,success:i ) ), tup( accepts: script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" ,contents: script:/(?:java|ecma)script/ ,converters: "text script":function(e) return Eval(e),e ), efilter("script",function(e) e. cache===t&&(e. cache=!1),e. crossDomain&&(e. type="GET",e. global=!1) ), ansport("script",function(e) if(e. crossDomain) var n,r=G. head||ce("head") 0 ||G. documentElement;return send:function(t,i) n=G. createElement("script"),n. async=!0,e. scriptCharset&&(n. charset=e. scriptCharset),n. src=e. url,n. onload=n. onreadystatechange=function(e,t) (t||!n. readyState||/loaded|complete/. test(n. readyState))&&(n. onload=n. onreadystatechange=null,n. parentNode&& Child(n),n=null,t||i(200,"success")) ,r. insertBefore(n,r. firstChild) ,abort:function() n&&n. onload(t,!0) );var Ut= ,Vt=/(=)\?(?=&|$)|\?\?/; tup( jsonp:"callback",jsonpCallback:function() var e= ()|| o+" "+Ht++;return this e =!0,e ), efilter("json jsonp",function(n,r,i) var o,a,s,u=n. jsonp!==!1&&( (n. url)?"url":"string"==typeof n. data&&!(n. contentType||""). indexOf("application/x-www-form-urlencoded")&& (n. data)&&"data");return u||"jsonp"===n. dataTypes 0 ?(o=n. jsonpCallback= tion(n. jsonpCallback)?n. jsonpCallback():n. jsonpCallback,u?n u =n u . replace(Vt,"$1"+o):n. jsonp!==!1&&(n. url+=( (n. url)?"&":"?")+n. jsonp+"="+o),n. converters "script json" =function() return s|| (o+" was not called"),s 0 ,n. dataTypes 0 ="json",a=e o ,e o =function() s=arguments ,i. always(function() e o =a,n o &&(n. jsonpCallback=r. jsonpCallback, (o)),s&& tion(a)&&a(s 0 ),s=a=t ),"script"):void 0 );var Yt,Jt,Gt=0,Qt=e. ActiveXObject&&function() var e;for(e in Yt)Yt e (t,!0) ; =e. ActiveXObject?function() return! l&&O()||F() :O,Jt= (), =!!Jt&&"withCredentials"in Jt,Jt= =!!Jt,Jt&& ansport(function(n) if(!n. crossDomain|| ) var r;return send:function(i,o) var a,s,u=n. xhr();if(n. username?u. open(n. type,n. url,n. async,n. username,n. password):u. open(n. type,n. url,n. async),n. xhrFields)for(s in n. xhrFields)u s =n. xhrFields s ;n. mimeType&&u. overrideMimeType&&u. overrideMimeType(n. mimeType),n. crossDomain||i "X-Requested-With" ||(i "X-Requested-With" ="XMLHttpRequest");try for(s in i)u. setRequestHeader(s,i s ) catch(l) u. send(n. hasContent&&n. data||null),r=function(e,i) var s,l,c,f;try if(r&&(i||4===u. readyState))if(r=t,a&&(u. onreadystatechange= ,Qt&&delete Yt a ),i)4!==u. readyState&&u. abort();else f= ,s=u. status,l=u. getAllResponseHeaders(),"string"==typeof u. responseText&&(f. text=u. responseText);try c=u. statusText catch(p) c="" s||!n. isLocal||n. crossDomain?1223===s&&(s=204):s=f. text?200:404 catch(d) i||o(-1,d) f&&o(s,c,f,l) ,n. async?4===u. readyState?setTimeout(r):(a=++Gt,Qt&&(Yt||(Yt= ,ce(e). unload(Qt)),Yt a =r),u. onreadystatechange=r):r() ,abort:function() r&&r(t,!0) );var Kt,Zt,en=/ (?:toggle|show|hide)$/,tn=new RegExp(" (?:( +- )=|)("+fe+")( a-z% *)$","i"),nn=/queueHooks$/,rn= $ ,on= "*": function(e,t) var n= Tween(e,t),r=n. cur(),i= (t),o=i&&i 3 ||( ber e ?"":"px"),a=( ber e ||"px"!==o&&+r)&& ( (n. elem,e)),s=1,u=20;if(a&&a 3 !==o) o=o||a 3 ,i=i|| ,a=+r||1;do s=s||". 5",a/=s, (n. elem,e,a+o);while(s!==(s=n. cur()/r)&&1!==s&&--u) return i&&(a=n. start=+a||+r||0,n. unit=o,n. end=i 1 ?a+(i 1 +1)*i 2 :+i 2 ),n ; ion= (R, tweener:function(e,t) tion(e)?(t=e,e= "*" ):e=e. split(" ");for(var n,r=0,i=e. length;i>r;r++)n=e r ,on n =on n || ,on n . unshift(t) ,prefilter:function(e,t) t? t(e): (e) ), =I,I. prototype= constructor:I,init:function(e,t,n,r,i,o) =e, =n, =i||"swing", s=t, = = (), =r, =o||( ber n ?"":"px") ,cur:function() var e=I. propHooks ;return e&&e. get?e. get(this):I. propHooks. (this) ,run:function(e) var t,n=I. propHooks ;return on? =t= (e, on*e,0,1, on): =t=e, =( )*t+ , && ( , ,this),n&&n. set?n. set(this):I. propHooks. (this),this , ype=I. prototype,I. propHooks= default: get:function(e) var t;return null==e. elem e. prop || &&null!= e. prop ?(t= (e. elem,e. prop,""),t&&"auto"!==t?t:0):e. elem e. prop ,set:function(e) e. prop ? e. prop (e): &&(null!= ps e. prop || ks e. prop )? (e. elem,e. prop,e. now+e. unit):e. elem e. prop =e. now , Top= Left= set:function(e) pe&& Node&&(e. elem e. prop =e. now) , ( "toggle","show","hide" ,function(e,t) var n= t ; t =function(e,r,i) return null==e||"boolean"==typeof e?n. apply(this,arguments): e(z(t,!0),e,r,i) ), ( fadeTo:function(e,t,n,r) return (C). css("opacity",0). show(). end(). animate( opacity:t ,e,n,r) ,animate:function(e,t,n,r) var i= yObject(e),o= (t,n,r),a=function() var t=R(this, ( ,e),o);(i||ce. data(this,"finish"))&&t. stop(!0) ;return a. finish=a,i||o. queue===!1? (a): (o. queue,a) ,stop:function(e,n,r) var i=function(e) var t=e. stop;delete e. stop,t(r) ;return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&& (e||"fx", ), (function() var t=!0,n=null!=e&&e+"queueHooks",o= ,a=ce. data(this);if(n)a n &&a n . stop&&i(a n );else for(n in a)a n &&a n . stop&& (n)&&i(a n );for(n=o. length;n--;)o n . elem!==this||null!=e&&o n . queue!==e||(o n (r),t=!1,o. splice(n,1));(t||!r)&& e(this,e) ) ,finish:function(e) return e!==!1&&(e=e||"fx"), (function() var t,n=ce. data(this),r=n e+"queue" ,i=n e+"queueHooks" ,o= ,a=r?r. length:0;for(n. finish=!0, (this,e, ),i&&i. stop&& (this,!0),t=o. length;t--;)o t . elem===this&&o t . queue===e&&(o t (!0),o. splice(t,1));for(t=0;a>t;t++)r t &&r t . finish&&r t (this);delete n. finish ) ), ( slideDown:z("show"),slideUp:z("hide"),slideToggle:z("toggle"),fadeIn: opacity:"show" ,fadeOut: opacity:"hide" ,fadeToggle: opacity:"toggle" ,function(e,t) e =function(e,n,r) return e(t,e,n,r) ), =function(e,t,n) var r=e&&"object"==typeof e? ( ,e): complete:n||!n&&t|| tion(e)&&e,duration:e,easing:n&&t||t&&! tion(t)&&t ;return r. duration= ?0:"number"==typeof r. duration?r. duration:r. duration in ? r. duration : . default,(null==r. queue||r. queue===!0)&&(r. queue="fx"),r. old=r. complete,r. complete=function() tion(r. old)&& (this),r. queue&& e(this,r. queue) ,r , = linear:function(e) return e ,swing:function(e) (e* )/2 , = , = , =function() var e,n= ,r=0;for(Kt= ();r -1,f= ,p= ;c?(p=a. position(),i=p. top,o=p. left):(i=parseFloat(u)||0,o=parseFloat(l)||0), tion(t)&&(t=t. call(e,n,s)),null!=t. top&&(f. top= +i),null!=t. left&&(f. left= +o),"using"in t? (e,f):a. css(f) , ( position:function() if(this 0 ) var e,t,n= top:0,left:0 ,r=this 0 ;return"fixed"=== (r,"position")?t=r. getBoundingClientRect():(e= Parent(),t= (), me(e 0 ,"html")||(n=e. offset()),n. top+= (e 0 ,"borderTopWidth",!0),n. left+= (e 0 ,"borderLeftWidth",!0)), top: (r,"marginTop",!0),left: (r,"marginLeft",!0) ,offsetParent:function() return (function() for(var e= Parent||Q;e&&! me(e,"html")&&"static"=== (e,"position");)e=e. offsetParent;return e||Q ) ), ( scrollLeft:"pageXOffset",scrollTop:"pageYOffset" ,function(e,n) var r=/Y/. test(n); e =function(i) return (this,function(e,i,o) var a=X(e);return o===t?a?n in a?a n : ntElement i :e i :void(a?a. scrollTo(r?ce(a). scrollLeft():o,r?o:ce(a). scrollTop()):e i =o) ,e,i, ,null) ), ( Height:"height",Width:"width" ,function(e,n) ( padding:"inner"+e,content:n,"":"outer"+e ,function(r,i) i =function(i,o) var a= &&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return (this,function(n,r,i) var o;return ow(n)? ntElement "client"+e :9===n. nodeType?(o=n. documentElement, (n. body "scroll"+e ,o "scroll"+e ,n. body "offset"+e ,o "offset"+e ,o "client"+e )):i===t? (n,r,s): (n,r,i,s) ,n,a?i:t,a,null) ) ), =function() return , f= k,"object"==typeof module&&module&&"object"==typeof s? s=ce:(e. jQuery=e. $=ce,"function"==typeof define&& &&define("jquery", ,function() return ce )) (window); ")) function o(e) var i="button, . ui-datepicker-prev, . ui-datepicker-next, . ui-datepicker-calendar td a";return e. delegate(i,"mouseout",function() t(this). removeClass("ui-state-hover"),-1!== f("ui-datepicker-prev")&&t(this). removeClass("ui-datepicker-prev-hover"),-1!== f("ui-datepicker-next")&&t(this). removeClass("ui-datepicker-next-hover") ). delegate(i,"mouseover",a) function a() t. datepicker. isDisabledDatepicker(v. inline? () 0 :v. input 0 )||(t(this). parents(". ui-datepicker-calendar"). find("a"). removeClass("ui-state-hover"),t(this). addClass("ui-state-hover"),-1!== f("ui-datepicker-prev")&&t(this). addClass("ui-datepicker-prev-hover"),-1!== f("ui-datepicker-next")&&t(this). addClass("ui-datepicker-next-hover")) function r(e,i) t. extend(e,i);for(var s in i)null==i s &&(e s =i s );return e function h(t) return function() var e= ();t. apply(this,arguments),this. refresh(),e!== ()&&this. trigger("change") t. ui=t. ui|| ,t. extend(t. ui, version:"1. 11. 4",keyCode: BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE DOWN:34,PAGE UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38 ), ( scrollParent:function(e) var i= ("position"),s="absolute"===i,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o= s(). filter(function() var e=t(this);return s&&"static"===e. css("position")?!1:n. test(e. css("overflow")+e. css("overflow-y")+e. css("overflow-x")) ). eq(0);return"fixed"!==i&&o. length?o:t(this 0 . ownerDocument||document) ,uniqueId:function() var t=0;return function() return (function() ||( ="ui-id-"+ ++t) ) (),removeUniqueId:function() return (function() / ui-id-\d+$/. test( )&&t(this). removeAttr("id") ) ),t. extend(t. expr ":" , data: Pseudo? Pseudo(function(e) return function(i) return!!t. data(i,e) ):function(e,i,s) return!!t. data(e,s 3 ) ,focusable:function(i) return e(i,!isNaN(t. attr(i,"tabindex"))) ,tabbable:function(i) var s=t. attr(i,"tabindex"),n=isNaN(s);return(n||s>=0)&&e(i,!n) ),t(""). outerWidth(1). jquery||t. each( "Width","Height" ,function(e,i) function s(e,i,s,o) return t. each(n,function() i-=parseFloat(t. css(e,"padding"+this))||0,s&&(i-=parseFloat(t. css(e,"border"+this+"Width"))||0),o&&(i-=parseFloat(t. css(e,"margin"+this))||0) ),i var n="Width"===i? "Left","Right" : "Top","Bottom" ,o=i. toLowerCase(),a= innerWidth: idth,innerHeight: eight,outerWidth: idth,outerHeight: eight ;t. fn "inner"+i =function(e) return void 0===e?a "inner"+i . call(this): (function() t(this). css(o,s(this,e)+"px") ) ,t. fn "outer"+i =function(e,n) return"number"!=typeof e?a "outer"+i . call(this,e): (function() t(this). css(o,s(this,e,!0,n)+"px") ) ), k||( k=function(t) return (null==t? ject: (t)) ),t(""). data("a-b","a"). removeData("a-b"). data("a-b")&&( Data=function(e) return function(i) return ?e. call(this,t. camelCase(i)):e. call(this) ( Data)), =!!/msie \w. +/. exec( rCase()), ( focus:function(e) return function(i,s) return"number"==typeof i? (function() var e=this;setTimeout(function() t(e). focus(),s&&s. call(e) ,i) ):e. apply(this,arguments) ( ),disableSelection:function() var t="onselectstart"in Element("div")?"selectstart":"mousedown";return function() return (t+". ui-disableSelection",function(t) t. preventDefault() ) (),enableSelection:function() return (". ui-disableSelection") ,zIndex:function(e) if(void 0!==e)return ("zIndex",e);if( )for(var i,s,n=t(this 0 );n. length&&n 0 !==document;) if(i=n. css("position"),("absolute"===i||"relative"===i||"fixed"===i)&&(s=parseInt(n. css("zIndex"),10),!isNaN(s)&&0!==s))return s;n=n. parent() return 0 ), = add:function(e,i,s) var n,o=t. ui e . prototype;for(n in s)o. plugins n =o. plugins n || ,o. plugins n . push( i,s n ) ,call:function(t,e,i,s) var n,o=t. plugins e ;if(o&&(s||t. element 0 . parentNode&&11!==t. element 0 pe))for(n=0;n o;o++)for(i in n o )s=n o i ,n o . hasOwnProperty(i)&&void 0!==s&&(t. isPlainObject(s)?e i =t. isPlainObject(e i )? ( ,e i ,s): ( ,s):e i =s);return e , =function(e,i) var s= FullName||e;t. fn e =function(n) var o="string"==typeof n,a=u. call(arguments,1),r=this;return o? (function() var i,o=t. data(this,s);return"instance"===n?(r=o,!1):o?t. isFunction(o n )&&" "!==n. charAt(0)?(i=o n . apply(o,a),i!==o&&void 0!==i?(r=i&&i. jquery?r. pushStack(i. get()):i,!1):void 0):t. error("no such method '"+n+"' for "+e+" widget instance"):t. error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+n+"'") ):(a. length&&(n= (null, n . concat(a))), (function() var e=t. data(this,s);e?(e. option(n|| ),e. init&&e. init()):t. data(this,s,new i(n,this)) )),r ,t. Widget=function() ,t. Widget. childConstructors= , ype= widgetName:"widget",widgetEventPrefix:"",defaultElement:" ",options: disabled:!1,create:null , createWidget:function(e,i) i=t(i|| tElement||this) 0 , t=t(i), =l++, amespace=". "+ Name+ , gs=t(), ble=t(), ble=t(),i!==this&&(t. data(i, FullName,this),this. on(!0, t, remove:function(t) t. target===i&& y() ), nt=t(i. style?i. ownerDocument:i. document||i), =t( nt 0 . defaultView|| nt 0 . parentWindow)), s= ( , s,this. getCreateOptions(),e),this. create(),this. trigger("create",null,this. getCreateEventData()),this. init() , getCreateOptions:t. noop, getCreateEventData:t. noop, create:t. noop, init:t. noop,destroy:function() this. destroy(), ( amespace). removeData( FullName). removeData(t. camelCase( FullName)), (). unbind( amespace). removeAttr("aria-disabled"). removeClass( FullName+"-disabled ui-state-disabled"), ( amespace), Class("ui-state-hover"), Class("ui-state-focus") , destroy:t. noop,widget:function() return t ,option:function(e,i) var s,n,o,a=e;if(0=== )return ( , s);if("string"==typeof e)if(a= ,s=e. split(". "),e=s. shift(),s. length) for(n=a e = ( , s e ),o=0;o = ce , mouseDelayMet:function() return elayMet , mouseStart:function() , mouseDrag:function() , mouseStop:function() , mouseCapture:function() return!0 );!function() function e(t,e,i) return parseFloat(t 0 )*(p. test(t 0 )?e/100:1),parseFloat(t 1 )*(p. test(t 1 )?i/100:1) function i(e,i) return parseInt(t. css(e,i),10)||0 function s(e) var i=e 0 ;return 9===i. nodeType? width:e. width(),height:e. height(),offset: top:0,left:0 :t. isWindow(i)? width:e. width(),height:e. height(),offset: top:e. scrollTop(),left:e.

Музеи Санкт-Петербурга - список музеев, часы работы, цена ...

scrollLeft() :i. preventDefault? width:0,height:0,offset: top:i. pageY,left:i. pageX : width:e. outerWidth(),height:e. outerHeight(),offset:e. offset() t. ui=t. ui|| ;var n,o,a= ,r= ,h= ,l=/left|center|right/,u=/top|center|bottom/,c=/ \+\- \d+(\. \d +)?%?/,d=/ \w+/,p=/%$/,f= on;t. position= scrollbarWidth:function() if(void 0!==n)return n;var e,i,s=t(" "),o=s. children() 0 ;return t("body"). append(s),e=o. offsetWidth,s. css("overflow","scroll"),i=o. offsetWidth,e===i&&(i=s 0 . clientWidth),s. remove(),n=e-i ,getScrollInfo:function(e) var i=e. isWindow||e. isDocument?"": ("overflow-x"),s=e. isWindow||e. isDocument?"": ("overflow-y"),n="scroll"===i||"auto"===i&&e. width i?"left":e>0?"right":"center",vertical:0>o?"top":s>0?"bottom":"middle" ;c>m&&r(e+i) g&&r(s+o) a(r(s),r(o))?h. important="horizontal":h. important="vertical", (this,t,h) ),u. offset(t. extend(T, using:l )) ) , on= fit: left:function(t,e) var i,s=e. within,n=s. isWindow?s. scrollLeft: ,o=s. width,r= Left,h=n-r,l=r+e. collisionWidth-o-n;e. collisionWidth>o?h>0&&0>=l?(i=t. left+h+e. collisionWidth-o-n,t. left+=h-i):l>0&&0>=h?t. left=n:h>l?t. left=n+ ionWidth:t. left=n:h>0?t. left+=h:l>0?t. left-=l:t. left=a(t. left-r,t. left) ,top:function(t,e) var i,s=e. within,n=s. isWindow?s. scrollTop: ,o= ,r= Top,h=n-r,l=r+e. collisionHeight-o-n;e. collisionHeight>o?h>0&&0>=l?(i=t. top+h+e. collisionHeight-o-n,t. top+=h-i):l>0&&0>=h?t. top=n:h>l?t. top=n+ ionHeight:t. top=n:h>0?t. top+=h:l>0?t. top-=l:t. top=a(t. top-r,t. top) ,flip: left:function(t,e) var i,s,n=e. within,o= +n. scrollLeft,a=n. width,h=n. isWindow?n. scrollLeft: ,l= Left,u=l-h,c=l+e. collisionWidth-a-h,d="left"===e. my 0 ? dth:"right"===e. my 0 ?e. elemWidth:0,p="left"===e. at 0 ?e. targetWidth:"right"===e. at 0 ? Width:0,f=-2*e. offset 0 ;0>u?(i=t. left+d+p+f+e. collisionWidth-a-o,(0>i||i 0&&(s= Left+d+p+f-h,(s>0||r(s) u?(s=t. top+p+f+m+e. collisionHeight-a-o,(0>s||s 0&&(i= Top+p+f+m-h,(i>0||r(i) 10&&11>n,e. innerHTML="",i. removeChild(e) () (); on,t. widget(" ion", version:"1. 11. 4",options: active:0,animate: ,collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons: activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e" ,activate:null,beforeActivate:null ,hideProps: borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide" ,showProps: borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show" , create:function() var e= s; ow= de=t(), ss("ui-accordion ui-widget ui-helper-reset"). attr("role","tablist"),e. collapsible||e. active!==!1&&null!=e. active||(e. active=0),this. processPanels(),e. active",delay:300,options: icons: submenu:"ui-icon-carat-1-e" ,items:"> *",menus:"ul",position: my:"left-1 top",at:"right top" ,role:"menu",blur:null,focus:null,select:null , create:function() Menu= t, andled=!1, Id(). addClass("ui-menu ui-widget ui-widget-content"). toggleClass("ui-menu-icons",!! (". ui-icon"). length). attr( role: ,tabIndex:0 ), ed&& ss("ui-state-disabled"). attr("aria-disabled","true"),this. on( "mousedown . ui-menu-item":function(t) t. preventDefault() ,"click . ui-menu-item":function(e) var i=t(e. target);! andled&&i. not(". ui-state-disabled"). length&&( (e),e. isPropagationStopped()||( andled=!0),i. has(". ui-menu"). length? (e):! (":focus")&&t( nt 0 . activeElement). closest(". ui-menu"). length&&( r("focus", !0 ), &&1=== s(". ui-menu"). length&&clearTimeout( ))) ,"mouseenter . ui-menu-item":function(e) if(! usFilter) var i=t(e. currentTarget);i. siblings(". ui-state-active"). removeClass("ui-state-active"), (e,i) ,mouseleave:"collapseAll","mouseleave . ui-menu":"collapseAll",focus:function(t,e) var i= || ( ). eq(0);e|| (t,i) ,blur:function(e) this. delay(function() t. contains( t 0 , nt 0 . activeElement)|| seAll(e) ) ,keydown:" keydown" ), h(),this. on( nt, click:function(t) this. closeOnDocumentClick(t)&& seAll(t), andled=!1 ) , destroy:function() Attr("aria-activedescendant"). find(". ui-menu"). addBack(). removeClass("ui-menu ui-widget ui-widget-content ui-menu-icons ui-front"). removeAttr("role"). removeAttr("tabIndex"). removeAttr("aria-labelledby"). removeAttr("aria-expanded"). removeAttr("aria-hidden"). removeAttr("aria-disabled"). removeUniqueId(). show(), (". ui-menu-item"). removeClass("ui-menu-item"). removeAttr("role"). removeAttr("aria-disabled"). removeUniqueId(). removeClass("ui-state-hover"). removeAttr("tabIndex"). removeAttr("role"). removeAttr("aria-haspopup"). children(). each(function() var e=t(this);e. data("ui-menu-submenu-carat")&&e. remove() ), (". ui-menu-divider"). removeClass("ui-menu-divider ui-widget-content") , keydown:function(e) var i,s,n,o,a=!0;switch(e. keyCode) case UP: usPage(e);break;case DOWN: ge(e);break;case :this. move("first","first",e);break;case :this. move("last","last",e);break;case : us(e);break;case : (e);break;case : se(e);break;case : &&! (". ui-state-disabled")&& (e);break;case :case :this. activate(e);break;case : se(e);break;default:a=!1,s= usFilter||"",n= arCode(e. keyCode),o=!1,clearTimeout( Timer),n===s?o=!0:n=s+n,i=this. filterMenuItems(n),i=o&&-1!==i. index( ())? l(". ui-menu-item"):i,i. length||(n= arCode(e. keyCode),i=this. filterMenuItems(n)),i. length?( (e,i), usFilter=n, Timer=this. delay(function() delete usFilter ,1e3)):delete usFilter a&&e. preventDefault() , activate:function(t) (". ui-state-disabled")||( (" aria-haspopup='true' ")? (t): (t)) ,refresh:function() var e,i,s=this,n= u,o= ( ); Class("ui-menu-icons",!! (". ui-icon"). length),o. filter(":not(. ui-menu)"). addClass("ui-menu ui-widget ui-widget-content ui-front"). hide(). attr( role: ,"aria-hidden":"true","aria-expanded":"false" ). each(function() var e=t(this),i=e. parent(),s=t(""). addClass("ui-menu-icon ui-icon "+n). data("ui-menu-submenu-carat",!0);i. attr("aria-haspopup","true"). prepend(s),e. attr("aria-labelledby",i. attr("id")) ),e=o. add( t),i=e. find( ),i. not(". ui-menu-item"). each(function() var e=t(this);s. isDivider(e)&&e. addClass("ui-widget-content ui-menu-divider") ),i. not(". ui-menu-item, . ui-menu-divider"). addClass("ui-menu-item"). uniqueId(). attr( tabIndex:-1,role:this. itemRole() ),i. filter(". ui-state-disabled"). attr("aria-disabled","true"), &&!t. contains( t 0 , 0 )&& () , itemRole:function() return menu:"menuitem",listbox:"option" , setOption:function(t,e) "icons"===t&& (". ui-menu-icon"). removeClass( u). addClass(e. submenu),"disabled"===t&& Class("ui-state-disabled",!!e). attr("aria-disabled",e),this. super(t,e) ,focus:function(t,e) var i,s; (t,t&&"focus"===t. type),this. scrollIntoView(e), =e. first(),s= ss("ui-state-focus"). removeClass("ui-state-active"), && ("aria-activedescendant",s. attr("id")), (). closest(". ui-menu-item"). addClass("ui-state-active"),t&&"keydown"===t. type?this. close(): =this. delay(function() this. close() , ),i=e. children(". ui-menu"),i. length&&t&&/ mouse/. test(t. type)&&this. startOpening(i), Menu=e. parent(),this. trigger("focus",t, item:e ) , scrollIntoView:function(e) var i,s,n,o,a,r;this. hasScroll()&&(i=parseFloat(t. css( Menu 0 ,"borderTopWidth"))||0,s=parseFloat(t. css( Menu 0 ,"paddingTop"))||0,n=e. offset() (). top-i-s,o= Top(),a= (),r=e. outerHeight(),0>n? Top(o+n):n+r>a&& Top(o+n-a+r)) ,blur:function(t,e) e||clearTimeout( ), &&( Class("ui-state-focus"), =null,this. trigger("blur",t, item: )) , startOpening:function(t) clearTimeout( ),"true"===t. attr("aria-hidden")&&( =this. delay(function() this. close(),this. open(t) , )) , open:function(e) var i=t. extend( of: , on);clearTimeout( ), (". ui-menu"). not(e. parents(". ui-menu")). hide(). attr("aria-hidden","true"),e. show(). removeAttr("aria-hidden"). attr("aria-expanded","true"). position(i) ,collapseAll:function(e,i) clearTimeout( ), =this. delay(function() var s=i? t:t(e&&e. target). closest( (". ui-menu"));s. length||(s= t),this. close(s), (e), Menu=s , ) , close:function(t) t||(t= ? (): t),t. find(". ui-menu"). hide(). attr("aria-hidden","true"). attr("aria-expanded","false"). end(). find(". ui-state-active"). not(". ui-state-focus"). removeClass("ui-state-active") , closeOnDocumentClick:function(e) return!t(e. target). closest(". ui-menu"). length , isDivider:function(t) return!/ \-\u2014\u2013\s /. test(t. text()) ,collapse:function(t) var e= && (). closest(". ui-menu-item", t);e&&e. length&&(this. close(), (t,e)) ,expand:function(t) var e= && en(". ui-menu "). find( ). first();e&&e. length&&(this. open(e. parent()),this. delay(function() (t,e) )) ,next:function(t) this. move("next","first",t) ,previous:function(t) this. move("prev","last",t) ,isFirstItem:function() return &&! l(". ui-menu-item"). length ,isLastItem:function() return &&! l(". ui-menu-item"). length , move:function(t,e,i) var s; &&(s="first"===t||"last"===t? "first"===t?"prevAll":"nextAll" (". ui-menu-item"). eq(-1): t+"All" (". ui-menu-item"). eq(0)),s&&s. length&& ||(s= ( ) e ()), (i,s) ,nextPage:function(e) var i,s,n;return ?void( Item()||(this. hasScroll()?(s= (). top,n= (), l(". ui-menu-item"). each(function() return i=t(this),i. offset(). top-s-n0 ), (e,i)): (e, ( ). first()))):void (e) , hasScroll:function() return eight() ",options: appendTo:null,autoFocus:!1,delay:300,minLength:1,position: my:"left top",at:"left bottom",collision:"none" ,source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null ,requestIndex:0,pending:0, create:function() var e,i,s,n= t 0 rCase(),o="textarea"===n,a="input"===n; iLine=o?!0:a?!1: ("isContentEditable"), ethod= t o||a?"val":"text" , enu=!0, ss("ui-autocomplete-input"). attr("autocomplete","off"),this. on( t, keydown:function(n) if( ("readOnly"))return e=!0,s=!0,void(i=!0);e=!1,s=!1,i=!1;var o= e;switch(n. keyCode) case o. PAGE UP:e=!0,this. move("previousPage",n);break;case o. PAGE DOWN:e=!0,this. move("nextPage",n);break;case o. UP:e=!0,this. keyEvent("previous",n);break;case o. DOWN:e=!0,this. keyEvent("next",n);break;case o. ENTER: &&(e=!0,n. preventDefault(), (n));break;case o. TAB: && (n);break;case o. ESCAPE: (":visible")&&( iLine||this. value( ), (n),n. preventDefault());break;default:i=!0,this. searchTimeout(n) ,keypress:function(s) if(e)return e=!1,void((! iLine|| (":visible"))&&s. preventDefault());if(!i) var n= e;switch(s. keyCode) case n. PAGE UP:this. move("previousPage",s);break;case n. PAGE DOWN:this. move("nextPage",s);break;case n. UP:this. keyEvent("previous",s);break;case n. DOWN:this. keyEvent("next",s) ,input:function(t) return s?(s=!1,void t. preventDefault()):void this. searchTimeout(t) ,focus:function() edItem=null, us=this. value() ,blur:function(t) return Blur?void delete Blur:(clearTimeout( ing), (t),void this. change(t)) ),this. initSource(), =t(" "). addClass("ui-autocomplete ui-front"). appendTo(this. appendTo()). menu( role:null ). hide(). menu("instance"),this. on( t, mousedown:function(e) e. preventDefault(), Blur=!0,this. delay(function() delete Blur );var i= t 0 ;t(e. target). closest(". ui-menu-item"). length||this. delay(function() var e=this; ("mousedown",function(s) s. target===e. element 0 ||s. target===i||t. contains(i,s. target)||e. close() ) ) ,menufocus:function(e,i) var s,n;return enu&&( enu=!1,e. originalEvent&&/ mouse/. test( ))?( (),void ("mousemove",function() t(e. target). trigger(e. originalEvent) )):(n= ("ui-autocomplete-item"),!1!==this. trigger("focus",e, item:n )&&e. originalEvent&&/ key/. test( )&&this. value(n. value),s= ("aria-label")||n. value,void(s&&t. trim(s). length&&( en(). hide(),t(" "). text(s). appendTo( gion)))) ,menuselect:function(t,e) var i= ("ui-autocomplete-item"),s= us; t 0 !== nt 0 . activeElement&&( (), us=s,this. delay(function() us=s, edItem=i )),!1!==this. trigger("select",t, item:i )&&this. value(i. value), =this. value(), (t), edItem=i ), gion=t("", role:"status","aria-live":"assertive","aria-relevant":"additions" ). addClass("ui-helper-hidden-accessible"). appendTo( nt 0 . body),this. on( , beforeunload:function() Attr("autocomplete") ) , destroy:function() clearTimeout( ing), Class("ui-autocomplete-input"). removeAttr("autocomplete"), (), () , setOption:function(t,e) this. super(t,e),"source"===t&&this. initSource(),"appendTo"===t&& To(this. appendTo()),"disabled"===t&&e&& && () , appendTo:function() var e= To;return e&&(e=e. jquery||e. nodeType?t(e): (e). eq(0)),e&&e 0 ||(e= t(". ui-front")),e. length||(e= nt 0 . body),e , initSource:function() var e,i,s=this;t. isArray( )?(e= , =function(i,s) s( (e,i. term)) ):"string"==typeof ?(i= , =function(e,n) s. xhr&& (),s. xhr=t. ajax( url:i,data:e,dataType:"json",success:function(t) n(t) ,error:function() n( ) ) ): = , searchTimeout:function(t) clearTimeout( ing), ing=this. delay(function() var e= ===this. value(),i= (":visible"),s=t. altKey||t. ctrlKey||t. metaKey||t. shiftKey;(!e||e&&!i&&!s)&&( edItem=null, (null,t)) , ) ,search:function(t,e) return t=null!=t?t:this. value(), =this. value(),t. length "). text(i. label). appendTo(e) , move:function(t,e) return (":visible")? tItem()&&/ previous/. test(t)|| Item()&&/ next/. test(t)?( iLine||this. value( ),void ()):void t (e):void (null,e) ,widget:function() return t , value:function() return ( t,arguments) , keyEvent:function(t,e) (! iLine|| (":visible"))&&(this. move(t,e),e. preventDefault()) ),t. extend( mplete, escapeRegex:function(t) return t. replace(/ \-\ \ ()*+?. ,\\\ $|#\s /g,"\\$&") ,filter:function(e,i) var s=new RegExp( Regex(i),"i");return t. grep(e,function(t) return s. test(t. label||t. value||t) ) ),t. widget(" mplete", mplete, options: messages: noResults:"No search results. ",results:function(t) return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate. " , response:function(e) var i;this. superApply(arguments), ed|| Search||(i=e&&e. length? s(e. length): lts, en(). hide(),t(" "). text(i). appendTo( gion)) );var d,p=( mplete,"ui-button ui-widget ui-state-default ui-corner-all"),f="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",m=function() var e=t(this);setTimeout(function() e. find(":ui-button"). button("refresh") ,1) ,g=function(e) var i=e. name,s=e. form,n=t( );return i&&(i=i. replace(/'/g,"\\'"),n=s?t(s). find(" name='"+i+"' type=radio "):t(" name='"+i+"' type=radio ",e. ownerDocument). filter(function() return! )),n ;t. widget(" ", version:"1. 11. 4",defaultElement:" ",options: disabled:null,text:!0,label:null,icons: primary:null,secondary:null , create:function() t("form"). unbind("reset"+ amespace). bind("reset"+ amespace,m),"boolean"!=typeof ed? ed=!! ("disabled"): ("disabled", ed),this. determineButtonType(), le=!! ("title");var e=this,i= s,s="checkbox"=== ||"radio"=== ,n=s?"":"ui-state-active";null===i. label&&(i. label="input"=== ? (): ()),this. hoverable( Element), ss(p). attr("role","button"). bind("mouseenter"+ amespace,function() i. disabled||this===d&&t(this). addClass("ui-state-active") ). bind("mouseleave"+ amespace,function() i. disabled||t(this). removeClass(n) ). bind("click"+ amespace,function(t) i. disabled&&(t. preventDefault(),t. stopImmediatePropagation()) ),this. on( focus:function() ss("ui-state-focus") ,blur:function() Class("ui-state-focus") ),s&& ("change"+ amespace,function() e. refresh() ),"checkbox"=== ? ("click"+ amespace,function() return i. disabled?!1:void 0 ):"radio"=== ? ("click"+ amespace,function() if(i. disabled)return!1;t(this). addClass("ui-state-active"), ("aria-pressed","true");var s=e. element 0 ;g(s). not(s). map(function() return t(this). button("widget") 0 ). removeClass("ui-state-active"). attr("aria-pressed","false") ):( ("mousedown"+ amespace,function() return i. disabled?!1:(t(this). addClass("ui-state-active"),d=this,void ("mouseup",function() d=null )) ). bind("mouseup"+ amespace,function() return i. disabled?!1:void t(this). removeClass("ui-state-active") ). bind("keydown"+ amespace,function(e) return i. disabled?!1:void((e. keyCode=== ||e. keyCode=== )&&t(this). addClass("ui-state-active")) ). bind("keyup"+ amespace+" blur"+ amespace,function() t(this). removeClass("ui-state-active") ), ("a")&& (function(e) e. keyCode=== &&t(this). click() )),this. setOption("disabled",i. disabled),this. resetButton() , determineButtonType:function() var t,e,i; (" type=checkbox ")? ="checkbox": (" type=radio ")? ="radio": ("input")? ="input": ="button","checkbox"=== ||"radio"=== ?(t= s(). last(),e="label for='"+ ("id")+"' ", Element=t. find(e), ||(t=t. length?t. siblings(): gs(), Element=t. filter(e), ||( Element=t. find(e))), ss("ui-helper-hidden-accessible"),i= (":checked"),i&& ss("ui-state-active"), ("aria-pressed",i)): Element= t ,widget:function() return Element , destroy:function() Class("ui-helper-hidden-accessible"), Class(p+" ui-state-active "+f). removeAttr("role"). removeAttr("aria-pressed"). html( (". ui-button-text"). html()), le|| Attr("title") , setOption:function(t,e) return this. super(t,e),"disabled"===t?( (). toggleClass("ui-state-disabled",!!e), ("disabled",!!e),void(e&&("checkbox"=== ||"radio"=== ? Class("ui-state-focus"): Class("ui-state-focus ui-state-active")))):void this. resetButton() ,refresh:function() var e= ("input, button")? (":disabled"): ss("ui-button-disabled");e!== ed&&this. setOption("disabled",e),"radio"=== ?g( t 0 ). each(function() t(this). is(":checked")?t(this). button("widget"). addClass("ui-state-active"). attr("aria-pressed","true"):t(this). button("widget"). removeClass("ui-state-active"). attr("aria-pressed","false") ):"checkbox"=== &&( (":checked")? ss("ui-state-active"). attr("aria-pressed","true"): Class("ui-state-active"). attr("aria-pressed","false")) , resetButton:function() if("input"=== )return void( && ( ));var e= Class(f),i=t("", nt 0 ). addClass("ui-button-text"). html( ). appendTo(e. empty()). text(),s= ,n=s. primary&&s. secondary,o= ;s. primary||s. secondary?( &&o. push("ui-button-text-icon"+(n?"s":s. primary?"-primary":"-secondary")),s. primary&&e. prepend(""),s. secondary&&e. append(""), ||(o. push(n?"ui-button-icons-only":"ui-button-icon-only"), le||e. attr("title",t. trim(i)))):o. push("ui-button-text-only"),e. addClass(o. join(" ")) ),t. widget(" set", version:"1. 11. 4",options: items:"button, input type=button , input type=submit , input type=reset , input type=checkbox , input type=radio , a, :data(ui-button)" , create:function() ss("ui-buttonset") , init:function() h() , setOption:function(t,e) "disabled"===t&& ("option",t,e),this. super(t,e) ,refresh:function() var e="rtl"=== ("direction"),i= ( ),s=i. filter(":ui-button");i. not(":ui-button"). button(),s. button("refresh"), s=i. map(function() return t(this). button("widget") 0 ). removeClass("ui-corner-all ui-corner-left ui-corner-right"). filter(":first"). addClass(e?"ui-corner-right":"ui-corner-left"). end(). filter(":last"). addClass(e?"ui-corner-left":"ui-corner-right"). end(). end() , destroy:function() Class("ui-buttonset"), (function() return t(this). button("widget") 0 ). removeClass("ui-corner-left ui-corner-right"). end(). button("destroy") ); ;t. extend(t. ui, datepicker: version:"1. 11. 4" );var v;t. extend(n. prototype, markerClassName:"hasDatepicker",maxRows:4, widgetDatepicker:function() return ,setDefaults:function(t) return r(this. defaults,t|| ),this , attachDatepicker:function(e,i) var s,n,o;s= rCase(),n="div"===s||"span"===s,e. id||( +=1,e. id="dp"+ ),o=this. newInst(t(e),n),o. settings=t. extend( ,i|| ),"input"===s?this. connectDatepicker(e,o):n&&this. inlineDatepicker(e,o) , newInst:function(e,i) var s=e 0 e(/( A-Za-z0-9 \- )/g,"\\\\$1");return id:s,input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?o(t(" ")): , connectDatepicker:function(e,i) var s=t(e);i. append=t( ),i. trigger=t( ),s. hasClass( ClassName)||(this. attachments(s,i),s. addClass( ClassName). keydown(this. doKeyDown). keypress(this. doKeyPress). keyup(this. doKeyUp),this. autoSize(i),t. data(e,"datepicker",i), ed&&this. disableDatepicker(e)) , attachments:function(e,i) var s,n,o,a=this. get(i,"appendText"),r=this. get(i,"isRTL");i. append&& (),a&&(i. append=t(""+a+""),e r?"before":"after" (i. append)),e. unbind("focus",this. showDatepicker),i. trigger&& (),s=this. get(i,"showOn"),("focus"===s||"both"===s)&&e. focus(this. showDatepicker),("button"===s||"both"===s)&&(n=this. get(i,"buttonText"),o=this. get(i,"buttonImage"),i. trigger=t(this. get(i,"buttonImageOnly")?t(" "). addClass(this. triggerClass). attr( src:o,alt:n,title:n ):t(" "). addClass(this. triggerClass). html(o?t(" "). attr( src:o,alt:n,title:n ):n)),e r?"before":"after" (i. trigger), (function() return t. datepicker. datepickerShowing&&t. datepicker. lastInput===e 0 ?t. datepicker. hideDatepicker():t. datepicker. datepickerShowing&&t. datepicker. lastInput!==e 0 ?(t. datepicker. hideDatepicker(),t. datepicker. showDatepicker(e 0 )):t. datepicker. showDatepicker(e 0 ),!1 )) , autoSize:function(t) if(this. get(t,"autoSize")&&!t. inline) var e,i,s,n,o=new Date(2009,11,20),a=this. get(t,"dateFormat");a. match(/ DM /)&&(e=function(t) for(i=0,s=0,n=0;n i&&(i=t n . length,s=n);return s ,o. setMonth(e(this. get(t,a. match(/MM/)?"monthNames":"monthNamesShort"))),o. setDate(e(this. get(t,a. match(/DD/)?"dayNames":"dayNamesShort"))+ ())), ("size",this. formatDate(t,o). length) , inlineDatepicker:function(e,i) var s=t(e);s. hasClass( ClassName)||(s. addClass( ClassName). append(i. dpDiv),t. data(e,"datepicker",i),this. setDate(i,this. getDefaultDate(i),!0),this. updateDatepicker(i),this. updateAlternate(i), ed&&this. disableDatepicker(e), ("display","block")) , dialogDatepicker:function(e,i,s,n,o) var a,h,l,u,c,d=this. dialogInst;return d||( +=1,a="dp"+ ,this. dialogInput=t(" "),this. n(this. doKeyDown),t("body"). append(this. dialogInput),d=this. dialogInst=this. newInst(this. dialogInput,!1),d. settings= ,t. data(this. dialogInput 0 ,"datepicker",d)),r(d. settings,n|| ),i=i&&i. constructor===Date?this. formatDate(d,i):i,this. (i),this. pos=o?o. length?o: o. pageX,o. pageY :null,this. pos||(h= Width,l= Height,u= Left|| Left,c= Top|| Top,this. pos= h/2-100+u,l/2-150+c ),this. ("left",this. pos 0 +20+"px"). css("top",this. pos 1 +"px"), ct=s,this. inDialog=!0, ss(this. dialogClass),this. showDatepicker(this. dialogInput 0 ),t. blockUI&&t. blockUI( ),t. data(this.

Официальный сайт | Карта Гостя Санкт-Петербурга

dialogInput 0 ,"datepicker",d),this , destroyDatepicker:function(e) var i,s=t(e),n=t. data(e,"datepicker");s. hasClass( ClassName)&&(i= rCase(),t. removeData(e,"datepicker"),"input"===i?( (), (),s. removeClass( ClassName). unbind("focus",this. showDatepicker). unbind("keydown",this. doKeyDown). unbind("keypress",this. doKeyPress). unbind("keyup",this. doKeyUp)):("div"===i||"span"===i)&&s. removeClass( ClassName). empty(),v===n&&(v=null)) , enableDatepicker:function(e) var i,s,n=t(e),o=t. data(e,"datepicker");n. hasClass( ClassName)&&(i= rCase(),"input"===i?(e. disabled=!1, ("button"). each(function() ed=!1 ). end(). filter("img"). css( opacity:"1. 0",cursor:"" )):("div"===i||"span"===i)&&(s=n. children(". "+this. inlineClass),s. children(). removeClass("ui-state-disabled"),s. find(" -datepicker-month, -datepicker-year"). prop("disabled",!1)),this. disabledInputs=t. map(this. disabledInputs,function(t) return t===e?null:t )) , disableDatepicker:function(e) var i,s,n=t(e),o=t. data(e,"datepicker");n. hasClass( ClassName)&&(i= rCase(),"input"===i?(e. disabled=!0, ("button"). each(function() ed=!0 ). end(). filter("img"). css( opacity:"0. 5",cursor:"default" )):("div"===i||"span"===i)&&(s=n. children(". "+this. inlineClass),s. children(). addClass("ui-state-disabled"),s. find(" -datepicker-month, -datepicker-year"). prop("disabled",!0)),this. disabledInputs=t. map(this. disabledInputs,function(t) return t===e?null:t ),this. disabledInputs this. =e) , isDisabledDatepicker:function(t) if(!t)return!1;for(var e=0;e s||!i||i. indexOf(s)>-1):void 0 , doKeyUp:function(e) var i,s=t. datepicker. getInst(e. target);if( ()!==s. lastVal)try i= ate(t. datepicker. get(s,"dateFormat"),s. input? ():null,t. datepicker. getFormatConfig(s)),i&&(t. datepicker. setDateFromField(s),t. datepicker. updateAlternate(s),t. datepicker. updateDatepicker(s)) catch(n) return!0 , showDatepicker:function(e) if(e=e. target||e,"input"!== rCase()&&(e=t("input",e. parentNode) 0 ),!t. datepicker. isDisabledDatepicker(e)&&t. datepicker. lastInput!==e) var i,n,o,a,h,l,u;i=t. datepicker. getInst(e),t. datepicker. curInst&&t. datepicker. curInst!==i&&(t. datepicker. (!0,!0),i&&t. datepicker. datepickerShowing&&t. datepicker. hideDatepicker(t. datepicker. 0 )),n=t. datepicker. get(i,"beforeShow"),o=n?n. apply(e, e,i ): ,o!==!1&&(r(i. settings,o),i. lastVal=null,t. datepicker. lastInput=e,t. datepicker. setDateFromField(i),t. datepicker. inDialog&&(e. value=""),t. datepicker. pos||(t. datepicker. pos=t. datepicker. findPos(e),t. datepicker. pos 1 +=e. offsetHeight),a=!1,t(e). parents(). each(function() return a|="fixed"===t(this). css("position"),!a ),h= left:t. datepicker. pos 0 ,top:t. datepicker. pos 1 ,t. datepicker. pos=null, (), ( position:"absolute",display:"block",top:"-1000px" ),t. datepicker. updateDatepicker(i),h=t. datepicker. checkOffset(i,h,a), ( position:t. datepicker. inDialog&&t. blockUI?"static":a?"fixed":"absolute",display:"none",left:h. left+"px",top:h. top+"px" ),i. inline||(l=t. datepicker. get(i,"showAnim"),u=t. datepicker. get(i,"duration"), ("z-index",s(t(e))+1),t. datepicker. datepickerShowing=!0,t. effects&& l ? (l,t. datepicker. get(i,"showOptions"),u):i. dpDiv l||"show" (l?u:null),t. datepicker. shouldFocusInput(i)&& (),t. datepicker. curInst=i)) , updateDatepicker:function(e) s=4,v=e, (). append(this. generateHTML(e)),this. attachHandlers(e);var i,s=this. getNumberOfMonths(e),n=s 1 ,o=17,r= (". "+this. dayOverClass+" a");r. length>0&&a. apply(r. get(0)), Class("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4"). width(""),n>1&& ss("ui-datepicker-multi-"+n). css("width",o*n+"em"),e. dpDiv (1!==s 0 ||1!==s 1 ?"add":"remove")+"Class" ("ui-datepicker-multi"),e. dpDiv (this. get(e,"isRTL")?"add":"remove")+"Class" ("ui-datepicker-rtl"),e===t. datepicker. curInst&&t. datepicker. datepickerShowing&&t. datepicker. shouldFocusInput(e)&& (),e. yearshtml&&(i=e. yearshtml,setTimeout(function() i===e. yearshtml&&e. yearshtml&& (" -datepicker-year:first"). replaceWith(e. yearshtml),i=e. yearshtml=null ,0)) , shouldFocusInput:function(t) return t. input&& (":visible")&&! (":disabled")&&! (":focus") , checkOffset:function(e,i,s) var n= idth(),o= eight(),a=e. input? idth():0,r=e. input? eight():0,h= Width+(s?0:t(document). scrollLeft()),l= Height+(s?0:t(document). scrollTop());return i. left-=this. get(e,"isRTL")?n-a:0,i. left-=s&&i. left=== (). left?t(document). scrollLeft():0,i. top-=s&&i. top=== (). top+r?t(document). scrollTop():0,i. left-= (i. left,i. left+n>h&&h>n? (i. left+n-h):0),i. top-= (i. top,i. top+o>l&&l>o? (o+r):0),i , findPos:function(e) for(var i,s=this. getInst(e),n=this. get(s,"isRTL");e&&("hidden"===e. type||1!==e. nodeType|| (e));)e=e n?"previousSibling":"nextSibling" ;return i=t(e). offset(), i. left,i. top , hideDatepicker:function(e) var i,s,n,o,a=this. curInst;!a||e&&a!==t. data(e,"datepicker")||this. datepickerShowing&&(i=this. get(a,"showAnim"),s=this. get(a,"duration"),n=function() t. datepicker. tidyDialog(a) ,t. effects&&( i ||t. effects i )? (i,t. datepicker. get(a,"showOptions"),s,n):a. dpDiv "slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide" (i?s:null,n),i||n(),this. datepickerShowing=!1,o=this. get(a,"onClose"),o&&o. apply(a. input?a. input 0 :null, a. input? ():"",a ),this. lastInput=null,this. inDialog&&(this. ( position:"absolute",left:"0",top:"-100px" ),t. blockUI&&(t. unblockUI(),t("body"). append( ))),this. inDialog=!1) , tidyDialog:function(t) Class(this. dialogClass). unbind(". ui-datepicker-calendar") , checkExternalClick:function(e) if(t. datepicker. curInst) var i=t(e. target),s=t. datepicker. getInst(i 0 );(i 0 . id!==t. datepicker. mainDivId&&0===i. parents("#"+t. datepicker. mainDivId). length&&!i. hasClass( ClassName)&&!i. closest(". "+t. datepicker. triggerClass). length&&t. datepicker. datepickerShowing&&(!t. datepicker. inDialog||!t. blockUI)||i. hasClass( ClassName)&&t. datepicker. curInst!==s)&&t. datepicker. hideDatepicker() , adjustDate:function(e,i,s) var n=t(e),o=this. getInst(n 0 );this. isDisabledDatepicker(n 0 )||(this. adjustInstDate(o,i+("M"===s?this. get(o,"showCurrentAtPos"):0),s),this. updateDatepicker(o)) , gotoToday:function(e) var i,s=t(e),n=this. getInst(s 0 );this. get(n,"gotoCurrent")&&n. currentDay?(n. selectedDay=n. currentDay,n. drawMonth=n. selectedMonth=n. currentMonth,n. drawYear=n. selectedYear=n. currentYear):(i=new Date,n. selectedDay=i. getDate(),n. drawMonth=n. selectedMonth=i. getMonth(),n. drawYear=n. selectedYear=i. getFullYear()),this. notifyChange(n),this. adjustDate(s) , selectMonthYear:function(e,i,s) var n=t(e),o=this. getInst(n 0 );o "selected"+("M"===s?"Month":"Year") =o "draw"+("M"===s?"Month":"Year") =parseInt(i. options i. selectedIndex . value,10),this. notifyChange(o),this. adjustDate(n) , selectDay:function(e,i,s,n) var o,a=t(e);t(n). hasClass(this. unselectableClass)||this. isDisabledDatepicker(a 0 )||(o=this. getInst(a 0 ),o. selectedDay=o. currentDay=t("a",n). html(),o. selectedMonth=o. currentMonth=i,o. selectedYear=o. currentYear=s,this. selectDate(e,this. formatDate(o,o. currentDay,o. currentMonth,o. currentYear))) , clearDate:function(e) var i=t(e);this. selectDate(i,"") , selectDate:function(e,i) var s,n=t(e),o=this. getInst(n 0 );i=null!=i?i:this. formatDate(o),o. input&& (i),this. updateAlternate(o),s=this. get(o,"onSelect"),s?s. apply(o. input?o. input 0 :null, i,o ):o. input&& r("change"),o. inline?this. updateDatepicker(o):(this. hideDatepicker(),this. lastInput=o. input 0 ,"object"!=typeof o. input 0 && (),this. lastInput=null) , updateAlternate:function(e) var i,s,n,o=this. get(e,"altField");o&&(i=this. get(e,"altFormat")||this. get(e,"dateFormat"),s=this. getDate(e),n= Date(i,s,this. getFormatConfig(e)),t(o). each(function() t(this). val(n) )) ,noWeekends:function(t) var e=t. getDay();return e>0&&6>e,"" ,iso8601Week:function(t) var e,i=new Date(t. getTime());return i. setDate(i. getDate()+4-(i. getDay()||7)),e=i. getTime(),i. setMonth(0),i. setDate(1), ( ((e-i)/864e5)/7)+1 ,parseDate:function(e,i,s) if(null==e||null==i)throw"Invalid arguments";if(i="object"==typeof i?i. toString():i+"",""===i)return null;var n,o,a,r,h=0,l=(s?s. shortYearCutoff:null)||this. earCutoff,u="string"!=typeof l?l:(new Date). getFullYear()%100+parseInt(l,10),c=(s?s. dayNamesShort:null)||this. esShort,d=(s?s. dayNames:null)||this. es,p=(s?s. monthNamesShort:null)||this. amesShort,f=(s?s. monthNames:null)||this. ames,m=-1,g=-1,v=-1, =-1,b=!1,y=function(t) var i=n+1 m&&(m+=(new Date). getFullYear()-(new Date). getFullYear()%100+(u>=m?0:-100)), >-1)for(g=1,v= ;;) if(o=this. getDaysInMonth(m,g-1),o>=v)break;g++,v-=o if(r=this. daylightSavingAdjust(new Date(m,g-1,v)),r. getFullYear()!==m||r. getMonth()+1!==g||r. getDate()!==v)throw"Invalid date";return r ,ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO 8601:"yy-mm-dd",RFC 822:"D, d M y",RFC 850:"DD, dd-M-y",RFC 1036:"D, d M y",RFC 1123:"D, d M yy",RFC 2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd", ticksTo1970:24*(718685+ (492. 5) (19. 7)+ (4. 925))*60*60*1e7,formatDate:function(t,e,i) if(!e)return"";var s,n=(i?i. dayNamesShort:null)||this. esShort,o=(i?i. dayNames:null)||this. es,a=(i?i. monthNamesShort:null)||this. amesShort,r=(i?i. monthNames:null)||this. ames,h=function(e) var i=s+1 12?t. getHours()+2:0),t):null , setDate:function(t,e,i) var s=!e,n=t. selectedMonth,o=t. selectedYear,a=this. restrictMinMax(t,this. determineDate(t,e,new Date));t. selectedDay=t. currentDay=a. getDate(),t. drawMonth=t. selectedMonth=t. currentMonth=a. getMonth(),t. drawYear=t. selectedYear=t. currentYear=a. getFullYear(),n===t. selectedMonth&&o===t. selectedYear||i||this. notifyChange(t),this. adjustInstDate(t),t. input&& (s?"":this. formatDate(t)) , getDate:function(t) var e=!t. currentYear||t. input&&""=== ()?null:this. daylightSavingAdjust(new Date(t. currentYear,t. currentMonth,t. currentDay));return e , attachHandlers:function(e) var i=this. get(e,"stepMonths"),s="#"+ e(/\\\\/g,"\\"); (" data-handler "). map(function() var e= prev:function() t. datepicker. adjustDate(s,-i,"M") ,next:function() t. datepicker. adjustDate(s,+i,"M") ,hide:function() t. datepicker. hideDatepicker() ,today:function() t. datepicker. gotoToday(s) ,selectDay:function() return t. datepicker. selectDay(s,+ ribute("data-month"),+ ribute("data-year"),this),!1 ,selectMonth:function() return t. datepicker. selectMonthYear(s,this,"M"),!1 ,selectYear:function() return t. datepicker. selectMonthYear(s,this,"Y"),!1 ;t(this). bind( ribute("data-event"),e ribute("data-handler") ) ) , generateHTML:function(t) var e,i,s,n,o,a,r,h,l,u,c,d,p,f,m,g,v, ,b,y,w,x,k,C,D,I,T,P,M,S,z,H,A,N,E,W,O,F,R,L=new Date,Y=this. daylightSavingAdjust(new Date(L. getFullYear(),L. getMonth(),L. getDate())),B=this. get(t,"isRTL"),j=this. get(t,"showButtonPanel"),q=this. get(t,"hideIfNoPrevNext"),K=this. get(t,"navigationAsDateFormat"),U=this. getNumberOfMonths(t),V=this. get(t,"showCurrentAtPos"),X=this. get(t,"stepMonths"),$=1!==U 0 ||1!==U 1 ,G=this. daylightSavingAdjust(t. currentDay?new Date(t. currentYear,t. currentMonth,t. currentDay):new Date(9999,9,9)),Q=this. getMinMaxDate(t,"min"),J=this. getMinMaxDate(t,"max"),Z=t. drawMonth-V,tt=t. drawYear;if(0>Z&&(Z+=12,tt--),J)for(e=this. daylightSavingAdjust(new Date(J. getFullYear(),J. getMonth()-U 0 *U 1 +1,J. getDate())),e=Q&&Q>e?Q:e;this. daylightSavingAdjust(new Date(tt,Z,1))>e;)Z--,0>Z&&(Z=11,tt--);for(t. drawMonth=Z,t. drawYear=tt,i=this. get(t,"prevText"),i=K? Date(i,this. daylightSavingAdjust(new Date(tt,Z-X,1)),this. getFormatConfig(t)):i,s=this. canAdjustMonth(t,-1,tt,Z)?""+i+"":q?"":""+i+"",n=this. get(t,"nextText"),n=K? Date(n,this. daylightSavingAdjust(new Date(tt,Z+X,1)),this. getFormatConfig(t)):n,o=this. canAdjustMonth(t,1,tt,Z)?""+n+"":q?"":""+n+"",a=this. get(t,"currentText"),r=this. get(t,"gotoCurrent")&&t. currentDay?G:Y,a=K? Date(a,r,this. getFormatConfig(t)):a,h=t. inline?"":" "+this. get(t,"closeText")+"",l=j?" "+(B?h:"")+(this. isInRange(t,r)?" "+a+"":"")+(B?"":h)+"":"",u=parseInt(this. get(t,"firstDay"),10),u=isNaN(u)?0:u,c=this. get(t,"showWeek"),d=this. get(t,"dayNames"),p=this. get(t,"dayNamesMin"),f=this. get(t,"monthNames"),m=this. get(t,"monthNamesShort"),g=this. get(t,"beforeShowDay"),v=this. get(t,"showOtherMonths"), =this. get(t,"selectOtherMonths"),b=this. getDefaultDate(t),y="",x=0;x " for(T+=" "+(/all|left/. test(I)&&0===x?B?o:s:"")+(/all|right/. test(I)&&0===x?B?s:o:"")+this. generateMonthYearHeader(t,Z,tt,Q,J,x>0||C>0,f,m)+" ",P=c?" =5?" class='ui-datepicker-week-end'":"")+">"+p M +"";for(T+=P+" ",S=this. getDaysInMonth(tt,Z),tt===t. selectedYear&&Z===t. selectedMonth&&(t. selectedDay= (t. selectedDay,S)),z=(this. getFirstDayOfMonth(tt,Z)-u+7)%7,H= ((z+S)/7),A=$&& s>H? s:H, s=A,N=this. daylightSavingAdjust(new Date(tt,Z,1-z)),E=0;A>E;E++) for(T+=" ",W=c?" "+this. get(t,"calculateWeek")(N)+"":"",w=0;7>w;w++)O=g?g. apply(t. input?t. input 0 :null, N ): !0,"" ,F=N. getMonth()!==Z,R=F&&! ||!O 0 ||Q&&Q>N||J&&N>J,W+=" "+(F&&!v?" ":R?""+N. getDate()+"":""+N. getDate()+"")+"",N. setDate(N. getDate()+1),N=this. daylightSavingAdjust(N);T+=W+"" Z++,Z>11&&(Z=0,tt++),T+=""+($?""+(U 0 >0&&C===U 1 -1?" ":""):""),k+=T y+=k return y+=l,t. keyEvent=!1,y , generateMonthYearHeader:function(t,e,i,s,n,o,a,r) var h,l,u,c,d,p,f,m,g=this. get(t,"changeMonth"),v=this. get(t,"changeYear"), =this. get(t,"showMonthAfterYear"),b=" ",y="";if(o||!g)y+=""+a e +"";else for(h=s&&s. getFullYear()===i,l=n&&n. getFullYear()===i,y+=" ",u=0;12>u;u++)(!h||u>=s. getMonth())&&(!l||u"+r u +"");y+="" if( ||(b+=y+(!o&&g&&v?"":" ")),!t. yearshtml)if(t. yearshtml="",o||!v)b+=""+i+"";else for(c=this. get(t,"yearRange"). split(":"),d=(new Date). getFullYear(),p=function(t) var e=t. match(/c +\- . */)?i+parseInt(t. substring(1),10):t. match(/ +\- . */)?d+parseInt(t,10):parseInt(t,10);return isNaN(e)?d:e ,f=p(c 0 ),m= (f,p(c 1 ||"")),f=s? (f,s. getFullYear()):f,m=n? (m,n. getFullYear()):m,t. yearshtml+=" ";m>=f;f++)t. yearshtml+=" "+f+"";t. yearshtml+="",b+=t. yearshtml,t. yearshtml=null return b+=this. get(t,"yearSuffix"), &&(b+=(!o&&g&&v?"":" ")+y),b+="" , adjustInstDate:function(t,e,i) var s=t. drawYear+("Y"===i?e:0),n=t. drawMonth+("M"===i?e:0),o= (t. selectedDay,this. getDaysInMonth(s,n))+("D"===i?e:0),a=this. restrictMinMax(t,this. daylightSavingAdjust(new Date(s,n,o)));t. selectedDay=a. getDate(),t. drawMonth=t. selectedMonth=a. getMonth(),t. drawYear=t. selectedYear=a. getFullYear(),("M"===i||"Y"===i)&&this. notifyChange(t) , restrictMinMax:function(t,e) var i=this. getMinMaxDate(t,"min"),s=this. getMinMaxDate(t,"max"),n=i&&i>e?i:e;return s&&n>s?s:n , notifyChange:function(t) var e=this. get(t,"onChangeMonthYear");e&&e. apply(t. input?t. input 0 :null, t. selectedYear,t. selectedMonth+1,t ) , getNumberOfMonths:function(t) var e=this. get(t,"numberOfMonths");return null==e? 1,1 :"number"==typeof e? 1,e :e , getMinMaxDate:function(t,e) return this. determineDate(t,this. get(t,e+"Date"),null) , getDaysInMonth:function(t,e) return 32-this. daylightSavingAdjust(new Date(t,e,32)). getDate() , getFirstDayOfMonth:function(t,e) return new Date(t,e,1). getDay() , canAdjustMonth:function(t,e,i,s) var n=this. getNumberOfMonths(t),o=this. daylightSavingAdjust(new Date(i,s+(0>e?e:n 0 *n 1 ),1));return 0>e&&o. setDate(this. getDaysInMonth(o. getFullYear(),o. getMonth())),this. isInRange(t,o) , isInRange:function(t,e) var i,s,n=this. getMinMaxDate(t,"min"),o=this. getMinMaxDate(t,"max"),a=null,r=null,h=this. get(t,"yearRange");return h&&(i=h. split(":"),s=(new Date). getFullYear(),a=parseInt(i 0 ,10),r=parseInt(i 1 ,10),i 0 . match(/ +\- . */)&&(a+=s),i 1 . match(/ +\- . */)&&(r+=s)),(!n||e. getTime()>=n. getTime())&&(!o||e. getTime()=a)&&(!r||e. getFullYear()0?!1:( =this. getHandle(e), ?(this. blockFrames(i. iframeFix===!0?"iframe":i. iframeFix),!0):!1) , blockFrames:function(e) Blocks= (e). map(function() var e=t(this);return t(" "). css("position","absolute"). appendTo(e. parent()). outerWidth(e. outerWidth()). outerHeight(e. outerHeight()). offset(e. offset()) 0 ) , unblockFrames:function() Blocks&&( (),delete Blocks) , blurActiveElement:function(e) var i= nt 0 ;if( (e. target))try i. activeElement&&"body"!== rCase()&&t(i. activeElement). blur() catch(s) , mouseStart:function(e) var i= s;return =this. createHelper(e), ss("ui-draggable-dragging"),this. cacheHelperProportions(), ger&&( t=this),this. cacheMargins(), ition= ("position"), Parent= Parent(!0), Parent= Parent(), edAncestor= s(). filter(function() return"fixed"===t(this). css("position") ). length>0, onAbs= (),this. refreshOffsets(e), alPosition= on=this. generatePosition(e,!1), alPageX=e. pageX, alPageY=e. pageY,i. cursorAt&&this. adjustOffsetFromHelper(i. cursorAt),this. setContainment(),this. trigger("start",e)===!1?(this. clear(),!1):(this. cacheHelperProportions(), ger&&!i. dropBehaviour&& eOffsets(this,e),this. normalizeRightBottom(),this. mouseDrag(e,!0), ger&& art(this,e),!0) , refreshOffsets:function(t) = top: ,left: ,scroll:!1,parent:this. getParentOffset(),relative:this. getRelativeOffset() , = left: ,top: , mouseDrag:function(e,i) if( edAncestor&&( =this. getParentOffset()), on=this. generatePosition(e,!0), onAbs=this. convertPositionTo("absolute"),!i) var s=this. uiHash();if(this. trigger("drag",e,s)===!1)return this. mouseUp( ),!1; on=s. position return 0 = +"px", 0 = +"px", ger&& (this,e),!1 , mouseStop:function(e) var i=this,s=!1;return ger&&! haviour&&(s= (this,e)), d&&(s= d, d=!1),"invalid"=== &&!s||"valid"=== &&s|| ===!0||t. isFunction( )&& ( t,s)?t( ). animate( alPosition,parseInt( Duration,10),function() i. trigger("stop",e)!==!1&&i. clear() ):this. trigger("stop",e)!==!1&&this. clear(),!1 , mouseUp:function(e) return this. unblockFrames(), ger&& op(this,e), (e. target)&& (), ype. (this,e) ,cancel:function() return (". ui-draggable-dragging")?this. mouseUp( ):this. clear(),this , getHandle:function(e) return ?!!t(e. target). closest( ( )). length:!0 , setHandleClassName:function() Element= ? ( ): t, ss("ui-draggable-handle") , removeHandleClassName:function() Class("ui-draggable-handle") , createHelper:function(e) var i= s,s=t. isFunction(i. helper),n=s?t( ( t 0 , e )):"clone"===i. helper? (). removeAttr("id"): t;return n. parents("body"). length||n. appendTo("parent"===i. appendTo? t 0 . parentNode:i. appendTo),s&&n 0 === t 0 &&this. setPositionRelative(),n 0 === t 0 ||/(fixed|absolute)/. test(n. css("position"))||n. css("position","absolute"),n , setPositionRelative:function() / (?:r|a|f)/. test( ("position"))||( t 0 on="relative") , adjustOffsetFromHelper:function(e) "string"==typeof e&&(e=e. split(" ")),t. isArray(e)&&(e= left:+e 0 ,top:+e 1 ||0 ),"left"in e&&( =e. left+ ),"right"in e&&( = + ),"top"in e&&( =e. top+ ),"bottom"in e&&( = + ) , isRootNode:function(t) return/(html|body)/i. test(t. tagName)||t=== nt 0 , getParentOffset:function() var e= (),i= nt 0 ;return"absolute"=== ition&& Parent 0 !==i&&t. contains( Parent 0 , Parent 0 )&&(e. left+= Left(),e. top+= Top()),this. isRootNode( Parent 0 )&&(e= top:0,left:0 ), top:e. top+(parseInt( ("borderTopWidth"),10)||0),left:e. left+(parseInt( ("borderLeftWidth"),10)||0) , getRelativeOffset:function() if("relative"!== ition)return top:0,left:0 ;var t= on(),e=this. isRootNode( Parent 0 );return top:t. top-(parseInt( ("top"),10)||0)+(e?0: Top()),left:t. left-(parseInt( ("left"),10)||0)+(e?0: Left()) , cacheMargins:function() s= left:parseInt( ("marginLeft"),10)||0,top:parseInt( ("marginTop"),10)||0,right:parseInt( ("marginRight"),10)||0,bottom:parseInt( ("marginBottom"),10)||0 , cacheHelperProportions:function() Proportions= width: idth(),height: eight() , setContainment:function() var e,i,s,n= s,o= nt 0 ;return veContainer=null,n. containment?"window"===n. containment?void( nment= t(window). scrollLeft() ,t(window). scrollTop() ,t(window). scrollLeft()+t(window). width() ,t(window). scrollTop()+(t(window). height()|| Height) ):"document"===n. containment?void( nment= 0,0,t(o). width() ,(t(o). height()|| Height) ): uctor===Array?void( nment=n. containment):("parent"===n. containment&&(n. containment= 0 . parentNode), i=t(n. containment),s=i 0 ,void(s&&(e=/(scroll|auto)/. test(i. css("overflow")), nment= (parseInt(i. css("borderLeftWidth"),10)||0)+(parseInt(i. css("paddingLeft"),10)||0),(parseInt(i. css("borderTopWidth"),10)||0)+(parseInt(i. css("paddingTop"),10)||0),(e? (s. scrollWidth,s. offsetWidth):s. offsetWidth)-(parseInt(i. css("borderRightWidth"),10)||0)-(parseInt(i. css("paddingRight"),10)||0) ,(e? (s. scrollHeight,s. offsetHeight):s. offsetHeight)-(parseInt(i. css("borderBottomWidth"),10)||0)-(parseInt(i. css("paddingBottom"),10)||0) , veContainer=i))):void( nment=null) , convertPositionTo:function(t,e) e||(e= on);var i="absolute"===t?1:-1,s=this. isRootNode( Parent 0 );return top:e. top+ *i+ *i-("fixed"=== ition? :s?0: )*i,left:e. left+ *i+ *i-("fixed"=== ition? :s?0: )*i , generatePosition:function(t,e) var i,s,n,o,a= s,r=this.

Музеи Петербурга для детей: полный список

isRootNode( Parent 0 ),h=t. pageX,l=t. pageY;return r&& ||( = top: Top(),left: Left() ),e&&( nment&&( veContainer?(s= (),i= nment 0 +s. left, nment 1 +s. top, nment 2 +s. left, nment 3 +s. top ):i= nment, i 2 &&(h=i 2 + ), >i 3 &&(l=i 3 + )),a. grid&&(n=a. grid 1 ? alPageY+ (( alPageY)/a. grid 1 )*a. grid 1 : alPageY,l=i? >=i 1 || >i 3 ?n: >=i 1 ? 1 :n+a. grid 1 :n,o=a. grid 0 ? alPageX+ (( alPageX)/a. grid 0 )*a. grid 0 : alPageX,h=i? >=i 0 || >i 2 ?o: >=i 0 ? 0 :o+a. grid 0 :o),"y"===a. axis&&(h= alPageX),"x"===a. axis&&(l= alPageY)), top: +("fixed"=== ition? :r?0: ),left: +("fixed"=== ition? :r?0: ) , clear:function() Class("ui-draggable-dragging"), 0 === t 0 || HelperRemoval|| (), =null, HelperRemoval=!1, yOnClear&& y() , normalizeRightBottom:function() "y"!== &&"auto"!== ("right")&&( ( ()), ("right","auto")),"x"!== &&"auto"!== ("bottom")&&( ( ()), ("bottom","auto")) , trigger:function(e,i,s) return s=s||this. uiHash(), (this,e, i,s,this ,!0),/ (drag|start|stop)/. test(e)&&( onAbs=this. convertPositionTo("absolute"),s. offset= onAbs), ype. (this,e,i,s) ,plugins: , uiHash:function() return helper: ,position: on,originalPosition: alPosition,offset: onAbs ), ("draggable","connectToSortable", start:function(e,i,s) var n=t. extend( ,i, item:s. element );s. sortables= ,t( tToSortable). each(function() var i=t(this). sortable("instance");i&&! ed&&( (i),i. refreshPositions(),i. trigger("activate",e,n)) ) ,stop:function(e,i,s) var n=t. extend( ,i, item:s. element );s. cancelHelperRemoval=!1,t. each(s. sortables,function() var t=this;t. isOver?(t. isOver=0,s. cancelHelperRemoval=!0,t. cancelHelperRemoval=!1,t. storedCSS= position: ("position"),top: ("top"),left: ("left") ,t. mouseStop(e), =t. options. helper):(t. cancelHelperRemoval=!0,t. trigger("deactivate",e,n)) ) ,drag:function(e,i,s) t. each(s. sortables,function() var n=!1,o=this;o. positionAbs=s. positionAbs,o. helperProportions=s. helperProportions, = ,o. intersectsWith(o. containerCache)&&(n=!0,t. each(s. sortables,function() return onAbs=s. positionAbs, Proportions=s. helperProportions, = ,this!==o&&this. intersectsWith( nerCache)&&t. contains(o. element 0 , t 0 )&&(n=!1),n )),n?(o. isOver||(o. isOver=1,s. parent= (),o. currentItem= To(o. element). data("ui-sortable-item",!0),o. options. helper= , =function() return i. helper 0 ,e. target=o. currentItem 0 ,o. mouseCapture(e,!0),o. mouseStart(e,!0,!0), = , = , -= , -= ,s. trigger("toSortable",e),s. dropped=o. element,t. each(s. sortables,function() hPositions() ),s. currentItem=s. element,o. fromOutside=s),o. currentItem&&(o. mouseDrag(e),i. position=o. position)):o. isOver&&(o. isOver=0,o. cancelHelperRemoval=!0,o. options. revert= , =!1,o. trigger("out",e,o. uiHash(o)),o. mouseStop(e,!0), =o. options. revert, =o. options. helper,o. placeholder&& (), To(s. parent),s. refreshOffsets(e),i. position=s. generatePosition(e,!0),s. trigger("fromSortable",e),s. dropped=!1,t. each(s. sortables,function() hPositions() )) ) ), ("draggable","cursor", start:function(e,i,s) var n=t("body"),o=s. options;n. css("cursor")&&(o. cursor=n. css("cursor")),n. css("cursor",o. cursor) ,stop:function(e,i,s) var n=s. options;n. cursor&&t("body"). css("cursor",n. cursor) ), ("draggable","opacity", start:function(e,i,s) var n=t(i. helper),o=s. options;n. css("opacity")&&(o. opacity=n. css("opacity")),n. css("opacity",o. opacity) ,stop:function(e,i,s) var n=s. options;n. opacity&&t(i. helper). css("opacity",n. opacity) ), ("draggable","scroll", start:function(t,e,i) i. scrollParentNotHidden||(i. scrollParentNotHidden= Parent(!1)),i. scrollParentNotHidden 0 !==i. document 0 &&"HTML"!==i. scrollParentNotHidden 0 . tagName&&(i. overflowOffset= ()) ,drag:function(e,i,s) var n=s. options,o=!1,a=s. scrollParentNotHidden 0 ,r=s. document 0 ;a!==r&&"HTML"!==a. tagName?(n. axis&&"x"===n. axis||( + =0;d--)h=s. snapElements d ,l=h+s. snapElements d . width,u=s. snapElements d ,c=u+s. snapElements d . height,h-m>v||g>l+m||u-m>b|| >c+m||!t. contains(s. snapElements d ocument,s. snapElements d . item)?(s. snapElements d . snapping&& e&& (s. element,e,t. extend(s. uiHash(), snapItem:s. snapElements d . item )),s. snapElements d . snapping=!1):("inner"!==f. snapMode&&(n= (u-b)0?!0:(e s =1,n=e s >0,e s =0,n) , create:function() var e,i,s,n,o,a=this,r= s;if( ss("ui-resizable"),t. extend(this, aspectRatio:!!r. aspectRatio,aspectRatio:r. aspectRatio,originalElement: t, proportionallyResizeElements: , helper:r. helper||r. ghost||r. animate?r. helper||"ui-resizable-helper":null ), t 0 (/ (canvas|textarea|input|select|button|img)$/i)&&( (t(" "). css( position: ("position"),width: idth(),height: eight(),top: ("top"),left: ("left") )), t= (). data("ui-resizable", ble("instance")), tIsWrapper=!0, ( marginLeft: ("marginLeft"),marginTop: ("marginTop"),marginRight: ("marginRight"),marginBottom: ("marginBottom") ), ( marginLeft:0,marginTop:0,marginRight:0,marginBottom:0 ), alResizeStyle= ("resize"), ("resize","none"),this. ( ( position:"static",zoom:1,display:"block" )), ( margin: ("margin") ),this. proportionallyResize()), s=r. handles||(t(". ui-resizable-handle", t). length? n:". ui-resizable-n",e:". ui-resizable-e",s:". ui-resizable-s",w:". ui-resizable-w",se:". ui-resizable-se",sw:". ui-resizable-sw",ne:". ui-resizable-ne",nw:". ui-resizable-nw" :"e,s,se"),this. handles=t(), uctor===String)for("all"=== s&&( s="n,e,s,w,se,sw,ne,nw"),e= (","), s= ,i=0;i "),n. css( zIndex:r. zIndex ),"se"===s&&n. addClass("ui-icon ui-icon-gripsmall-diagonal-se"), s s =". ui-resizable-"+s, (n);this. renderAxis=function(e) var i,s,n,o;e=e|| t;for(i in s) s i . constructor===String? s i = en( s i ). first(). show():( s i . jquery|| s i . nodeType)&&( s i =t( s i ),this. on( s i , mousedown:a. mouseDown )), tIsWrapper&& alElement 0 (/ (textarea|input|select|button)$/i)&&(s=t( s i , t),o=/sw|ne|nw|se|n|s/. test(i)?s. outerHeight():s. outerWidth(),n= "padding",/ne|nw|n/. test(i)?"Top":/se|sw|s/. test(i)?"Bottom":/ e$/. test(i)?"Right":"Left" . join(""),e. css(n,o),this. proportionallyResize()),this. handles=this. ( s i ) ,this. renderAxis( t),this. handles=this. ( (". ui-resizable-handle")),this. eSelection(),this. ver(function() a. resizing||( ame&&(n= (/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),a. axis=n&&n 1 ?n 1 :"se") ),r. autoHide&&(this. (),t( t). addClass("ui-resizable-autohide"). mouseenter(function() r. disabled||(t(this). removeClass("ui-resizable-autohide"),a. ()) ). mouseleave(function() r. disabled||a. resizing||(t(this). addClass("ui-resizable-autohide"),a. ()) )),this. mouseInit() , destroy:function() this. mouseDestroy();var e,i=function(e) t(e). removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing"). removeData("resizable"). removeData("ui-resizable"). unbind(". resizable"). find(". ui-resizable-handle"). remove() ;return tIsWrapper&&(i( t),e= t, ( position:e. css("position"),width:e. outerWidth(),height:e. outerHeight(),top:e. css("top"),left:e. css("left") ). insertAfter(e),e. remove()), ("resize", alResizeStyle),i( alElement),this , mouseCapture:function(e) var i,s,n=!1;for(i in s)s=t( s i ) 0 ,(s===e. target||t. contains(s,e. target))&&(n=!0);return! ed&&n , mouseStart:function(e) var i,s,n,o= s,a= t;return ng=!0,this. renderProxy(),i=this. num( ("left")),s=this. num( ("top")),o. containment&&(i+=t(o. containment). scrollLeft()||0,s+=t(o. containment). scrollTop()||0), = (), on= left:i,top:s , =this. helper? width: (),height: () : width:a. width(),height:a. height() , alSize=this. helper? width:a. outerWidth(),height:a. outerHeight() : width:a. width(),height:a. height() , ff= width:a. outerWidth() (),height:a. outerHeight() () , alPosition= left:i,top:s , alMousePosition= left:e. pageX,top:e. pageY , Ratio="number"==typeof o. aspectRatio?o. aspectRatio: / ||1,n=t(". ui-resizable-"+ ). css("cursor"),t("body"). css("cursor","auto"===n? +"-resize":n),a. addClass("ui-resizable-resizing"),this. propagate("start",e),!0 , mouseDrag:function(e) var i,s,n= alMousePosition,o= ,a= ||0,r= ||0,h=this. change o ;return this. updatePrevProperties(),h?(i=h. apply(this, e,a,r ),this. updateVirtualBoundaries(e. shiftKey),(this. aspectRatio||e. shiftKey)&&(i=this. updateRatio(i,e)),i=this. respectSize(i,e),this. updateCache(i),this. propagate("resize",e),s=this. applyChanges(),!this. helper&&this. &&this. proportionallyResize(),t. isEmptyObject(s)||(this. updatePrevProperties(),this. trigger("resize",e, ()),this. applyChanges()),!1):!1 , mouseStop:function(e) ng=!1;var i,s,n,o,a,r,h,l= s,u=this;return this. helper&&(i=this. proportionallyResizeElements,s=i. length&&/textarea/i. test(i 0 . nodeName),n=s&&this. hasScroll(i 0 ,"left")?0: ,o=s?0: ,a= width: ()-o,height: ()-n ,r=parseInt( ("left"),10)+( )||null,h=parseInt( ("top"),10)+( )||null,l. animate|| (t. extend(a, top:h,left:r )), ( ), ( ),this. helper&&!l. animate&&this. proportionallyResize()),t("body"). css("cursor","auto"), Class("ui-resizable-resizing"),this. propagate("stop",e),this. helper&& (),!1 , updatePrevProperties:function() sition= top: ,left: , ze= width: ,height: , applyChanges:function() var t= ;return !== &&(t. top= +"px"), !== &&(t. left= +"px"), !== &&(t. width= +"px"), !== &&(t. height= +"px"), (t),t , updateVirtualBoundaries:function(t) var e,i,s,n,o,a= s;o= minWidth:this. isNumber(a. minWidth)?a. minWidth:0,maxWidth:this. isNumber(a. maxWidth)?a. maxWidth:1/0,minHeight:this. isNumber(a. minHeight)?a. minHeight:0,maxHeight:this. isNumber(a. maxHeight)?a. maxHeight:1/0 ,(this. aspectRatio||t)&&(e=o. minHeight* Ratio,s=o. minWidth/ Ratio,i=o. maxHeight* Ratio,n=o. maxWidth/ Ratio,e>o. minWidth&&(o. minWidth=e),s>o. minHeight&&(o. minHeight=s),i t. width,a=this. isNumber(t. height)&&e. minHeight&&e. minHeight>t. height,r= + ,h= + ,l=/sw|nw|w/. test(i),u=/nw|ne|n/. test(i);return o&&(t. width=e. minWidth),a&&(t. height=e. minHeight),s&&(t. width=e. maxWidth),n&&(t. height=e. maxHeight),o&&l&&(t. left= th),s&&l&&(t. left= th),a&&u&&(t. top= ght),n&&u&&(t. top= ght),t. width||t. height||t. left||!t. top?t. width||t. height||t. top||!t. left||(t. left=null):t. top=null,t , getPaddingPlusBorderDimensions:function(t) for(var e=0,i= ,s= t. css("borderTopWidth"),t. css("borderRightWidth"),t. css("borderBottomWidth"),t. css("borderLeftWidth") ,n= t. css("paddingTop"),t. css("paddingRight"),t. css("paddingBottom"),t. css("paddingLeft") ;4>e;e++)i e =parseInt(s e ,10)||0,i e +=parseInt(n e ,10)||0;return height:i 0 +i 2 ,width:i 1 +i 3 , proportionallyResize:function() if(this. )for(var t,e=0,i= || t;e "), ss(this. helper). css( width: idth()-1,height: eight()-1,position:"absolute",left: +"px",top: +"px",zIndex:++i. zIndex ), To("body"). disableSelection()): = t , change: e:function(t,e) return width: +e ,w:function(t,e) var i= alSize,s= alPosition;return left:s. left+e,width:i. width-e ,n:function(t,e,i) var s= alSize,n= alPosition;return top:n. top+i,height:s. height-i ,s:function(t,e,i) return height: +i ,se:function(e,i,s) return t. extend(this. (this,arguments),this. (this, e,i,s )) ,sw:function(e,i,s) return t. extend(this. (this,arguments),this. (this, e,i,s )) ,ne:function(e,i,s) return t. extend(this. (this,arguments),this. (this, e,i,s )) ,nw:function(e,i,s) return t. extend(this. (this,arguments),this. (this, e,i,s )) , propagate:function(e,i) (this,e, i, () ),"resize"!==e&&this. trigger(e,i, ()) ,plugins: ,ui:function() return originalElement: alElement,element: t,helper: ,position: on,size: ,originalSize: alSize,originalPosition: alPosition ), ("resizable","animate", stop:function(e) var i=t(this). resizable("instance"),s=i. options,n=i. proportionallyResizeElements,o=n. length&&/textarea/i. test(n 0 . nodeName),a=o&&i. hasScroll(n 0 ,"left")?0: ,r=o?0: ,h= width: -r,height: -a ,l=parseInt( ("left"),10)+( )||null,u=parseInt( ("top"),10)+( )||null; e(t. extend(h,u&&l? top:u,left:l : ), duration:s. animateDuration,easing:s. animateEasing,step:function() var s= width:parseInt( ("width"),10),height:parseInt( ("height"),10),top:parseInt( ("top"),10),left:parseInt( ("left"),10) ;n&&n. length&&t(n 0 ). css( width:s. width,height:s. height ),i. updateCache(s),i. propagate("resize",e) ) ), ("resizable","containment", start:function() var e,i,s,n,o,a,r,h=t(this). resizable("instance"),l=h. options,u=h. element,c=l. containment,d=c instanceof t?c. get(0):/parent/. test(c)?u. parent(). get(0):c;d&&(h. containerElement=t(d),/document/. test(c)||c===document?(h. containerOffset= left:0,top:0 ,h. containerPosition= left:0,top:0 ,h. parentData= element:t(document),left:0,top:0,width:t(document). width(),height:t(document). height()|| Height ):(e=t(d),i= ,t( "Top","Right","Left","Bottom" ). each(function(t,s) i t =h. num(e. css("padding"+s)) ),h. containerOffset=e. offset(),h. containerPosition=e. position(),h. containerSize= height:e. innerHeight()-i 3 ,width:e. innerWidth()-i 1 ,s=h. containerOffset,n= ,o= ,a=h. hasScroll(d,"left")?d. scrollWidth:o,r=h. hasScroll(d)?d. scrollHeight:n,h. parentData= element:d,left:s. left,top:s. top,width:a,height:r )) ,resize:function(e) var i,s,n,o,a=t(this). resizable("instance"),r=a. options,h=a. containerOffset,l=a. position,u=a. aspectRatio||e. shiftKey,c= top:0,left:0 ,d=a. containerElement,p=!0;d 0 !==document&&/static/. test(d. css("position"))&&(c=h),l. left= &&( = -i,u&&( = /a. aspectRatio,p=!1)),s+ >= &&( = -s,u&&( = *a. aspectRatio,p=!1)),p||( = , = , = , = ) ,stop:function() var e=t(this). resizable("instance"),i=e. options,s=e. containerOffset,n=e. containerPosition,o=e. containerElement,a=t(e. helper),r=a. offset(),h=a. outerWidth() ,l=a. outerHeight() ;e. helper&&!i. animate&&/relative/. test(o. css("position"))&&t(this). css( left: ,width:h,height:l ),e. helper&&!i. animate&&/static/. test(o. css("position"))&&t(this). css( left: ,width:h,height:l ) ), ("resizable","alsoResize", start:function() var e=t(this). resizable("instance"),i=e. options;t(i. alsoResize). each(function() var e=t(this);e. data("ui-resizable-alsoresize", width:parseInt(e. width(),10),height:parseInt(e. height(),10),left:parseInt(e. css("left"),10),top:parseInt(e. css("top"),10) ) ) ,resize:function(e,i) var s=t(this). resizable("instance"),n=s. options,o=s. originalSize,a=s. originalPosition,r= height: ||0,width: ||0,top: ||0,left: ||0 ;t(n. alsoResize). each(function() var e=t(this),s=t(this). data("ui-resizable-alsoresize"),n= ,o=e. parents(i. originalElement 0 ). length? "width","height" : "width","height","top","left" ;t. each(o,function(t,e) var i=(s e ||0)+(r e ||0);i&&i>=0&&(n e =i||null) ),e. css(n) ) ,stop:function() t(this). removeData("resizable-alsoresize") ), ("resizable","ghost", start:function() var e=t(this). resizable("instance"),i=e. options,s=e. size;e. ghost= (), ( opacity:. 25,display:"block",position:"relative",height:s. height,width:s. width,margin:0,left:0,top:0 ). addClass("ui-resizable-ghost"). addClass("string"==typeof i. ghost?i. ghost:""), To(e. helper) ,resize:function() var e=t(this). resizable("instance");e. ghost&& ( position:"relative",height: ,width: ) ,stop:function() var e=t(this). resizable("instance");e. ghost&&e. helper&& (0). removeChild( (0)) ), ("resizable","grid", resize:function() var e,i=t(this). resizable("instance"),s=i. options,n=i. size,o=i. originalSize,a=i. originalPosition,r=i. axis,h="number"==typeof s. grid? s. grid,s. grid :s. grid,l=h 0 ||1,u=h 1 ||1,c= (( )/l)*l,d= (( )/u)*u,p=o. width+c,f=o. height+d,m=s. maxWidth&&s. maxWidth p, =s. minHeight&&s. minHeight>f;s. grid=h,v&&(p+=l), &&(f+=u),m&&(p-=l),g&&(f-=u),/ (se|s|e)$/. test(r)?( =p, =f):/ (ne)$/. test(r)?( =p, =f, =a. top-d):/ (sw)$/. test(r)?( =p, =f, =a. left-c):((0>=f-u||0>=p-l)&&(e=i. getPaddingPlusBorderDimensions(this)),f-u>0?( =f, =a. top-d):(f= , =f, =a. top+o. height-f),p-l>0?( =p, =a. left-c):(p= , =p, =a. left+o. width-p)) ); ble,t. widget(" ", version:"1. 11. 4",options: appendTo:"body",autoOpen:!0,buttons: ,closeOnEscape:!0,closeText:"Close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position: my:"center",at:"center",of:window,collision:"fit",using:function(e) var i=t(this). css(e). offset(). top;0>i&&t(this). css("top",e. top-i) ,resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null ,sizeRelatedOptions: buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0 ,resizableRelatedOptions: maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0 , create:function() alCss= display: t 0 y,width: t 0 ,minHeight: t 0 ght,maxHeight: t 0 ght,height: t 0 , alPosition= parent: (),index: (). children(). index( t) , alTitle= ("title"), = || alTitle,this. createWrapper(), (). removeAttr("title"). addClass("ui-dialog-content ui-widget-content"). appendTo( og),this. createTitlebar(),this. createButtonPane(), ble&& ble&&this. makeDraggable(), ble&& ble&&this. makeResizable(),this. isOpen=!1,this. trackFocus() , init:function() en&& () , appendTo:function() var e= To;return e&&(e. jquery||e. nodeType)?t(e): (e||"body"). eq(0) , destroy:function() var t,e= alPosition;this. untrackInstance(),this. destroyOverlay(), UniqueId(). removeClass("ui-dialog-content ui-widget-content"). css( alCss). detach(), (!0,!0). remove(), alTitle&& ("title", alTitle),t= en(). eq(e. index),t. length&&t 0 !== t 0 ?t. before( t): ( t) ,widget:function() return og ,disable:t. noop,enable:t. noop,close:function(e) var i,s=this;if(this. isOpen&&this. trigger("beforeClose",e)!==!1) if(this. isOpen=!1,this. focusedElement=null,this. destroyOverlay(),this. untrackInstance(),! (":focusable"). focus(). length)try i= nt 0 . activeElement,i&&"body"!== rCase()&&t(i). blur() catch(n) this. hide( og, ,function() s. trigger("close",e) ) ,isOpen:function() return this. isOpen ,moveToTop:function() this. moveToTop() , moveToTop:function(e,i) var s=!1,n= gs(". ui-front:visible"). map(function() return+t(this). css("z-index") ). get(),o= (null,n);return o>=+ ("z-index")&&( ("z-index",o+1),s=!0),s&&!i&&this. trigger("focus",e),s ,open:function() var e=this;return this. isOpen?void(this. moveToTop()&&this. focusTabbable()):(this. isOpen=!0, =t( nt 0 . activeElement),this. size(),this. position(),this. createOverlay(),this. moveToTop(null,!0), y&& ("z-index", ("z-index")-1),this. show( og, ,function() e. focusTabbable(),e. trigger("focus") ),this. makeFocusTarget(), void this. trigger("open")) , focusTabbable:function() var t=this. focusedElement;t||(t= (" autofocus ")),t. length||(t= (":tabbable")),t. length||(t= (":tabbable")),t. length||(t= (":tabbable")),t. length||(t= og),t. eq(0). focus() , keepFocus:function(e) function i() var e= nt 0 . activeElement,i= og 0 ===e||t. contains( og 0 ,e);i||this. focusTabbable() e. preventDefault(),i. call(this),this. delay(i) , createWrapper:function() og=t(" "). addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+ Class). hide(). attr( tabIndex:-1,role:"dialog" ). appendTo(this. appendTo()),this. on( og, keydown:function(e) if( nEscape&&!e. isDefaultPrevented()&&e. keyCode&&e. keyCode=== )return e. preventDefault(),void (e);if(e. keyCode=== &&!e. isDefaultPrevented()) var i= (":tabbable"),s=i. filter(":first"),n=i. filter(":last");e. target!==n 0 &&e. target!== og 0 ||e. shiftKey?e. target!==s 0 &&e. target!== og 0 ||!e. shiftKey||(this. delay(function() n. focus() ),e. preventDefault()):(this. delay(function() s. focus() ),e. preventDefault()) ,mousedown:function(t) this. moveToTop(t)&&this. focusTabbable() ), (" aria-describedby "). length|| ( "aria-describedby": Id(). attr("id") ) , createTitlebar:function() var e; ogTitlebar=t(" "). addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix"). prependTo( og),this. on( ogTitlebar, mousedown:function(e) t(e. target). closest(". ui-dialog-titlebar-close")|| () ), ogTitlebarClose=t(" "). button( label: ext,icons: primary:"ui-icon-closethick" ,text:!1 ). addClass("ui-dialog-titlebar-close"). appendTo( ogTitlebar),this. on( ogTitlebarClose, click:function(t) t. preventDefault(), (t) ),e=t(""). uniqueId(). addClass("ui-dialog-title"). prependTo( ogTitlebar),this. title(e), ( "aria-labelledby":e. attr("id") ) , title:function(t) ||t. html(" "),t. text( ) , createButtonPane:function() ogButtonPane=t(" "). addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"), onSet=t(" "). addClass("ui-dialog-buttonset"). appendTo( ogButtonPane),this. createButtons() , createButtons:function() var e=this,i= s;return (), (),t. isEmptyObject(i)||t. isArray(i)&&!i. length?void Class("ui-dialog-buttons"):(t.

Достопримечательности Санкт-Петербурга

each(i,function(i,s) var n,o;s=t. isFunction(s)? click:s,text:i :s,s=t. extend( type:"button" ,s),n=s. click,s. click=function() n. apply(e. element 0 ,arguments) ,o= icons:s. icons,text:s. showText ,delete s. icons,delete s. showText,t(" ",s). button(o). appendTo(e. uiButtonSet) ), ss("ui-dialog-buttons"),void To( og)) , makeDraggable:function() function e(t) return position:t. position,offset:t. offset var i=this,s= s; ble( cancel:". ui-dialog-content, . ui-dialog-titlebar-close",handle:". ui-dialog-titlebar",containment:"document",start:function(s,n) t(this). addClass("ui-dialog-dragging"),i. blockFrames(),i. trigger("dragStart",s,e(n)) ,drag:function(t,s) i. trigger("drag",t,e(s)) ,stop:function(n,o) var a= Left(),r= Top();s. position= my:"left top",at:"left"+(a>=0?"+":"")+a+" top"+(r>=0?"+":"")+r,of:i. window ,t(this). removeClass("ui-dialog-dragging"),i. unblockFrames(),i. trigger("dragStop",n,e(o)) ) , makeResizable:function() function e(t) return originalPosition:t. originalPosition,originalSize:t. originalSize,position:t. position,size:t. size var i=this,s= s,n=s. resizable,o= ("position"),a="string"==typeof n?n:"n,e,s,w,se,sw,ne,nw"; ble( cancel:". ui-dialog-content",containment:"document",alsoResize: t,maxWidth:s. maxWidth,maxHeight:s. maxHeight,minWidth:s. minWidth,minHeight:this. minHeight(),handles:a,start:function(s,n) t(this). addClass("ui-dialog-resizing"),i. blockFrames(),i. trigger("resizeStart",s,e(n)) ,resize:function(t,s) i. trigger("resize",t,e(s)) ,stop:function(n,o) var a= (),r= Left(),h= Top();s. height= (),s. width= (),s. position= my:"left top",at:"left"+(r>=0?"+":"")+r+" top"+(h>=0?"+":"")+h,of:i. window ,t(this). removeClass("ui-dialog-resizing"),i. unblockFrames(),i. trigger("resizeStop",n,e(o)) ). css("position",o) , trackFocus:function() this. on( (), focusin:function(e) this. makeFocusTarget(),this. focusedElement=t(e. target) ) , makeFocusTarget:function() this. untrackInstance(),this. trackingInstances(). unshift(this) , untrackInstance:function() var e=this. trackingInstances(),i=t. inArray(this,e);-1!==i&&e. splice(i,1) , trackingInstances:function() var t= ("ui-dialog-instances");return t||(t= , ("ui-dialog-instances",t)),t , minHeight:function() var t= s;return"auto"===t. height?t. minHeight: (t. minHeight,t. height) , position:function() var t= (":visible");t|| (), on( on),t|| () , setOptions:function(e) var i=this,s=!1,n= ;t. each(e,function(t,e) i. setOption(t,e),t in i. sizeRelatedOptions&&(s=!0),t in i. resizableRelatedOptions&&(n t =e) ),s&&(this. size(),this. position()), (":data(ui-resizable)")&& ble("option",n) , setOption:function(t,e) var i,s,n= og;"dialogClass"===t&&n. removeClass( Class). addClass(e),"disabled"!==t&&(this. super(t,e),"appendTo"===t&& To(this. appendTo()),"buttons"===t&&this. createButtons(),"closeText"===t&& ( label:""+e ),"draggable"===t&&(i=n. is(":data(ui-draggable)"),i&&!e&&n. draggable("destroy"),!i&&e&&this. makeDraggable()),"position"===t&&this. position(),"resizable"===t&&(s=n. is(":data(ui-resizable)"),s&&!e&&n. resizable("destroy"),s&&"string"==typeof e&&n. resizable("option","handles",e),s||e===!1||this. makeResizable()),"title"===t&&this. title( (". ui-dialog-title"))) , size:function() var t,e,i,s= s; (). css( width:"auto",minHeight:0,maxHeight:"none",height:0 ),s. minWidth>s. width&&(s. width=s. minWidth),t= ( height:"auto",width:s. width ). outerHeight(),e= (0,s. minHeight-t),i="number"==typeof s. maxHeight? (0,s. maxHeight-t):"none","auto"===s. height? ( minHeight:e,maxHeight:i,height:"auto" ): ( (0,s. height-t)), (":data(ui-resizable)")&& ble("option","minHeight",this. minHeight()) , blockFrames:function() Blocks= ("iframe"). map(function() var e=t(this);return t(" "). css( position:"absolute",width:e. outerWidth(),height:e. outerHeight() ). appendTo(e. parent()). offset(e. offset()) 0 ) , unblockFrames:function() Blocks&&( (),delete Blocks) , allowInteraction:function(e) return t(e. target). closest(". ui-dialog"). length?!0:!!t(e. target). closest(". ui-datepicker"). length , createOverlay:function() if( ) var e=!0;this. delay(function() e=!1 ), ("ui-dialog-overlays")||this. on( nt, focusin:function(t) e||this. allowInteraction(t)||(t. preventDefault(),this. trackingInstances() 0 . focusTabbable()) ), y=t(" "). addClass("ui-widget-overlay ui-front"). appendTo(this. appendTo()),this. on( y, mousedown:" keepFocus" ), ("ui-dialog-overlays",( ("ui-dialog-overlays")||0)+1) , destroyOverlay:function() if( && y) var t= ("ui-dialog-overlays")-1;t? ("ui-dialog-overlays",t): ("focusin"). removeData("ui-dialog-overlays"), (), y=null );t. widget(" ble", version:"1. 11. 4",widgetEventPrefix:"drop",options: accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null , create:function() var e,i= s,s=i. accept; =!1, =!0, =t. isFunction(s)?s:function(t) return t. is(s) , tions=function() return ?void(e=arguments 0 ):e?e:e= width: t 0 . offsetWidth,height: t 0 . offsetHeight ,this. addToManager(i. scope),i. addClasses&& ss("ui-droppable") , addToManager:function(e) bles e = bles e || , bles e . push(this) , splice:function(t) for(var e=0;e =e&&e+i>t return function(e,i,s,n) if(!i. offset)return!1;var o=(e. positionAbs|| te). left+ ,a=(e. positionAbs|| te). top+ ,r=o+ ,h=a+ ,l= ,u= ,c=l+i. proportions(). width,d=u+i. proportions(). height;switch(s) case"fit":return o>=l&&c>=r&&a>=u&&d>=h;case"intersect":return l =u&&d>=a||h>=u&&d>=h||u>a&&h>d)&&(o>=l&&c>=o||r>=l&&c>=r||l>o&&r>c);default:return!1 (), ger= current:null,droppables: "default": ,prepareOffsets:function(e,i) var s,n,o= bles || ,a=i?i. type:null,r=(e. currentItem||e. element). find(":data(ui-droppable)"). addBack();t:for(s=0;s t?0:s. max 6*i?t+(e-t)*i*6:1>2*i?e:2>3*i?t+(e-t)*(2/3-i)*6:t var o,a="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",r=/ ( \-+ )=\s*(\d+\. ?\d*)/,h= re:/rgba?\(\s*(\d 1,3 )\s*,\s*(\d 1,3 )\s*,\s*(\d 1,3 )\s*(?:,\s*(\d?(?:\. \d+)?)\s*)?\)/,parse:function(t) return t 1 ,t 2 ,t 3 ,t 4 , re:/rgba?\(\s*(\d+(?:\. \d+)?)\%\s*,\s*(\d+(?:\. \d+)?)\%\s*,\s*(\d+(?:\. \d+)?)\%\s*(?:,\s*(\d?(?:\. \d+)?)\s*)?\)/,parse:function(t) return 2. 55*t 1 ,2. 55*t 2 ,2. 55*t 3 ,t 4 , re:/#( a-f0-9 2 )( a-f0-9 2 )( a-f0-9 2 )/,parse:function(t) return parseInt(t 1 ,16),parseInt(t 2 ,16),parseInt(t 3 ,16) , re:/#( a-f0-9 )( a-f0-9 )( a-f0-9 )/,parse:function(t) return parseInt(t 1 +t 1 ,16),parseInt(t 2 +t 2 ,16),parseInt(t 3 +t 3 ,16) , re:/hsla?\(\s*(\d+(?:\. \d+)?)\s*,\s*(\d+(?:\. \d+)?)\%\s*,\s*(\d+(?:\. \d+)?)\%\s*(?:,\s*(\d?(?:\. \d+)?)\s*)?\)/,space:"hsla",parse:function(t) return t 1 ,t 2 /100,t 3 /100,t 4 ,l=t. Color=function(e,i,s,n) return new (e,i,s,n) ,u= rgba: props: red: idx:0,type:"byte" ,green: idx:1,type:"byte" ,blue: idx:2,type:"byte" ,hsla: props: hue: idx:0,type:"degrees" ,saturation: idx:1,type:"percent" ,lightness: idx:2,type:"percent" ,c= "byte": floor:!0,max:255 ,percent: max:1 ,degrees: mod:360,floor:!0 ,d=l. support= ,p=t(" ") 0 ,f=t. each; t="background-color:rgba(1,1,1,. 5)",d. rgba= f("rgba")>-1,f(u,function(t,e) e. cache=" "+t, = idx:3,type:"percent",def:1 ),l. fn=t. extend(l. prototype, parse:function(n,a,r,h) if(n===e)return this. rgba= null,null,null,null ,this;(n. jquery||n. nodeType)&&(n=t(n). css(a),a=e);var c=this,d=t. type(n),p=this. rgba= ;return a!==e&&(n= n,a,r,h ,d="array"),"string"===d? (s(n)||o. default):"array"===d?(f( ,function(t,e) p e. idx =i(n e. idx ,e) ),this):"object"===d?(n instanceof l?f(u,function(t,e) n e. cache &&(c e. cache =n e. cache . slice()) ):f(u,function(e,s) var o=s. cache;f(s. props,function(t,e) if(!c o &&s. to) if("alpha"===t||null==n t )return;c o =s. to(c. rgba) c o e. idx =i(n t ,e,!0) ),c o &&t. inArray(null,c o . slice(0,3))u. mod/2?a+=u. mod:a-l>u. mod/2&&(a-=u. mod)),h o =i((l-a)*e+a,n))) ),this n (h) ,blend:function(e) if(1===this. rgba 3 )return this;var i=this. (),s=i. pop(),n=l(e). rgba;return l(t. map(i,function(t,e) return(1-s)*n e +s*t )) ,toRgbaString:function() var e="rgba(",i=t. map(this. rgba,function(t,e) return null==t?e>2?1:0:t );return 1===i 3 &&(i. pop(),e="rgb("),e+i. join()+")" ,toHslaString:function() var e="hsla(",i=t. map( (),function(t,e) return null==t&&(t=e>2?1:0),e&&3>e&&(t= (100*t)+"%"),t );return 1===i 3 &&(i. pop(),e="hsl("),e+i. join()+")" ,toHexString:function(e) var i=this. (),s=i. pop();return e&&i. push(~~(255*s)),"#"+t. map(i,function(t) return t=(t||0). toString(16),1===t. length?"0"+t:t ). join("") ,toString:function() return 0===this. rgba 3 ?"transparent": String() ), ype=l. fn, =function(t) if(null==t 0 ||null==t 1 ||null==t 2 )return null,null,null,t 3 ;var e,i,s=t 0 /255,n=t 1 /255,o=t 2 /255,a=t 3 ,r= (s,n,o),h= (s,n,o),l=r-h,u=r+h,c=. 5*u;return e=h===r?0:s===r?60*(n-o)/l+360:n===r?60*(o-s)/l+120:60*(s-n)/l+240,i=0===l?0:. 5>=c?l/u:l/(2-u), (e)%360,i,c,null==a?1:a , =function(t) if(null==t 0 ||null==t 1 ||null==t 2 )return null,null,null,t 3 ;var e=t 0 /360,i=t 1 ,s=t 2 ,o=t 3 ,a=. 5>=s?s*(1+i):s+i-s*i,r=2*s-a;return (255*n(r,a,e+1/3)), (255*n(r,a,e)), (255*n(r,a,e-1/3)),o ,f(u,function(s,n) var o=n. props,a=n. cache,h=n. to,u=n. from;l. fn s =function(s) if(h&&!this a &&(this a =h(this. rgba)),s===e)return this a . slice();var n,r=t. type(s),c="array"===r||"object"===r?s:arguments,d=this a . slice();return f(o,function(t,e) var s=c "object"===r?t:e. idx ;null==s&&(s=d e. idx ),d e. idx =i(s,e) ),u?(n=l(u(d)),n a =d,n):l(d) ,f(o,function(e,i) l. fn e ||(l. fn e =function(n) var o,a=t. type(n),h="alpha"===e?this. hsla?"hsla":"rgba":s,l=this h (),u=l i. idx ;return"undefined"===a?u:("function"===a&&(n=n. call(this,u),a=t. type(n)),null==n&&i. empty?this:("string"===a&&(o=r. exec(n),o&&(n=u+parseFloat(o 2 )*("+"===o 1 ?1:-1))),l i. idx =n,this h (l))) ) ) ),l. hook=function(e) var i=e. split(" ");f(i,function(e,i) t. cssHooks i = set:function(e,n) var o,a,r="";if("transparent"!==n&&("string"!==t. type(n)||(o=s(n)))) if(n=l(o||n),!d. rgba&&1!==n. rgba 3 ) for(a="backgroundColor"===i?e. parentNode:e;(""===r||"transparent"===r)&&a&&a. style;)try r=t. css(a,"backgroundColor"),a=a. parentNode catch(h) n=n. blend(r&&"transparent"!==r?r:" default") n=n. toRgbaString() try e. style i =n catch(h) , i =function(e) e. colorInit||(e. start=l(e. elem,i),e. end=l(e. end),e. colorInit=!0),t. cssHooks i . set(e. elem, tion(e. end,e. pos)) ) ,l. hook(a), Color= expand:function(t) var e= ;return f( "Top","Right","Bottom","Left" ,function(i,s) e "border"+s+"Color" =t ),e ,o= = aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent: null,null,null,0 , default:"#ffffff" (b),function() function e(e) var i,s,n= tView? putedStyle(e,null):e. currentStyle,o= ;if(n&&n. length&&n 0 &&n n 0 )for(s=n. length;s--;)i=n s ,"string"==typeof n i &&(o t. camelCase(i) =n i );else for(i in n)"string"==typeof n i &&(o i =n i );return o function i(e,i) var s,o,a= ;for(s in i)o=i s ,e s !==o&&(n s ||( s ||!isNaN(parseFloat(o)))&&(a s =o));return a var s= "add","remove","toggle" ,n= border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1 ;t. each( "borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle" ,function(e,i) i =function(t) ("none"!==t. end&&!t. setAttr||1===t. pos&&!t. setAttr)&&(b. style(t. elem,i,t. end),t. setAttr=!0) ), k||( k=function(t) return (null==t? ject: (t)) ), eClass=function(n,o,a,r) var h=t. speed(o,a,r);return (function() var o,a=t(this),r=a. attr("class")||"",l=h. children?a. find("*"). addBack():a;l=l. map(function() var i=t(this);return el:i,start:e(this) ),o=function() t. each(s,function(t,e) n e &&a e+"Class" (n e ) ) ,o(),l=l. map(function() return =e( 0 ), =i( , ),this ),a. attr("class",r),l=l. map(function() var e=this,i=t. Deferred(),s=t. extend( ,h, queue:!1,complete:function() i. resolve(e) );return e( ,s),i. promise() ), (t,l. get()). done(function() o(),t. each(arguments,function() var e= ;t. each( ,function(t) e. css(t,"") ) ), (a 0 ) ) ) , ( addClass:function(e) return function(i,s,n,o) return s? (this, add:i ,s,n,o):e. apply(this,arguments) ( ss),removeClass:function(e) return function(i,s,n,o) return >1? (this, remove:i ,s,n,o):e. apply(this,arguments) ( Class),toggleClass:function(e) return function(i,s,n,o,a) return"boolean"==typeof s||void 0===s?n? (this,s? add:i : remove:i ,n,o,a):e. apply(this,arguments): (this, toggle:i ,s,n,o) ( Class),switchClass:function(e,i,s,n,o) return (this, add:i,remove:e ,s,n,o) ) (),function() function e(e,i,s,n) return t. isPlainObject(e)&&(i=e,e=e. effect),e= effect:e ,null==i&&(i= ),t. isFunction(i)&&(n=i,s=null,i= ),("number"==typeof i|| i )&&(n=s,s=i,i= ),t. isFunction(s)&&(n=s,s=null),i&&t. extend(e,i),s=s||i. duration,e. duration= ?0:"number"==typeof s?s:s in ? s : . default,e. complete=n||i. complete,e function i(e) return!e||"number"==typeof e|| e ?!0:"string"!=typeof e|| e ?t. isFunction(e)?!0:"object"!=typeof e||e. effect?!1:!0:!0 t. extend(t. effects, version:"1. 11. 4",save:function(t,e) for(var i=0;i "). addClass("ui-effects-wrapper"). css( fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0 ),n= width:e. width(),height:e. height() ,o= Element;try o. id catch(a) o= return e. wrap(s),(e 0 ===o||t. contains(e 0 ,o))&&t(o). focus(),s=e. parent(),"static"===e. css("position")?(s. css( position:"relative" ),e. css( position:"relative" )):(t. extend(i, position:e. css("position"),zIndex:e. css("z-index") ),t. each( "top","left","bottom","right" ,function(t,s) i s =e. css(s),isNaN(parseInt(i s ,10))&&(i s ="auto") ),e. css( position:"relative",top:0,left:0,right:"auto",bottom:"auto" )),e. css(n),s. css(i). show() ,removeWrapper:function(e) var i= Element;return e. parent(). is(". ui-effects-wrapper")&&(e. parent(). replaceWith(e),(e 0 ===i||t. contains(e 0 ,i))&&t(i). focus()),e ,setTransition:function(e,i,s,n) return n=n|| ,t. each(i,function(t,i) var o=e. cssUnit(i);o 0 >0&&(n i =o 0 *s+o 1 ) ),n ), ( effect:function() function i(e) function i() t. isFunction(o)&&o. call(n 0 ),t. isFunction(e)&&e() var n=t(this),o=s. complete,r=s. mode;(n. is(":hidden")?"hide"===r:"show"===r)?(n r (),i()):a. call(n 0 ,s,i) var s=e. apply(this,arguments),n=s. mode,o=s. queue,a= s. effect ;return ||!a?n?this n (s. duration,s. complete): (function() s. complete&& (this) ):o===!1? (i): (o||"fx",i) ,show:function(t) return function(s) if(i(s))return t. apply(this,arguments);var n=e. apply(this,arguments);return n. mode="show", (this,n) ( ),hide:function(t) return function(s) if(i(s))return t. apply(this,arguments);var n=e. apply(this,arguments);return n. mode="hide", (this,n) ( ),toggle:function(t) return function(s) if(i(s)||"boolean"==typeof s)return t. apply(this,arguments);var n=e. apply(this,arguments);return n. mode="toggle", (this,n) ( ),cssUnit:function(e) var i= (e),s= ;return t. each( "em","px","%","pt" ,function(t,e) i. indexOf(e)>0&&(s= parseFloat(i),e ) ),s ) (),function() var e= ;t. each( "Quad","Cubic","Quart","Quint","Expo" ,function(t,i) e i =function(e) return (e,t+2) ),t. extend(e, Sine:function(t) return (t* /2) ,Circ:function(t) return (1-t*t) ,Elastic:function(t) return 0===t||1===t?t: (2,8*(t-1))* ((80*(t-1)-7. 5)* /15) ,Back:function(t) return t*t*(3*t-2) ,Bounce:function(t) for(var e,i=4;tt?i(2*t)/2:1-i(-2*t+2)/2 ) ();t. effects, =function(e,i) var s,n,o,a=t(this),r=/up|down|vertical/,h=/up|left|vertical|horizontal/,l= "position","top","bottom","left","right","height","width" ,u= e(a,e. mode||"hide"),c=e. direction||"up",d=r. test(c),p=d?"height":"width",f=d?"top":"left",m=h. test(c),g= ,v="show"===u;a. parent(). is(". ui-effects-wrapper")? (a. parent(),l): (a,l),a. show(),s= Wrapper(a). css( overflow:"hidden" ),n=s p (),o=parseFloat(s. css(f))||0,g p =v?n:0,m||(a. css(d?"bottom":"right",0). css(d?"top":"left","auto"). css( position:"absolute" ),g f =v?o:n+o),v&&(s. css(p,0),m||s. css(f,o+n)),s. animate(g, duration:e. duration,easing:e. easing,queue:!1,complete:function() "hide"===u&&a. hide(), e(a,l), Wrapper(a),i() ) , =function(e,i) var s,n,o,a=t(this),r= "position","top","bottom","left","right","height","width" ,h= e(a,e. mode||"effect"),l="hide"===h,u="show"===h,c=e. direction||"up",d=e. distance,p=e. times||5,f=2*p+(u||l?1:0),m=e. duration/f,g=e. easing,v="up"===c||"down"===c?"top":"left", ="up"===c||"left"===c,b=a. queue(),y=b. length;for((u||l)&&r. push("opacity"), (a,r),a. show(), Wrapper(a),d||(d=a "top"===v?"outerHeight":"outerWidth" ()/3),u&&(o= opacity:1 ,o v =0,a. css("opacity",0). css(v, ?2*-d:2*d). animate(o,m,g)),l&&(d/= (2,p-1)),o= ,o v =0,s=0;p>s;s++)n= ,n v =( ?"-=":"+=")+d,a. animate(n,m,g). animate(o,m,g),d=l?2*d:d/2;l&&(n= opacity:0 ,n v =( ?"-=":"+=")+d,a. animate(n,m,g)),a. queue(function() l&&a. hide(), e(a,r), Wrapper(a),i() ),y>1&& (b, 1,0 . concat(b. splice(y,f+1))),a. dequeue() , =function(e,i) var s,n,o,a=t(this),r= "position","top","bottom","left","right","height","width" ,h= e(a,e. mode||"hide"),l="show"===h,u=e. direction||"vertical",c="vertical"===u,d=c?"height":"width",p=c?"top":"left",f= ; (a,r),a. show(),s= Wrapper(a). css( overflow:"hidden" ),n="IMG"===a 0 . tagName?s:a,o=n d (),l&&(n. css(d,0),n. css(p,o/2)),f d =l?o:0,f p =l?0:o/2,n. animate(f, queue:!1,duration:e. duration,easing:e. easing,complete:function() l||a. hide(), e(a,r), Wrapper(a),i() ) , =function(e,i) var s,n=t(this),o= "position","top","bottom","left","right","opacity","height","width" ,a= e(n,e. mode||"hide"),r="show"===a,h=e. direction||"left",l="up"===h||"down"===h?"top":"left",u="up"===h||"left"===h?"pos":"neg",c= opacity:r?1:0 ; (n,o),n. show(), Wrapper(n),s=e. distance||n "top"===l?"outerHeight":"outerWidth" (!0)/2,r&&n. css("opacity",0). css(l,"pos"===u?-s:s),c l =(r?"pos"===u?"+=":"-=":"pos"===u?"-=":"+=")+s,n. animate(c, queue:!1,duration:e. duration,easing:e. easing,complete:function() "hide"===a&&n. hide(), e(n,o), Wrapper(n),i() ) , e=function(e,i) function s() b. push(this),b. length===c*d&&n() function n() p. css( visibility:"visible" ),t(b). remove(),m||p. hide(),i() var o,a,r,h,l,u,c=e. pieces? ( (e. pieces)):3,d=c,p=t(this),f= e(p,e. mode||"hide"),m="show"===f,g=p. show(). css("visibility","hidden"). offset(),v= (p. outerWidth()/d), = (p. outerHeight()/c),b= ;for(o=0;c>o;o++)for(h=g. top+o* ,u=o-(c-1)/2,a=0;d>a;a++)r=g. left+a*v,l=a-(d-1)/2,p. clone(). appendTo("body"). wrap(" "). css( position:"absolute",visibility:"visible",left:-a*v,top:-o* ). parent(). addClass("ui-effects-explode"). css( position:"absolute",overflow:"hidden",width:v,height: ,left:r+(m?l*v:0),top:h+(m?u* :0),opacity:m?0:1 ). animate( left:r+(m?0:l*v),top:h+(m?0:u* ),opacity:m?1:0 ,e. duration||500,e. easing,s) , =function(e,i) var s=t(this),n= e(s,e. mode||"toggle");s. animate( opacity:n , queue:!1,duration:e. duration,easing:e. easing,complete:i ) , =function(e,i) var s,n,o=t(this),a= "position","top","bottom","left","right","height","width" ,r= e(o,e. mode||"hide"),h="show"===r,l="hide"===r,u=e. size||15,c=/( 0-9 +)%/. exec(u),d=!!e. horizFirst,p=h!==d,f=p? "width","height" : "height","width" ,m=e. duration/2,g= ,v= ; (o,a),o. show(),s= Wrapper(o). css( overflow:"hidden" ),n=p? s. width(),s. height() : s. height(),s. width() ,c&&(u=parseInt(c 1 ,10)/100*n l?0:1 ),h&&s. css(d? height:0,width:u : height:u,width:0 ),g f 0 =h?n 0 :u,v f 1 =h?n 1 :0,s. animate(g,m,e. easing). animate(v,m,e. easing,function() l&&o. hide(), e(o,a), Wrapper(o),i() ) , ght=function(e,i) var s=t(this),n= "backgroundImage","backgroundColor","opacity" ,o= e(s,e. mode||"show"),a= backgroundColor:s. css("backgroundColor") ;"hide"===o&&(a. opacity=0), (s,n),s. show(). css( backgroundImage:"none",backgroundColor:e. color||"#ffff99" ). animate(a, queue:!1,duration:e. duration,easing:e. easing,complete:function() "hide"===o&&s. hide(), e(s,n),i() ) , =function(e,i) var s,n,o,a=t(this),r= "position","top","bottom","left","right","width","height","overflow","opacity" ,h= "position","top","bottom","left","right","overflow","opacity" ,l= "width","height","overflow" ,u= "fontSize" ,c= "borderTopWidth","borderBottomWidth","paddingTop","paddingBottom" ,d= "borderLeftWidth","borderRightWidth","paddingLeft","paddingRight" ,p= e(a,e. mode||"effect"),f=e. restore||"effect"!==p,m=e. scale||"both",g=e. origin|| "middle","center" ,v=a. css("position"), =f?r:h,b= height:0,width:0,outerHeight:0,outerWidth:0 ;"show"===p&&a. show(),s= height:a. height(),width:a. width(),outerHeight:a. outerHeight(),outerWidth:a. outerWidth() ,"toggle"===e. mode&&"show"===p?(a. from=e. to||b,a. to=e. from||s):(a. from=e. from||("show"===p?b:s),a. to=e. to||("hide"===p?b:s)),o= from: y: /s. height,x: /s. width ,to: y: /s. height,x: /s. width ,("box"===m||"both"===m)&&(o. from. y!==o. to. y&&( = . concat(c),a. from= nsition(a,c,o. from. y,a. from),a. to= nsition(a,c,o. to. y,a. to)),o. from. x!==o. to. x&&( = . concat(d),a. from= nsition(a,d,o. from. x,a. from),a. to= nsition(a,d,o. to. x,a. to))),("content"===m||"both"===m)&&o. from. y!==o. to. y&&( = . concat(u). concat(l),a. from= nsition(a,u,o. from. y,a. from),a. to= nsition(a,u,o. to. y,a. to)), (a, ),a. show(), Wrapper(a),a. css("overflow","hidden"). css(a. from),g&&(n= eline(g,s), =( eight())*n. y, =( idth())*n. x, =( eight)*n. y, =( idth)*n. x),a. css(a. from),("content"===m||"both"===m)&&(c=c. concat( "marginTop","marginBottom" ). concat(u),d=d. concat( "marginLeft","marginRight" ),l=r. concat(c). concat(d),a. find("* width "). each(function() var i=t(this),s= height:i. height(),width:i. width(),outerHeight:i. outerHeight(),outerWidth:i. outerWidth() ;f&& (i,l),i. from= height:s. height*o. from. y,width:s. width*o. from. x,outerHeight:s. outerHeight*o. from. y,outerWidth:s. outerWidth*o. from. x ,i. to= height:s. height*o. to. y,width:s. width*o. to. x,outerHeight:s. height*o. to. y,outerWidth:s. width*o. to. x ,o. from. y!==o. to. y&&(i. from= nsition(i,c,o. from. y,i. from),i. to= nsition(i,c,o. to. y,i. to)),o. from. x!==o. to. x&&(i. from= nsition(i,d,o. from. x,i. from),i. to= nsition(i,d,o. to. x,i. to)),i. css(i. from),i. animate(i. to,e. duration,e. easing,function() f&& e(i,l) ) )),a. animate(a. to, queue:!1,duration:e. duration,easing:e. easing,complete:function() 0=== y&&a. css("opacity", y),"hide"===p&&a. hide(), e(a, ),f||("static"===v?a. css( position:"relative",top: ,left: ):t. each( "top","left" ,function(t,e) a. css(e,function(e,i) var s=parseInt(i,10),n=t? : ;return"auto"===i?n+"px":s+n+"px" ) )), Wrapper(a),i() ) , =function(e,i) var s=t(this),n=t. extend(!0, ,e),o= e(s,e. mode||"effect"),a=parseInt(e. percent,10)||(0===parseInt(e. percent,10)?0:"hide"===o?0:100),r=e. direction||"both",h=e. origin,l= height:s. height(),width:s. width(),outerHeight:s. outerHeight(),outerWidth:s. outerWidth() ,u= y:"horizontal"!==r?a/100:1,x:"vertical"!==r?a/100:1 ;n. effect="size",n. queue=!1,n. complete=i,"effect"!==o&&(n. origin=h|| "middle","center" ,n. restore=!0),n. from=e. from||("show"===o? height:0,width:0,outerHeight:0,outerWidth:0 :l),n. to= height:l. height*u. y,width:l. width*u. x,outerHeight:l. outerHeight*u. y,outerWidth:l. outerWidth*u. x ,n. fade&&("show"===o&&( y=0, y=1),"hide"===o&&( y=1, y=0)),s. effect(n) , =function(e,i) var s=t(this),n= e(s,e. mode||"hide"),o="hide"===n,a=parseInt(e. percent,10)||150,r=a/100,h= height:s. height(),width:s. width(),outerHeight:s. outerHeight(),outerWidth:s. outerWidth() ;t. extend(e, effect:"scale",queue:!1,fade:!0,mode:n,complete:i,percent:o?a:100,from:o?h: height:h. height*r,width:h.

PeToUSB 3.0.0.8 / FlashBoot.ru - восстановление флешек ...

width*r,outerHeight:h. outerHeight*r,outerWidth:h. outerWidth*r ),s. effect(e) , e=function(e,i) var s,n=t(this),o= e(n,e. mode||"show"),a="show"===o,r="hide"===o,h=a||"hide"===o,l=2*(e. times||5)+(h?1:0),u=e. duration/l,c=0,d=n. queue(),p=d. length;for((a||!n. is(":visible"))&&(n. css("opacity",0). show(),c=1),s=1;l>s;s++)n. animate( opacity:c ,u,e. easing),c=1-c;n. animate( opacity:c ,u,e. easing),n. queue(function() r&&n. hide(),i() ),p>1&& (d, 1,0 . concat(d. splice(p,l+1))),n. dequeue() , =function(e,i) var s,n=t(this),o= "position","top","bottom","left","right","height","width" ,a= e(n,e. mode||"effect"),r=e. direction||"left",h=e. distance||20,l=e. times||3,u=2*l+1,c= (e. duration/u),d="up"===r||"down"===r?"top":"left",p="up"===r||"left"===r,f= ,m= ,g= ,v=n. queue(), =v. length;for( (n,o),n. show(), Wrapper(n),f d =(p?"-=":"+=")+h,m d =(p?"+=":"-=")+2*h,g d =(p?"-=":"+=")+2*h,n. animate(f,c,e. easing),s=1;l>s;s++)n. animate(m,c,e. easing). animate(g,c,e. easing);n. animate(m,c,e. easing). animate(f,c/2,e. easing). queue(function() "hide"===a&&n. hide(), e(n,o), Wrapper(n),i() ), >1&& (v, 1,0 . concat(v. splice( ,u+1))),n. dequeue() , =function(e,i) var s,n=t(this),o= "position","top","bottom","left","right","width","height" ,a= e(n,e. mode||"show"),r="show"===a,h=e. direction||"left",l="up"===h||"down"===h?"top":"left",u="up"===h||"left"===h,c= ; (n,o),n. show(),s=e. distance||n "top"===l?"outerHeight":"outerWidth" (!0), Wrapper(n). css( overflow:"hidden" ),r&&n. css(l,u?isNaN(s)?"-"+s:-s:s),c l =(r?u?"+=":"-=":u?"-=":"+=")+s,n. animate(c, queue:!1,duration:e. duration,easing:e. easing,complete:function() "hide"===a&&n. hide(), e(n,o), Wrapper(n),i() ) , er=function(e,i) var s=t(this),n=t(e. to),o="fixed"===n. css("position"),a=t("body"),r=o?a. scrollTop():0,h=o?a. scrollLeft():0,l=n. offset(),u= top:l. top-r,left:l. left-h,height:n. innerHeight(),width:n. innerWidth() ,c=s. offset(),d=t(" "). appendTo( ). addClass(e. className). css( top:c. top-r,left:c. left-h,height:s. innerHeight(),width:s. innerWidth(),position:o?"fixed":"absolute" ). animate(u,e. duration,e. easing,function() d. remove(),i() ) ,t. widget(" ssbar", version:"1. 11. 4",options: max:100,value:0,change:null,complete:null ,min:0, create:function() ue= =this. constrainedValue(), ss("ui-progressbar ui-widget ui-widget-content ui-corner-all"). attr( role:"progressbar","aria-valuemin": ), iv=t(" "). appendTo( t),this. refreshValue() , destroy:function() Class("ui-progressbar ui-widget ui-widget-content ui-corner-all"). removeAttr("role"). removeAttr("aria-valuemin"). removeAttr("aria-valuemax"). removeAttr("aria-valuenow"), () ,value:function(t) return void 0===t? :( =this. constrainedValue(t),void this. refreshValue()) , constrainedValue:function(t) return void 0===t&&(t= ), rminate=t===!1,"number"!=typeof t&&(t=0), rminate?!1: ( , ( ,t)) , setOptions:function(t) var e=t. value;delete t. value,this. super(t), =this. constrainedValue(e),this. refreshValue() , setOption:function(t,e) "max"===t&&(e= ( ,e)),"disabled"===t&& Class("ui-state-disabled",!!e). attr("aria-disabled",e),this. super(t,e) , percentage:function() return rminate?100:100*( )/( ) , refreshValue:function() var e= ,i=this. percentage(); ( rminate||e> ). toggleClass("ui-corner-right",e=== ). width(i. toFixed(0)+"%"), Class("ui-progressbar-indeterminate", rminate), rminate?( Attr("aria-valuenow"), yDiv||( yDiv=t(" "). appendTo( iv))):( ( "aria-valuemax": ,"aria-valuenow":e ), yDiv&&( (), yDiv=null)), ue!==e&&( ue=e,this. trigger("change")),e=== &&this. trigger("complete") ),t. widget(" able", , version:"1. 11. 4",options: appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null , create:function() var e,i=this; ss("ui-selectable"), d=!1, h=function() e=t( ,i. element 0 ),e. addClass("ui-selectee"),e. each(function() var e=t(this),i=e. offset();t. data(this,"selectable-item", element:this,$element:e,left:i. left,top:i. top,right:i. left+e. outerWidth(),bottom:i. top+e. outerHeight(),startselected:!1,selected:e. hasClass("ui-selected"),selecting:e. hasClass("ui-selecting"),unselecting:e. hasClass("ui-unselecting") ) ) , h(), ees=e. addClass("ui-selectee"),this. mouseInit(), =t(" ") , destroy:function() Class("ui-selectee"). removeData("selectable-item"), Class("ui-selectable ui-selectable-disabled"),this. mouseDestroy() , mouseStart:function(e) var i=this,s= s; = e. pageX,e. pageY , ed||( ees=t(s. filter, t 0 ),this. trigger("start",e),t(s. appendTo). append( ), ( left:e. pageX,top:e. pageY,width:0,height:0 ),s. autoRefresh&& h(), (". ui-selected"). each(function() var s=t. data(this,"selectable-item");s. startselected=!0,e. metaKey||e. ctrlKey||(s. $ Class("ui-selected"),s. selected=!1,s. $ ss("ui-unselecting"),s. unselecting=!0,i. trigger("unselecting",e, unselecting:s. element )) ),t(e. target). parents(). addBack(). each(function() var s,n=t. data(this,"selectable-item");return n?(s=!e. metaKey&&!e. ctrlKey||!n. $ ss("ui-selected"),n. $ Class(s?"ui-unselecting":"ui-selected"). addClass(s?"ui-selecting":"ui-unselecting"),n. unselecting=!s,n. selecting=s,n. selected=s,s?i. trigger("selecting",e, selecting:n. element ):i. trigger("unselecting",e, unselecting:n. element ),!1):void 0 )) , mouseDrag:function(e) if( d=!0,! ed) var i,s=this,n= s,o= 0 ,a= 1 ,r=e. pageX,h=e. pageY;return o>r&&(i=r,r=o,o=i),a>h&&(i=h,h=a,a=i), ( left:o,top:a,width:r-o,height:h-a ), (function() var i=t. data(this,"selectable-item"),l=!1;i&&i. element!==s. element 0 &&("touch"===n. tolerance?l=!(i. left>r||i. right h||i. bottomo&&i. right a&&i. bottom ",options: appendTo:null,disabled:null,icons: button:"ui-icon-triangle-1-s" ,position: my:"left top",at:"left bottom",collision:"none" ,width:null,change:null,close:null,focus:null,open:null,select:null , create:function() var t= Id(). attr("id"); = element:t,button:t+"-button",menu:t+"-menu" ,this. drawButton(),this. drawMenu(), ed&& e() , drawButton:function() var e=this; =t("label for='"+ t+"' "). attr("for", ),this. on( , click:function(t) (),t. preventDefault() ), (), =t("", "class":"ui-selectmenu-button ui-widget ui-state-default ui-corner-all",tabindex: ed?-1:0,id: ,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns": ,"aria-haspopup":"true" ). insertAfter( t),t("", "class":"ui-icon "+ ). prependTo( ), Text=t("", "class":"ui-selectmenu-text" ). appendTo( ),this. setText( Text, ("option:selected"). text()),this. resizeButton(),this. on( ,this. buttonEvents), ("focusin",function() e. menuItems||e. refreshMenu() ),this. hoverable( ),this. focusable( ) , drawMenu:function() var e=this; =t(" ", "aria-hidden":"true","aria-labelledby": ,id: ), ap=t(" ", "class":"ui-selectmenu-menu ui-front" ). append( ). appendTo(this. appendTo()), stance= ( role:"listbox",select:function(t,i) t. preventDefault(),e. setSelection(),e. select( ("ui-selectmenu-item"),t) ,focus:function(t,i) var s= ("ui-selectmenu-item");null!=e. focusIndex&&s. index!==e. focusIndex&&(e. trigger("focus",t, item:s ),e. isOpen||e. select(s,t)),e. focusIndex=s. index, ("aria-activedescendant", (s. index). attr("id")) ). menu("instance"), ss("ui-corner-bottom"). removeClass("ui-corner-all"), stance. off( ,"mouseleave"), stance. closeOnDocumentClick=function() return!1 , stance. isDivider=function() return!1 ,refresh:function() this. refreshMenu(),this. setText( Text,this. getSelectedItem(). text()), ||this. resizeButton() , refreshMenu:function() ();var t,e= ("option");e. length&&(this. parseOptions(e),this. renderMenu( , ), h(), ems= ("li"). not(". ui-selectmenu-optgroup"),t=this. getSelectedItem(), (null,t),this. setAria(t. data("ui-selectmenu-item")),this. setOption("disabled", ("disabled"))) ,open:function(t) ed||( ems?( (". ui-state-focus"). removeClass("ui-state-focus"), (null,this. getSelectedItem())):this. refreshMenu(), =!0,this. toggleAttr(),this. resizeMenu(),this. position(),this. on( nt,this. documentClick),this. trigger("open",t)) , position:function() on(t. extend( of: , on)) ,close:function(t) &&( =!1,this. toggleAttr(), =null,this. off( nt),this. trigger("close",t)) ,widget:function() return ,menuWidget:function() return , renderMenu:function(e,i) var s=this,n="";t. each(i,function(i,o) o. optgroup!==n&&(t(" ", "class":"ui-selectmenu-optgroup ui-menu-divider"+( ("optgroup"). prop("disabled")?" ui-state-disabled":""),text:o. optgroup ). appendTo(e),n=o. optgroup),s. renderItemData(e,o) ) , renderItemData:function(t,e) return this. renderItem(t,e). data("ui-selectmenu-item",e) , renderItem:function(e,i) var s=t(" ");return i. disabled&&s. addClass("ui-state-disabled"),this. setText(s,i. label),s. appendTo(e) , setText:function(t,e) e?t. text(e):t. html(" ") , move:function(t,e) var i,s,n=". ui-menu-item"; ?i= ( ndex):(i= ( t 0 . selectedIndex),n+=":not(. ui-state-disabled)"),s="first"===t||"last"===t?i "first"===t?"prevAll":"nextAll" (n). eq(-1):i t+"All" (n). eq(0),s. length&& (e,s) , getSelectedItem:function() return ( t 0 . selectedIndex) , toggle:function(t) this ?"close":"open" (t) , setSelection:function() var t; &&( ection?(t= ection(),t. removeAllRanges(),t. addRange( )): (), ()) , documentClick: mousedown:function(e) &&(t(e. target). closest(". ui-selectmenu-menu, #"+ ). length|| (e)) , buttonEvents: mousedown:function() var t; ection?(t= ection(),t. rangeCount&&( =t. getRangeAt(0))): = Range() ,click:function(t) this. setSelection(),this. toggle(t) ,keydown:function(e) var i=!0;switch(e. keyCode) case :case : (e),i=!1;break;case : &&this. selectFocusedItem(e);break;case :e. altKey?this. toggle(e):this. move("prev",e);break;case :e. altKey?this. toggle(e):this. move("next",e);break;case : ?this. selectFocusedItem(e):this. toggle(e);break;case :this. move("prev",e);break;case :this. move("next",e);break;case :case UP:this. move("first",e);break;case :case DOWN:this. move("last",e);break;default: r(e),i=!1 i&&e. preventDefault() , selectFocusedItem:function(t) var e= ( ndex);e. hasClass("ui-state-disabled")||this. select(e. data("ui-selectmenu-item"),t) , select:function(t,e) var i= t 0 . selectedIndex; t 0 . selectedIndex=t. index,this. setText( Text,t. label),this. setAria(t),this. trigger("select",e, item:t ),t. index!==i&&this. trigger("change",e, item:t ), (e) , setAria:function(t) var e= (t. index). attr("id"); ( "aria-labelledby":e,"aria-activedescendant":e ), ("aria-activedescendant",e) , setOption:function(t,e) "icons"===t&& (" -icon"). removeClass( ). addClass(e. button),this. super(t,e),"appendTo"===t&& To(this. appendTo()),"disabled"===t&&( ("disabled",e), Class("ui-state-disabled",e). attr("aria-disabled",e), ("disabled",e),e?( ("tabindex",-1), ()): ("tabindex",0)),"width"===t&&this. resizeButton() , appendTo:function() var e= To;return e&&(e=e. jquery||e. nodeType?t(e): (e). eq(0)),e&&e 0 ||(e= t(". ui-front")),e. length||(e= nt 0 . body),e , toggleAttr:function() Class("ui-corner-top", ). toggleClass("ui-corner-all",! ). attr("aria-expanded", ), Class("ui-selectmenu-open", ), ("aria-hidden",! ) , resizeButton:function() var t= ;t||(t= (). outerWidth(), ()), idth(t) , resizeMenu:function() idth( ( idth(), (""). outerWidth()+1)) , getCreateOptions:function() return disabled: ("disabled") , parseOptions:function(e) var i= ;e. each(function(e,s) var n=t(s),o=n. parent("optgroup");i. push( element:n,index:e,value:n. val(),label:n. text(),optgroup:o. attr("label")||"",disabled:o. prop("disabled")||n. prop("disabled") ) ), =i , destroy:function() (), (), (), UniqueId(), ("for", t) ),t. widget(" ", , version:"1. 11. 4",widgetEventPrefix:"slide",options: animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null ,numPages:5, create:function() this. keySliding=!1,this. mouseSliding=!1,this. animateOff=!0,this. handleIndex=null,this. detectOrientation(),this. mouseInit(),this. calculateNewMax(), ss("ui-slider ui-slider-"+ ation+" ui-widget ui-widget-content ui-corner-all"),this. refresh(),this. setOption("disabled", ed),this. animateOff=!1 , refresh:function() this. createRange(),this. createHandles(),this. setupEvents(),this. refreshValue() , createHandles:function() var e,i,s= s,n= (". ui-slider-handle"). addClass("ui-state-default ui-corner-all"),o="",a= ;for(i=s. values&& ||1,n. length>i&&(n. slice(i). remove(),n=n. slice(0,i)),e=n. length;i>e;e++)a. push(o); s=n. add(t(a. join("")). appendTo( t)), = (0), (function(e) t(this). data("ui-slider-handle-index",e) ) , createRange:function() var e= s,i="";e. range?(e. range===!0&&(e. values? &&2!== ?e. values= e. values 0 ,e. values 0 :t. isArray(e. values)&&(e. values= (0)):e. values= this. valueMin(),this. valueMin() ), && ? Class("ui-slider-range-min ui-slider-range-max"). css( left:"",bottom:"" ):( =t(" "). appendTo( t),i="ui-slider-range ui-widget-header ui-corner-all"), ss(i+("min"===e. range||"max"===e. range?" ui-slider-range-"+e. range:""))):( && (), =null) , setupEvents:function() this. off( s),this. on( s,this. handleEvents),this. hoverable( s),this. focusable( s) , destroy:function() (), && (), Class("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this. mouseDestroy() , mouseCapture:function(e) var i,s,n,o,a,r,h,l,u=this,c= s;return c. disabled?!1:( tSize= width: idth(),height: eight() , tOffset= (),i= x:e. pageX,y:e. pageY ,s=this. normValueFromMouse(i),n=this. valueMax()-this. valueMin()+1, (function(e) var i= ( (e));(n>i||n===i&&(e===u. lastChangedValue||u. values(e)===c. min))&&(n=i,o=t(this),a=e) ),r=this. start(e,a),r===!1?!1:(this. mouseSliding=!0,this. handleIndex=a,o. addClass("ui-state-active"). focus(),h=o. offset(),l=!t(e. target). parents(). addBack(). is(". ui-slider-handle"),this. clickOffset=l? left:0,top:0 : left: ()/2,top: ()/2-(parseInt(o. css("borderTopWidth"),10)||0)-(parseInt(o. css("borderBottomWidth"),10)||0)+(parseInt(o. css("marginTop"),10)||0) , ss("ui-state-hover")||this. slide(e,a,s),this. animateOff=!0,!0)) , mouseStart:function() return!0 , mouseDrag:function(t) var e= x:t. pageX,y:t. pageY ,i=this. normValueFromMouse(e);return this. slide(t,this. handleIndex,i),!1 , mouseStop:function(t) return Class("ui-state-active"),this. mouseSliding=!1,this. stop(t,this. handleIndex),this. change(t,this. handleIndex),this. handleIndex=null,this. clickOffset=null,this. animateOff=!1,!1 , detectOrientation:function() ation="vertical"=== ation?"vertical":"horizontal" , normValueFromMouse:function(t) var e,i,s,n,o;return"horizontal"=== ation?(e= ,i= -(this. clickOffset?this. :0)):(e= ,i= -(this. clickOffset?this. :0)),s=i/e,s>1&&(s=1),0>s&&(s=0),"vertical"=== ation&&(s=1-s),n=this. valueMax()-this. valueMin(),o=this. valueMin()+s*n,this. trimAlignValue(o) , start:function(t,e) var i= handle: s e ,value: () ;return && &&(i. value= (e),i. values= ()),this. trigger("start",t,i) , slide:function(t,e,i) var s,n,o; && ?(s= (e?0:1),2=== && ===!0&&(0===e&&i>s||1===e&&s>i)&&(i=s),i!== (e)&&(n= (),n e =i,o=this. trigger("slide",t, handle: s e ,value:i,values:n ),s= (e?0:1),o!==!1&& (e,i))):i!== ()&&(o=this. trigger("slide",t, handle: s e ,value:i ),o!==!1&& (i)) , stop:function(t,e) var i= handle: s e ,value: () ; && &&(i. value= (e),i. values= ()),this. trigger("stop",t,i) , change:function(t,e) if(!this. keySliding&&!this. mouseSliding) var i= handle: s e ,value: () ; && &&(i. value= (e),i. values= ()),this. lastChangedValue=e,this. trigger("change",t,i) ,value:function(t) return ?( =this. trimAlignValue(t),this. refreshValue(),void this. change(null,0)):this. value() ,values:function(e,i) var s,n,o;if( >1)return e =this. trimAlignValue(i),this. refreshValue(),void this. change(null,e);if(! )return this. values();if(!t. isArray(arguments 0 ))return && ?this. values(e): ();for(s= ,n=arguments 0 ,o=0;o s;s+=1)this. change(null,s);this. animateOff=!1;break;case"step":case"min":case"max":this. animateOff=!0,this. calculateNewMax(),this. refreshValue(),this. animateOff=!1;break;case"range":this. animateOff=!0,this. refresh(),this. animateOff=!1 , value:function() var t= ;return t=this. trimAlignValue(t) , values:function(t) var e,i,s;if( )return e= t ,e=this. trimAlignValue(e);if( && ) for(i= (),s=0;s =this. valueMax())return this. valueMax();var e= >0? :1,i=(t-this. valueMin())%e,s=t-i;return 2* (i)>=e&&(s+=i>0?e:-e),parseFloat(s. toFixed(5)) , calculateNewMax:function() var t= ,e=this. valueMin(),i= ,s= (+(t-e). toFixed(this. precision())/i)*i;t=s+e, =parseFloat(t. toFixed(this. precision())) , precision:function() var t=this. precisionOf( );return null!== &&(t= (t,this. precisionOf( ))),t , precisionOf:function(t) var e=t. toString(),i=e. indexOf(". ");return-1===i?0:e. length-i-1 , valueMin:function() return , valueMax:function() return , refreshValue:function() var e,i,s,n,o,a= ,r= s,h=this,l=this. animateOff?!1:r. animate,u= ; && ? (function(s) i=(h. values(s)-h. valueMin())/(h. valueMax()-h. valueMin())*100,u "horizontal"===h. orientation?"left":"bottom" =i+"%",t(this). stop(1,1) l?"animate":"css" (u,r. animate), ===!0&&("horizontal"===h. orientation?(0===s&& (1,1) l?"animate":"css" ( left:i+"%" ,r. animate),1===s&&h. range l?"animate":"css" ( width:i-e+"%" , queue:!1,duration:r. animate )):(0===s&& (1,1) l?"animate":"css" ( bottom:i+"%" ,r. animate),1===s&&h. range l?"animate":"css" ( height:i-e+"%" , queue:!1,duration:r. animate ))),e=i ):(s= (),n=this. valueMin(),o=this. valueMax(),i=o!==n?(s-n)/(o-n)*100:0,u "horizontal"=== ation?"left":"bottom" =i+"%", (1,1) l?"animate":"css" (u,r. animate),"min"===a&&"horizontal"=== ation&& (1,1) l?"animate":"css" ( width:i+"%" ,r. animate),"max"===a&&"horizontal"=== ation&& l?"animate":"css" ( width:100-i+"%" , queue:!1,duration:r. animate ),"min"===a&&"vertical"=== ation&& (1,1) l?"animate":"css" ( height:i+"%" ,r. animate),"max"===a&&"vertical"=== ation&& l?"animate":"css" ( height:100-i+"%" , queue:!1,duration:r. animate )) , handleEvents: keydown:function(e) var i,s,n,o,a=t(e. target). data("ui-slider-handle-index");switch(e. keyCode) case :case :case UP:case DOWN:case :case :case :case :if(e. preventDefault(),!this. keySliding&&(this. keySliding=!0,t(e. target). addClass("ui-state-active"),i=this. start(e,a),i===!1))return switch(o= ,s=n= && ? (a): (),e. keyCode) case :n=this. valueMin();break;case :n=this. valueMax();break;case UP:n=this. trimAlignValue(s+(this. valueMax()-this. valueMin())/ es);break;case DOWN:n=this. trimAlignValue(s-(this. valueMax()-this. valueMin())/ es);break;case :case :if(s===this. valueMax())return;n=this. trimAlignValue(s+o);break;case :case :if(s===this. valueMin())return;n=this. trimAlignValue(s-o) this. slide(e,a,n) ,keyup:function(e) var i=t(e. target). data("ui-slider-handle-index");this. keySliding&&(this. keySliding=!1,this. stop(e,i),this. change(e,i),t(e. target). removeClass("ui-state-active")) ),t. widget(" le", , version:"1. 11. 4",widgetEventPrefix:"sort",ready:!1,options: appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null , isOverAxis:function(t,e,i) return t>=e&&e+i>t , isFloating:function(t) return/left|right/. test(t. css("float"))||/inline|table-cell/. test(t. css("display")); , create:function() nerCache= , ss("ui-sortable"), h(), = (),this. mouseInit(),this. setHandleClassName(), =!0 , setOption:function(t,e) this. super(t,e),"handle"===t&&this. setHandleClassName() , setHandleClassName:function() (". ui-sortable-handle"). removeClass("ui-sortable-handle"),t. each( ,function() ( ? ( ): ). addClass("ui-sortable-handle") ) , destroy:function() Class("ui-sortable ui-sortable-disabled"). find(". ui-sortable-handle"). removeClass("ui-sortable-handle"),this. mouseDestroy();for(var t= -1;t>=0;t--) t Data( Name+"-item");return this , mouseCapture:function(e,i) var s=null,n=!1,o=this;return ing?!1: ed||"static"=== ?!1:(this. refreshItems(e),t(e. target). parents(). each(function() return t. data(this,o. widgetName+"-item")===o?(s=t(this),!1):void 0 ),t. data(e. target,o. widgetName+"-item")===o&&(s=t(e. target)),s&&(! ||i||(t( ,s). find("*"). addBack(). each(function() this===e. target&&(n=!0) ),n))?( tItem=s,this. removeCurrentsFromItems(),!0):!1) , mouseStart:function(e,i,s) var n,o,a= s;if( tContainer=this, hPositions(), =this. createHelper(e),this. cacheHelperProportions(),this. cacheMargins(), Parent= Parent(), = (), = top: ,left: ,t. extend( , click: left: ,top: ,parent:this. getParentOffset(),relative:this. getRelativeOffset() ), ("position","absolute"), ition= ("position"), alPosition=this. generatePosition(e), alPageX=e. pageX, alPageY=e. pageY,a. cursorAt&&this. adjustOffsetFromHelper(a. cursorAt), ition= prev: () 0 ,parent: () 0 , 0 !== tItem 0 && (),this. createPlaceholder(),a. containment&&this. setContainment(),a. cursor&&"auto"!==a. cursor&&(o= ("body"), Cursor=o. css("cursor"),o. css("cursor",a. cursor), Stylesheet=t(" "). appendTo(o)),a. opacity&&( ("opacity")&&(this. storedOpacity= ("opacity")), ("opacity",a. opacity)),a. zIndex&&( ("zIndex")&&(this. storedZIndex= ("zIndex")), ("zIndex",a. zIndex)), Parent 0 !== nt 0 &&"HTML"!== Parent 0 . tagName&&( owOffset= ()),this. trigger("start",e,this. uiHash()),this. preserveHelperProportions||this. cacheHelperProportions(),!s)for(n= -1;n>=0;n--) ners n . trigger("activate",e,this. uiHash(this));return ger&&( t=this), ger&&!a. dropBehaviour&& eOffsets(this,e), ng=!0, ss("ui-sortable-helper"),this. mouseDrag(e),!0 , mouseDrag:function(e) var i,s,n,o,a= s,r=!1;for( on=this. generatePosition(e), onAbs=this. convertPositionTo("absolute"), sitionAbs||( sitionAbs= onAbs), &&( Parent 0 !== nt 0 &&"HTML"!== Parent 0 . tagName?( + Parent 0 =0;i--)if(s= i ,n=s. item 0 ,o=this. intersectsWithPointer(s),o&&s. instance=== tContainer&&n!== tItem 0 && older 1===o?"next":"prev" () 0 !==n&&!t. contains( older 0 ,n)&&("semi-dynamic"=== ?!t. contains( t 0 ,n):!0)) if( ion=1===o?"down":"up","pointer"!== nce&&!this. intersectsWithSides(s))break;this. rearrange(e,s),this. trigger("change",e,this. uiHash());break return this. contactContainers(e), ger&& (this,e),this. trigger("sort",e,this. uiHash()), sitionAbs= onAbs,!1 , mouseStop:function(e,i) if(e) if( ger&&! haviour&& (this,e), ) var s=this,n= (),o= ,a= ;o&&"x"!==o||(a. left= +( Parent 0 === nt 0 . body?0: Parent 0 . scrollLeft)),o&&"y"!==o||(a. top= +( Parent 0 === nt 0 . body?0: Parent 0 . scrollTop)), ing=!0,t( ). animate(a,parseInt( ,10)||500,function() s. clear(e) ) else this. clear(e,i);return!1 ,cancel:function() if( ng) this. mouseUp( target:null ),"original"=== ? (this. storedCSS). removeClass("ui-sortable-helper"): ();for(var e= -1;e>=0;e--) ners e . trigger("deactivate",null,this. uiHash(this)), ners e &&( ners e . trigger("out",null,this. uiHash(this)), ners e =0) return older&&( older 0 . parentNode&& older 0 Child( older 0 ),"original"!== && && 0 . parentNode&& (),t. extend(this, helper:null,dragging:!1,reverting:!1, noFinalSort:null ), ?t( ). after( tItem):t( ). prepend( tItem)),this ,serialize:function(e) var i=this. getItemsAsjQuery(e&&e. connected),s= ;return e=e|| ,t(i). each(function() var i=(t(e. item||this). attr(e. attribute||"id")||""). match(e. expression||/(. +) \-= (. +)/);i&&s. push((e. key||i 1 +" ")+"="+(e. key&&e. expression?i 1 :i 2 )) ),!s. length&&e. key&&s. push(e. key+"="),s. join("&") ,toArray:function(e) var i=this. getItemsAsjQuery(e&&e. connected),s= ;return e=e|| ,i. each(function() s. push(t(e. item||this). attr(e. attribute||"id")||"") ),s , intersectsWith:function(t) var e= ,i=e+ ,s= ,n=s+ ,o=t. left,a=o+t. width,r=t. top,h=r+t. height,l= ,u= ,c="x"=== ||s+l>r&&h>s+l,d="y"=== ||e+u>o&&a>e+u,p=c&&d;return"pointer"=== nce|| ointerForContainers||"pointer"!== nce&& Proportions ng?"width":"height" >t ng?"width":"height" ?p:o 0?"down":"up") , getDragHorizontalDirection:function() var t= ;return 0!==t&&(t>0?"right":"left") ,refresh:function(t) return this. refreshItems(t),this. setHandleClassName(), hPositions(),this , connectWith:function() var t= s;return uctor===String? t. connectWith :t. connectWith , getItemsAsjQuery:function(e) function i() r. push(this) var s,n,o,a,r= ,h= ,l=this. connectWith();if(l&&e)for(s=l. length-1;s>=0;s--)for(o=t(l s , nt 0 ),n=o. length-1;n>=0;n--)a=t. data(o n , FullName),a&&a!==this&&! ed&&h. push( t. isFunction( )? (a. element):t( ,a. element). not(". ui-sortable-helper"). not(". ui-sortable-placeholder"),a );for(h.

Москва — Википедия

push( t. isFunction( )? ( t,null, options: s,item: tItem ):t( , t). not(". ui-sortable-helper"). not(". ui-sortable-placeholder"),this ),s=h. length-1;s>=0;s--)h s 0 . each(i);return t(r) , removeCurrentsFromItems:function() var e= (":data("+ Name+"-item)"); =t. grep( ,function(t) for(var i=0;i =0;i--)for(n=t(d i , nt 0 ),s=n. length-1;s>=0;s--)o=t. data(n s , FullName),o&&o!==this&&! ed&&(c. push( t. isFunction( )? (o. element 0 ,e, item: tItem ):t( ,o. element),o ), (o));for(i=c. length-1;i>=0;i--)for(a=c i 1 ,r=c i 0 ,s=0,l=r. length;l>s;s++)h=t(r s ),h. data( Name+"-item",a),u. push( item:h,instance:a,width:0,height:0,left:0,top:0 ) ,refreshPositions:function(e) ng= ?"x"=== ||this. isFloating( 0 . item):!1, Parent&& &&( =this. getParentOffset());var i,s,n,o;for(i= -1;i>=0;i--)s= i ,s. instance!== tContainer&& tContainer&&s. item 0 !== tItem 0 ||(n= nceElement?t( nceElement,s. item):s. item,e||(s. width=n. outerWidth(),s. height=n. outerHeight()),o=n. offset(),s. left=o. left,s. top=o. top);if( && hContainers) (this);else for(i= -1;i>=0;i--)o= ners i (), ners i =o. left, ners i =o. top, ners i = ners i idth(), ners i = ners i eight();return this , createPlaceholder:function(e) e=e||this;var i,s=e. options;s. placeholder&& uctor!==String||(i=s. placeholder,s. placeholder= element:function() var s=e. currentItem 0 rCase(),n=t("",e. document 0 ). addClass(i||e. currentItem 0 . className+" ui-sortable-placeholder"). removeClass("ui-sortable-helper");return"tbody"===s?e. createTrPlaceholder( ("tr"). eq(0),t(" ",e. document 0 ). appendTo(n)):"tr"===s?e. createTrPlaceholder(e. currentItem,n):"img"===s&&n. attr("src", ("src")),i||n. css("visibility","hidden"),n ,update:function(t,n) (!i||s. forcePlaceholderSize)&&(n. height()||n. height( eight()-parseInt( ("paddingTop")||0,10)-parseInt( ("paddingBottom")||0,10)),n. width()||n. width( idth()-parseInt( ("paddingLeft")||0,10)-parseInt( ("paddingRight")||0,10))) ),e. placeholder=t( (e. element,e. currentItem)), (e. placeholder), (e,e. placeholder) , createTrPlaceholder:function(e,i) var s=this;e. children(). each(function() t("  ",s. document 0 ). attr("colspan",t(this). attr("colspan")||1). appendTo(i) ) , contactContainers:function(e) var i,s,n,o,a,r,h,l,u,c,d=null,p=null;for(i= -1;i>=0;i--)if(!t. contains( tItem 0 , ners i . element 0 ))if(this. intersectsWith( ners i . containerCache)) if(d&&t. contains( ners i . element 0 ,d. element 0 ))continue;d= ners i ,p=i else ners i &&( ners i . trigger("out",e,this. uiHash(this)), ners i =0);if(d)if(1=== ) ners p ||( ners p . trigger("over",e,this. uiHash(this)), ners p =1);else for(n=1e4,o=null,u=d. floating||this. isFloating( tItem),a=u?"left":"top",r=u?"width":"height",c=u?"clientX":"clientY",s= -1;s>=0;s--)t. contains( ners p . element 0 , s . item 0 )&& s . item 0 !== tItem 0 &&(h= s () a ,l=!1,e c -h> s r /2&&(l=!0), (e c -h) nment 2 &&(o= nment 2 + ), > nment 3 &&(a= nment 3 + )),n. grid&&(i= alPageY+ (( alPageY)/n. grid 1 )*n. grid 1 ,a= nment? >= nment 1 && = nment 1 ? 1 :i+n. grid 1 :i,s= alPageX+ (( alPageX)/n. grid 0 )*n. grid 0 ,o= nment? >= nment 0 && = nment 0 ? 0 :s+n. grid 0 :s)), top: +("fixed"=== ition? Top():h?0:r. scrollTop()),left: +("fixed"=== ition? Left():h?0:r. scrollLeft()) , rearrange:function(t,e,i,s) i?i 0 . appendChild( older 0 ):e. item 0 Before( older 0 ,"down"=== ion?e. item 0 :e. item 0 . nextSibling), r= r?++ r:1;var n= r;this. delay(function() n=== r&& hPositions(!s) ) , clear:function(t,e) function i(t,e,i) return function(s) i. trigger(t,s,e. uiHash(e)) ing=!1;var s,n= ;if(!this. noFinalSort&& (). length&& ( tItem),this. noFinalSort=null, 0 === tItem 0 ) for(s in this. storedCSS)("auto"===this. storedCSS s ||"static"===this. storedCSS s )&&(this. storedCSS s =""); (this. storedCSS). removeClass("ui-sortable-helper") else ();for( tside&&!e&&n. push(function(t) this. trigger("receive",t,this. uiHash( tside)) ),! tside&& === (). not(". ui-sortable-helper") 0 && === () 0 ||e||n. push(function(t) this. trigger("update",t,this. uiHash()) ),this!== tContainer&&(e||(n. push(function(t) this. trigger("remove",t,this. uiHash()) ),n. push(function(t) return function(e) t. trigger("receive",e,this. uiHash(this)) . call(this, tContainer)),n. push(function(t) return function(e) t. trigger("update",e,this. uiHash(this)) . call(this, tContainer)))),s= -1;s>=0;s--)e||n. push(i("deactivate",this, ners s )), ners s &&(n. push(i("out",this, ners s )), ners s =0);if( Cursor&&( ("body"). css("cursor", Cursor), ()),this. storedOpacity&& ("opacity",this. storedOpacity),this. storedZIndex&& ("zIndex","auto"===this. storedZIndex?"":this. storedZIndex), ng=!1,e||this. trigger("beforeStop",t,this. uiHash()), older 0 Child( older 0 ), HelperRemoval||( 0 !== tItem 0 && (), =null),!e) for(s=0;s ",widgetEventPrefix:"spin",options: culture:null,icons: down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n" ,incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null , create:function() this. setOption("max", ),this. setOption("min", ),this. setOption("step", ),""!== ()&&this. value( (),!0),this. draw(),this. on(this. events),this. refresh(),this. on( , beforeunload:function() Attr("autocomplete") ) , getCreateOptions:function() var e= ,i= t;return t. each( "min","max","step" ,function(t,s) var n=i. attr(s);void 0!==n&&n. length&&(e s =n) ),e , events: keydown:function(t) this. start(t)&&this. keydown(t)&&t. preventDefault() ,keyup:" stop",focus:function() us= () ,blur:function(t) return Blur?void delete Blur:(this. stop(),this. refresh(),void( us!== ()&&this. trigger("change",t))) ,mousewheel:function(t,e) if(e) if(! ng&&!this. start(t))return!1;this. spin((e>0?1:-1)* ,t),clearTimeout( heelTimer), heelTimer=this. delay(function() ng&&this. stop(t) ,100),t. preventDefault() ,"mousedown . ui-spinner-button":function(e) function i() var t= t 0 === nt 0 . activeElement;t||( (), us=s,this. delay(function() us=s )) var s;s= t 0 === nt 0 . activeElement? us: (),e. preventDefault(),i. call(this), Blur=!0,this. delay(function() delete Blur,i. call(this) ),this. start(e)!==!1&&this. repeat(null,t(e. currentTarget). hasClass("ui-spinner-up")?1:-1,e) ,"mouseup . ui-spinner-button":" stop","mouseenter . ui-spinner-button":function(e) return t(e. currentTarget). hasClass("ui-state-active")?this. start(e)===!1?!1:void this. repeat(null,t(e. currentTarget). hasClass("ui-spinner-up")?1:-1,e):void 0 ,"mouseleave . ui-spinner-button":" stop" , draw:function() var t= ner= ss("ui-spinner-input"). attr("autocomplete","off"). wrap(this. uiSpinnerHtml()). parent(). append(this. buttonHtml()); ("role","spinbutton"), s=t. find(". ui-spinner-button"). attr("tabIndex",-1). button(). removeClass("ui-corner-all"), ()> (. 5*t. height())&&t. height()>0&&t. height(t. height()), ed&& e() , keydown:function(e) var i= s,s= e;switch(e. keyCode) case s. UP:return this. repeat(null,1,e),!0;case s. DOWN:return this. repeat(null,-1,e),!0;case s. PAGE UP:return this. repeat(null,i. page,e),!0;case s. PAGE DOWN:return this. repeat(null, ,e),!0 return!1 , uiSpinnerHtml:function() return"" , buttonHtml:function() return"▲▼" , start:function(t) return ng||this. trigger("start",t)!==!1?( r||( r=1), ng=!0,!0):!1 , repeat:function(t,e,i) t=t||500,clearTimeout( ), =this. delay(function() this. repeat(40,e,i) ,t),this. spin(e* ,i) , spin:function(t,e) var i= ()||0; r||( r=1),i=this. adjustValue(i+t*this. increment( r)), ng&&this. trigger("spin",e, value:i )===!1||(this. value(i), r++) , increment:function(e) var i= ental;return i?t. isFunction(i)?i(e): (e*e*e/5e4-e*e/500+17*e/200+1):1 , precision:function() var t=this. precisionOf( );return null!== &&(t= (t,this. precisionOf( ))),t , precisionOf:function(t) var e=t. toString(),i=e. indexOf(". ");return-1===i?0:e. length-i-1 , adjustValue:function(t) var e,i,s= s;return e=null!==s. min?s. min:0,i=t-e,i= (i/s. step)*s. step,t=e+i,t=parseFloat(t. toFixed(this. precision())),null!==s. max&&t>s. max?s. max:null!==s. min&&t 1&&i===s (), create:function() var e=this,i= s; g=!1, ss("ui-tabs ui-widget ui-widget-content ui-corner-all"). toggleClass("ui-tabs-collapsible",i. collapsible),this. processTabs(),i. active=this. initialActive(),t. isArray(i. disabled)&&(i. disabled=t. unique( (t. map( (". ui-state-disabled"),function(t) return (t) ))). sort()), !==!1&& ? =this. findActive(i. active): =t(),this. refresh(), && (i. active) , initialActive:function() var e= ,i= sible,s= ing(1);return null===e&&(s&& (function(i,n) return t(n). attr("aria-controls")===s?(e=i,!1):void 0 ),null===e&&(e= ( (". ui-tabs-active"))),(null===e||-1===e)&&(e= ?0:!1)),e!==!1&&(e= ( (e)),-1===e&&(e=i?!1:0)),!i&&e===!1&& &&(e=0),e , getCreateEventData:function() return tab: ,panel: ?this. getPanelForTab( ):t() , tabKeydown:function(e) var i=t( nt 0 . activeElement). closest("li"),s= (i),n=!0;if(!this. handlePageNav(e)) switch(e. keyCode) case :case :s++;break;case :case :n=!1,s--;break;case :s= -1;break;case :s=0;break;case :return e. preventDefault(),clearTimeout( ting),void this. activate(s);case :return e. preventDefault(),clearTimeout( ting),void this. activate(s=== ?!1:s);default:return e. preventDefault(),clearTimeout( ting),s=this. focusNextTab(s,n),e. ctrlKey||e. metaKey||(i. attr("aria-selected","false"), (s). attr("aria-selected","true"), ting=this. delay(function() ("active",s) , )) , panelKeydown:function(e) this. handlePageNav(e)||e. ctrlKey&&e. keyCode=== &&(e. preventDefault(), ()) , handlePageNav:function(e) return e. altKey&&e. keyCode=== UP?(this. activate(this. focusNextTab( -1,!1)),!0):e. altKey&&e. keyCode=== DOWN?(this. activate(this. focusNextTab( +1,!0)),!0):void 0 , findNextTab:function(e,i) function s() return e>n&&(e=0),0>e&&(e=n),e for(var n= -1;-1!==t. inArray(s(), ed);)e=i?e+1:e-1;return e , focusNextTab:function(t,e) return t=this. findNextTab(t,e), (t). focus(),t , setOption:function(t,e) return"active"===t?void this. activate(e):"disabled"===t?void this. setupDisabled(e):(this. super(t,e),"collapsible"===t&&( Class("ui-tabs-collapsible",e),e|| !==!1||this. activate(0)),"event"===t&&this. setupEvents(e),void("heightStyle"===t&&this. setupHeightStyle(e))) , sanitizeSelector:function(t) return t?t. replace(/ !"$%&'()*+,. \/:;?@\ \ \ ` | ~ /g,"\\$&"):"" ,refresh:function() var e= s,i= en(":has(a href )");e. disabled=t. map(i. filter(". ui-state-disabled"),function(t) return i. index(t) ),this. processTabs(),e. active!==!1&& ? &&!t. contains( t 0 , 0 )? === ?(e. active=!1, =t()):this. activate(this. findNextTab( (0,e. active-1),!1)):e. active= ( ):(e. active=!1, =t()),this. refresh() , refresh:function() this. setupDisabled( ed),this. setupEvents( ),this. setupHeightStyle( Style), ( ). attr( "aria-selected":"false","aria-expanded":"false",tabIndex:-1 ), (this. getPanelForTab( )). hide(). attr( "aria-hidden":"true" ), ?( ss("ui-tabs-active ui-state-active"). attr( "aria-selected":"true","aria-expanded":"true",tabIndex:0 ),this. getPanelForTab( ). show(). attr( "aria-hidden":"false" )): (0). attr("tabIndex",0) , processTabs:function() var e=this,i= ,s= s,n= ; t=this. getList(). addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"). attr("role","tablist"). delegate("> li","mousedown"+ amespace,function(e) t(this). is(". ui-state-disabled")&&e. preventDefault() ). delegate(". ui-tabs-anchor","focus"+ amespace,function() t(this). closest("li"). is(". ui-state-disabled")&& () ), = ("> li:has(a href )"). addClass("ui-state-default ui-corner-top"). attr( role:"tab",tabIndex:-1 ), s= (function() return t("a",this) 0 ). addClass("ui-tabs-anchor"). attr( role:"presentation",tabIndex:-1 ), =t(), (function(i,s) var n,o,a,r=t(s). uniqueId(). attr("id"),h=t(s). closest("li"),l=h. attr("aria-controls");e. isLocal(s)?(n=s. hash,a=n. substring(1),o= (e. sanitizeSelector(n))):(a=h. attr("aria-controls")||t( ). uniqueId() 0 . id,n="#"+a,o= (n),o. length||(o=e. createPanel(a),o. insertAfter(e. panels i-1 ||e. tablist)),o. attr("aria-live","polite")),o. length&&(e. panels= (o)),l&&h. data("ui-tabs-aria-controls",l),h. attr( "aria-controls":a,"aria-labelledby":r ),o. attr("aria-labelledby",r) ), ss("ui-tabs-panel ui-widget-content ui-corner-bottom"). attr("role","tabpanel"),i&&(this. off(i. not( )),this. off(s. not( s)),this. off(n. not( ))) , getList:function() return t|| ("ol,ul"). eq(0) , createPanel:function(e) return t(" "). attr("id",e). addClass("ui-tabs-panel ui-widget-content ui-corner-bottom"). data("ui-tabs-destroy",!0) , setupDisabled:function(e) t. isArray(e)&&(e. length?e. length=== &&(e=!0):e=!1);for(var i,s=0;i= s ;s++)e===!0||-1!==t. inArray(s,e)?t(i). addClass("ui-state-disabled"). attr("aria-disabled","true"):t(i). removeClass("ui-state-disabled"). removeAttr("aria-disabled"); ed=e , setupEvents:function(e) var i= ;e&&t. each(e. split(" "),function(t,e) i e =" eventHandler" ),this. off( ( ). add( )),this. on(!0, s, click:function(t) t. preventDefault() ),this. on( s,i),this. on( , keydown:" tabKeydown" ),this. on( , keydown:" panelKeydown" ),this. focusable( ),this. hoverable( ) , setupHeightStyle:function(e) var i,s= ();"fill"===e?(i=s. height(),i-= eight() (), gs(":visible"). each(function() var e=t(this),s=e. css("position");"absolute"!==s&&"fixed"!==s&&(i-=e. outerHeight(!0)) ), en(). not( ). each(function() i-=t(this). outerHeight(!0) ), (function() t(this). height( (0,i-t(this). innerHeight()+t(this). height())) ). css("overflow","auto")):"auto"===e&&(i=0, (function() i= (i,t(this). height(""). height()) ). height(i)) , eventHandler:function(e) var i= s,s= ,n=t(e. currentTarget),o=n. closest("li"),a=o 0 ===s 0 ,r=a&&i. collapsible,h=r?t():this. getPanelForTab(o),l=s. length?this. getPanelForTab(s):t(),u= oldTab:s,oldPanel:l,newTab:r?t():o,newPanel:h ;e. preventDefault(),o. hasClass("ui-state-disabled")||o. hasClass("ui-tabs-loading")|| g||a&&!i. collapsible||this. trigger("beforeActivate",e,u)===!1||(i. active=r?!1: (o), =a?t():o, && (),l. length||h. length||t. error("jQuery UI Tabs: Mismatching fragment identifier. "),h. length&& ( (o),e),this. toggle(e,u)) , toggle:function(e,i) function s() o. running=!1,o. trigger("activate",e,i) function n() t("li"). addClass("ui-tabs-active ui-state-active"),a. length&& ?o. show(a, ,s):(a. show(),s()) var o=this,a=i. newPanel,r=i. oldPanel; g=!0,r. length&& ?this. hide(r, ,function() t("li"). removeClass("ui-tabs-active ui-state-active"),n() ):( t("li"). removeClass("ui-tabs-active ui-state-active"),r. hide(),n()),r. attr("aria-hidden","true"), ( "aria-selected":"false","aria-expanded":"false" ),a. length&&r. length? ("tabIndex",-1):a. length&& (function() return 0===t(this). attr("tabIndex") ). attr("tabIndex",-1),a. attr("aria-hidden","false"), ( "aria-selected":"true","aria-expanded":"true",tabIndex:0 ) , activate:function(e) var i,s=this. findActive(e);s 0 !== 0 &&(s. length||(s= ),i=s. find(". ui-tabs-anchor") 0 ,this. eventHandler( target:i,currentTarget:i,preventDefault:t. noop )) , findActive:function(e) return e===!1?t(): (e) , getIndex:function(t) return"string"==typeof t&&(t= ( (" href$='"+t+"' "))),t , destroy:function() && (), Class("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"), Class("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"). removeAttr("role"), Class("ui-tabs-anchor"). removeAttr("role"). removeAttr("tabIndex"). removeUniqueId(), ( amespace), ( ). each(function() t. data(this,"ui-tabs-destroy")?t(this). remove():t(this). removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel"). removeAttr("tabIndex"). removeAttr("aria-live"). removeAttr("aria-busy"). removeAttr("aria-selected"). removeAttr("aria-labelledby"). removeAttr("aria-hidden"). removeAttr("aria-expanded"). removeAttr("role") ), (function() var e=t(this),i=e. data("ui-tabs-aria-controls");i?e. attr("aria-controls",i). removeData("ui-tabs-aria-controls"):e. removeAttr("aria-controls") ), (),"content"!== Style&& ("height","") ,enable:function(e) var i= ed;i!==!1&&(void 0===e?i=!1:(e=this. getIndex(e),i=t. isArray(i)?t. map(i,function(t) return t!==e?t:null ):t. map( ,function(t,i) return i!==e?i:null )),this. setupDisabled(i)) ,disable:function(e) var i= ed;if(i!==!0) if(void 0===e)i=!0;else if(e=this. getIndex(e),-1!==t. inArray(e,i))return;i=t. isArray(i)?t. merge( e ,i). sort(): e this. setupDisabled(i) ,load:function(e,i) e=this. getIndex(e);var s=this,n= (e),o=n. find(". ui-tabs-anchor"),a=this. getPanelForTab(n),r= tab:n,panel:a ,h=function(t,e) "abort"===e&& (!1,!0),n. removeClass("ui-tabs-loading"),a. removeAttr("aria-busy"),t===s. xhr&&delete s. xhr ;this. isLocal(o 0 )||( =t. ajax(this. ajaxSettings(o,i,r)), &&"canceled"!== Text&&(n. addClass("ui-tabs-loading"),a. attr("aria-busy","true"), (function(t,e,n) setTimeout(function() a. html(t),s. trigger("load",i,r),h(n,e) ,1) ). fail(function(t,e) setTimeout(function() h(t,e) ,1) ))) , ajaxSettings:function(e,i,s) var n=this;return url:e. attr("href"),beforeSend:function(e,o) return n. trigger("beforeLoad",i,t. extend( jqXHR:e,ajaxSettings:o ,s)) , getPanelForTab:function(e) var i=t(e). attr("aria-controls");return (this. sanitizeSelector("#"+i)) ),t. widget(" p", version:"1. 11. 4",options: content:function() var e=t(this). attr("title")||"";return t(""). text(e). html() ,hide:!0,items:" title :not( disabled )",position: my:"left top+15",at:"left bottom",collision:"flipfit flip" ,show:!0,tooltipClass:null,track:!1,close:null,open:null , addDescribedBy:function(e,i) var s=(e. attr("aria-describedby")||""). split(/\s+/);s. push(i),e. data("ui-tooltip-id",i). attr("aria-describedby",t. trim(s. join(" "))) , removeDescribedBy:function(e) var i=e. data("ui-tooltip-id"),s=(e. attr("aria-describedby")||""). split(/\s+/),n=t. inArray(i,s);-1!==n&&s. splice(n,1),e. removeData("ui-tooltip-id"),s=t. trim(s. join(" ")),s?e. attr("aria-describedby",s):e. removeAttr("aria-describedby") , create:function() this. on( mouseover:"open",focusin:"open" ), ps= , s= , ed&&this. disable(), gion=t(" "). attr( role:"log","aria-live":"assertive","aria-relevant":"additions" ). addClass("ui-helper-hidden-accessible"). appendTo( nt 0 . body) , setOption:function(e,i) var s=this;return"disabled"===e?(this i?" disable":" enable" (),void( s e =i)):(this. super(e,i),void("content"===e&&t. each( ps,function(t,e) s. updateContent(e. element) ))) , disable:function() var e=this;t. each( ps,function(i,s) var n=t. Event("blur");n. target=n. currentTarget=s. element 0 ,e. close(n,!0) ), ( ). addBack(). each(function() var e=t(this);e. is(" title ")&&e. data("ui-tooltip-title",e. attr("title")). removeAttr("title") ) , enable:function() ( ). addBack(). each(function() var e=t(this);e. data("ui-tooltip-title")&&e. attr("title",e. data("ui-tooltip-title")) ) ,open:function(e) var i=this,s=t(e?e. target: t). closest( );s. length&&!s. data("ui-tooltip-id")&&(s. attr("title")&&s. data("ui-tooltip-title",s. attr("title")),s. data("ui-tooltip-open",!0),e&&"mouseover"===e. type&&s. parents(). each(function() var e,s=t(this);s. data("ui-tooltip-open")&&(e=t. Event("blur"),e. target=e. currentTarget=this,i. close(e,!0)),s. attr("title")&&(s. uniqueId(),i. parents = element:this,title:s. attr("title") ,s. attr("title","")) ),this. registerCloseHandlers(e,s),this. updateContent(s,e)) , updateContent:function(t,e) var i,s= t,n=this,o=e?e. type:null;return"string"==typeof s?this. open(e,t,s):(i=s. call(t 0 ,function(i) n. delay(function() t. data("ui-tooltip-open")&&(e&&(e. type=o),this. open(e,t,i)) ) ),void(i&&this. open(e,t,i))) , open:function(e,i,s) function n(t) l. of=t,a. is(":hidden")||a. position(l) var o,a,r,h,l=t. extend( , on);if(s) if(o=this. find(i))return void (". ui-tooltip-content"). html(s);i. is(" title ")&&(e&&"mouseover"===e. type?i. attr("title",""):i. removeAttr("title")),o=this. tooltip(i),a=o. tooltip,this. addDescribedBy(i,a. attr("id")),a. find(". ui-tooltip-content"). html(s), en(). hide(),s. clone?(h=s. clone(),h. removeAttr("id"). find(" id "). removeAttr("id")):h=s,t(" "). html(h). appendTo( gion), &&e&&/ mouse/. test(e. type)?(this. on( nt, mousemove:n ),n(e)):a. position(t. extend( of:i , on)),a. hide(),this. show(a, ), && &&(r= dShow=setInterval(function() a. is(":visible")&&(n(l. of),clearInterval(r)) , al)),this. trigger("open",e, tooltip:a ) , registerCloseHandlers:function(e,i) var s= keyup:function(e) if(e. keyCode=== ) var s=t. Event(e);s. currentTarget=i 0 , (s,!0) ;i 0 !== t 0 &&(s. remove=function() this. removeTooltip(this. find(i). tooltip) ),e&&"mouseover"!==e. type||(s. mouseleave="close"),e&&"focusin"!==e. type||(s. focusout="close"),this. on(!0,i,s) ,close:function(e) var i,s=this,n=t(e?e. currentTarget: t),o=this. find(n);return o?(i=o. tooltip,void(o. closing||(clearInterval( dShow),n. data("ui-tooltip-title")&&!n. attr("title")&&n. attr("title",n. data("ui-tooltip-title")),this. removeDescribedBy(n),o. hiding=!0,i. stop(!0),this. hide(i, ,function() s. removeTooltip(t(this)) ),n. removeData("ui-tooltip-open"),this. off(n,"mouseleave focusout keyup"),n 0 !== t 0 &&this. off(n,"remove"),this. off( nt,"mousemove"),e&&"mouseleave"===e. type&&t. each( s,function(e,i) t(i. element). attr("title",i. title),delete s. parents e ),o. closing=!0,this. trigger("close",e, tooltip:i ),o. hiding||(o. closing=!1)))):void n. removeData("ui-tooltip-open") , tooltip:function(e) var i=t(" "). attr("role","tooltip"). addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+( pClass||"")),s=i. uniqueId(). attr("id");return t(" "). addClass("ui-tooltip-content"). appendTo(i),i. appendTo( nt 0 . body), ps s = element:e,tooltip:i , find:function(t) var e=t. data("ui-tooltip-id");return e? ps e :null , removeTooltip:function(t) t. remove(),delete ps t. attr("id") , destroy:function() var e=this;t. each( ps,function(i,s) var n=t. Event("blur"),o=s. element;n. target=n. currentTarget=o 0 ,e. close(n,!0),t("#"+i). remove(),o. data("ui-tooltip-title")&&(o. attr("title")||o. attr("title",o. data("ui-tooltip-title")),o. removeData("ui-tooltip-title")) ), () ) ); ") ) );
113