1<!-- 2/*====================================================== 3 * Title : JavaScript Library 4 * Name : jslib.js 5 * Description : JavaScript Library 6 * Version : 1.0 7 * Since : 2012-07-18 8 * Modified : 2025-09-26 9======================================================*/ 10 11/*====================================================== 12 * Contents 13 1. Library 14 2. Cookie 15 3. Smooth Scrolling 16======================================================*/ 17 18var bp_SP = 768; /* ãã¬ã¼ã¯ãã¤ã³ãï¼ã¹ããï¼ */ 19 20/* ----------------------------------------------------- 21 * 1-0-A. collapseï¼footerãµã¤ããããçï¼ 22 * -------------------------------------------------- */ 23var currentWidth_jslib = 0; 24 25$(window).on('load', function(){ 26 if( $.cookie( 'contactlink' ) == 'close' ){ 27 $( '.pagetop .close' ).closest( '.pagetop' ).addClass( 'closed' ); 28 } 29 30 currentWidth_jslib = $(window).width(); 31 if(currentWidth_jslib >= bp_SP) { 32 $('#footer .collapse').addClass('in'); 33 } else { 34 $('#footer .collapse').removeClass('in'); 35 } 36 37 /* PDFãµã¤ãºè¡¨ç¤º1 */ 38 $('.pdflink a').each( function(){ 39 var obj = $( this ); 40 41 /* ãã¹åå¾ */ 42 var href = obj.attr( 'href' ); 43 44 /* ãã¡ã¤ã«ãµã¤ãºåå¾ */ 45 var req = $.ajax({ 46 type: 'HEAD', 47 url: href, 48 success: function () { 49 var size = req.getResponseHeader('Content-Length'); 50 if (size) { 51 var showsize = conv_unit(size); 52 var iHrefLength = href.length; 53 var iDot = href.lastIndexOf("."); 54 var sExtension = href.substring(iDot+1,iHrefLength); 55 sExtension = sExtension.toUpperCase(); 56 var regExp = /PDF([?#&][\w]+[=]\d)+$/; 57 if(regExp.test(sExtension)) { 58 sExtension = ''; 59 } 60 61 var html = obj.html(); 62 obj.html( html + '<span class="size">' + showsize + '</span>' ); 63 } 64 } 65 }); 66 }); 67 checkAppear(); 68 69/* var hreftoppage = $( '.header01-logo a' ).attr( 'href' ); 70 var breadcrumb = $( '.ttl-category .breadcrumb' ); 71 var headtext = $( '.ttl-category .headtext' ).eq( 0 ).text(); 72 var footprints = ''; 73 if( hreftoppage != 'index.html' ){ 74 footprints += '<a href="' + hreftoppage + '">ããããã¼ã¸</a>'; 75 if( breadcrumb.length > 0 && breadcrumb.eq( 0 ).text() != headtext ){ 76 footprints += breadcrumb.eq( 0 ).html(); 77 } 78 footprints += '<span class="nowrap">' + headtext + '</span>'; 79 if( footprints != '' ){ 80 footprints = '<div class="footprints-wrapper"><p class="footprints">' + footprints + '</p></div>'; 81 $( '#footer' ).prepend( footprints ); 82 } 83 } */ 84}); 85 86$(window).on('scroll', function(){ // ã¹ã¯ãã¼ã«å¹æç¨ 87 checkAppear(); 88}); 89 90$(window).on('resize', function(){ 91 var windowWidth = $(window).width(); 92 if (currentWidth_jslib !== windowWidth) { 93 $(".category.toggle").removeClass('clicked'); 94 if(windowWidth >= bp_SP) { 95 $('#footer .collapse').collapse('show'); 96 97 $(".hamburger-nav.collapse").css('height', ''); // 1-6. ãã³ãã¼ã¬ã¼ãã¿ã³ããç§»åï¼ã¿ãã¬ããã»PCå¹ ã«ãªãµã¤ãºããæã®é«ãç¢ºä¿ 98 } else { 99 $('#footer .collapse').collapse('hide'); 100 } 101 currentWidth_jslib = windowWidth; 102 } 103 checkAppear(); 104}); 105 106function checkAppear() { 107 $( '.standby' ).each( function(){ 108 var pos = $( this ).offset().top + $( this ).height() * 0.5; 109 if( $( window ).scrollTop() + $( window ).height() > pos ){ 110 if( ! $( this ).hasClass( 'appeared' ) ){ 111 $( this ).addClass( 'appeared' ); 112 } 113 } 114 }); 115 $( '.standby2' ).each( function(){ 116 var pos = $( this ).offset().top + $( window ).height() * 0.25; 117 if( $( window ).scrollTop() + $( window ).height() > pos ){ 118 if( ! $( this ).hasClass( 'appeared' ) ){ 119 $( this ).addClass( 'appeared' ); 120 } 121 } 122 }); 123 $( '.infographic-item' ).each( function(){ 124 var pos = $( this ).offset().top + $( this ).height() * 0.5; 125 if( $( window ).scrollTop() + $( window ).height() > pos ){ 126 if( ! $( this ).hasClass( 'appeared' ) ){ 127 $( this ).addClass( 'appeared' ); 128 $( this ).find( '.cont-item' ).each( function(){ 129 var e = $( this ).find( '.number' ); 130 startCount( e, $( e ).data( 'start' ) ); 131 }); 132 } 133 } 134 }); 135} 136function startCount( e, val ){ 137 $( e ).html( Number( sprintf( $( e ).data( 'format' ), val ) ).toLocaleStr
137ing() ); 138 var delta = $( e ).data( 'goal' ) - $( e ).data( 'start' ); 139 val = val + delta / 55.555; 140 if( Math.abs( val - $( e ).data( 'goal' ) ) < Math.abs( delta ) * 0.1 ) { 141 val = $( e ).data( 'goal' ); 142 setTimeout( function(){ 143 $( e ).html( Number( sprintf( $( e ).data( 'format' ), val ) ).toLocaleString() ); 144 }, 30 ); 145 }else{ 146 setTimeout( function(){ 147 startCount( e, val ); 148 }, 30 ); 149 } 150} 151 152function contactlink( e ){ 153 if( $( e ).closest( '.pagetop' ).hasClass( 'closed' ) ){ 154 $.cookie( 'contactlink', '', { expires: -1, path: '/', secure: true } ); 155 $( e ).closest( '.pagetop' ).removeClass( 'closed' ); 156 return false; 157 } 158 var title = document.title; 159 var url = $( e ).attr( 'href' ); 160 161 if( title.endsWith( ': Products & Services - C-max FUJISEIKO LIMITED' ) ){ 162 title = title.replace( ': Products & Services - C-max FUJISEIKO LIMITED', '' ); 163 $( e ).attr( 'href', url + '?prod=' + encodeURIComponent( title ) ); 164 }else if( title == 'Products & Services - C-max FUJISEIKO LIMITED' ){ 165 $( e ).attr( 'href', url + '?prod' ); 166 } 167} 168 169// æ°å¤ãã©ã¼ãããæ´å½¢ç¨ 170var number_format = function(val) { 171 var s = '' + val; 172 if (s.length > 3) { 173 var r = ((r = s.length % 3) === 0 ? 3 : r); 174 var d = s.substring(r); 175 s = s.substr(0, r) + d.replace(/(\d{3})/g, ",$1"); 176 } 177 return s; 178}; 179// ãã¡ã¤ã«ãµã¤ãºåä½ä»å ç¨ 180var conv_unit = function(size) { 181 var unit = ['KB','MB','GB','TB','PB','EB','ZB','YB']; 182 if (size < 1000){ return size + 'B'; } 183 for (var i = 0; i < unit.length; i++) { 184 size /= 1024; 185 if (size < 1000) { 186 if (size >= 100){ 187 return number_format(Math.round(size)) + unit[i]; 188 }else{ 189 return Math.round(size*10)/10 + unit[i]; 190 } 191 } 192 } 193 return number_format(Math.round(size)) + 'YB'; 194}; 195 196/* ----------------------------------------------------- 197 * LibraryBegin 198 * -------------------------------------------------- */ 199(function($){ 200 $(function(){ 201/* ----------------------------------------------------- 202 * 1-1. Rollover & PreLoad 203 * -------------------------------------------------- */ 204 $("img.imgover").mouseover(function(){ 205 $(this).attr("src",$(this).attr("src").replace(/^(.+)(\.[a-z]+)$/, "$1_o$2")); 206 }).mouseout(function(){ 207 $(this).attr("src",$(this).attr("src").replace(/^(.+)_o(\.[a-z]+)$/, "$1$2")); 208 }).each(function(){ 209 $("<img>").attr("src",$(this).attr("src").replace(/^(.+)(\.[a-z]+)$/, "$1_o$2")); 210 }); 211 212/* ----------------------------------------------------- 213 * 1-2. Smooth Scrollingï¼âã®ã3. Smooth Scrollingãã¨ã»ããï¼ 214 * -------------------------------------------------- */ 215 $( 'a[href^="#"]' ).SmoothScroll( { 216 duration : 1000, 217 easing : 'easeOutQuint' 218 } ); 219 220/* ----------------------------------------------------- 221 * 1-3. PageTop 222 * -------------------------------------------------- */ 223 var topBtn = $('.pagetop'); 224 var scroll = $('.scroll'); 225 topBtn.hide(); 226 //ã¹ã¯ãã¼ã«ã100ã«éããããã¿ã³è¡¨ç¤º 227 $(window).scroll(function () { 228 if ($(this).scrollTop() > 100) { 229 topBtn.fadeIn(); 230 scroll.fadeOut(); 231 $( "#header" ).addClass( "fixed" ); // åºå®ã¡ãã¥ã¼ 232 } else { 233 topBtn.fadeOut(); 234 scroll.fadeIn(); 235 $( "#header" ).removeClass( "fixed" ); // åºå®ã¡ãã¥ã¼ 236 } 237 }); 238 $( '.pagetop .close' ).on( 'click', function(){ 239 var bufBool = false; 240 if( $.cookie( 'cc_cookie' ) ){ 241 var bufCookie = JSON.parse( $.cookie( 'cc_cookie' ) ); 242 if( 'services' in bufCookie ){ 243 if( 'functionality' in bufCookie.services ){ 244 if( $.inArray( 'functionality_storage', bufCookie.services.functionality ) >= 0 ){ 245 bufBool = true; 246 } 247 } 248 } 249 } 250 if( bufBool ){ 251 $.cookie( 'contactlink', 'close', { expires: 14, path: '/', secure: true } ); 252 } 253 $( this ).closest( '.pagetop' ).addClass( 'closed' ); 254 }); 255 256/* ----------------------------------------------------- 257 * 1-4. ã¹ãã¼ããã©ã³ã®ã¿ .tel-link .tel-img ã«telãªã³ã¯ãã¤ãã 258 * -------------------------------------------------- */ 259 var ua = navigator.userAgent; 260 if((ua.indexOf('iPhone') > 0) || ((ua.indexOf('Android') > 0) && (ua.indexOf('Mobile') > 0))) { 261 $('.tel-link').each(function(){ 262 var str = $(this).text(); 263 $(this).html($('<a>').attr('href', 'tel:' + str.replace(/\+/g, '').replace(/-/g, '').replace(/ï¼/g, '').replace(/ï¼/g, '')).append(str + '</a>')); 264 }); 265 $('.tel-img').each(function(){ 266 $(this).wrap('<a href="tel:' + $(this).data('tel') + '"></a>'); 267 }); 268 } 269 270/* ----------------------------------------------------- 271 * 1-5. ç»åããã¹ããã¹ããå¹ ã®æã ãããã¹ãã«ç½®ãæãã 272 * -------------------------------------------------- */ 273 $('.replaceText img').each(function(){ 274 $(this).parent().append('<span class="alt">
274' + $(this).attr('alt') +'</span>') 275 }); 276 277/* ----------------------------------------------------- 278 * 1-0-B. collapseï¼footerãµã¤ããããçï¼ 279 * -------------------------------------------------- */ 280 $(".category.toggle").click(function(){ 281 $(this).toggleClass('clicked'); //ééæã®ãã¼ã¯åæ¿ 282 }); 283 284/* ----------------------------------------------------- 285 * LibraryEnd 286 * -------------------------------------------------- */ 287 }); 288})(jQuery); 289 290 291 292/* ----------------------------------------------------- 293 * 2. Cookie (https://github.com/carhartl/jquery-cookie) 294 * -------------------------------------------------- */ 295/* 296 jquery.cookie.js ã«ã¦å®è£ ã以ä¸ã«è¨è¿°ä¾ã示ãã 297 298 â set cookieï¼ã¯ããã¼ãè¨å®ããããã®é¢æ°ï¼ 299 ãæå¹æéãªãã®å ´åãnameã«ã¯ããã¼ã®ååãvalueã«å¤ãå ¥ããï¼éhttpsç°å¢ã§ã¯secure屿§ãåé¤ï¼ã 300 $.cookie('name', 'value', { path: '/', secure: true }); 301 302 ãæå¹æéããã®å ´åãnameã«ã¯ããã¼ã®ååãvalueã«å¤ãdaysã«æå¹æéãè¡¨ãæ¥æ°ãå ¥ããï¼éhttpsç°å¢ã§ã¯secure屿§ãåé¤ï¼ã 303 $.cookie('name', 'value', { expires: days, path: '/', secure: true }); 304 305 â get cookieï¼ã¯ããã¼ãèªã¿åºãããã®é¢æ°ï¼ 306 nameã«ã¯ããã¼ã®ååãå ¥ããã¨ããã®å¤ãè¿ã£ã¦ããã 307 $.cookie('name'); 308 309 â delete cookieï¼ã¯ããã¼ãæ¶ãããã®é¢æ°ï¼ 310 nameã«ã¯ããã¼ã®ååãå ¥ããã¨ããã®ã¯ããã¼ãæ¶ãã 311 $.cookie('name', '', { expires: -1 }); 312*/ 313 314/*! 315 * jQuery Cookie Plugin v1.4.1 316 * https://github.com/carhartl/jquery-cookie 317 * 318 * Copyright 2006, 2014 Klaus Hartl 319 * Released under the MIT license 320 */ 321(function (factory) { 322 if (typeof define === 'function' && define.amd) { 323 // AMD (Register as an anonymous module) 324 define(['jquery'], factory); 325 } else if (typeof exports === 'object') { 326 // Node/CommonJS 327 module.exports = factory(require('jquery')); 328 } else { 329 // Browser globals 330 factory(jQuery); 331 } 332}(function ($) { 333 334 var pluses = /\+/g; 335 336 function encode(s) { 337 return config.raw ? s : encodeURIComponent(s); 338 } 339 340 function decode(s) { 341 return config.raw ? s : decodeURIComponent(s); 342 } 343 344 function stringifyCookieValue(value) { 345 return encode(config.json ? JSON.stringify(value) : String(value)); 346 } 347 348 function parseCookieValue(s) { 349 if (s.indexOf('"') === 0) { 350 // This is a quoted cookie as according to RFC2068, unescape... 351 s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\'); 352 } 353 354 try { 355 // Replace server-side written pluses with spaces. 356 // If we can't decode the cookie, ignore it, it's unusable. 357 // If we can't parse the cookie, ignore it, it's unusable. 358 s = decodeURIComponent(s.replace(pluses, ' ')); 359 return config.json ? JSON.parse(s) : s; 360 } catch(e) {} 361 } 362 363 function read(s, converter) { 364 var value = config.raw ? s : parseCookieValue(s); 365 return $.isFunction(converter) ? converter(value) : value; 366 } 367 368 var config = $.cookie = function (key, value, options) { 369 370 // Write 371 372 if (arguments.length > 1 && !$.isFunction(value)) { 373 options = $.extend({}, config.defaults, options); 374 375 if (typeof options.expires === 'number') { 376 var days = options.expires, t = options.expires = new Date(); 377 t.setMilliseconds(t.getMilliseconds() + days * 864e+5); 378 } 379 380 return (document.cookie = [ 381 encode(key), '=', stringifyCookieValue(value), 382 options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE 383 options.path ? '; path=' + options.path : '', 384 options.domain ? '; domain=' + options.domain : '', 385 options.secure ? '; secure' : '' 386 ].join('')); 387 } 388 389 // Read 390 391 var result = key ? undefined : {}, 392 // To prevent the for loop in the first place assign an empty array 393 // in case there are no cookies at all. Also prevents odd result when 394 // calling $.cookie(). 395 cookies = document.cookie ? document.cookie.split('; ') : [], 396 i = 0, 397 l = cookies.length; 398 399 for (; i < l; i++) { 400 var parts = cookies[i].split('='), 401 name = decode(parts.shift()), 402 cookie = parts.join('='); 403 404 if (key === name) { 405 // If second argument (value) is a function it's a converter... 406 result = read(cookie, value); 407 break; 408 } 409 410 // Prevent storing a cookie that we couldn't decode. 411 if (!key && (cookie = read(cookie)) !== undefined) { 412 result[name] = cookie; 413 } 414 } 415 416 return result; 417 }; 418 419 config.defaults = {}; 420 421 $.removeCookie = function (key, options) {
422 // Must not alter options, thus extending a fresh object... 423 $.cookie(key, '', $.extend({}, options, { expires: -1 })); 424 return !$.cookie(key); 425 }; 426 427})); 428 429 430/* ----------------------------------------------------- 431 * 3. Smooth Scrolling (http://2inc.org/blog/category/products/jquery_plugins/jquery-smoothscroll-js/) 432 * -------------------------------------------------- */ 433/* 434 jquery.smoothScroll.js ã«ã¦å®è£ ã 435 aã¿ã°ã®ãªã³ã¯å ãã#ãã§å§ã¾ãå ´åã«èªåçã«å®è¡ãããã 436 jquery.smoothScroll.js ã®32ï½33è¡ç®ãããã§ 437 ã¹ãã¼ãã¨ã¤ã¼ã¸ã³ã°ã調æ´ã§ããã 438*/ 439 440/** 441 * Plugin Name: jquery.SmoothScroll 442 * Plugin URI: http://2inc.org 443 * Description: ã¹ã ã¼ã¹ã¹ã¯ãã¼ã«ã§ãã¼ã¸å ç§»åããããã®ãã©ã°ã¤ã³ãæå®è¦ç´ ã®hashããã¨ã«ç§»åããã 444 * Version: 0.3.5 445 * Author: Takashi Kitajima 446 * Author URI: http://2inc.org 447 * Created : July 5, 2012 448 * Modified : March 7, 2013 449 * License: GPL2 450 * 451 * easing : http://jqueryui.com/demos/effect/easing.html 452 * @param { duration, easing ) 453 * 454 * Copyright 2013 Takashi Kitajima (email : [email protected]) 455 * 456 * This program is free software; you can redistribute it and/or modify 457 * it under the terms of the GNU General Public License, version 2, as 458 * published by the Free Software Foundation. 459 * 460 * This program is distributed in the hope that it will be useful, 461 * but WITHOUT ANY WARRANTY; without even the implied warranty of 462 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 463 * GNU General Public License for more details. 464 * 465 * You should have received a copy of the GNU General Public License 466 * along with this program; if not, write to the Free Software 467 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 468 */ 469;( function( $ ) { 470 $.fn.SmoothScroll = function( params ) { 471 472 var defaults = { 473 duration : 1000, 474 easing : 'easeOutQuint' 475 }; 476 params = $.extend( defaults, params ); 477 478 var targetBody; 479 480 var methods = { 481 scrollStop: function() { 482 targetBody.stop( true ); 483 }, 484 getTargetBody: function() { 485 if ( $( 'html' ).scrollTop() > 0 ) { 486 targetBody = $( 'html' ); 487 } else if ( $( 'body' ).scrollTop() > 0 ) { 488 targetBody = $( 'body' ); 489 } 490 return targetBody; 491 } 492 } 493 494 return this.each( function( i, e ) { 495 $( e ).on( 'click', function() { 496 var targetHash = this.hash; 497 var offset = $( targetHash ).eq( 0 ).offset(); 498 if ( ! ( targetHash && offset !== null ) ) 499 return; 500 501 var wst = $( window ).scrollTop(); 502 if ( wst === 0 ) 503 $( window ).scrollTop( wst + 1 ); 504 505 targetBody = methods.getTargetBody(); 506 if ( typeof targetBody === 'undefined' ) 507 return; 508 targetBody.animate( 509 { 510 scrollTop: offset.top 511 }, 512 params.duration, 513 params.easing, 514 function() { 515 location.hash = targetHash; 516 $( "#header" ).removeClass( "fixed" ); // åºå®ã¡ãã¥ã¼ 517 } 518 ); 519 520 if ( window.addEventListener ) 521 window.addEventListener( 'DOMMouseScroll', methods.scrollStop, false ); 522 window.onmousewheel = document.onmousewheel = methods.scrollStop; 523 return false; 524 } ); 525 } ); 526 }; 527} )( jQuery ); 528 529jQuery( function( $ ) { 530 531/*! jQuery UI - v1.14.1 - 2025-10-31 532* https://jqueryui.com 533* Includes: effect.js 534* Copyright OpenJS Foundation and other contributors; Licensed MIT */ 535 536!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){"use strict";t.ui=t.ui||{},t.ui.version="1.14.1";var e,n,r={},o=r.toString,i=/^([\-+])=\s*(\d+\.?\d*)/,s=[{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})([a-f0-9]{2})?/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16),t[4]?(parseInt(t[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([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),t[4]?(parseInt(t[4]+t[4],16)/255).toFixed(2):1]}},{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]]}}],a=t.Color=function(e,n,r,o){return new t.Color.fn.parse(e,n,r,o)},f={rgba:{props:{red:{idx:0,type:"byte"}
vendor: 15,177 bytes, line 536
536,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}},u=t.each;function l(t){return null==t?t+"":"object"==typeof t?r[o.call(t)]||"object":typeof t}function d(t,e,n){var r=c[e.type]||{};return null==t?n||!e.def?null:e.def:(t=r.floor?~~t:parseFloat(t),r.mod)?(t+r.mod)%r.mod:Math.min(r.max,Math.max(0,t))}function p(e){var r=a(),o=r._rgba=[];return(e=e.toLowerCase(),u(s,function(t,n){var i,s=n.re.exec(e),a=s&&n.parse(s),c=n.space||"rgba";if(a)return i=r[c](a),r[f[c].cache]=i[f[c].cache],o=r._rgba=i._rgba,!1}),o.length)?("0,0,0,0"===o.join()&&t.extend(o,n.transparent),r):n[e]}function h(t,e,n){return 6*(n=(n+1)%1)<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}u(f,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),t.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){r["[object "+e+"]"]=e.toLowerCase()}),a.fn=t.extend(a.prototype,{parse:function(e,r,o,i){if(void 0===e)return this._rgba=[null,null,null,null],this;(e.jquery||e.nodeType)&&(e=t(e).css(r),r=void 0);var s=this,c=l(e),h=this._rgba=[];return(void 0!==r&&(e=[e,r,o,i],c="array"),"string"===c)?this.parse(p(e)||n._default):"array"===c?(u(f.rgba.props,function(t,n){h[n.idx]=d(e[n.idx],n)}),this):"object"===c?(e instanceof a?u(f,function(t,n){e[n.cache]&&(s[n.cache]=e[n.cache].slice())}):u(f,function(n,r){var o=r.cache;u(r.props,function(t,n){if(!s[o]&&r.to){if("alpha"===t||null==e[t])return;s[o]=r.to(s._rgba)}s[o][n.idx]=d(e[t],n,!0)}),s[o]&&0>t.inArray(null,s[o].slice(0,3))&&(null==s[o][3]&&(s[o][3]=1),r.from&&(s._rgba=r.from(s[o])))}),this):void 0},is:function(t){var e=a(t),n=!0,r=this;return u(f,function(t,o){var i,s=e[o.cache];return s&&(i=r[o.cache]||o.to&&o.to(r._rgba)||[],u(o.props,function(t,e){if(null!=s[e.idx])return n=s[e.idx]===i[e.idx]})),n}),n},_space:function(){var t=[],e=this;return u(f,function(n,r){e[r.cache]&&t.push(n)}),t.pop()},transition:function(t,e){var n=a(t),r=n._space(),o=f[r],i=0===this.alpha()?a("transparent"):this,s=i[o.cache]||o.to(i._rgba),l=s.slice();return n=n[o.cache],u(o.props,function(t,r){var o=r.idx,i=s[o],a=n[o],f=c[r.type]||{};null!==a&&(null===i?l[o]=a:(f.mod&&(a-i>f.mod/2?i+=f.mod:i-a>f.mod/2&&(i-=f.mod)),l[o]=d((a-i)*e+i,r)))}),this[r](l)},blend:function(e){if(1===this._rgba[3])return this;var n=this._rgba.slice(),r=n.pop(),o=a(e)._rgba;return a(t.map(n,function(t,e){return(1-r)*o[e]+r*t}))},toRgbaString:function(){var e="rgba(",n=t.map(this._rgba,function(t,e){return null!=t?t:+(e>2)});return 1===n[3]&&(n.pop(),e="rgb("),e+n.join(", ")+")"},toHslaString:function(){var e="hsla(",n=t.map(this.hsla(),function(t,e){return null==t&&(t=+(e>2)),e&&e<3&&(t=Math.round(100*t)+"%"),t});return 1===n[3]&&(n.pop(),e="hsl("),e+n.join(", ")+")"},toHexString:function(e){var n=this._rgba.slice(),r=n.pop();return e&&n.push(~~(255*r)),"#"+t.map(n,function(t){return("0"+(t||0).toString(16)).substr(-2)}).join("")},toString:function(){return this.toRgbaString()}}),a.fn.parse.prototype=a.fn,f.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,n=t[0]/255,r=t[1]/255,o=t[2]/255,i=t[3],s=Math.max(n,r,o),a=Math.min(n,r,o),f=s-a,c=s+a,u=.5*c;return[Math.round(a===s?0:n===s?60*(r-o)/f+360:r===s?60*(o-n)/f+120:60*(n-r)/f+240)%360,0===f?0:u<=.5?f/c:f/(2-c),u,null==i?1:i]},f.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,n=t[1],r=t[2],o=t[3],i=r<=.5?r*(1+n):r+n-r*n,s=2*r-i;return[Math.round(255*h(s,i,e+1/3)),Math.round(255*h(s,i,e)),Math.round(255*h(s,i,e-1/3)),o]},u(f,function(t,e){var n=e.props,r=e.cache,o=e.to,s=e.from;a.fn[t]=function(t){if(o&&!this[r]&&(this[r]=o(this._rgba)),void 0===t)return this[r].slice();var e,i=l(t),f="array"===i||"object"===i?t:arguments,c=this[r].slice();return(u(n,function(t,e){var n=f["object"===i?t:e.idx];null==n&&(n=c[e.idx]),c[e.idx]=d(n,e)}),s)?((e=a(s(c)))[r]=c,e):a(c)},u(n,function(e,n){!a.fn[e]&&(a.fn[e]=function(r){var o,s,a,f,c=l(r);return(s=(o=this[f="alpha"===e?this._hsla?"hsla":"rgba":t]())[n.idx],"undefined"===c)?s:("function"===c&&(c=l(r=r.call(this,s))),null==r&&n.empty)?this:("string"===c&&(a=i.exec(r))&&(r=s+parseFloat(a[2])*("+"===a[1]?1:-1)),o[n.idx]=r,this[f](o))})})}),a.hook=function(e){u(e.split(" "),function(e,n){t.cssHooks[n]={set:function(t,e){var r;"transparent"!==e&&("string"!==l(e)||(r=p(e)))&&(e=(e=a(r||e)).toRgbaString()),t.style[n]=e}},t.fx.step[n]=function(e){e.colorInit||(e.start=a(e.elem,n),e.end=a(e.end),e.colorInit=!0),t.cssHooks[n].set(e.elem,e.start.transition(e.end,e.pos))}})},a.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),t.cssHooks.borderColor={expand:function(t){var e={};return u(["Top","Right","Bottom","Left"],function(n,r){e["border"+r+"Color"]=t}),e}},n=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"};var g="ui-effects-",m="ui-effects-style",b="ui-effects-animated";t.effects={effect:{}},function(){var e,n,r,o=["add","remove","toggle"],i={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};function s(t){var e,n,r=t.ownerDocument.defaultView.getComputedStyle(t),o={};n=r.length;while(n--)e=r[n],"string"==typeof r[e]&&(o[e.replace(/-([\da-z])/gi,function(t,e){return e.toUpperCase()})]=r[e]);return o}t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,n){t.fx.step[n]=function(e){("none"===e.end||e.setAttr)&&(1!==e.pos||e.setAttr)||(t.style(e.elem,n,e.end),e.setAttr=!0)}}),t.effects.animateClass=function(e,n,r,a){var f=t.speed(n,r,a);return this.queue(function(){var n,r=t(this),a=r.attr("class")||"",c=f.children?r.find("*").addBack():r;c=c.map(function(){return{el:t(this),start:s(this)}}),(n=function(){t.each(o,function(t,n){e[n]&&r[n+"Class"](e[n])})})(),c=c.map(function(){return this.end=s(this.el[0]),this.diff=function(e,n){var r,o,s={};for(r in n)o=n[r],e[r]===o||i[r]||!t.fx.step[r]&&isNaN(parseFloat(o))||(s[r]=o);return s}(this.start,this.end),this}),r.attr("class",a),c=c.map(function(){var e=this,n=t.Deferred(),r=t.extend({},f,{queue:!1,complete:function(){n.resolve(e)}});return this.el.animate(this.diff,r),n.promise()}),t.when.apply(t,c.get()).done(function(){n(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),f.complete.call(r[0])})})},t.fn.extend({addClass:(e=t.fn.addClass,function(n,r,o,i){return r?t.effects.animateClass.call(this,{add:n},r,o,i):e.apply(this,arguments)}),removeClass:(n=t.fn.removeClass,function(e,r,o,i){return arguments.length>1?t.effects.animateClass.call(this,{remove:e},r,o,i):n.apply(this,arguments)}),toggleClass:(r=t.fn.toggleClass,function(e,n,o,i,s){return"boolean"!=typeof n&&void 0!==n?t.effects.animateClass.call(this,{toggle:e},n,o,i):o?t.effects.animateClass.call(this,n?{add:e}:{remove:e},o,i,s):r.apply(this,arguments)}),switchClass:function(e,n,r,o,i){return t.effects.animateClass.call(this,{add:n,remove:e},r,o,i)}})}(),function(){var e,n,r,o;function i(e,n,r,o){return t.isPlainObject(e)&&(n=e,e=e.effect),e={effect:e},null==n&&(n={}),"function"==typeof n&&(o=n,r=null,n={}),("number"==typeof n||t.fx.speeds[n])&&(o=r,r=n,n={}),"function"==typeof r&&(o=r,r=null),n&&t.extend(e,n),r=r||n.duration,e.duration=t.fx.off?0:"number"==typeof r?r:r in t.fx.speeds?t.fx.speeds[r]:t.fx.speeds._default,e.complete=o||n.complete,e}function s(e){return!e||"number"==typeof e||!!t.fx.speeds[e]||"string"==typeof e&&!t.effects.effect[e]||"function"==typeof e||"object"==typeof e&&!e.effect}function a(t,e){var n=e.outerWidth(),r=e.outerHeight(),o=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(t)||["",0,n,r,0];return{top:parseFloat(o[1])||0,right:"auto"===o[2]?n:parseFloat(o[2]),bottom:"auto"===o[3]?r:parseFloat(o[3]),left:parseFloat(o[4])||0}}t.expr&&t.expr.pseudos&&t.expr.pseudos.animated&&(t.expr.pseudos.animated=(e=t.expr.pseudos.animated,function(n){return!!t(n).data(b)||e(n)})),!0===t.uiBackCompat&&t.extend(t.effects,{save:function(t,e){for(var n=0,r=e.length;n<r;n++)null!==e[n]&&t.data(g+e[n],t[0].style[e[n]])},restore:function(t,e){for(var n,r=0,o=e.length;r<o;r++)null!==e[r]&&(n=t.data(g+e[r]),t.css(e[r],n))},setMode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var n={width:e.outerWidth(!0),height:e.outerHeight(!0),float:e.css("float")},r=t("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),o={width:e.width(),height:e.height()},i=document.activeElement;try{i.id}catch(t){i=document.body}return e.wrap(r),(e[0]===i||t.contains(e[0],i))&&t(i).trigger("focus"),r=e.parent(),"static"===e.css("position")?(r.css({position:"relative"}),e.css({position:"relative"})):(t.extend(n,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,r){n[r]=e.css(r),isNaN(parseInt(n[r],10))&&(n[r]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(o),r.css(n).show()},removeWrapper:function(e){var n=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===n||t.contains(e[0],n))&&t(n).trigger("focus")),e}}),t.extend(t.effects,{version:"1.14.1",define:function(e,n,r){return r||(r=n,n="effect"),t.effects.effect[e]=r,t.effects.effect[e].mode=n,r},scaledDimensions:function(t,e,n){if(0===e)return{height:0,width:0,outerHeight:0,outerWidth:0};var r="horizontal"!==n?(e||100)/100:1,o="vertical"!==n?(e||100)/100:1;return{height:t.height()*o,width:t.width()*r,outerHeight:t.outerHeight()*o,outerWidth:t.outerWidth()*r}},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left:t.clip.left,top:t.clip.top}},unshift:function(t,e,n){var r=t.queue();e>1&&r.splice.apply(r,[1,0].concat(r.splice(e,n))),t.dequeue()},saveStyle:function(t){t.data(m,t[0].style.cssText)},restoreStyle:function(t){t[0].style.cssText=t.data(m)||"",t.removeData(m)},mode:function(t,e){var n=t.is(":hidden");return"toggle"===e&&(e=n?"show":"hide"),(n?"hide"===e:"show"===e)&&(e="none"),e},getBaseline:function(t,e){var n,r;switch(t[0]){case"top":n=0;break;case"middle":n=.5;break;case"bottom":n=1;break;default:n=t[0]/e.height}switch(t[1]){case"left":r=0;break;case"center":r=.5;break;case"right":r=1;break;default:r=t[1]/e.width}return{x:r,y:n}},createPlaceholder:function(e){var n,r=e.css("position"),o=e.position();return e.css({marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()),/^(static|relative)/.test(r)&&(r="absolute",n=t("<"+e[0].nodeName+">").insertAfter(e).css({display:/^(inline|ruby)/.test(e.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight"),float:e.css("float")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).addClass("ui-effects-placeholder"),e.data(g+"placeholder",n)),e.css({position:r,left:o.left,top:o.top}),n},removePlaceholder:function(t){var e=g+"placeholder",n=t.data(e);n&&(n.remove(),t.removeData(e))},cleanUp:function(e){t.effects.restoreStyle(e),t.effects.removePlaceholder(e)},setTransition:function(e,n,r,o){return o=o||{},t.each(n,function(t,n){var i=e.cssUnit(n);i[0]>0&&(o[n]=i[0]*r+i[1])}),o}}),t.fn.extend({effect:function(){var e=i.apply(this,arguments),n=t.effects.effect[e.effect],r=n.mode,o=e.queue,s=o||"fx",a=e.complete,f=e.mode,c=[],u=function(e){var n=t(this),o=t.effects.mode(n,f)||r;n.data(b,!0),c.push(o),r&&("show"===o||o===r&&"hide"===o)&&n.show(),r&&"none"===o||t.effects.saveStyle(n),"function"==typeof e&&e()};if(t.fx.off||!n)return f?this[f](e.duration,a):this.each(function(){a&&a.call(this)});function l(o){var i=t(this);function s(){"function"==typeof a&&a.call(i[0]),"function"==typeof o&&o()}e.mode=c.shift(),!0!==t.uiBackCompat||r?"none"===e.mode?(i[f](),s()):n.call(i[0],e,function(){i.removeData(b),t.effects.cleanUp(i),"hide"===e.mode&&i.hide(),s()}):(i.is(":hidden")?"hide"===f:"show"===f)?(i[f](),s()):n.call(i[0],e,s)}return!1===o?this.each(u).each(l):this.queue(s,u).queue(s,l)},show:(n=t.fn.show,function(t){if(s(t))return n.apply(this,arguments);var e=i.apply(this,arguments);return e.mode="show",this.effect.call(this,e)}),hide:(r=t.fn.hide,function(t){if(s(t))return r.apply(this,arguments);var e=i.apply(this,arguments);return e.mode="hide",this.effect.call(this,e)}),toggle:(o=t.fn.toggle,function(t){if(s(t)||"boolean"==typeof t)return o.apply(this,arguments);var e=i.apply(this,arguments);return e.mode="toggle",this.effect.call(this,e)}),cssUnit:function(e){var n=this.css(e),r=[];return t.each(["em","px","%","pt"],function(t,e){n.indexOf(e)>0&&(r=[parseFloat(n),e])}),r},cssClip:function(t){return t?this.css("clip","rect("+t.top+"px "+t.right+"px "+t.bottom+"px "+t.left+"px)"):a(this.css("clip"),this)},transfer:function(e,n){var r=t(this),o=t(e.to),i="fixed"===o.css("position"),s=t("body"),a=i?s.scrollTop():0,f=i?s.scrollLeft():0,c=o.offset(),u={top:c.top-a,left:c.left-f,height:o.innerHeight(),width:o.innerWidth()},l=r.offset(),d=t("<div class='ui-effects-transfer'></div>");d.appendTo("body").addClass(e.className).css({top:l.top-a,left:l.left-f,height:r.innerHeight(),width:r.innerWidth(),position:i?"fixed":"absolute"}).animate(u,e.duration,e.easing,function(){d.remove(),"function"==typeof n&&n()})}}),t.fx.step.clip=function(e){e.clipInit||(e.start=t(e.elem).cssClip(),"string"==typeof e.end&&(e.end=a(e.end,e.elem)),e.clipInit=!0),t(e.elem).cssClip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})}}(),e={},t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,n){e[n]=function(e){return Math.pow(e,t+2)}}),t.extend(e,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin(((t-1)*80-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){var e,n=4;while(t<((e=Math.pow(2,--n))-1)/11);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(e,function(e,n){t.easing["easeIn"+e]=n,t.easing["easeOut"+e]=function(t){return 1-n(1-t)},t.easing["easeInOut"+e]=function(t){return t<.5?n(2*t)/2:1-n(-2*t+2)/2}}),t.effects});});
537// -->
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.