Changeset f457265


Ignore:
Timestamp:
02/24/21 21:58:42 (3 years ago)
Author:
Berat Kjufliju <kufliju@…>
Branches:
master
Children:
ff9da8b
Parents:
0c07a90
Message:

ADD technoweek offer, companies

Files:
6 added
13 edited

Legend:

Unmodified
Added
Removed
  • app/Http/Controllers/Blog/BlogController.php

    r0c07a90 rf457265  
    44
    55use App\Http\Requests\Blog\CommentRequest;
     6use App\Http\Requests\Blog\CompanyRequest;
    67use App\Http\Requests\Blog\PostLikeRequest;
    78use App\Http\Requests\Blog\PostUnlikeRequest;
     9use App\Models\Company;
    810use App\Models\Tag;
    911use App\Models\Like;
     
    1517use App\Http\Controllers\Controller;
    1618use App\Notifications\NewCommentAdded;
     19use Illuminate\Support\Facades\DB;
    1720
    1821class BlogController extends Controller
     
    226229        ]);
    227230    }
     231
     232    public function storeCompany(CompanyRequest $request)
     233    {
     234        DB::transaction(function () use ($request) {
     235
     236            $company = new Company();
     237            $company->name = $request->name;
     238            $company->website = $request->website;
     239            $company->email = $request->email;
     240
     241            $company->save();
     242
     243            if ($company->wasRecentlyCreated) {
     244                $this->disableOfferModal();
     245            }
     246        });
     247
     248        return redirect()->route("blog.index");
     249    }
     250
     251    public function disableOffer()
     252    {
     253        $this->disableOfferModal();
     254        return redirect()->route("blog.index");
     255    }
     256
     257    private function disableOfferModal()
     258    {
     259        if (!session()->has("offer_disabled")) {
     260            session()->push("offer_disabled", true);
     261        }
     262    }
    228263}
  • app/Http/Controllers/Dashboard/IndexController.php

    r0c07a90 rf457265  
    3636            "allPosts" => Post::count(),
    3737            "currentUserPosts" => Post::where("user_id", auth()->user()->id)->count(),
    38             "users" => User::count(),
     38            "users" => !is_null(auth()->user()->company) ? auth()->user()->company->users->count() : User::count(),
    3939            "total_comments" => Comment::count(),
    4040            "comments" => auth()->user()->comments->count()
  • app/Http/Controllers/Dashboard/UsersController.php

    r0c07a90 rf457265  
    55use App\Helpers\Alert;
    66use App\Http\Requests\Dashboard\NewUserRequest;
     7use App\Models\Company;
    78use App\Models\Role;
    89use App\Models\User;
     
    4748            $user->verify_token = $user->generateVerifyToken();
    4849
    49             $user->role_id = $request->userRole;
     50            if ($request->has("company_id") || !is_null(auth()->user()->company_id)) {
     51                $user->company_id = $request->has("company_id") || auth()->user()->company_id;
     52                $user->role_id = 1;
     53            } else {
     54                $user->role_id = $request->userRole;
     55            }
    5056
    5157            $user->save();
    5258
    53             $user->userProfile()->create([
     59            $userProfile = [
    5460                "profile_link" => $user->generateProfileLink($request->name, $request->surname),
    5561                "technoblog_email" => $user->generateTechnoblogEmail($request->name, $request->surname)
    56             ]);
     62            ];
     63
     64            if ($request->has("company_owner")) {
     65                $userProfile["is_company_profile"] = true;
     66            }
     67
     68            $user->userProfile()->create($userProfile);
    5769
    5870            $user->notify(new WelcomeUser($user));
    5971
    6072            Alert::flash("New user added successfully");
    61 
    6273        });
    6374
  • app/Http/Requests/Dashboard/NewUserRequest.php

    r0c07a90 rf457265  
    2525    public function rules()
    2626    {
    27         return [
     27        $rules = [
    2828            "name" => "required|alpha|min:2|max:255",
    2929            "surname" => "required|alpha|min:2|max:255",
     
    3232            "email" => "required|string|email|max:255|unique:users",
    3333            "username" => "required|alpha_dash|min:8|unique:users,username",
    34             "userRole" => "required|exists:roles,id"
    3534        ];
     35
     36        if (!$this->has("company_id")) {
     37            $rules["userRole"] = "required|exists:roles,id";
     38        }
     39
     40        return $rules;
    3641    }
    3742
  • app/Models/User.php

    r0c07a90 rf457265  
    5353    }
    5454
     55    public function company()
     56    {
     57        return $this->belongsTo(Company::class);
     58    }
     59
    5560    public function userProfile()
    5661    {
  • app/Models/UserProfile.php

    r0c07a90 rf457265  
    1313        "technoblog_email",
    1414        "user_id",
     15        "is_company_profile",
    1516        "profile_link",
    1617        "short_bio",
  • database/migrations/2019_10_12_000000_create_users_table.php

    r0c07a90 rf457265  
    2424            $table->string('country_code');
    2525            $table->string('mobile_number')->unique();
     26            $table->integer('company_id')->unsigned()->nullable();
     27            $table->foreign("company_id")->references("id")->on("companies");
    2628            $table->integer('role_id')->unsigned();
    2729            $table->foreign("role_id")->references("id")->on("roles");
  • database/migrations/2019_10_13_161454_create_user_profiles.php

    r0c07a90 rf457265  
    1717            $table->increments('id');
    1818            $table->integer('user_id')->unsigned();
     19            $table->boolean('is_company_profile')->default(false);
    1920            $table->string('profile_link')->unique();
    2021            $table->string('short_bio')->nullable();
  • public/assets/js/app.js

    r0c07a90 rf457265  
    1 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=10)}([function(t,e,n){"use strict";var r=n(5),i=n(17),o=Object.prototype.toString;function a(t){return"[object Array]"===o.call(t)}function s(t){return null!==t&&"object"==typeof t}function u(t){return"[object Function]"===o.call(t)}function l(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}t.exports={isArray:a,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:i,isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isUndefined:function(t){return void 0===t},isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:u,isStream:function(t){return s(t)&&u(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:l,merge:function t(){var e={};function n(n,r){"object"==typeof e[r]&&"object"==typeof n?e[r]=t(e[r],n):e[r]=n}for(var r=0,i=arguments.length;r<i;r++)l(arguments[r],n);return e},extend:function(t,e,n){return l(e,function(e,i){t[i]=n&&"function"==typeof e?r(e,n):e}),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,e,n){"use strict";(function(e){var r=n(0),i=n(20),o={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,u={adapter:("undefined"!=typeof XMLHttpRequest?s=n(6):void 0!==e&&(s=n(6)),s),transformRequest:[function(t,e){return i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(t){u.headers[t]={}}),r.forEach(["post","put","patch"],function(t){u.headers[t]=r.merge(o)}),t.exports=u}).call(this,n(19))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";n.r(e),function(t){for(var n="undefined"!=typeof window&&"undefined"!=typeof document,r=["Edge","Trident","Firefox"],i=0,o=0;o<r.length;o+=1)if(n&&navigator.userAgent.indexOf(r[o])>=0){i=1;break}var a=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},i))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function u(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=u(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:c(l(t))}var f=n&&!(!window.MSInputMethodContext||!document.documentMode),h=n&&/MSIE 10/.test(navigator.userAgent);function p(t){return 11===t?f:10===t?h:f||h}function d(t){if(!t)return document.documentElement;for(var e=p(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===u(n,"position")?d(n):n:t?t.ownerDocument.documentElement:document.documentElement}function g(t){return null!==t.parentNode?g(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a,s,u=o.commonAncestorContainer;if(t!==u&&e!==u||r.contains(i))return"BODY"===(s=(a=u).nodeName)||"HTML"!==s&&d(a.firstElementChild)!==a?d(u):u;var l=g(t);return l.host?v(l.host,e):v(t,g(e).host)}function m(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var r=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||r)[e]}return t[e]}function y(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function _(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],p(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function b(t){var e=t.body,n=t.documentElement,r=p(10)&&getComputedStyle(n);return{height:_("Height",e,n,r),width:_("Width",e,n,r)}}var E=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},w=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),T=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},x=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function C(t){return x({},t,{right:t.left+t.width,bottom:t.top+t.height})}function S(t){var e={};try{if(p(10)){e=t.getBoundingClientRect();var n=m(t,"top"),r=m(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?b(t.ownerDocument):{},a=o.width||t.clientWidth||i.right-i.left,s=o.height||t.clientHeight||i.bottom-i.top,l=t.offsetWidth-a,c=t.offsetHeight-s;if(l||c){var f=u(t);l-=y(f,"x"),c-=y(f,"y"),i.width-=l,i.height-=c}return C(i)}function A(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=p(10),i="HTML"===e.nodeName,o=S(t),a=S(e),s=c(t),l=u(e),f=parseFloat(l.borderTopWidth,10),h=parseFloat(l.borderLeftWidth,10);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=C({top:o.top-a.top-f,left:o.left-a.left-h,width:o.width,height:o.height});if(d.marginTop=0,d.marginLeft=0,!r&&i){var g=parseFloat(l.marginTop,10),v=parseFloat(l.marginLeft,10);d.top-=f-g,d.bottom-=f-g,d.left-=h-v,d.right-=h-v,d.marginTop=g,d.marginLeft=v}return(r&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(d=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=m(e,"top"),i=m(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}(d,e)),d}function D(t){if(!t||!t.parentElement||p())return document.documentElement;for(var e=t.parentElement;e&&"none"===u(e,"transform");)e=e.parentElement;return e||document.documentElement}function O(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?D(t):v(t,e);if("viewport"===r)o=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=A(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:m(n),s=e?0:m(n,"left");return C({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o})}(a,i);else{var s=void 0;"scrollParent"===r?"BODY"===(s=c(l(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===r?t.ownerDocument.documentElement:r;var f=A(s,a,i);if("HTML"!==s.nodeName||function t(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===u(e,"position"))return!0;var r=l(e);return!!r&&t(r)}(a))o=f;else{var h=b(t.ownerDocument),p=h.height,d=h.width;o.top+=f.top-f.marginTop,o.bottom=p+f.top,o.left+=f.left-f.marginLeft,o.right=d+f.left}}var g="number"==typeof(n=n||0);return o.left+=g?n:n.left||0,o.top+=g?n:n.top||0,o.right-=g?n:n.right||0,o.bottom-=g?n:n.bottom||0,o}function I(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=O(n,r,o,i),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},u=Object.keys(s).map(function(t){return x({key:t},s[t],{area:(e=s[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),l=u.filter(function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight}),c=l.length>0?l[0].key:u[0].key,f=t.split("-")[1];return c+(f?"-"+f:"")}function N(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return A(n,r?D(e):v(e,n),r)}function L(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function k(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function j(t,e,n){n=n.split("-")[0];var r=L(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",u=o?"height":"width",l=o?"width":"height";return i[a]=e[a]+e[u]/2-r[u]/2,i[s]=n===s?e[s]-r[l]:e[k(s)],i}function R(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function P(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=R(t,function(t){return t[e]===n});return t.indexOf(r)}(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&s(n)&&(e.offsets.popper=C(e.offsets.popper),e.offsets.reference=C(e.offsets.reference),e=n(e,t))}),e}function H(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function W(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var i=e[r],o=i?""+i+n:t;if(void 0!==document.body.style[o])return o}return null}function M(t){var e=t.ownerDocument;return e?e.defaultView:window}function F(t,e,n,r){n.updateBound=r,M(t).addEventListener("resize",n.updateBound,{passive:!0});var i=c(t);return function t(e,n,r,i){var o="BODY"===e.nodeName,a=o?e.ownerDocument.defaultView:e;a.addEventListener(n,r,{passive:!0}),o||t(c(a.parentNode),n,r,i),i.push(a)}(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function q(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,M(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function U(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function B(t,e){Object.keys(e).forEach(function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&U(e[n])&&(r="px"),t.style[n]=e[n]+r})}var V=n&&/Firefox/i.test(navigator.userAgent);function $(t,e,n){var r=R(t,function(t){return t.name===e}),i=!!r&&t.some(function(t){return t.name===n&&t.enabled&&t.order<r.order});if(!i){var o="`"+e+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}var G=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],z=G.slice(3);function K(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=z.indexOf(t),r=z.slice(n+1).concat(z.slice(0,n));return e?r.reverse():r}var X={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Q(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=a.indexOf(R(a,function(t){return-1!==t.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return(l=l.map(function(t,r){var i=(1===r?!o:o)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return C(s)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,i,e,n)})})).forEach(function(t,e){t.forEach(function(n,r){U(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))})}),i}var Y={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",l=s?"width":"height",c={start:T({},u,o[u]),end:T({},u,o[u]+o[l]-a[l])};t.offsets.popper=x({},a,c[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],u=void 0;return u=U(+n)?[+n,0]:Q(n,o,a,s),"left"===s?(o.top+=u[0],o.left-=u[1]):"right"===s?(o.top+=u[0],o.left+=u[1]):"top"===s?(o.left+=u[0],o.top-=u[1]):"bottom"===s&&(o.left+=u[0],o.top+=u[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||d(t.instance.popper);t.instance.reference===n&&(n=d(n));var r=W("transform"),i=t.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var u=O(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=a,i[r]=s,e.boundaries=u;var l=e.priority,c=t.offsets.popper,f={primary:function(t){var n=c[t];return c[t]<u[t]&&!e.escapeWithReference&&(n=Math.max(c[t],u[t])),T({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=c[n];return c[t]>u[t]&&!e.escapeWithReference&&(r=Math.min(c[n],u[t]-("right"===t?c.width:c.height))),T({},n,r)}};return l.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=x({},c,f[e](t))}),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",u=a?"left":"top",l=a?"width":"height";return n[s]<o(r[u])&&(t.offsets.popper[u]=o(r[u])-n[l]),n[u]>o(r[s])&&(t.offsets.popper[u]=o(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!$(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,a=o.popper,s=o.reference,l=-1!==["left","right"].indexOf(i),c=l?"height":"width",f=l?"Top":"Left",h=f.toLowerCase(),p=l?"left":"top",d=l?"bottom":"right",g=L(r)[c];s[d]-g<a[h]&&(t.offsets.popper[h]-=a[h]-(s[d]-g)),s[h]+g>a[d]&&(t.offsets.popper[h]+=s[h]+g-a[d]),t.offsets.popper=C(t.offsets.popper);var v=s[h]+s[c]/2-g/2,m=u(t.instance.popper),y=parseFloat(m["margin"+f],10),_=parseFloat(m["border"+f+"Width"],10),b=v-t.offsets.popper[h]-y-_;return b=Math.max(Math.min(a[c]-g,b),0),t.arrowElement=r,t.offsets.arrow=(T(n={},h,Math.round(b)),T(n,p,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(H(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=O(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=k(r),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case X.FLIP:a=[r,i];break;case X.CLOCKWISE:a=K(r);break;case X.COUNTERCLOCKWISE:a=K(r,!0);break;default:a=e.behavior}return a.forEach(function(s,u){if(r!==s||a.length===u+1)return t;r=t.placement.split("-")[0],i=k(r);var l=t.offsets.popper,c=t.offsets.reference,f=Math.floor,h="left"===r&&f(l.right)>f(c.left)||"right"===r&&f(l.left)<f(c.right)||"top"===r&&f(l.bottom)>f(c.top)||"bottom"===r&&f(l.top)<f(c.bottom),p=f(l.left)<f(n.left),d=f(l.right)>f(n.right),g=f(l.top)<f(n.top),v=f(l.bottom)>f(n.bottom),m="left"===r&&p||"right"===r&&d||"top"===r&&g||"bottom"===r&&v,y=-1!==["top","bottom"].indexOf(r),_=!!e.flipVariations&&(y&&"start"===o&&p||y&&"end"===o&&d||!y&&"start"===o&&g||!y&&"end"===o&&v);(h||m||_)&&(t.flipped=!0,(h||m)&&(r=a[u+1]),_&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=x({},t.offsets.popper,j(t.instance.popper,t.offsets.reference,t.placement)),t=P(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),t.placement=k(e),t.offsets.popper=C(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!$(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=R(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,i=t.offsets.popper,o=R(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:e.gpuAcceleration,s=d(t.instance.popper),u=S(s),l={position:i.position},c=function(t,e){var n=t.offsets,r=n.popper,i=n.reference,o=Math.round,a=Math.floor,s=function(t){return t},u=o(i.width),l=o(r.width),c=-1!==["left","right"].indexOf(t.placement),f=-1!==t.placement.indexOf("-"),h=e?c||f||u%2==l%2?o:a:s,p=e?o:s;return{left:h(u%2==1&&l%2==1&&!f&&e?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:h(r.right)}}(t,window.devicePixelRatio<2||!V),f="bottom"===n?"top":"bottom",h="right"===r?"left":"right",p=W("transform"),g=void 0,v=void 0;if(v="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+c.bottom:-u.height+c.bottom:c.top,g="right"===h?"HTML"===s.nodeName?-s.clientWidth+c.right:-u.width+c.right:c.left,a&&p)l[p]="translate3d("+g+"px, "+v+"px, 0)",l[f]=0,l[h]=0,l.willChange="transform";else{var m="bottom"===f?-1:1,y="right"===h?-1:1;l[f]=v*m,l[h]=g*y,l.willChange=f+", "+h}var _={"x-placement":t.placement};return t.attributes=x({},_,t.attributes),t.styles=x({},l,t.styles),t.arrowStyles=x({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return B(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach(function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&B(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,i){var o=N(i,e,t,n.positionFixed),a=I(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),B(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},J=function(){function t(e,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};E(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=a(this.update.bind(this)),this.options=x({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(x({},t.Defaults.modifiers,i.modifiers)).forEach(function(e){r.options.modifiers[e]=x({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return x({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&s(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return w(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=N(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=I(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=j(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=P(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,H(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[W("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return q.call(this)}}]),t}();J.Utils=("undefined"!=typeof window?window:t).PopperUtils,J.placements=G,J.Defaults=Y,e.default=J}.call(this,n(2))},function(t,e,n){var r;!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],a=n.document,s=Object.getPrototypeOf,u=o.slice,l=o.concat,c=o.push,f=o.indexOf,h={},p=h.toString,d=h.hasOwnProperty,g=d.toString,v=g.call(Object),m={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},_=function(t){return null!=t&&t===t.window},b={type:!0,src:!0,noModule:!0};function E(t,e,n){var r,i=(e=e||a).createElement("script");if(i.text=t,n)for(r in b)n[r]&&(i[r]=n[r]);e.head.appendChild(i).parentNode.removeChild(i)}function w(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?h[p.call(t)]||"object":typeof t}var T=function(t,e){return new T.fn.init(t,e)},x=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function C(t){var e=!!t&&"length"in t&&t.length,n=w(t);return!y(t)&&!_(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}T.fn=T.prototype={jquery:"3.3.1",constructor:T,length:0,toArray:function(){return u.call(this)},get:function(t){return null==t?u.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=T.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return T.each(this,t)},map:function(t){return this.pushStack(T.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},T.extend=T.fn.extend=function(){var t,e,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||y(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(t=arguments[s]))for(e in t)n=a[e],a!==(r=t[e])&&(l&&r&&(T.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&T.isPlainObject(n)?n:{},a[e]=T.extend(l,o,r)):void 0!==r&&(a[e]=r));return a},T.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==p.call(t))&&(!(e=s(t))||"function"==typeof(n=d.call(e,"constructor")&&e.constructor)&&g.call(n)===v)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t){E(t)},each:function(t,e){var n,r=0;if(C(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},trim:function(t){return null==t?"":(t+"").replace(x,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(C(Object(t))?T.merge(n,"string"==typeof t?[t]:t):c.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:f.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,a=!n;i<o;i++)!e(t[i],i)!==a&&r.push(t[i]);return r},map:function(t,e,n){var r,i,o=0,a=[];if(C(t))for(r=t.length;o<r;o++)null!=(i=e(t[o],o,n))&&a.push(i);else for(o in t)null!=(i=e(t[o],o,n))&&a.push(i);return l.apply([],a)},guid:1,support:m}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=o[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){h["[object "+e+"]"]=e.toLowerCase()});var S=function(t){var e,n,r,i,o,a,s,u,l,c,f,h,p,d,g,v,m,y,_,b="sizzle"+1*new Date,E=t.document,w=0,T=0,x=at(),C=at(),S=at(),A=function(t,e){return t===e&&(f=!0),0},D={}.hasOwnProperty,O=[],I=O.pop,N=O.push,L=O.push,k=O.slice,j=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",H="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",W="\\["+P+"*("+H+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+H+"))|)"+P+"*\\]",M=":("+H+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",F=new RegExp(P+"+","g"),q=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),U=new RegExp("^"+P+"*,"+P+"*"),B=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),$=new RegExp(M),G=new RegExp("^"+H+"$"),z={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),tt=function(t,e,n){var r="0x"+e-65536;return r!=r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},et=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,nt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=function(){h()},it=yt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{L.apply(O=k.call(E.childNodes),E.childNodes),O[E.childNodes.length].nodeType}catch(t){L={apply:O.length?function(t,e){N.apply(t,k.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function ot(t,e,r,i){var o,s,l,c,f,d,m,y=e&&e.ownerDocument,w=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return r;if(!i&&((e?e.ownerDocument||e:E)!==p&&h(e),e=e||p,g)){if(11!==w&&(f=Y.exec(t)))if(o=f[1]){if(9===w){if(!(l=e.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(y&&(l=y.getElementById(o))&&_(e,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,e.getElementsByTagName(t)),r;if((o=f[3])&&n.getElementsByClassName&&e.getElementsByClassName)return L.apply(r,e.getElementsByClassName(o)),r}if(n.qsa&&!S[t+" "]&&(!v||!v.test(t))){if(1!==w)y=e,m=t;else if("object"!==e.nodeName.toLowerCase()){for((c=e.getAttribute("id"))?c=c.replace(et,nt):e.setAttribute("id",c=b),s=(d=a(t)).length;s--;)d[s]="#"+c+" "+mt(d[s]);m=d.join(","),y=J.test(t)&&gt(e.parentNode)||e}if(m)try{return L.apply(r,y.querySelectorAll(m)),r}catch(t){}finally{c===b&&e.removeAttribute("id")}}}return u(t.replace(q,"$1"),e,r,i)}function at(){var t=[];return function e(n,i){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function st(t){return t[b]=!0,t}function ut(t){var e=p.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function lt(t,e){for(var n=t.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=e}function ct(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ft(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ht(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function pt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&it(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function dt(t){return st(function(e){return e=+e,st(function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function gt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=ot.support={},o=ot.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},h=ot.setDocument=function(t){var e,i,a=t?t.ownerDocument||t:E;return a!==p&&9===a.nodeType&&a.documentElement?(d=(p=a).documentElement,g=!o(p),E!==p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",rt,!1):i.attachEvent&&i.attachEvent("onunload",rt)),n.attributes=ut(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=ut(function(t){return t.appendChild(p.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=ut(function(t){return d.appendChild(t).id=b,!p.getElementsByName||!p.getElementsByName(b).length}),n.getById?(r.filter.ID=function(t){var e=t.replace(Z,tt);return function(t){return t.getAttribute("id")===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter.ID=function(t){var e=t.replace(Z,tt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},m=[],v=[],(n.qsa=Q.test(p.querySelectorAll))&&(ut(function(t){d.appendChild(t).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+P+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||v.push("\\["+P+"*(?:value|"+R+")"),t.querySelectorAll("[id~="+b+"-]").length||v.push("~="),t.querySelectorAll(":checked").length||v.push(":checked"),t.querySelectorAll("a#"+b+"+*").length||v.push(".#.+[+~]")}),ut(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=p.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&v.push("name"+P+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),d.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),v.push(",.*:")})),(n.matchesSelector=Q.test(y=d.matches||d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),m.push("!=",M)}),v=v.length&&new RegExp(v.join("|")),m=m.length&&new RegExp(m.join("|")),e=Q.test(d.compareDocumentPosition),_=e||Q.test(d.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},A=e?function(t,e){if(t===e)return f=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t===p||t.ownerDocument===E&&_(E,t)?-1:e===p||e.ownerDocument===E&&_(E,e)?1:c?j(c,t)-j(c,e):0:4&r?-1:1)}:function(t,e){if(t===e)return f=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!i||!o)return t===p?-1:e===p?1:i?-1:o?1:c?j(c,t)-j(c,e):0;if(i===o)return ct(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ct(a[r],s[r]):a[r]===E?-1:s[r]===E?1:0},p):p},ot.matches=function(t,e){return ot(t,null,null,e)},ot.matchesSelector=function(t,e){if((t.ownerDocument||t)!==p&&h(t),e=e.replace(V,"='$1']"),n.matchesSelector&&g&&!S[e+" "]&&(!m||!m.test(e))&&(!v||!v.test(e)))try{var r=y.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){}return ot(e,p,null,[t]).length>0},ot.contains=function(t,e){return(t.ownerDocument||t)!==p&&h(t),_(t,e)},ot.attr=function(t,e){(t.ownerDocument||t)!==p&&h(t);var i=r.attrHandle[e.toLowerCase()],o=i&&D.call(r.attrHandle,e.toLowerCase())?i(t,e,!g):void 0;return void 0!==o?o:n.attributes||!g?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},ot.escape=function(t){return(t+"").replace(et,nt)},ot.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ot.uniqueSort=function(t){var e,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&t.slice(0),t.sort(A),f){for(;e=t[o++];)e===t[o]&&(i=r.push(o));for(;i--;)t.splice(r[i],1)}return c=null,t},i=ot.getText=function(t){var e,n="",r=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=i(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[r++];)n+=i(e);return n},(r=ot.selectors={cacheLength:50,createPseudo:st,match:z,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Z,tt),t[3]=(t[3]||t[4]||t[5]||"").replace(Z,tt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ot.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ot.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return z.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&$.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Z,tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=x[t+" "];return e||(e=new RegExp("(^|"+P+")"+t+"("+P+"|$)"))&&x(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(r){var i=ot.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(F," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,u){var l,c,f,h,p,d,g=o!==a?"nextSibling":"previousSibling",v=e.parentNode,m=s&&e.nodeName.toLowerCase(),y=!u&&!s,_=!1;if(v){if(o){for(;g;){for(h=e;h=h[g];)if(s?h.nodeName.toLowerCase()===m:1===h.nodeType)return!1;d=g="only"===t&&!d&&"nextSibling"}return!0}if(d=[a?v.firstChild:v.lastChild],a&&y){for(_=(p=(l=(c=(f=(h=v)[b]||(h[b]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===w&&l[1])&&l[2],h=p&&v.childNodes[p];h=++p&&h&&h[g]||(_=p=0)||d.pop();)if(1===h.nodeType&&++_&&h===e){c[t]=[w,p,_];break}}else if(y&&(_=p=(l=(c=(f=(h=e)[b]||(h[b]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===w&&l[1]),!1===_)for(;(h=++p&&h&&h[g]||(_=p=0)||d.pop())&&((s?h.nodeName.toLowerCase()!==m:1!==h.nodeType)||!++_||(y&&((c=(f=h[b]||(h[b]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]=[w,_]),h!==e)););return(_-=i)===r||_%r==0&&_/r>=0}}},PSEUDO:function(t,e){var n,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||ot.error("unsupported pseudo: "+t);return i[b]?i(e):i.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?st(function(t,n){for(var r,o=i(t,e),a=o.length;a--;)t[r=j(t,o[a])]=!(n[r]=o[a])}):function(t){return i(t,0,n)}):i}},pseudos:{not:st(function(t){var e=[],n=[],r=s(t.replace(q,"$1"));return r[b]?st(function(t,e,n,i){for(var o,a=r(t,null,i,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:st(function(t){return function(e){return ot(t,e).length>0}}),contains:st(function(t){return t=t.replace(Z,tt),function(e){return(e.textContent||e.innerText||i(e)).indexOf(t)>-1}}),lang:st(function(t){return G.test(t||"")||ot.error("unsupported lang: "+t),t=t.replace(Z,tt).toLowerCase(),function(e){var n;do{if(n=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===d},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:pt(!1),disabled:pt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return X.test(t.nodeName)},input:function(t){return K.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:dt(function(){return[0]}),last:dt(function(t,e){return[e-1]}),eq:dt(function(t,e,n){return[n<0?n+e:n]}),even:dt(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:dt(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:dt(function(t,e,n){for(var r=n<0?n+e:n;--r>=0;)t.push(r);return t}),gt:dt(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[e]=ft(e);for(e in{submit:!0,reset:!0})r.pseudos[e]=ht(e);function vt(){}function mt(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function yt(t,e,n){var r=e.dir,i=e.next,o=i||r,a=n&&"parentNode"===o,s=T++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||a)return t(e,n,i);return!1}:function(e,n,u){var l,c,f,h=[w,s];if(u){for(;e=e[r];)if((1===e.nodeType||a)&&t(e,n,u))return!0}else for(;e=e[r];)if(1===e.nodeType||a)if(c=(f=e[b]||(e[b]={}))[e.uniqueID]||(f[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((l=c[o])&&l[0]===w&&l[1]===s)return h[2]=l[2];if(c[o]=h,h[2]=t(e,n,u))return!0}return!1}}function _t(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function bt(t,e,n,r,i){for(var o,a=[],s=0,u=t.length,l=null!=e;s<u;s++)(o=t[s])&&(n&&!n(o,r,i)||(a.push(o),l&&e.push(s)));return a}function Et(t,e,n,r,i,o){return r&&!r[b]&&(r=Et(r)),i&&!i[b]&&(i=Et(i,o)),st(function(o,a,s,u){var l,c,f,h=[],p=[],d=a.length,g=o||function(t,e,n){for(var r=0,i=e.length;r<i;r++)ot(t,e[r],n);return n}(e||"*",s.nodeType?[s]:s,[]),v=!t||!o&&e?g:bt(g,h,t,s,u),m=n?i||(o?t:d||r)?[]:a:v;if(n&&n(v,m,s,u),r)for(l=bt(m,p),r(l,[],s,u),c=l.length;c--;)(f=l[c])&&(m[p[c]]=!(v[p[c]]=f));if(o){if(i||t){if(i){for(l=[],c=m.length;c--;)(f=m[c])&&l.push(v[c]=f);i(null,m=[],l,u)}for(c=m.length;c--;)(f=m[c])&&(l=i?j(o,f):h[c])>-1&&(o[l]=!(a[l]=f))}}else m=bt(m===a?m.splice(d,m.length):m),i?i(null,a,m,u):L.apply(a,m)})}function wt(t){for(var e,n,i,o=t.length,a=r.relative[t[0].type],s=a||r.relative[" "],u=a?1:0,c=yt(function(t){return t===e},s,!0),f=yt(function(t){return j(e,t)>-1},s,!0),h=[function(t,n,r){var i=!a&&(r||n!==l)||((e=n).nodeType?c(t,n,r):f(t,n,r));return e=null,i}];u<o;u++)if(n=r.relative[t[u].type])h=[yt(_t(h),n)];else{if((n=r.filter[t[u].type].apply(null,t[u].matches))[b]){for(i=++u;i<o&&!r.relative[t[i].type];i++);return Et(u>1&&_t(h),u>1&&mt(t.slice(0,u-1).concat({value:" "===t[u-2].type?"*":""})).replace(q,"$1"),n,u<i&&wt(t.slice(u,i)),i<o&&wt(t=t.slice(i)),i<o&&mt(t))}h.push(n)}return _t(h)}return vt.prototype=r.filters=r.pseudos,r.setFilters=new vt,a=ot.tokenize=function(t,e){var n,i,o,a,s,u,l,c=C[t+" "];if(c)return e?0:c.slice(0);for(s=t,u=[],l=r.preFilter;s;){for(a in n&&!(i=U.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=B.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(q," ")}),s=s.slice(n.length)),r.filter)!(i=z[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return e?s.length:s?ot.error(t):C(t,u).slice(0)},s=ot.compile=function(t,e){var n,i=[],o=[],s=S[t+" "];if(!s){for(e||(e=a(t)),n=e.length;n--;)(s=wt(e[n]))[b]?i.push(s):o.push(s);(s=S(t,function(t,e){var n=e.length>0,i=t.length>0,o=function(o,a,s,u,c){var f,d,v,m=0,y="0",_=o&&[],b=[],E=l,T=o||i&&r.find.TAG("*",c),x=w+=null==E?1:Math.random()||.1,C=T.length;for(c&&(l=a===p||a||c);y!==C&&null!=(f=T[y]);y++){if(i&&f){for(d=0,a||f.ownerDocument===p||(h(f),s=!g);v=t[d++];)if(v(f,a||p,s)){u.push(f);break}c&&(w=x)}n&&((f=!v&&f)&&m--,o&&_.push(f))}if(m+=y,n&&y!==m){for(d=0;v=e[d++];)v(_,b,a,s);if(o){if(m>0)for(;y--;)_[y]||b[y]||(b[y]=I.call(u));b=bt(b)}L.apply(u,b),c&&!o&&b.length>0&&m+e.length>1&&ot.uniqueSort(u)}return c&&(w=x,l=E),_};return n?st(o):o}(o,i))).selector=t}return s},u=ot.select=function(t,e,n,i){var o,u,l,c,f,h="function"==typeof t&&t,p=!i&&a(t=h.selector||t);if(n=n||[],1===p.length){if((u=p[0]=p[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===e.nodeType&&g&&r.relative[u[1].type]){if(!(e=(r.find.ID(l.matches[0].replace(Z,tt),e)||[])[0]))return n;h&&(e=e.parentNode),t=t.slice(u.shift().value.length)}for(o=z.needsContext.test(t)?0:u.length;o--&&(l=u[o],!r.relative[c=l.type]);)if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,tt),J.test(u[0].type)&&gt(e.parentNode)||e))){if(u.splice(o,1),!(t=i.length&&mt(u)))return L.apply(n,i),n;break}}return(h||s(t,p))(i,e,!g,n,!e||J.test(t)&&gt(e.parentNode)||e),n},n.sortStable=b.split("").sort(A).join("")===b,n.detectDuplicates=!!f,h(),n.sortDetached=ut(function(t){return 1&t.compareDocumentPosition(p.createElement("fieldset"))}),ut(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||lt("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&&ut(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||lt("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ut(function(t){return null==t.getAttribute("disabled")})||lt(R,function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),ot}(n);T.find=S,T.expr=S.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=S.uniqueSort,T.text=S.getText,T.isXMLDoc=S.isXML,T.contains=S.contains,T.escapeSelector=S.escape;var A=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&T(t).is(n))break;r.push(t)}return r},D=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},O=T.expr.match.needsContext;function I(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function L(t,e,n){return y(e)?T.grep(t,function(t,r){return!!e.call(t,r,t)!==n}):e.nodeType?T.grep(t,function(t){return t===e!==n}):"string"!=typeof e?T.grep(t,function(t){return f.call(e,t)>-1!==n}):T.filter(e,t,n)}T.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?T.find.matchesSelector(r,t)?[r]:[]:T.find.matches(t,T.grep(e,function(t){return 1===t.nodeType}))},T.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(T(t).filter(function(){for(e=0;e<r;e++)if(T.contains(i[e],this))return!0}));for(n=this.pushStack([]),e=0;e<r;e++)T.find(t,i[e],n);return r>1?T.uniqueSort(n):n},filter:function(t){return this.pushStack(L(this,t||[],!1))},not:function(t){return this.pushStack(L(this,t||[],!0))},is:function(t){return!!L(this,"string"==typeof t&&O.test(t)?T(t):t||[],!1).length}});var k,j=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||k,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:j.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof T?e[0]:e,T.merge(this,T.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:a,!0)),N.test(r[1])&&T.isPlainObject(e))for(r in e)y(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(i=a.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==n.ready?n.ready(t):t(T):T.makeArray(t,this)}).prototype=T.fn,k=T(a);var R=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function H(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}T.fn.extend({has:function(t){var e=T(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(T.contains(this,e[t]))return!0})},closest:function(t,e){var n,r=0,i=this.length,o=[],a="string"!=typeof t&&T(t);if(!O.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?T.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?f.call(T(t),this[0]):f.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),T.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return A(t,"parentNode")},parentsUntil:function(t,e,n){return A(t,"parentNode",n)},next:function(t){return H(t,"nextSibling")},prev:function(t){return H(t,"previousSibling")},nextAll:function(t){return A(t,"nextSibling")},prevAll:function(t){return A(t,"previousSibling")},nextUntil:function(t,e,n){return A(t,"nextSibling",n)},prevUntil:function(t,e,n){return A(t,"previousSibling",n)},siblings:function(t){return D((t.parentNode||{}).firstChild,t)},children:function(t){return D(t.firstChild)},contents:function(t){return I(t,"iframe")?t.contentDocument:(I(t,"template")&&(t=t.content||t),T.merge([],t.childNodes))}},function(t,e){T.fn[t]=function(n,r){var i=T.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=T.filter(r,i)),this.length>1&&(P[t]||T.uniqueSort(i),R.test(t)&&i.reverse()),this.pushStack(i)}});var W=/[^\x20\t\r\n\f]+/g;function M(t){return t}function F(t){throw t}function q(t,e,n,r){var i;try{t&&y(i=t.promise)?i.call(t).done(e).fail(n):t&&y(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}T.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return T.each(t.match(W)||[],function(t,n){e[n]=!0}),e}(t):T.extend({},t);var e,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||t.once,r=e=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&t.stopOnFalse&&(s=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!e&&(s=o.length-1,a.push(n)),function e(n){T.each(n,function(n,r){y(r)?t.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==w(r)&&e(r)})}(arguments),n&&!e&&u()),this},remove:function(){return T.each(arguments,function(t,e){for(var n;(n=T.inArray(e,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(t){return t?T.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},T.extend({Deferred:function(t){var e=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return T.Deferred(function(n){T.each(e,function(e,r){var i=y(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&y(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){var o=0;function a(t,e,r,i){return function(){var s=this,u=arguments,l=function(){var n,l;if(!(t<o)){if((n=r.apply(s,u))===e.promise())throw new TypeError("Thenable self-resolution");l=n&&("object"==typeof n||"function"==typeof n)&&n.then,y(l)?i?l.call(n,a(o,e,M,i),a(o,e,F,i)):(o++,l.call(n,a(o,e,M,i),a(o,e,F,i),a(o,e,M,e.notifyWith))):(r!==M&&(s=void 0,u=[n]),(i||e.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(n){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(n,c.stackTrace),t+1>=o&&(r!==F&&(s=void 0,u=[n]),e.rejectWith(s,u))}};t?c():(T.Deferred.getStackHook&&(c.stackTrace=T.Deferred.getStackHook()),n.setTimeout(c))}}return T.Deferred(function(n){e[0][3].add(a(0,n,y(i)?i:M,n.notifyWith)),e[1][3].add(a(0,n,y(t)?t:M)),e[2][3].add(a(0,n,y(r)?r:F))}).promise()},promise:function(t){return null!=t?T.extend(t,i):i}},o={};return T.each(e,function(t,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=u.call(arguments),o=T.Deferred(),a=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?u.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(q(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)q(i[n],a(n),o.reject);return o.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&U.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},T.readyException=function(t){n.setTimeout(function(){throw t})};var B=T.Deferred();function V(){a.removeEventListener("DOMContentLoaded",V),n.removeEventListener("load",V),T.ready()}T.fn.ready=function(t){return B.then(t).catch(function(t){T.readyException(t)}),this},T.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==t&&--T.readyWait>0||B.resolveWith(a,[T]))}}),T.ready.then=B.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(T.ready):(a.addEventListener("DOMContentLoaded",V),n.addEventListener("load",V));var $=function(t,e,n,r,i,o,a){var s=0,u=t.length,l=null==n;if("object"===w(n))for(s in i=!0,n)$(t,e,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),l&&(a?(e.call(t,r),e=null):(l=e,e=function(t,e,n){return l.call(T(t),n)})),e))for(;s<u;s++)e(t[s],n,a?r:r.call(t[s],s,e(t[s],n)));return i?t:l?e.call(t):u?e(t[0],n):o},G=/^-ms-/,z=/-([a-z])/g;function K(t,e){return e.toUpperCase()}function X(t){return t.replace(G,"ms-").replace(z,K)}var Q=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Y(){this.expando=T.expando+Y.uid++}Y.uid=1,Y.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Q(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[X(e)]=n;else for(r in e)i[X(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][X(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){n=(e=Array.isArray(e)?e.map(X):(e=X(e))in r?[e]:e.match(W)||[]).length;for(;n--;)delete r[e[n]]}(void 0===e||T.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!T.isEmptyObject(e)}};var J=new Y,Z=new Y,tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,et=/[A-Z]/g;function nt(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(et,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:tt.test(t)?JSON.parse(t):t)}(n)}catch(t){}Z.set(t,e,n)}else n=void 0;return n}T.extend({hasData:function(t){return Z.hasData(t)||J.hasData(t)},data:function(t,e,n){return Z.access(t,e,n)},removeData:function(t,e){Z.remove(t,e)},_data:function(t,e,n){return J.access(t,e,n)},_removeData:function(t,e){J.remove(t,e)}}),T.fn.extend({data:function(t,e){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(i=Z.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=X(r.slice(5)),nt(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){Z.set(this,t)}):$(this,function(e){var n;if(o&&void 0===e)return void 0!==(n=Z.get(o,t))?n:void 0!==(n=nt(o,t))?n:void 0;this.each(function(){Z.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Z.remove(this,t)})}}),T.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=J.get(t,e),n&&(!r||Array.isArray(n)?r=J.access(t,e,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=T.queue(t,e),r=n.length,i=n.shift(),o=T._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,function(){T.dequeue(t,e)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return J.get(t,n)||J.access(t,n,{empty:T.Callbacks("once memory").add(function(){J.remove(t,[e+"queue",n])})})}}),T.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?T.queue(this[0],t):void 0===e?this:this.each(function(){var n=T.queue(this,t,e);T._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&T.dequeue(this,t)})},dequeue:function(t){return this.each(function(){T.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=T.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=J.get(o[a],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(e)}});var rt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,it=new RegExp("^(?:([+-])=|)("+rt+")([a-z%]*)$","i"),ot=["Top","Right","Bottom","Left"],at=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&T.contains(t.ownerDocument,t)&&"none"===T.css(t,"display")},st=function(t,e,n,r){var i,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in i=n.apply(t,r||[]),e)t.style[o]=a[o];return i};function ut(t,e,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return T.css(t,e,"")},u=s(),l=n&&n[3]||(T.cssNumber[e]?"":"px"),c=(T.cssNumber[e]||"px"!==l&&+u)&&it.exec(T.css(t,e));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)T.style(t,e,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,T.style(t,e,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var lt={};function ct(t){var e,n=t.ownerDocument,r=t.nodeName,i=lt[r];return i||(e=n.body.appendChild(n.createElement(r)),i=T.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),lt[r]=i,i)}function ft(t,e){for(var n,r,i=[],o=0,a=t.length;o<a;o++)(r=t[o]).style&&(n=r.style.display,e?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&at(r)&&(i[o]=ct(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}T.fn.extend({show:function(){return ft(this,!0)},hide:function(){return ft(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){at(this)?T(this).show():T(this).hide()})}});var ht=/^(?:checkbox|radio)$/i,pt=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,dt=/^$|^module$|\/(?:java|ecma)script/i,gt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function vt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&I(t,e)?T.merge([t],n):n}function mt(t,e){for(var n=0,r=t.length;n<r;n++)J.set(t[n],"globalEval",!e||J.get(e[n],"globalEval"))}gt.optgroup=gt.option,gt.tbody=gt.tfoot=gt.colgroup=gt.caption=gt.thead,gt.th=gt.td;var yt,_t,bt=/<|&#?\w+;/;function Et(t,e,n,r,i){for(var o,a,s,u,l,c,f=e.createDocumentFragment(),h=[],p=0,d=t.length;p<d;p++)if((o=t[p])||0===o)if("object"===w(o))T.merge(h,o.nodeType?[o]:o);else if(bt.test(o)){for(a=a||f.appendChild(e.createElement("div")),s=(pt.exec(o)||["",""])[1].toLowerCase(),u=gt[s]||gt._default,a.innerHTML=u[1]+T.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;T.merge(h,a.childNodes),(a=f.firstChild).textContent=""}else h.push(e.createTextNode(o));for(f.textContent="",p=0;o=h[p++];)if(r&&T.inArray(o,r)>-1)i&&i.push(o);else if(l=T.contains(o.ownerDocument,o),a=vt(f.appendChild(o),"script"),l&&mt(a),n)for(c=0;o=a[c++];)dt.test(o.type||"")&&n.push(o);return f}yt=a.createDocumentFragment().appendChild(a.createElement("div")),(_t=a.createElement("input")).setAttribute("type","radio"),_t.setAttribute("checked","checked"),_t.setAttribute("name","t"),yt.appendChild(_t),m.checkClone=yt.cloneNode(!0).cloneNode(!0).lastChild.checked,yt.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!yt.cloneNode(!0).lastChild.defaultValue;var wt=a.documentElement,Tt=/^key/,xt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ct=/^([^.]*)(?:\.(.+)|)/;function St(){return!0}function At(){return!1}function Dt(){try{return a.activeElement}catch(t){}}function Ot(t,e,n,r,i,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(r=r||n,n=void 0),e)Ot(t,s,n,r,e[s],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=At;else if(!i)return t;return 1===o&&(a=i,(i=function(t){return T().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=T.guid++)),t.each(function(){T.event.add(this,e,i,r,n)})}T.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,h,p,d,g,v=J.get(t);if(v)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&T.find.matchesSelector(wt,i),n.guid||(n.guid=T.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return void 0!==T&&T.event.triggered!==e.type?T.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(W)||[""]).length;l--;)p=g=(s=Ct.exec(e[l])||[])[1],d=(s[2]||"").split(".").sort(),p&&(f=T.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=T.event.special[p]||{},c=T.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:d.join(".")},o),(h=u[p])||((h=u[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,d,a)||t.addEventListener&&t.addEventListener(p,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,c):h.push(c),T.event.global[p]=!0)},remove:function(t,e,n,r,i){var o,a,s,u,l,c,f,h,p,d,g,v=J.hasData(t)&&J.get(t);if(v&&(u=v.events)){for(l=(e=(e||"").match(W)||[""]).length;l--;)if(p=g=(s=Ct.exec(e[l])||[])[1],d=(s[2]||"").split(".").sort(),p){for(f=T.event.special[p]||{},h=u[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)c=h[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,f.remove&&f.remove.call(t,c));a&&!h.length&&(f.teardown&&!1!==f.teardown.call(t,d,v.handle)||T.removeEvent(t,p,v.handle),delete u[p])}else for(p in u)T.event.remove(t,p+e[l],n,r,!0);T.isEmptyObject(u)&&J.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,a,s=T.event.fix(t),u=new Array(arguments.length),l=(J.get(this,"events")||{})[s.type]||[],c=T.event.special[s.type]||{};for(u[0]=s,e=1;e<arguments.length;e++)u[e]=arguments[e];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(a=T.event.handlers.call(this,s,l),e=0;(i=a[e++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((T.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(t,e){var n,r,i,o,a,s=[],u=e.delegateCount,l=t.target;if(u&&l.nodeType&&!("click"===t.type&&t.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==t.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=e[n]).selector+" "]&&(a[i]=r.needsContext?T(i,this).index(l)>-1:T.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<e.length&&s.push({elem:l,handlers:e.slice(u)}),s},addProp:function(t,e){Object.defineProperty(T.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[T.expando]?t:new T.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Dt()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Dt()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&I(this,"input"))return this.click(),!1},_default:function(t){return I(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},T.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},T.Event=function(t,e){if(!(this instanceof T.Event))return new T.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?St:At,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&T.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:At,isPropagationStopped:At,isImmediatePropagationStopped:At,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=St,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=St,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=St,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&Tt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&xt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},T.event.addProp),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){T.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=t.relatedTarget,i=t.handleObj;return r&&(r===this||T.contains(this,r))||(t.type=i.origType,n=i.handler.apply(this,arguments),t.type=e),n}}}),T.fn.extend({on:function(t,e,n,r){return Ot(this,t,e,n,r)},one:function(t,e,n,r){return Ot(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,T(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=At),this.each(function(){T.event.remove(this,t,n,e)})}});var It=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Nt=/<script|<style|<link/i,Lt=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function jt(t,e){return I(t,"table")&&I(11!==e.nodeType?e:e.firstChild,"tr")&&T(t).children("tbody")[0]||t}function Rt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Pt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Ht(t,e){var n,r,i,o,a,s,u,l;if(1===e.nodeType){if(J.hasData(t)&&(o=J.access(t),a=J.set(e,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<r;n++)T.event.add(e,i,l[i][n]);Z.hasData(t)&&(s=Z.access(t),u=T.extend({},s),Z.set(e,u))}}function Wt(t,e,n,r){e=l.apply([],e);var i,o,a,s,u,c,f=0,h=t.length,p=h-1,d=e[0],g=y(d);if(g||h>1&&"string"==typeof d&&!m.checkClone&&Lt.test(d))return t.each(function(i){var o=t.eq(i);g&&(e[0]=d.call(this,i,o.html())),Wt(o,e,n,r)});if(h&&(o=(i=Et(e,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=T.map(vt(i,"script"),Rt)).length;f<h;f++)u=i,f!==p&&(u=T.clone(u,!0,!0),s&&T.merge(a,vt(u,"script"))),n.call(t[f],u,f);if(s)for(c=a[a.length-1].ownerDocument,T.map(a,Pt),f=0;f<s;f++)u=a[f],dt.test(u.type||"")&&!J.access(u,"globalEval")&&T.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?T._evalUrl&&T._evalUrl(u.src):E(u.textContent.replace(kt,""),c,u))}return t}function Mt(t,e,n){for(var r,i=e?T.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||T.cleanData(vt(r)),r.parentNode&&(n&&T.contains(r.ownerDocument,r)&&mt(vt(r,"script")),r.parentNode.removeChild(r));return t}T.extend({htmlPrefilter:function(t){return t.replace(It,"<$1></$2>")},clone:function(t,e,n){var r,i,o,a,s,u,l,c=t.cloneNode(!0),f=T.contains(t.ownerDocument,t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||T.isXMLDoc(t)))for(a=vt(c),r=0,i=(o=vt(t)).length;r<i;r++)s=o[r],u=a[r],l=void 0,"input"===(l=u.nodeName.toLowerCase())&&ht.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(e)if(n)for(o=o||vt(t),a=a||vt(c),r=0,i=o.length;r<i;r++)Ht(o[r],a[r]);else Ht(t,c);return(a=vt(c,"script")).length>0&&mt(a,!f&&vt(t,"script")),c},cleanData:function(t){for(var e,n,r,i=T.event.special,o=0;void 0!==(n=t[o]);o++)if(Q(n)){if(e=n[J.expando]){if(e.events)for(r in e.events)i[r]?T.event.remove(n,r):T.removeEvent(n,r,e.handle);n[J.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),T.fn.extend({detach:function(t){return Mt(this,t,!0)},remove:function(t){return Mt(this,t)},text:function(t){return $(this,function(t){return void 0===t?T.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Wt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||jt(this,t).appendChild(t)})},prepend:function(){return Wt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=jt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Wt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Wt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(T.cleanData(vt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return T.clone(this,t,e)})},html:function(t){return $(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Nt.test(t)&&!gt[(pt.exec(t)||["",""])[1].toLowerCase()]){t=T.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(T.cleanData(vt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return Wt(this,arguments,function(e){var n=this.parentNode;T.inArray(this,t)<0&&(T.cleanData(vt(this)),n&&n.replaceChild(e,this))},t)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){T.fn[t]=function(t){for(var n,r=[],i=T(t),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),T(i[a])[e](n),c.apply(r,n.get());return this.pushStack(r)}});var Ft=new RegExp("^("+rt+")(?!px)[a-z%]+$","i"),qt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},Ut=new RegExp(ot.join("|"),"i");function Bt(t,e,n){var r,i,o,a,s=t.style;return(n=n||qt(t))&&(""!==(a=n.getPropertyValue(e)||n[e])||T.contains(t.ownerDocument,t)||(a=T.style(t,e)),!m.pixelBoxStyles()&&Ft.test(a)&&Ut.test(e)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function Vt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",wt.appendChild(l).appendChild(c);var t=n.getComputedStyle(c);r="1%"!==t.top,u=12===e(t.marginLeft),c.style.right="60%",s=36===e(t.right),i=36===e(t.width),c.style.position="absolute",o=36===c.offsetWidth||"absolute",wt.removeChild(l),c=null}}function e(t){return Math.round(parseFloat(t))}var r,i,o,s,u,l=a.createElement("div"),c=a.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===c.style.backgroundClip,T.extend(m,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),o}}))}();var $t=/^(none|table(?!-c[ea]).+)/,Gt=/^--/,zt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:"0",fontWeight:"400"},Xt=["Webkit","Moz","ms"],Qt=a.createElement("div").style;function Yt(t){var e=T.cssProps[t];return e||(e=T.cssProps[t]=function(t){if(t in Qt)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=Xt.length;n--;)if((t=Xt[n]+e)in Qt)return t}(t)||t),e}function Jt(t,e,n){var r=it.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function Zt(t,e,n,r,i,o){var a="width"===e?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=T.css(t,n+ot[a],!0,i)),r?("content"===n&&(u-=T.css(t,"padding"+ot[a],!0,i)),"margin"!==n&&(u-=T.css(t,"border"+ot[a]+"Width",!0,i))):(u+=T.css(t,"padding"+ot[a],!0,i),"padding"!==n?u+=T.css(t,"border"+ot[a]+"Width",!0,i):s+=T.css(t,"border"+ot[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-u-s-.5))),u}function te(t,e,n){var r=qt(t),i=Bt(t,e,r),o="border-box"===T.css(t,"boxSizing",!1,r),a=o;if(Ft.test(i)){if(!n)return i;i="auto"}return a=a&&(m.boxSizingReliable()||i===t.style[e]),("auto"===i||!parseFloat(i)&&"inline"===T.css(t,"display",!1,r))&&(i=t["offset"+e[0].toUpperCase()+e.slice(1)],a=!0),(i=parseFloat(i)||0)+Zt(t,e,n||(o?"border":"content"),a,r,i)+"px"}function ee(t,e,n,r,i){return new ee.prototype.init(t,e,n,r,i)}T.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Bt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,s=X(e),u=Gt.test(e),l=t.style;if(u||(e=Yt(s)),a=T.cssHooks[e]||T.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:l[e];"string"===(o=typeof n)&&(i=it.exec(n))&&i[1]&&(n=ut(t,e,i),o="number"),null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(T.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(u?l.setProperty(e,n):l[e]=n))}},css:function(t,e,n,r){var i,o,a,s=X(e);return Gt.test(e)||(e=Yt(s)),(a=T.cssHooks[e]||T.cssHooks[s])&&"get"in a&&(i=a.get(t,!0,n)),void 0===i&&(i=Bt(t,e,r)),"normal"===i&&e in Kt&&(i=Kt[e]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),T.each(["height","width"],function(t,e){T.cssHooks[e]={get:function(t,n,r){if(n)return!$t.test(T.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?te(t,e,r):st(t,zt,function(){return te(t,e,r)})},set:function(t,n,r){var i,o=qt(t),a="border-box"===T.css(t,"boxSizing",!1,o),s=r&&Zt(t,e,r,a,o);return a&&m.scrollboxSize()===o.position&&(s-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-Zt(t,e,"border",!1,o)-.5)),s&&(i=it.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=T.css(t,e)),Jt(0,n,s)}}}),T.cssHooks.marginLeft=Vt(m.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Bt(t,"marginLeft"))||t.getBoundingClientRect().left-st(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(t,e){T.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+ot[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(T.cssHooks[t+e].set=Jt)}),T.fn.extend({css:function(t,e){return $(this,function(t,e,n){var r,i,o={},a=0;if(Array.isArray(e)){for(r=qt(t),i=e.length;a<i;a++)o[e[a]]=T.css(t,e[a],!1,r);return o}return void 0!==n?T.style(t,e,n):T.css(t,e)},t,e,arguments.length>1)}}),T.Tween=ee,ee.prototype={constructor:ee,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||T.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(T.cssNumber[n]?"":"px")},cur:function(){var t=ee.propHooks[this.prop];return t&&t.get?t.get(this):ee.propHooks._default.get(this)},run:function(t){var e,n=ee.propHooks[this.prop];return this.options.duration?this.pos=e=T.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ee.propHooks._default.set(this),this}},ee.prototype.init.prototype=ee.prototype,ee.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=T.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){T.fx.step[t.prop]?T.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[T.cssProps[t.prop]]&&!T.cssHooks[t.prop]?t.elem[t.prop]=t.now:T.style(t.elem,t.prop,t.now+t.unit)}}},ee.propHooks.scrollTop=ee.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},T.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},T.fx=ee.prototype.init,T.fx.step={};var ne,re,ie=/^(?:toggle|show|hide)$/,oe=/queueHooks$/;function ae(){re&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ae):n.setTimeout(ae,T.fx.interval),T.fx.tick())}function se(){return n.setTimeout(function(){ne=void 0}),ne=Date.now()}function ue(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=ot[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function le(t,e,n){for(var r,i=(ce.tweeners[e]||[]).concat(ce.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,e,t))return r}function ce(t,e,n){var r,i,o=0,a=ce.prefilters.length,s=T.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var e=ne||se(),n=Math.max(0,l.startTime+l.duration-e),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(t,[l,r,n]),r<1&&a?n:(a||s.notifyWith(t,[l,1,0]),s.resolveWith(t,[l]),!1)},l=s.promise({elem:t,props:T.extend({},e),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:e,originalOptions:n,startTime:ne||se(),duration:n.duration,tweens:[],createTween:function(e,n){var r=T.Tween(t,l.opts,e,n,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(r),r},stop:function(e){var n=0,r=e?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return e?(s.notifyWith(t,[l,1,0]),s.resolveWith(t,[l,e])):s.rejectWith(t,[l,e]),this}}),c=l.props;for(!function(t,e){var n,r,i,o,a;for(n in t)if(i=e[r=X(n)],o=t[n],Array.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(a=T.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete t[r],o)n in t||(t[n]=o[n],e[n]=i);else e[r]=i}(c,l.opts.specialEasing);o<a;o++)if(r=ce.prefilters[o].call(l,t,c,l.opts))return y(r.stop)&&(T._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return T.map(c,le,l),y(l.opts.start)&&l.opts.start.call(t,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),T.fx.timer(T.extend(u,{elem:t,anim:l,queue:l.opts.queue})),l}T.Animation=T.extend(ce,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return ut(n.elem,t,it.exec(e),n),n}]},tweener:function(t,e){y(t)?(e=t,t=["*"]):t=t.match(W);for(var n,r=0,i=t.length;r<i;r++)n=t[r],ce.tweeners[n]=ce.tweeners[n]||[],ce.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var r,i,o,a,s,u,l,c,f="width"in e||"height"in e,h=this,p={},d=t.style,g=t.nodeType&&at(t),v=J.get(t,"fxshow");for(r in n.queue||(null==(a=T._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,T.queue(t,"fx").length||a.empty.fire()})})),e)if(i=e[r],ie.test(i)){if(delete e[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}p[r]=v&&v[r]||T.style(t,r)}if((u=!T.isEmptyObject(e))||!T.isEmptyObject(p))for(r in f&&1===t.nodeType&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],null==(l=v&&v.display)&&(l=J.get(t,"display")),"none"===(c=T.css(t,"display"))&&(l?c=l:(ft([t],!0),l=t.style.display||l,c=T.css(t,"display"),ft([t]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===T.css(t,"float")&&(u||(h.done(function(){d.display=l}),null==l&&(c=d.display,l="none"===c?"":c)),d.display="inline-block")),n.overflow&&(d.overflow="hidden",h.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),u=!1,p)u||(v?"hidden"in v&&(g=v.hidden):v=J.access(t,"fxshow",{display:l}),o&&(v.hidden=!g),g&&ft([t],!0),h.done(function(){for(r in g||ft([t]),J.remove(t,"fxshow"),p)T.style(t,r,p[r])})),u=le(g?v[r]:0,r,h),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(t,e){e?ce.prefilters.unshift(t):ce.prefilters.push(t)}}),T.speed=function(t,e,n){var r=t&&"object"==typeof t?T.extend({},t):{complete:n||!n&&e||y(t)&&t,duration:t,easing:n&&e||e&&!y(e)&&e};return T.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in T.fx.speeds?r.duration=T.fx.speeds[r.duration]:r.duration=T.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(t,e,n,r){return this.filter(at).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=T.isEmptyObject(t),o=T.speed(e,n,r),a=function(){var e=ce(this,T.extend({},t),o);(i||J.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=T.timers,a=J.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&oe.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||T.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=J.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=T.timers,a=r?r.length:0;for(n.finish=!0,T.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),T.each(["toggle","show","hide"],function(t,e){var n=T.fn[e];T.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(ue(e,!0),t,r,i)}}),T.each({slideDown:ue("show"),slideUp:ue("hide"),slideToggle:ue("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){T.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),T.timers=[],T.fx.tick=function(){var t,e=0,n=T.timers;for(ne=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||T.fx.stop(),ne=void 0},T.fx.timer=function(t){T.timers.push(t),T.fx.start()},T.fx.interval=13,T.fx.start=function(){re||(re=!0,ae())},T.fx.stop=function(){re=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(t,e){return t=T.fx&&T.fx.speeds[t]||t,e=e||"fx",this.queue(e,function(e,r){var i=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(i)}})},function(){var t=a.createElement("input"),e=a.createElement("select").appendChild(a.createElement("option"));t.type="checkbox",m.checkOn=""!==t.value,m.optSelected=e.selected,(t=a.createElement("input")).value="t",t.type="radio",m.radioValue="t"===t.value}();var fe,he=T.expr.attrHandle;T.fn.extend({attr:function(t,e){return $(this,T.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){T.removeAttr(this,t)})}}),T.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?T.prop(t,e,n):(1===o&&T.isXMLDoc(t)||(i=T.attrHooks[e.toLowerCase()]||(T.expr.match.bool.test(e)?fe:void 0)),void 0!==n?null===n?void T.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=T.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&I(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(W);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),fe={set:function(t,e,n){return!1===e?T.removeAttr(t,n):t.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),function(t,e){var n=he[e]||T.find.attr;he[e]=function(t,e,r){var i,o,a=e.toLowerCase();return r||(o=he[a],he[a]=i,i=null!=n(t,e,r)?a:null,he[a]=o),i}});var pe=/^(?:input|select|textarea|button)$/i,de=/^(?:a|area)$/i;function ge(t){return(t.match(W)||[]).join(" ")}function ve(t){return t.getAttribute&&t.getAttribute("class")||""}function me(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(W)||[]}T.fn.extend({prop:function(t,e){return $(this,T.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[T.propFix[t]||t]})}}),T.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&T.isXMLDoc(t)||(e=T.propFix[e]||e,i=T.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=T.find.attr(t,"tabindex");return e?parseInt(e,10):pe.test(t.nodeName)||de.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(T.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),T.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(y(t))return this.each(function(e){T(this).addClass(t.call(this,e,ve(this)))});if((e=me(t)).length)for(;n=this[u++];)if(i=ve(n),r=1===n.nodeType&&" "+ge(i)+" "){for(a=0;o=e[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=ge(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,u=0;if(y(t))return this.each(function(e){T(this).removeClass(t.call(this,e,ve(this)))});if(!arguments.length)return this.attr("class","");if((e=me(t)).length)for(;n=this[u++];)if(i=ve(n),r=1===n.nodeType&&" "+ge(i)+" "){for(a=0;o=e[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=ge(r))&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):y(t)?this.each(function(n){T(this).toggleClass(t.call(this,n,ve(this),e),e)}):this.each(function(){var e,i,o,a;if(r)for(i=0,o=T(this),a=me(t);e=a[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=ve(this))&&J.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":J.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+ge(ve(n))+" ").indexOf(e)>-1)return!0;return!1}});var ye=/\r/g;T.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=y(t),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,T(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=T.map(i,function(t){return null==t?"":t+""})),(e=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))})):i?(e=T.valHooks[i.type]||T.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(ye,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(t){var e=T.find.attr(t,"value");return null!=e?e:ge(T.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!I(n.parentNode,"optgroup"))){if(e=T(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,r,i=t.options,o=T.makeArray(e),a=i.length;a--;)((r=i[a]).selected=T.inArray(T.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=T.inArray(T(t).val(),e)>-1}},m.checkOn||(T.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),m.focusin="onfocusin"in n;var _e=/^(?:focusinfocus|focusoutblur)$/,be=function(t){t.stopPropagation()};T.extend(T.event,{trigger:function(t,e,r,i){var o,s,u,l,c,f,h,p,g=[r||a],v=d.call(t,"type")?t.type:t,m=d.call(t,"namespace")?t.namespace.split("."):[];if(s=p=u=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!_e.test(v+T.event.triggered)&&(v.indexOf(".")>-1&&(m=v.split("."),v=m.shift(),m.sort()),c=v.indexOf(":")<0&&"on"+v,(t=t[T.expando]?t:new T.Event(v,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:T.makeArray(e,[t]),h=T.event.special[v]||{},i||!h.trigger||!1!==h.trigger.apply(r,e))){if(!i&&!h.noBubble&&!_(r)){for(l=h.delegateType||v,_e.test(l+v)||(s=s.parentNode);s;s=s.parentNode)g.push(s),u=s;u===(r.ownerDocument||a)&&g.push(u.defaultView||u.parentWindow||n)}for(o=0;(s=g[o++])&&!t.isPropagationStopped();)p=s,t.type=o>1?l:h.bindType||v,(f=(J.get(s,"events")||{})[t.type]&&J.get(s,"handle"))&&f.apply(s,e),(f=c&&s[c])&&f.apply&&Q(s)&&(t.result=f.apply(s,e),!1===t.result&&t.preventDefault());return t.type=v,i||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(g.pop(),e)||!Q(r)||c&&y(r[v])&&!_(r)&&((u=r[c])&&(r[c]=null),T.event.triggered=v,t.isPropagationStopped()&&p.addEventListener(v,be),r[v](),t.isPropagationStopped()&&p.removeEventListener(v,be),T.event.triggered=void 0,u&&(r[c]=u)),t.result}},simulate:function(t,e,n){var r=T.extend(new T.Event,n,{type:t,isSimulated:!0});T.event.trigger(r,null,e)}}),T.fn.extend({trigger:function(t,e){return this.each(function(){T.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return T.event.trigger(t,e,n,!0)}}),m.focusin||T.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){T.event.simulate(e,t.target,T.event.fix(t))};T.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,e);i||r.addEventListener(t,n,!0),J.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,e)-1;i?J.access(r,e,i):(r.removeEventListener(t,n,!0),J.remove(r,e))}}});var Ee=n.location,we=Date.now(),Te=/\?/;T.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+t),e};var xe=/\[\]$/,Ce=/\r?\n/g,Se=/^(?:submit|button|image|reset|file)$/i,Ae=/^(?:input|select|textarea|keygen)/i;function De(t,e,n,r){var i;if(Array.isArray(e))T.each(e,function(e,i){n||xe.test(t)?r(t,i):De(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==w(e))r(t,e);else for(i in e)De(t+"["+i+"]",e[i],n,r)}T.param=function(t,e){var n,r=[],i=function(t,e){var n=y(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(t)||t.jquery&&!T.isPlainObject(t))T.each(t,function(){i(this.name,this.value)});else for(n in t)De(n,t[n],e,i);return r.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=T.prop(this,"elements");return t?T.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!T(this).is(":disabled")&&Ae.test(this.nodeName)&&!Se.test(t)&&(this.checked||!ht.test(t))}).map(function(t,e){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,function(t){return{name:e.name,value:t.replace(Ce,"\r\n")}}):{name:e.name,value:n.replace(Ce,"\r\n")}}).get()}});var Oe=/%20/g,Ie=/#.*$/,Ne=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)$/gm,ke=/^(?:GET|HEAD)$/,je=/^\/\//,Re={},Pe={},He="*/".concat("*"),We=a.createElement("a");function Me(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(W)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function Fe(t,e,n,r){var i={},o=t===Pe;function a(s){var u;return i[s]=!0,T.each(t[s]||[],function(t,s){var l=s(e,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(e.dataTypes.unshift(l),a(l),!1)}),u}return a(e.dataTypes[0])||!i["*"]&&a("*")}function qe(t,e){var n,r,i=T.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&T.extend(!0,t,r),t}We.href=Ee.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ee.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ee.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":He,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?qe(qe(t,T.ajaxSettings),e):qe(T.ajaxSettings,t)},ajaxPrefilter:Me(Re),ajaxTransport:Me(Pe),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,i,o,s,u,l,c,f,h,p,d=T.ajaxSetup({},e),g=d.context||d,v=d.context&&(g.nodeType||g.jquery)?T(g):T.event,m=T.Deferred(),y=T.Callbacks("once memory"),_=d.statusCode||{},b={},E={},w="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=Le.exec(o);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(t,e){return null==c&&(t=E[t.toLowerCase()]=E[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==c&&(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)x.always(t[x.status]);else for(e in t)_[e]=[_[e],t[e]];return this},abort:function(t){var e=t||w;return r&&r.abort(e),C(0,e),this}};if(m.promise(x),d.url=((t||d.url||Ee.href)+"").replace(je,Ee.protocol+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(W)||[""],null==d.crossDomain){l=a.createElement("a");try{l.href=d.url,l.href=l.href,d.crossDomain=We.protocol+"//"+We.host!=l.protocol+"//"+l.host}catch(t){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=T.param(d.data,d.traditional)),Fe(Re,d,e,x),c)return x;for(h in(f=T.event&&d.global)&&0==T.active++&&T.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!ke.test(d.type),i=d.url.replace(Ie,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Oe,"+")):(p=d.url.slice(i.length),d.data&&(d.processData||"string"==typeof d.data)&&(i+=(Te.test(i)?"&":"?")+d.data,delete d.data),!1===d.cache&&(i=i.replace(Ne,"$1"),p=(Te.test(i)?"&":"?")+"_="+we+++p),d.url=i+p),d.ifModified&&(T.lastModified[i]&&x.setRequestHeader("If-Modified-Since",T.lastModified[i]),T.etag[i]&&x.setRequestHeader("If-None-Match",T.etag[i])),(d.data&&d.hasContent&&!1!==d.contentType||e.contentType)&&x.setRequestHeader("Content-Type",d.contentType),x.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+He+"; q=0.01":""):d.accepts["*"]),d.headers)x.setRequestHeader(h,d.headers[h]);if(d.beforeSend&&(!1===d.beforeSend.call(g,x,d)||c))return x.abort();if(w="abort",y.add(d.complete),x.done(d.success),x.fail(d.error),r=Fe(Pe,d,e,x)){if(x.readyState=1,f&&v.trigger("ajaxSend",[x,d]),c)return x;d.async&&d.timeout>0&&(u=n.setTimeout(function(){x.abort("timeout")},d.timeout));try{c=!1,r.send(b,C)}catch(t){if(c)throw t;C(-1,t)}}else C(-1,"No Transport");function C(t,e,a,s){var l,h,p,b,E,w=e;c||(c=!0,u&&n.clearTimeout(u),r=void 0,o=s||"",x.readyState=t>0?4:0,l=t>=200&&t<300||304===t,a&&(b=function(t,e,n){for(var r,i,o,a,s=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||t.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(d,x,a)),b=function(t,e,n,r){var i,o,a,s,u,l={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)l[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}(d,b,x,l),l?(d.ifModified&&((E=x.getResponseHeader("Last-Modified"))&&(T.lastModified[i]=E),(E=x.getResponseHeader("etag"))&&(T.etag[i]=E)),204===t||"HEAD"===d.type?w="nocontent":304===t?w="notmodified":(w=b.state,h=b.data,l=!(p=b.error))):(p=w,!t&&w||(w="error",t<0&&(t=0))),x.status=t,x.statusText=(e||w)+"",l?m.resolveWith(g,[h,w,x]):m.rejectWith(g,[x,w,p]),x.statusCode(_),_=void 0,f&&v.trigger(l?"ajaxSuccess":"ajaxError",[x,d,l?h:p]),y.fireWith(g,[x,w]),f&&(v.trigger("ajaxComplete",[x,d]),--T.active||T.event.trigger("ajaxStop")))}return x},getJSON:function(t,e,n){return T.get(t,e,n,"json")},getScript:function(t,e){return T.get(t,void 0,e,"script")}}),T.each(["get","post"],function(t,e){T[e]=function(t,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),T.ajax(T.extend({url:t,type:e,dataType:i,data:n,success:r},T.isPlainObject(t)&&t))}}),T._evalUrl=function(t){return T.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},T.fn.extend({wrapAll:function(t){var e;return this[0]&&(y(t)&&(t=t.call(this[0])),e=T(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return y(t)?this.each(function(e){T(this).wrapInner(t.call(this,e))}):this.each(function(){var e=T(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=y(t);return this.each(function(n){T(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(t){return!T.expr.pseudos.visible(t)},T.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Ue={0:200,1223:204},Be=T.ajaxSettings.xhr();m.cors=!!Be&&"withCredentials"in Be,m.ajax=Be=!!Be,T.ajaxTransport(function(t){var e,r;if(m.cors||Be&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);e=function(t){return function(){e&&(e=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Ue[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),r=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){e&&r()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),T.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return T.globalEval(t),t}}}),T.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),T.ajaxTransport("script",function(t){var e,n;if(t.crossDomain)return{send:function(r,i){e=T("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),a.head.appendChild(e[0])},abort:function(){n&&n()}}});var Ve,$e=[],Ge=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=$e.pop()||T.expando+"_"+we++;return this[t]=!0,t}}),T.ajaxPrefilter("json jsonp",function(t,e,r){var i,o,a,s=!1!==t.jsonp&&(Ge.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ge.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ge,"$1"+i):!1!==t.jsonp&&(t.url+=(Te.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||T.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?T(n).removeProp(i):n[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,$e.push(i)),a&&y(o)&&o(a[0]),a=o=void 0}),"script"}),m.createHTMLDocument=((Ve=a.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ve.childNodes.length),T.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(m.createHTMLDocument?((r=(e=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,e.head.appendChild(r)):e=a),o=!n&&[],(i=N.exec(t))?[e.createElement(i[1])]:(i=Et([t],e,o),o&&o.length&&T(o).remove(),T.merge([],i.childNodes)));var r,i,o},T.fn.load=function(t,e,n){var r,i,o,a=this,s=t.indexOf(" ");return s>-1&&(r=ge(t.slice(s)),t=t.slice(0,s)),y(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),a.length>0&&T.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(r?T("<div>").append(T.parseHTML(t)).find(r):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){T.fn[e]=function(t){return this.on(e,t)}}),T.expr.pseudos.animated=function(t){return T.grep(T.timers,function(e){return t===e.elem}).length},T.offset={setOffset:function(t,e,n){var r,i,o,a,s,u,l=T.css(t,"position"),c=T(t),f={};"static"===l&&(t.style.position="relative"),s=c.offset(),o=T.css(t,"top"),u=T.css(t,"left"),("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),y(e)&&(e=e.call(t,n,T.extend({},s))),null!=e.top&&(f.top=e.top-s.top+a),null!=e.left&&(f.left=e.left-s.left+i),"using"in e?e.using.call(t,f):c.css(f)}},T.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){T.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,r=this[0],i={top:0,left:0};if("fixed"===T.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===T.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((i=T(t).offset()).top+=T.css(t,"borderTopWidth",!0),i.left+=T.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-T.css(r,"marginTop",!0),left:e.left-i.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===T.css(t,"position");)t=t.offsetParent;return t||wt})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;T.fn[t]=function(r){return $(this,function(t,r,i){var o;if(_(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[e]:t[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i},t,r,arguments.length)}}),T.each(["top","left"],function(t,e){T.cssHooks[e]=Vt(m.pixelPosition,function(t,n){if(n)return n=Bt(t,e),Ft.test(n)?T(t).position()[e]+"px":n})}),T.each({Height:"height",Width:"width"},function(t,e){T.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){T.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return $(this,function(e,n,i){var o;return _(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?T.css(e,n,s):T.style(e,n,i,s)},e,a?i:void 0,a)}})}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){T.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),T.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),T.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),T.proxy=function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),y(t))return r=u.call(arguments,2),(i=function(){return t.apply(e||this,r.concat(u.call(arguments)))}).guid=t.guid=t.guid||T.guid++,i},T.holdReady=function(t){t?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=I,T.isFunction=y,T.isWindow=_,T.camelCase=X,T.type=w,T.now=Date.now,T.isNumeric=function(t){var e=T.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},void 0===(r=function(){return T}.apply(e,[]))||(t.exports=r);var ze=n.jQuery,Ke=n.$;return T.noConflict=function(t){return n.$===T&&(n.$=Ke),t&&n.jQuery===T&&(n.jQuery=ze),T},i||(n.jQuery=n.$=T),T})},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(0),i=n(21),o=n(23),a=n(24),s=n(25),u=n(7),l="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(26);t.exports=function(t){return new Promise(function(e,c){var f=t.data,h=t.headers;r.isFormData(f)&&delete h["Content-Type"];var p=new XMLHttpRequest,d="onreadystatechange",g=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in p||s(t.url)||(p=new window.XDomainRequest,d="onload",g=!0,p.onprogress=function(){},p.ontimeout=function(){}),t.auth){var v=t.auth.username||"",m=t.auth.password||"";h.Authorization="Basic "+l(v+":"+m)}if(p.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p[d]=function(){if(p&&(4===p.readyState||g)&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?p.response:p.responseText,status:1223===p.status?204:p.status,statusText:1223===p.status?"No Content":p.statusText,headers:n,config:t,request:p};i(e,c,r),p=null}},p.onerror=function(){c(u("Network Error",t,null,p)),p=null},p.ontimeout=function(){c(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var y=n(27),_=(t.withCredentials||s(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;_&&(h[t.xsrfHeaderName]=_)}if("setRequestHeader"in p&&r.forEach(h,function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete h[e]:p.setRequestHeader(e,t)}),t.withCredentials&&(p.withCredentials=!0),t.responseType)try{p.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){p&&(p.abort(),c(t),p=null)}),void 0===f&&(f=null),p.send(f)})}},function(t,e,n){"use strict";var r=n(22);t.exports=function(t,e,n,i,o){var a=new Error(t);return r(a,e,n,i,o)}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){n(11),t.exports=n(35)},function(t,e,n){window._=n(12);try{window.Popper=n(3).default,window.$=window.jQuery=n(4),n(14)}catch(t){}window.axios=n(15),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var r=document.head.querySelector('meta[name="csrf-token"]');r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},function(t,e,n){(function(t,r){var i;(function(){var o,a=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",l="__lodash_hash_undefined__",c=500,f="__lodash_placeholder__",h=1,p=2,d=4,g=1,v=2,m=1,y=2,_=4,b=8,E=16,w=32,T=64,x=128,C=256,S=512,A=30,D="...",O=800,I=16,N=1,L=2,k=1/0,j=9007199254740991,R=1.7976931348623157e308,P=NaN,H=4294967295,W=H-1,M=H>>>1,F=[["ary",x],["bind",m],["bindKey",y],["curry",b],["curryRight",E],["flip",S],["partial",w],["partialRight",T],["rearg",C]],q="[object Arguments]",U="[object Array]",B="[object AsyncFunction]",V="[object Boolean]",$="[object Date]",G="[object DOMException]",z="[object Error]",K="[object Function]",X="[object GeneratorFunction]",Q="[object Map]",Y="[object Number]",J="[object Null]",Z="[object Object]",tt="[object Proxy]",et="[object RegExp]",nt="[object Set]",rt="[object String]",it="[object Symbol]",ot="[object Undefined]",at="[object WeakMap]",st="[object WeakSet]",ut="[object ArrayBuffer]",lt="[object DataView]",ct="[object Float32Array]",ft="[object Float64Array]",ht="[object Int8Array]",pt="[object Int16Array]",dt="[object Int32Array]",gt="[object Uint8Array]",vt="[object Uint8ClampedArray]",mt="[object Uint16Array]",yt="[object Uint32Array]",_t=/\b__p \+= '';/g,bt=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,Tt=/[&<>"']/g,xt=RegExp(wt.source),Ct=RegExp(Tt.source),St=/<%-([\s\S]+?)%>/g,At=/<%([\s\S]+?)%>/g,Dt=/<%=([\s\S]+?)%>/g,Ot=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,It=/^\w*$/,Nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Lt=/[\\^$.*+?()[\]{}|]/g,kt=RegExp(Lt.source),jt=/^\s+|\s+$/g,Rt=/^\s+/,Pt=/\s+$/,Ht=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Wt=/\{\n\/\* \[wrapped with (.+)\] \*/,Mt=/,? & /,Ft=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,qt=/\\(\\)?/g,Ut=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Bt=/\w*$/,Vt=/^[-+]0x[0-9a-f]+$/i,$t=/^0b[01]+$/i,Gt=/^\[object .+?Constructor\]$/,zt=/^0o[0-7]+$/i,Kt=/^(?:0|[1-9]\d*)$/,Xt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qt=/($^)/,Yt=/['\n\r\u2028\u2029\\]/g,Jt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Zt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",te="[\\ud800-\\udfff]",ee="["+Zt+"]",ne="["+Jt+"]",re="\\d+",ie="[\\u2700-\\u27bf]",oe="[a-z\\xdf-\\xf6\\xf8-\\xff]",ae="[^\\ud800-\\udfff"+Zt+re+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",se="\\ud83c[\\udffb-\\udfff]",ue="[^\\ud800-\\udfff]",le="(?:\\ud83c[\\udde6-\\uddff]){2}",ce="[\\ud800-\\udbff][\\udc00-\\udfff]",fe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",he="(?:"+oe+"|"+ae+")",pe="(?:"+fe+"|"+ae+")",de="(?:"+ne+"|"+se+")"+"?",ge="[\\ufe0e\\ufe0f]?"+de+("(?:\\u200d(?:"+[ue,le,ce].join("|")+")[\\ufe0e\\ufe0f]?"+de+")*"),ve="(?:"+[ie,le,ce].join("|")+")"+ge,me="(?:"+[ue+ne+"?",ne,le,ce,te].join("|")+")",ye=RegExp("['’]","g"),_e=RegExp(ne,"g"),be=RegExp(se+"(?="+se+")|"+me+ge,"g"),Ee=RegExp([fe+"?"+oe+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ee,fe,"$"].join("|")+")",pe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ee,fe+he,"$"].join("|")+")",fe+"?"+he+"+(?:['’](?:d|ll|m|re|s|t|ve))?",fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",re,ve].join("|"),"g"),we=RegExp("[\\u200d\\ud800-\\udfff"+Jt+"\\ufe0e\\ufe0f]"),Te=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,xe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ce=-1,Se={};Se[ct]=Se[ft]=Se[ht]=Se[pt]=Se[dt]=Se[gt]=Se[vt]=Se[mt]=Se[yt]=!0,Se[q]=Se[U]=Se[ut]=Se[V]=Se[lt]=Se[$]=Se[z]=Se[K]=Se[Q]=Se[Y]=Se[Z]=Se[et]=Se[nt]=Se[rt]=Se[at]=!1;var Ae={};Ae[q]=Ae[U]=Ae[ut]=Ae[lt]=Ae[V]=Ae[$]=Ae[ct]=Ae[ft]=Ae[ht]=Ae[pt]=Ae[dt]=Ae[Q]=Ae[Y]=Ae[Z]=Ae[et]=Ae[nt]=Ae[rt]=Ae[it]=Ae[gt]=Ae[vt]=Ae[mt]=Ae[yt]=!0,Ae[z]=Ae[K]=Ae[at]=!1;var De={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Oe=parseFloat,Ie=parseInt,Ne="object"==typeof t&&t&&t.Object===Object&&t,Le="object"==typeof self&&self&&self.Object===Object&&self,ke=Ne||Le||Function("return this")(),je=e&&!e.nodeType&&e,Re=je&&"object"==typeof r&&r&&!r.nodeType&&r,Pe=Re&&Re.exports===je,He=Pe&&Ne.process,We=function(){try{var t=Re&&Re.require&&Re.require("util").types;return t||He&&He.binding&&He.binding("util")}catch(t){}}(),Me=We&&We.isArrayBuffer,Fe=We&&We.isDate,qe=We&&We.isMap,Ue=We&&We.isRegExp,Be=We&&We.isSet,Ve=We&&We.isTypedArray;function $e(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Ge(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function ze(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Ke(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Xe(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Qe(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function Ye(t,e){return!!(null==t?0:t.length)&&un(t,e,0)>-1}function Je(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function Ze(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function tn(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function en(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function nn(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function rn(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var on=hn("length");function an(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function sn(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function un(t,e,n){return e==e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):sn(t,cn,n)}function ln(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function cn(t){return t!=t}function fn(t,e){var n=null==t?0:t.length;return n?gn(t,e)/n:P}function hn(t){return function(e){return null==e?o:e[t]}}function pn(t){return function(e){return null==t?o:t[e]}}function dn(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function gn(t,e){for(var n,r=-1,i=t.length;++r<i;){var a=e(t[r]);a!==o&&(n=n===o?a:n+a)}return n}function vn(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function mn(t){return function(e){return t(e)}}function yn(t,e){return Ze(e,function(e){return t[e]})}function _n(t,e){return t.has(e)}function bn(t,e){for(var n=-1,r=t.length;++n<r&&un(e,t[n],0)>-1;);return n}function En(t,e){for(var n=t.length;n--&&un(e,t[n],0)>-1;);return n}var wn=pn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Tn=pn({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function xn(t){return"\\"+De[t]}function Cn(t){return we.test(t)}function Sn(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function An(t,e){return function(n){return t(e(n))}}function Dn(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==f||(t[n]=f,o[i++]=n)}return o}function On(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function In(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Nn(t){return Cn(t)?function(t){var e=be.lastIndex=0;for(;be.test(t);)++e;return e}(t):on(t)}function Ln(t){return Cn(t)?function(t){return t.match(be)||[]}(t):function(t){return t.split("")}(t)}var kn=pn({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var jn=function t(e){var n,r=(e=null==e?ke:jn.defaults(ke.Object(),e,jn.pick(ke,xe))).Array,i=e.Date,Jt=e.Error,Zt=e.Function,te=e.Math,ee=e.Object,ne=e.RegExp,re=e.String,ie=e.TypeError,oe=r.prototype,ae=Zt.prototype,se=ee.prototype,ue=e["__core-js_shared__"],le=ae.toString,ce=se.hasOwnProperty,fe=0,he=(n=/[^.]+$/.exec(ue&&ue.keys&&ue.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",pe=se.toString,de=le.call(ee),ge=ke._,ve=ne("^"+le.call(ce).replace(Lt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),me=Pe?e.Buffer:o,be=e.Symbol,we=e.Uint8Array,De=me?me.allocUnsafe:o,Ne=An(ee.getPrototypeOf,ee),Le=ee.create,je=se.propertyIsEnumerable,Re=oe.splice,He=be?be.isConcatSpreadable:o,We=be?be.iterator:o,on=be?be.toStringTag:o,pn=function(){try{var t=Mo(ee,"defineProperty");return t({},"",{}),t}catch(t){}}(),Rn=e.clearTimeout!==ke.clearTimeout&&e.clearTimeout,Pn=i&&i.now!==ke.Date.now&&i.now,Hn=e.setTimeout!==ke.setTimeout&&e.setTimeout,Wn=te.ceil,Mn=te.floor,Fn=ee.getOwnPropertySymbols,qn=me?me.isBuffer:o,Un=e.isFinite,Bn=oe.join,Vn=An(ee.keys,ee),$n=te.max,Gn=te.min,zn=i.now,Kn=e.parseInt,Xn=te.random,Qn=oe.reverse,Yn=Mo(e,"DataView"),Jn=Mo(e,"Map"),Zn=Mo(e,"Promise"),tr=Mo(e,"Set"),er=Mo(e,"WeakMap"),nr=Mo(ee,"create"),rr=er&&new er,ir={},or=fa(Yn),ar=fa(Jn),sr=fa(Zn),ur=fa(tr),lr=fa(er),cr=be?be.prototype:o,fr=cr?cr.valueOf:o,hr=cr?cr.toString:o;function pr(t){if(Ds(t)&&!ms(t)&&!(t instanceof mr)){if(t instanceof vr)return t;if(ce.call(t,"__wrapped__"))return ha(t)}return new vr(t)}var dr=function(){function t(){}return function(e){if(!As(e))return{};if(Le)return Le(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function gr(){}function vr(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function mr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=H,this.__views__=[]}function yr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function _r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function br(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Er(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new br;++e<n;)this.add(t[e])}function wr(t){var e=this.__data__=new _r(t);this.size=e.size}function Tr(t,e){var n=ms(t),r=!n&&vs(t),i=!n&&!r&&Es(t),o=!n&&!r&&!i&&Ps(t),a=n||r||i||o,s=a?vn(t.length,re):[],u=s.length;for(var l in t)!e&&!ce.call(t,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Go(l,u))||s.push(l);return s}function xr(t){var e=t.length;return e?t[Ei(0,e-1)]:o}function Cr(t,e){return ua(no(t),jr(e,0,t.length))}function Sr(t){return ua(no(t))}function Ar(t,e,n){(n===o||ps(t[e],n))&&(n!==o||e in t)||Lr(t,e,n)}function Dr(t,e,n){var r=t[e];ce.call(t,e)&&ps(r,n)&&(n!==o||e in t)||Lr(t,e,n)}function Or(t,e){for(var n=t.length;n--;)if(ps(t[n][0],e))return n;return-1}function Ir(t,e,n,r){return Mr(t,function(t,i,o){e(r,t,n(t),o)}),r}function Nr(t,e){return t&&ro(e,iu(e),t)}function Lr(t,e,n){"__proto__"==e&&pn?pn(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function kr(t,e){for(var n=-1,i=e.length,a=r(i),s=null==t;++n<i;)a[n]=s?o:Zs(t,e[n]);return a}function jr(t,e,n){return t==t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function Rr(t,e,n,r,i,a){var s,u=e&h,l=e&p,c=e&d;if(n&&(s=i?n(t,r,i,a):n(t)),s!==o)return s;if(!As(t))return t;var f=ms(t);if(f){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&ce.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!u)return no(t,s)}else{var g=Uo(t),v=g==K||g==X;if(Es(t))return Qi(t,u);if(g==Z||g==q||v&&!i){if(s=l||v?{}:Vo(t),!u)return l?function(t,e){return ro(t,qo(t),e)}(t,function(t,e){return t&&ro(e,ou(e),t)}(s,t)):function(t,e){return ro(t,Fo(t),e)}(t,Nr(s,t))}else{if(!Ae[g])return i?t:{};s=function(t,e,n){var r,i,o,a=t.constructor;switch(e){case ut:return Yi(t);case V:case $:return new a(+t);case lt:return function(t,e){var n=e?Yi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case ct:case ft:case ht:case pt:case dt:case gt:case vt:case mt:case yt:return Ji(t,n);case Q:return new a;case Y:case rt:return new a(t);case et:return(o=new(i=t).constructor(i.source,Bt.exec(i))).lastIndex=i.lastIndex,o;case nt:return new a;case it:return r=t,fr?ee(fr.call(r)):{}}}(t,g,u)}}a||(a=new wr);var m=a.get(t);if(m)return m;if(a.set(t,s),ks(t))return t.forEach(function(r){s.add(Rr(r,e,n,r,t,a))}),s;if(Os(t))return t.forEach(function(r,i){s.set(i,Rr(r,e,n,i,t,a))}),s;var y=f?o:(c?l?Lo:No:l?ou:iu)(t);return ze(y||t,function(r,i){y&&(r=t[i=r]),Dr(s,i,Rr(r,e,n,i,t,a))}),s}function Pr(t,e,n){var r=n.length;if(null==t)return!r;for(t=ee(t);r--;){var i=n[r],a=e[i],s=t[i];if(s===o&&!(i in t)||!a(s))return!1}return!0}function Hr(t,e,n){if("function"!=typeof t)throw new ie(u);return ia(function(){t.apply(o,n)},e)}function Wr(t,e,n,r){var i=-1,o=Ye,s=!0,u=t.length,l=[],c=e.length;if(!u)return l;n&&(e=Ze(e,mn(n))),r?(o=Je,s=!1):e.length>=a&&(o=_n,s=!1,e=new Er(e));t:for(;++i<u;){var f=t[i],h=null==n?f:n(f);if(f=r||0!==f?f:0,s&&h==h){for(var p=c;p--;)if(e[p]===h)continue t;l.push(f)}else o(e,h,r)||l.push(f)}return l}pr.templateSettings={escape:St,evaluate:At,interpolate:Dt,variable:"",imports:{_:pr}},pr.prototype=gr.prototype,pr.prototype.constructor=pr,vr.prototype=dr(gr.prototype),vr.prototype.constructor=vr,mr.prototype=dr(gr.prototype),mr.prototype.constructor=mr,yr.prototype.clear=function(){this.__data__=nr?nr(null):{},this.size=0},yr.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},yr.prototype.get=function(t){var e=this.__data__;if(nr){var n=e[t];return n===l?o:n}return ce.call(e,t)?e[t]:o},yr.prototype.has=function(t){var e=this.__data__;return nr?e[t]!==o:ce.call(e,t)},yr.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=nr&&e===o?l:e,this},_r.prototype.clear=function(){this.__data__=[],this.size=0},_r.prototype.delete=function(t){var e=this.__data__,n=Or(e,t);return!(n<0||(n==e.length-1?e.pop():Re.call(e,n,1),--this.size,0))},_r.prototype.get=function(t){var e=this.__data__,n=Or(e,t);return n<0?o:e[n][1]},_r.prototype.has=function(t){return Or(this.__data__,t)>-1},_r.prototype.set=function(t,e){var n=this.__data__,r=Or(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},br.prototype.clear=function(){this.size=0,this.__data__={hash:new yr,map:new(Jn||_r),string:new yr}},br.prototype.delete=function(t){var e=Ho(this,t).delete(t);return this.size-=e?1:0,e},br.prototype.get=function(t){return Ho(this,t).get(t)},br.prototype.has=function(t){return Ho(this,t).has(t)},br.prototype.set=function(t,e){var n=Ho(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Er.prototype.add=Er.prototype.push=function(t){return this.__data__.set(t,l),this},Er.prototype.has=function(t){return this.__data__.has(t)},wr.prototype.clear=function(){this.__data__=new _r,this.size=0},wr.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},wr.prototype.get=function(t){return this.__data__.get(t)},wr.prototype.has=function(t){return this.__data__.has(t)},wr.prototype.set=function(t,e){var n=this.__data__;if(n instanceof _r){var r=n.__data__;if(!Jn||r.length<a-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new br(r)}return n.set(t,e),this.size=n.size,this};var Mr=ao(zr),Fr=ao(Kr,!0);function qr(t,e){var n=!0;return Mr(t,function(t,r,i){return n=!!e(t,r,i)}),n}function Ur(t,e,n){for(var r=-1,i=t.length;++r<i;){var a=t[r],s=e(a);if(null!=s&&(u===o?s==s&&!Rs(s):n(s,u)))var u=s,l=a}return l}function Br(t,e){var n=[];return Mr(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function Vr(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=$o),i||(i=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?Vr(s,e-1,n,r,i):tn(i,s):r||(i[i.length]=s)}return i}var $r=so(),Gr=so(!0);function zr(t,e){return t&&$r(t,e,iu)}function Kr(t,e){return t&&Gr(t,e,iu)}function Xr(t,e){return Qe(e,function(e){return xs(t[e])})}function Qr(t,e){for(var n=0,r=(e=Gi(e,t)).length;null!=t&&n<r;)t=t[ca(e[n++])];return n&&n==r?t:o}function Yr(t,e,n){var r=e(t);return ms(t)?r:tn(r,n(t))}function Jr(t){return null==t?t===o?ot:J:on&&on in ee(t)?function(t){var e=ce.call(t,on),n=t[on];try{t[on]=o;var r=!0}catch(t){}var i=pe.call(t);return r&&(e?t[on]=n:delete t[on]),i}(t):function(t){return pe.call(t)}(t)}function Zr(t,e){return t>e}function ti(t,e){return null!=t&&ce.call(t,e)}function ei(t,e){return null!=t&&e in ee(t)}function ni(t,e,n){for(var i=n?Je:Ye,a=t[0].length,s=t.length,u=s,l=r(s),c=1/0,f=[];u--;){var h=t[u];u&&e&&(h=Ze(h,mn(e))),c=Gn(h.length,c),l[u]=!n&&(e||a>=120&&h.length>=120)?new Er(u&&h):o}h=t[0];var p=-1,d=l[0];t:for(;++p<a&&f.length<c;){var g=h[p],v=e?e(g):g;if(g=n||0!==g?g:0,!(d?_n(d,v):i(f,v,n))){for(u=s;--u;){var m=l[u];if(!(m?_n(m,v):i(t[u],v,n)))continue t}d&&d.push(v),f.push(g)}}return f}function ri(t,e,n){var r=null==(t=ea(t,e=Gi(e,t)))?t:t[ca(Ta(e))];return null==r?o:$e(r,t,n)}function ii(t){return Ds(t)&&Jr(t)==q}function oi(t,e,n,r,i){return t===e||(null==t||null==e||!Ds(t)&&!Ds(e)?t!=t&&e!=e:function(t,e,n,r,i,a){var s=ms(t),u=ms(e),l=s?U:Uo(t),c=u?U:Uo(e),f=(l=l==q?Z:l)==Z,h=(c=c==q?Z:c)==Z,p=l==c;if(p&&Es(t)){if(!Es(e))return!1;s=!0,f=!1}if(p&&!f)return a||(a=new wr),s||Ps(t)?Oo(t,e,n,r,i,a):function(t,e,n,r,i,o,a){switch(n){case lt:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ut:return!(t.byteLength!=e.byteLength||!o(new we(t),new we(e)));case V:case $:case Y:return ps(+t,+e);case z:return t.name==e.name&&t.message==e.message;case et:case rt:return t==e+"";case Q:var s=Sn;case nt:var u=r&g;if(s||(s=On),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;r|=v,a.set(t,e);var c=Oo(s(t),s(e),r,i,o,a);return a.delete(t),c;case it:if(fr)return fr.call(t)==fr.call(e)}return!1}(t,e,l,n,r,i,a);if(!(n&g)){var d=f&&ce.call(t,"__wrapped__"),m=h&&ce.call(e,"__wrapped__");if(d||m){var y=d?t.value():t,_=m?e.value():e;return a||(a=new wr),i(y,_,n,r,a)}}return!!p&&(a||(a=new wr),function(t,e,n,r,i,a){var s=n&g,u=No(t),l=u.length,c=No(e).length;if(l!=c&&!s)return!1;for(var f=l;f--;){var h=u[f];if(!(s?h in e:ce.call(e,h)))return!1}var p=a.get(t);if(p&&a.get(e))return p==e;var d=!0;a.set(t,e),a.set(e,t);for(var v=s;++f<l;){h=u[f];var m=t[h],y=e[h];if(r)var _=s?r(y,m,h,e,t,a):r(m,y,h,t,e,a);if(!(_===o?m===y||i(m,y,n,r,a):_)){d=!1;break}v||(v="constructor"==h)}if(d&&!v){var b=t.constructor,E=e.constructor;b!=E&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof E&&E instanceof E)&&(d=!1)}return a.delete(t),a.delete(e),d}(t,e,n,r,i,a))}(t,e,n,r,oi,i))}function ai(t,e,n,r){var i=n.length,a=i,s=!r;if(null==t)return!a;for(t=ee(t);i--;){var u=n[i];if(s&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++i<a;){var l=(u=n[i])[0],c=t[l],f=u[1];if(s&&u[2]){if(c===o&&!(l in t))return!1}else{var h=new wr;if(r)var p=r(c,f,l,t,e,h);if(!(p===o?oi(f,c,g|v,r,h):p))return!1}}return!0}function si(t){return!(!As(t)||(e=t,he&&he in e))&&(xs(t)?ve:Gt).test(fa(t));var e}function ui(t){return"function"==typeof t?t:null==t?Iu:"object"==typeof t?ms(t)?di(t[0],t[1]):pi(t):Mu(t)}function li(t){if(!Yo(t))return Vn(t);var e=[];for(var n in ee(t))ce.call(t,n)&&"constructor"!=n&&e.push(n);return e}function ci(t){if(!As(t))return function(t){var e=[];if(null!=t)for(var n in ee(t))e.push(n);return e}(t);var e=Yo(t),n=[];for(var r in t)("constructor"!=r||!e&&ce.call(t,r))&&n.push(r);return n}function fi(t,e){return t<e}function hi(t,e){var n=-1,i=_s(t)?r(t.length):[];return Mr(t,function(t,r,o){i[++n]=e(t,r,o)}),i}function pi(t){var e=Wo(t);return 1==e.length&&e[0][2]?Zo(e[0][0],e[0][1]):function(n){return n===t||ai(n,t,e)}}function di(t,e){return Ko(t)&&Jo(e)?Zo(ca(t),e):function(n){var r=Zs(n,t);return r===o&&r===e?tu(n,t):oi(e,r,g|v)}}function gi(t,e,n,r,i){t!==e&&$r(e,function(a,s){if(As(a))i||(i=new wr),function(t,e,n,r,i,a,s){var u=na(t,n),l=na(e,n),c=s.get(l);if(c)Ar(t,n,c);else{var f=a?a(u,l,n+"",t,e,s):o,h=f===o;if(h){var p=ms(l),d=!p&&Es(l),g=!p&&!d&&Ps(l);f=l,p||d||g?ms(u)?f=u:bs(u)?f=no(u):d?(h=!1,f=Qi(l,!0)):g?(h=!1,f=Ji(l,!0)):f=[]:Ns(l)||vs(l)?(f=u,vs(u)?f=Vs(u):As(u)&&!xs(u)||(f=Vo(l))):h=!1}h&&(s.set(l,f),i(f,l,r,a,s),s.delete(l)),Ar(t,n,f)}}(t,e,s,n,gi,r,i);else{var u=r?r(na(t,s),a,s+"",t,e,i):o;u===o&&(u=a),Ar(t,s,u)}},ou)}function vi(t,e){var n=t.length;if(n)return Go(e+=e<0?n:0,n)?t[e]:o}function mi(t,e,n){var r=-1;return e=Ze(e.length?e:[Iu],mn(Po())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(hi(t,function(t,n,i){return{criteria:Ze(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,a=i.length,s=n.length;++r<a;){var u=Zi(i[r],o[r]);if(u){if(r>=s)return u;var l=n[r];return u*("desc"==l?-1:1)}}return t.index-e.index}(t,e,n)})}function yi(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],s=Qr(t,a);n(s,a)&&Si(o,Gi(a,t),s)}return o}function _i(t,e,n,r){var i=r?ln:un,o=-1,a=e.length,s=t;for(t===e&&(e=no(e)),n&&(s=Ze(t,mn(n)));++o<a;)for(var u=0,l=e[o],c=n?n(l):l;(u=i(s,c,u,r))>-1;)s!==t&&Re.call(s,u,1),Re.call(t,u,1);return t}function bi(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;Go(i)?Re.call(t,i,1):Wi(t,i)}}return t}function Ei(t,e){return t+Mn(Xn()*(e-t+1))}function wi(t,e){var n="";if(!t||e<1||e>j)return n;do{e%2&&(n+=t),(e=Mn(e/2))&&(t+=t)}while(e);return n}function Ti(t,e){return oa(ta(t,e,Iu),t+"")}function xi(t){return xr(pu(t))}function Ci(t,e){var n=pu(t);return ua(n,jr(e,0,n.length))}function Si(t,e,n,r){if(!As(t))return t;for(var i=-1,a=(e=Gi(e,t)).length,s=a-1,u=t;null!=u&&++i<a;){var l=ca(e[i]),c=n;if(i!=s){var f=u[l];(c=r?r(f,l,u):o)===o&&(c=As(f)?f:Go(e[i+1])?[]:{})}Dr(u,l,c),u=u[l]}return t}var Ai=rr?function(t,e){return rr.set(t,e),t}:Iu,Di=pn?function(t,e){return pn(t,"toString",{configurable:!0,enumerable:!1,value:Au(e),writable:!0})}:Iu;function Oi(t){return ua(pu(t))}function Ii(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=r(o);++i<o;)a[i]=t[i+e];return a}function Ni(t,e){var n;return Mr(t,function(t,r,i){return!(n=e(t,r,i))}),!!n}function Li(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=M){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!Rs(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}return ki(t,e,Iu,n)}function ki(t,e,n,r){e=n(e);for(var i=0,a=null==t?0:t.length,s=e!=e,u=null===e,l=Rs(e),c=e===o;i<a;){var f=Mn((i+a)/2),h=n(t[f]),p=h!==o,d=null===h,g=h==h,v=Rs(h);if(s)var m=r||g;else m=c?g&&(r||p):u?g&&p&&(r||!d):l?g&&p&&!d&&(r||!v):!d&&!v&&(r?h<=e:h<e);m?i=f+1:a=f}return Gn(a,W)}function ji(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n],s=e?e(a):a;if(!n||!ps(s,u)){var u=s;o[i++]=0===a?0:a}}return o}function Ri(t){return"number"==typeof t?t:Rs(t)?P:+t}function Pi(t){if("string"==typeof t)return t;if(ms(t))return Ze(t,Pi)+"";if(Rs(t))return hr?hr.call(t):"";var e=t+"";return"0"==e&&1/t==-k?"-0":e}function Hi(t,e,n){var r=-1,i=Ye,o=t.length,s=!0,u=[],l=u;if(n)s=!1,i=Je;else if(o>=a){var c=e?null:To(t);if(c)return On(c);s=!1,i=_n,l=new Er}else l=e?[]:u;t:for(;++r<o;){var f=t[r],h=e?e(f):f;if(f=n||0!==f?f:0,s&&h==h){for(var p=l.length;p--;)if(l[p]===h)continue t;e&&l.push(h),u.push(f)}else i(l,h,n)||(l!==u&&l.push(h),u.push(f))}return u}function Wi(t,e){return null==(t=ea(t,e=Gi(e,t)))||delete t[ca(Ta(e))]}function Mi(t,e,n,r){return Si(t,e,n(Qr(t,e)),r)}function Fi(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?Ii(t,r?0:o,r?o+1:i):Ii(t,r?o+1:0,r?i:o)}function qi(t,e){var n=t;return n instanceof mr&&(n=n.value()),en(e,function(t,e){return e.func.apply(e.thisArg,tn([t],e.args))},n)}function Ui(t,e,n){var i=t.length;if(i<2)return i?Hi(t[0]):[];for(var o=-1,a=r(i);++o<i;)for(var s=t[o],u=-1;++u<i;)u!=o&&(a[o]=Wr(a[o]||s,t[u],e,n));return Hi(Vr(a,1),e,n)}function Bi(t,e,n){for(var r=-1,i=t.length,a=e.length,s={};++r<i;){var u=r<a?e[r]:o;n(s,t[r],u)}return s}function Vi(t){return bs(t)?t:[]}function $i(t){return"function"==typeof t?t:Iu}function Gi(t,e){return ms(t)?t:Ko(t,e)?[t]:la($s(t))}var zi=Ti;function Ki(t,e,n){var r=t.length;return n=n===o?r:n,!e&&n>=r?t:Ii(t,e,n)}var Xi=Rn||function(t){return ke.clearTimeout(t)};function Qi(t,e){if(e)return t.slice();var n=t.length,r=De?De(n):new t.constructor(n);return t.copy(r),r}function Yi(t){var e=new t.constructor(t.byteLength);return new we(e).set(new we(t)),e}function Ji(t,e){var n=e?Yi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Zi(t,e){if(t!==e){var n=t!==o,r=null===t,i=t==t,a=Rs(t),s=e!==o,u=null===e,l=e==e,c=Rs(e);if(!u&&!c&&!a&&t>e||a&&s&&l&&!u&&!c||r&&s&&l||!n&&l||!i)return 1;if(!r&&!a&&!c&&t<e||c&&n&&i&&!r&&!a||u&&n&&i||!s&&i||!l)return-1}return 0}function to(t,e,n,i){for(var o=-1,a=t.length,s=n.length,u=-1,l=e.length,c=$n(a-s,0),f=r(l+c),h=!i;++u<l;)f[u]=e[u];for(;++o<s;)(h||o<a)&&(f[n[o]]=t[o]);for(;c--;)f[u++]=t[o++];return f}function eo(t,e,n,i){for(var o=-1,a=t.length,s=-1,u=n.length,l=-1,c=e.length,f=$n(a-u,0),h=r(f+c),p=!i;++o<f;)h[o]=t[o];for(var d=o;++l<c;)h[d+l]=e[l];for(;++s<u;)(p||o<a)&&(h[d+n[s]]=t[o++]);return h}function no(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function ro(t,e,n,r){var i=!n;n||(n={});for(var a=-1,s=e.length;++a<s;){var u=e[a],l=r?r(n[u],t[u],u,n,t):o;l===o&&(l=t[u]),i?Lr(n,u,l):Dr(n,u,l)}return n}function io(t,e){return function(n,r){var i=ms(n)?Ge:Ir,o=e?e():{};return i(n,t,Po(r,2),o)}}function oo(t){return Ti(function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;for(a=t.length>3&&"function"==typeof a?(i--,a):o,s&&zo(n[0],n[1],s)&&(a=i<3?o:a,i=1),e=ee(e);++r<i;){var u=n[r];u&&t(e,u,r,a)}return e})}function ao(t,e){return function(n,r){if(null==n)return n;if(!_s(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=ee(n);(e?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function so(t){return function(e,n,r){for(var i=-1,o=ee(e),a=r(e),s=a.length;s--;){var u=a[t?s:++i];if(!1===n(o[u],u,o))break}return e}}function uo(t){return function(e){var n=Cn(e=$s(e))?Ln(e):o,r=n?n[0]:e.charAt(0),i=n?Ki(n,1).join(""):e.slice(1);return r[t]()+i}}function lo(t){return function(e){return en(xu(vu(e).replace(ye,"")),t,"")}}function co(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=dr(t.prototype),r=t.apply(n,e);return As(r)?r:n}}function fo(t){return function(e,n,r){var i=ee(e);if(!_s(e)){var a=Po(n,3);e=iu(e),n=function(t){return a(i[t],t,i)}}var s=t(e,n,r);return s>-1?i[a?e[s]:s]:o}}function ho(t){return Io(function(e){var n=e.length,r=n,i=vr.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new ie(u);if(i&&!s&&"wrapper"==jo(a))var s=new vr([],!0)}for(r=s?r:n;++r<n;){var l=jo(a=e[r]),c="wrapper"==l?ko(a):o;s=c&&Xo(c[0])&&c[1]==(x|b|w|C)&&!c[4].length&&1==c[9]?s[jo(c[0])].apply(s,c[3]):1==a.length&&Xo(a)?s[l]():s.thru(a)}return function(){var t=arguments,r=t[0];if(s&&1==t.length&&ms(r))return s.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function po(t,e,n,i,a,s,u,l,c,f){var h=e&x,p=e&m,d=e&y,g=e&(b|E),v=e&S,_=d?o:co(t);return function m(){for(var y=arguments.length,b=r(y),E=y;E--;)b[E]=arguments[E];if(g)var w=Ro(m),T=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(b,w);if(i&&(b=to(b,i,a,g)),s&&(b=eo(b,s,u,g)),y-=T,g&&y<f){var x=Dn(b,w);return Eo(t,e,po,m.placeholder,n,b,x,l,c,f-y)}var C=p?n:this,S=d?C[t]:t;return y=b.length,l?b=function(t,e){for(var n=t.length,r=Gn(e.length,n),i=no(t);r--;){var a=e[r];t[r]=Go(a,n)?i[a]:o}return t}(b,l):v&&y>1&&b.reverse(),h&&c<y&&(b.length=c),this&&this!==ke&&this instanceof m&&(S=_||co(S)),S.apply(C,b)}}function go(t,e){return function(n,r){return function(t,e,n,r){return zr(t,function(t,i,o){e(r,n(t),i,o)}),r}(n,t,e(r),{})}}function vo(t,e){return function(n,r){var i;if(n===o&&r===o)return e;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=Pi(n),r=Pi(r)):(n=Ri(n),r=Ri(r)),i=t(n,r)}return i}}function mo(t){return Io(function(e){return e=Ze(e,mn(Po())),Ti(function(n){var r=this;return t(e,function(t){return $e(t,r,n)})})})}function yo(t,e){var n=(e=e===o?" ":Pi(e)).length;if(n<2)return n?wi(e,t):e;var r=wi(e,Wn(t/Nn(e)));return Cn(e)?Ki(Ln(r),0,t).join(""):r.slice(0,t)}function _o(t){return function(e,n,i){return i&&"number"!=typeof i&&zo(e,n,i)&&(n=i=o),e=Fs(e),n===o?(n=e,e=0):n=Fs(n),function(t,e,n,i){for(var o=-1,a=$n(Wn((e-t)/(n||1)),0),s=r(a);a--;)s[i?a:++o]=t,t+=n;return s}(e,n,i=i===o?e<n?1:-1:Fs(i),t)}}function bo(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Bs(e),n=Bs(n)),t(e,n)}}function Eo(t,e,n,r,i,a,s,u,l,c){var f=e&b;e|=f?w:T,(e&=~(f?T:w))&_||(e&=~(m|y));var h=[t,e,i,f?a:o,f?s:o,f?o:a,f?o:s,u,l,c],p=n.apply(o,h);return Xo(t)&&ra(p,h),p.placeholder=r,aa(p,t,e)}function wo(t){var e=te[t];return function(t,n){if(t=Bs(t),n=null==n?0:Gn(qs(n),292)){var r=($s(t)+"e").split("e");return+((r=($s(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var To=tr&&1/On(new tr([,-0]))[1]==k?function(t){return new tr(t)}:Ru;function xo(t){return function(e){var n=Uo(e);return n==Q?Sn(e):n==nt?In(e):function(t,e){return Ze(e,function(e){return[e,t[e]]})}(e,t(e))}}function Co(t,e,n,i,a,s,l,c){var h=e&y;if(!h&&"function"!=typeof t)throw new ie(u);var p=i?i.length:0;if(p||(e&=~(w|T),i=a=o),l=l===o?l:$n(qs(l),0),c=c===o?c:qs(c),p-=a?a.length:0,e&T){var d=i,g=a;i=a=o}var v=h?o:ko(t),S=[t,e,n,i,a,d,g,s,l,c];if(v&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<(m|y|x),a=r==x&&n==b||r==x&&n==C&&t[7].length<=e[8]||r==(x|C)&&e[7].length<=e[8]&&n==b;if(!o&&!a)return t;r&m&&(t[2]=e[2],i|=n&m?0:_);var s=e[3];if(s){var u=t[3];t[3]=u?to(u,s,e[4]):s,t[4]=u?Dn(t[3],f):e[4]}(s=e[5])&&(u=t[5],t[5]=u?eo(u,s,e[6]):s,t[6]=u?Dn(t[5],f):e[6]),(s=e[7])&&(t[7]=s),r&x&&(t[8]=null==t[8]?e[8]:Gn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}(S,v),t=S[0],e=S[1],n=S[2],i=S[3],a=S[4],!(c=S[9]=S[9]===o?h?0:t.length:$n(S[9]-p,0))&&e&(b|E)&&(e&=~(b|E)),e&&e!=m)A=e==b||e==E?function(t,e,n){var i=co(t);return function a(){for(var s=arguments.length,u=r(s),l=s,c=Ro(a);l--;)u[l]=arguments[l];var f=s<3&&u[0]!==c&&u[s-1]!==c?[]:Dn(u,c);return(s-=f.length)<n?Eo(t,e,po,a.placeholder,o,u,f,o,o,n-s):$e(this&&this!==ke&&this instanceof a?i:t,this,u)}}(t,e,c):e!=w&&e!=(m|w)||a.length?po.apply(o,S):function(t,e,n,i){var o=e&m,a=co(t);return function e(){for(var s=-1,u=arguments.length,l=-1,c=i.length,f=r(c+u),h=this&&this!==ke&&this instanceof e?a:t;++l<c;)f[l]=i[l];for(;u--;)f[l++]=arguments[++s];return $e(h,o?n:this,f)}}(t,e,n,i);else var A=function(t,e,n){var r=e&m,i=co(t);return function e(){return(this&&this!==ke&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return aa((v?Ai:ra)(A,S),t,e)}function So(t,e,n,r){return t===o||ps(t,se[n])&&!ce.call(r,n)?e:t}function Ao(t,e,n,r,i,a){return As(t)&&As(e)&&(a.set(e,t),gi(t,e,o,Ao,a),a.delete(e)),t}function Do(t){return Ns(t)?o:t}function Oo(t,e,n,r,i,a){var s=n&g,u=t.length,l=e.length;if(u!=l&&!(s&&l>u))return!1;var c=a.get(t);if(c&&a.get(e))return c==e;var f=-1,h=!0,p=n&v?new Er:o;for(a.set(t,e),a.set(e,t);++f<u;){var d=t[f],m=e[f];if(r)var y=s?r(m,d,f,e,t,a):r(d,m,f,t,e,a);if(y!==o){if(y)continue;h=!1;break}if(p){if(!rn(e,function(t,e){if(!_n(p,e)&&(d===t||i(d,t,n,r,a)))return p.push(e)})){h=!1;break}}else if(d!==m&&!i(d,m,n,r,a)){h=!1;break}}return a.delete(t),a.delete(e),h}function Io(t){return oa(ta(t,o,ya),t+"")}function No(t){return Yr(t,iu,Fo)}function Lo(t){return Yr(t,ou,qo)}var ko=rr?function(t){return rr.get(t)}:Ru;function jo(t){for(var e=t.name+"",n=ir[e],r=ce.call(ir,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function Ro(t){return(ce.call(pr,"placeholder")?pr:t).placeholder}function Po(){var t=pr.iteratee||Nu;return t=t===Nu?ui:t,arguments.length?t(arguments[0],arguments[1]):t}function Ho(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Wo(t){for(var e=iu(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Jo(i)]}return e}function Mo(t,e){var n=function(t,e){return null==t?o:t[e]}(t,e);return si(n)?n:o}var Fo=Fn?function(t){return null==t?[]:(t=ee(t),Qe(Fn(t),function(e){return je.call(t,e)}))}:Uu,qo=Fn?function(t){for(var e=[];t;)tn(e,Fo(t)),t=Ne(t);return e}:Uu,Uo=Jr;function Bo(t,e,n){for(var r=-1,i=(e=Gi(e,t)).length,o=!1;++r<i;){var a=ca(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&Ss(i)&&Go(a,i)&&(ms(t)||vs(t))}function Vo(t){return"function"!=typeof t.constructor||Yo(t)?{}:dr(Ne(t))}function $o(t){return ms(t)||vs(t)||!!(He&&t&&t[He])}function Go(t,e){var n=typeof t;return!!(e=null==e?j:e)&&("number"==n||"symbol"!=n&&Kt.test(t))&&t>-1&&t%1==0&&t<e}function zo(t,e,n){if(!As(n))return!1;var r=typeof e;return!!("number"==r?_s(n)&&Go(e,n.length):"string"==r&&e in n)&&ps(n[e],t)}function Ko(t,e){if(ms(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Rs(t))||It.test(t)||!Ot.test(t)||null!=e&&t in ee(e)}function Xo(t){var e=jo(t),n=pr[e];if("function"!=typeof n||!(e in mr.prototype))return!1;if(t===n)return!0;var r=ko(n);return!!r&&t===r[0]}(Yn&&Uo(new Yn(new ArrayBuffer(1)))!=lt||Jn&&Uo(new Jn)!=Q||Zn&&"[object Promise]"!=Uo(Zn.resolve())||tr&&Uo(new tr)!=nt||er&&Uo(new er)!=at)&&(Uo=function(t){var e=Jr(t),n=e==Z?t.constructor:o,r=n?fa(n):"";if(r)switch(r){case or:return lt;case ar:return Q;case sr:return"[object Promise]";case ur:return nt;case lr:return at}return e});var Qo=ue?xs:Bu;function Yo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||se)}function Jo(t){return t==t&&!As(t)}function Zo(t,e){return function(n){return null!=n&&n[t]===e&&(e!==o||t in ee(n))}}function ta(t,e,n){return e=$n(e===o?t.length-1:e,0),function(){for(var i=arguments,o=-1,a=$n(i.length-e,0),s=r(a);++o<a;)s[o]=i[e+o];o=-1;for(var u=r(e+1);++o<e;)u[o]=i[o];return u[e]=n(s),$e(t,this,u)}}function ea(t,e){return e.length<2?t:Qr(t,Ii(e,0,-1))}function na(t,e){if("__proto__"!=e)return t[e]}var ra=sa(Ai),ia=Hn||function(t,e){return ke.setTimeout(t,e)},oa=sa(Di);function aa(t,e,n){var r=e+"";return oa(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Ht,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return ze(F,function(n){var r="_."+n[0];e&n[1]&&!Ye(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(Wt);return e?e[1].split(Mt):[]}(r),n)))}function sa(t){var e=0,n=0;return function(){var r=zn(),i=I-(r-n);if(n=r,i>0){if(++e>=O)return arguments[0]}else e=0;return t.apply(o,arguments)}}function ua(t,e){var n=-1,r=t.length,i=r-1;for(e=e===o?r:e;++n<e;){var a=Ei(n,i),s=t[a];t[a]=t[n],t[n]=s}return t.length=e,t}var la=function(t){var e=ss(t,function(t){return n.size===c&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Nt,function(t,n,r,i){e.push(r?i.replace(qt,"$1"):n||t)}),e});function ca(t){if("string"==typeof t||Rs(t))return t;var e=t+"";return"0"==e&&1/t==-k?"-0":e}function fa(t){if(null!=t){try{return le.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function ha(t){if(t instanceof mr)return t.clone();var e=new vr(t.__wrapped__,t.__chain__);return e.__actions__=no(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var pa=Ti(function(t,e){return bs(t)?Wr(t,Vr(e,1,bs,!0)):[]}),da=Ti(function(t,e){var n=Ta(e);return bs(n)&&(n=o),bs(t)?Wr(t,Vr(e,1,bs,!0),Po(n,2)):[]}),ga=Ti(function(t,e){var n=Ta(e);return bs(n)&&(n=o),bs(t)?Wr(t,Vr(e,1,bs,!0),o,n):[]});function va(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:qs(n);return i<0&&(i=$n(r+i,0)),sn(t,Po(e,3),i)}function ma(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==o&&(i=qs(n),i=n<0?$n(r+i,0):Gn(i,r-1)),sn(t,Po(e,3),i,!0)}function ya(t){return null!=t&&t.length?Vr(t,1):[]}function _a(t){return t&&t.length?t[0]:o}var ba=Ti(function(t){var e=Ze(t,Vi);return e.length&&e[0]===t[0]?ni(e):[]}),Ea=Ti(function(t){var e=Ta(t),n=Ze(t,Vi);return e===Ta(n)?e=o:n.pop(),n.length&&n[0]===t[0]?ni(n,Po(e,2)):[]}),wa=Ti(function(t){var e=Ta(t),n=Ze(t,Vi);return(e="function"==typeof e?e:o)&&n.pop(),n.length&&n[0]===t[0]?ni(n,o,e):[]});function Ta(t){var e=null==t?0:t.length;return e?t[e-1]:o}var xa=Ti(Ca);function Ca(t,e){return t&&t.length&&e&&e.length?_i(t,e):t}var Sa=Io(function(t,e){var n=null==t?0:t.length,r=kr(t,e);return bi(t,Ze(e,function(t){return Go(t,n)?+t:t}).sort(Zi)),r});function Aa(t){return null==t?t:Qn.call(t)}var Da=Ti(function(t){return Hi(Vr(t,1,bs,!0))}),Oa=Ti(function(t){var e=Ta(t);return bs(e)&&(e=o),Hi(Vr(t,1,bs,!0),Po(e,2))}),Ia=Ti(function(t){var e=Ta(t);return e="function"==typeof e?e:o,Hi(Vr(t,1,bs,!0),o,e)});function Na(t){if(!t||!t.length)return[];var e=0;return t=Qe(t,function(t){if(bs(t))return e=$n(t.length,e),!0}),vn(e,function(e){return Ze(t,hn(e))})}function La(t,e){if(!t||!t.length)return[];var n=Na(t);return null==e?n:Ze(n,function(t){return $e(e,o,t)})}var ka=Ti(function(t,e){return bs(t)?Wr(t,e):[]}),ja=Ti(function(t){return Ui(Qe(t,bs))}),Ra=Ti(function(t){var e=Ta(t);return bs(e)&&(e=o),Ui(Qe(t,bs),Po(e,2))}),Pa=Ti(function(t){var e=Ta(t);return e="function"==typeof e?e:o,Ui(Qe(t,bs),o,e)}),Ha=Ti(Na);var Wa=Ti(function(t){var e=t.length,n=e>1?t[e-1]:o;return n="function"==typeof n?(t.pop(),n):o,La(t,n)});function Ma(t){var e=pr(t);return e.__chain__=!0,e}function Fa(t,e){return e(t)}var qa=Io(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return kr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof mr&&Go(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:Fa,args:[i],thisArg:o}),new vr(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(o),t})):this.thru(i)});var Ua=io(function(t,e,n){ce.call(t,n)?++t[n]:Lr(t,n,1)});var Ba=fo(va),Va=fo(ma);function $a(t,e){return(ms(t)?ze:Mr)(t,Po(e,3))}function Ga(t,e){return(ms(t)?Ke:Fr)(t,Po(e,3))}var za=io(function(t,e,n){ce.call(t,n)?t[n].push(e):Lr(t,n,[e])});var Ka=Ti(function(t,e,n){var i=-1,o="function"==typeof e,a=_s(t)?r(t.length):[];return Mr(t,function(t){a[++i]=o?$e(e,t,n):ri(t,e,n)}),a}),Xa=io(function(t,e,n){Lr(t,n,e)});function Qa(t,e){return(ms(t)?Ze:hi)(t,Po(e,3))}var Ya=io(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var Ja=Ti(function(t,e){if(null==t)return[];var n=e.length;return n>1&&zo(t,e[0],e[1])?e=[]:n>2&&zo(e[0],e[1],e[2])&&(e=[e[0]]),mi(t,Vr(e,1),[])}),Za=Pn||function(){return ke.Date.now()};function ts(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,Co(t,x,o,o,o,o,e)}function es(t,e){var n;if("function"!=typeof e)throw new ie(u);return t=qs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var ns=Ti(function(t,e,n){var r=m;if(n.length){var i=Dn(n,Ro(ns));r|=w}return Co(t,r,e,n,i)}),rs=Ti(function(t,e,n){var r=m|y;if(n.length){var i=Dn(n,Ro(rs));r|=w}return Co(e,r,t,n,i)});function is(t,e,n){var r,i,a,s,l,c,f=0,h=!1,p=!1,d=!0;if("function"!=typeof t)throw new ie(u);function g(e){var n=r,a=i;return r=i=o,f=e,s=t.apply(a,n)}function v(t){var n=t-c;return c===o||n>=e||n<0||p&&t-f>=a}function m(){var t=Za();if(v(t))return y(t);l=ia(m,function(t){var n=e-(t-c);return p?Gn(n,a-(t-f)):n}(t))}function y(t){return l=o,d&&r?g(t):(r=i=o,s)}function _(){var t=Za(),n=v(t);if(r=arguments,i=this,c=t,n){if(l===o)return function(t){return f=t,l=ia(m,e),h?g(t):s}(c);if(p)return l=ia(m,e),g(c)}return l===o&&(l=ia(m,e)),s}return e=Bs(e)||0,As(n)&&(h=!!n.leading,a=(p="maxWait"in n)?$n(Bs(n.maxWait)||0,e):a,d="trailing"in n?!!n.trailing:d),_.cancel=function(){l!==o&&Xi(l),f=0,r=c=i=l=o},_.flush=function(){return l===o?s:y(Za())},_}var os=Ti(function(t,e){return Hr(t,1,e)}),as=Ti(function(t,e,n){return Hr(t,Bs(e)||0,n)});function ss(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ie(u);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(ss.Cache||br),n}function us(t){if("function"!=typeof t)throw new ie(u);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}ss.Cache=br;var ls=zi(function(t,e){var n=(e=1==e.length&&ms(e[0])?Ze(e[0],mn(Po())):Ze(Vr(e,1),mn(Po()))).length;return Ti(function(r){for(var i=-1,o=Gn(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return $e(t,this,r)})}),cs=Ti(function(t,e){var n=Dn(e,Ro(cs));return Co(t,w,o,e,n)}),fs=Ti(function(t,e){var n=Dn(e,Ro(fs));return Co(t,T,o,e,n)}),hs=Io(function(t,e){return Co(t,C,o,o,o,e)});function ps(t,e){return t===e||t!=t&&e!=e}var ds=bo(Zr),gs=bo(function(t,e){return t>=e}),vs=ii(function(){return arguments}())?ii:function(t){return Ds(t)&&ce.call(t,"callee")&&!je.call(t,"callee")},ms=r.isArray,ys=Me?mn(Me):function(t){return Ds(t)&&Jr(t)==ut};function _s(t){return null!=t&&Ss(t.length)&&!xs(t)}function bs(t){return Ds(t)&&_s(t)}var Es=qn||Bu,ws=Fe?mn(Fe):function(t){return Ds(t)&&Jr(t)==$};function Ts(t){if(!Ds(t))return!1;var e=Jr(t);return e==z||e==G||"string"==typeof t.message&&"string"==typeof t.name&&!Ns(t)}function xs(t){if(!As(t))return!1;var e=Jr(t);return e==K||e==X||e==B||e==tt}function Cs(t){return"number"==typeof t&&t==qs(t)}function Ss(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=j}function As(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ds(t){return null!=t&&"object"==typeof t}var Os=qe?mn(qe):function(t){return Ds(t)&&Uo(t)==Q};function Is(t){return"number"==typeof t||Ds(t)&&Jr(t)==Y}function Ns(t){if(!Ds(t)||Jr(t)!=Z)return!1;var e=Ne(t);if(null===e)return!0;var n=ce.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&le.call(n)==de}var Ls=Ue?mn(Ue):function(t){return Ds(t)&&Jr(t)==et};var ks=Be?mn(Be):function(t){return Ds(t)&&Uo(t)==nt};function js(t){return"string"==typeof t||!ms(t)&&Ds(t)&&Jr(t)==rt}function Rs(t){return"symbol"==typeof t||Ds(t)&&Jr(t)==it}var Ps=Ve?mn(Ve):function(t){return Ds(t)&&Ss(t.length)&&!!Se[Jr(t)]};var Hs=bo(fi),Ws=bo(function(t,e){return t<=e});function Ms(t){if(!t)return[];if(_s(t))return js(t)?Ln(t):no(t);if(We&&t[We])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[We]());var e=Uo(t);return(e==Q?Sn:e==nt?On:pu)(t)}function Fs(t){return t?(t=Bs(t))===k||t===-k?(t<0?-1:1)*R:t==t?t:0:0===t?t:0}function qs(t){var e=Fs(t),n=e%1;return e==e?n?e-n:e:0}function Us(t){return t?jr(qs(t),0,H):0}function Bs(t){if("number"==typeof t)return t;if(Rs(t))return P;if(As(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=As(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(jt,"");var n=$t.test(t);return n||zt.test(t)?Ie(t.slice(2),n?2:8):Vt.test(t)?P:+t}function Vs(t){return ro(t,ou(t))}function $s(t){return null==t?"":Pi(t)}var Gs=oo(function(t,e){if(Yo(e)||_s(e))ro(e,iu(e),t);else for(var n in e)ce.call(e,n)&&Dr(t,n,e[n])}),zs=oo(function(t,e){ro(e,ou(e),t)}),Ks=oo(function(t,e,n,r){ro(e,ou(e),t,r)}),Xs=oo(function(t,e,n,r){ro(e,iu(e),t,r)}),Qs=Io(kr);var Ys=Ti(function(t,e){t=ee(t);var n=-1,r=e.length,i=r>2?e[2]:o;for(i&&zo(e[0],e[1],i)&&(r=1);++n<r;)for(var a=e[n],s=ou(a),u=-1,l=s.length;++u<l;){var c=s[u],f=t[c];(f===o||ps(f,se[c])&&!ce.call(t,c))&&(t[c]=a[c])}return t}),Js=Ti(function(t){return t.push(o,Ao),$e(su,o,t)});function Zs(t,e,n){var r=null==t?o:Qr(t,e);return r===o?n:r}function tu(t,e){return null!=t&&Bo(t,e,ei)}var eu=go(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),t[e]=n},Au(Iu)),nu=go(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),ce.call(t,e)?t[e].push(n):t[e]=[n]},Po),ru=Ti(ri);function iu(t){return _s(t)?Tr(t):li(t)}function ou(t){return _s(t)?Tr(t,!0):ci(t)}var au=oo(function(t,e,n){gi(t,e,n)}),su=oo(function(t,e,n,r){gi(t,e,n,r)}),uu=Io(function(t,e){var n={};if(null==t)return n;var r=!1;e=Ze(e,function(e){return e=Gi(e,t),r||(r=e.length>1),e}),ro(t,Lo(t),n),r&&(n=Rr(n,h|p|d,Do));for(var i=e.length;i--;)Wi(n,e[i]);return n});var lu=Io(function(t,e){return null==t?{}:function(t,e){return yi(t,e,function(e,n){return tu(t,n)})}(t,e)});function cu(t,e){if(null==t)return{};var n=Ze(Lo(t),function(t){return[t]});return e=Po(e),yi(t,n,function(t,n){return e(t,n[0])})}var fu=xo(iu),hu=xo(ou);function pu(t){return null==t?[]:yn(t,iu(t))}var du=lo(function(t,e,n){return e=e.toLowerCase(),t+(n?gu(e):e)});function gu(t){return Tu($s(t).toLowerCase())}function vu(t){return(t=$s(t))&&t.replace(Xt,wn).replace(_e,"")}var mu=lo(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),yu=lo(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),_u=uo("toLowerCase");var bu=lo(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var Eu=lo(function(t,e,n){return t+(n?" ":"")+Tu(e)});var wu=lo(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Tu=uo("toUpperCase");function xu(t,e,n){return t=$s(t),(e=n?o:e)===o?function(t){return Te.test(t)}(t)?function(t){return t.match(Ee)||[]}(t):function(t){return t.match(Ft)||[]}(t):t.match(e)||[]}var Cu=Ti(function(t,e){try{return $e(t,o,e)}catch(t){return Ts(t)?t:new Jt(t)}}),Su=Io(function(t,e){return ze(e,function(e){e=ca(e),Lr(t,e,ns(t[e],t))}),t});function Au(t){return function(){return t}}var Du=ho(),Ou=ho(!0);function Iu(t){return t}function Nu(t){return ui("function"==typeof t?t:Rr(t,h))}var Lu=Ti(function(t,e){return function(n){return ri(n,t,e)}}),ku=Ti(function(t,e){return function(n){return ri(t,n,e)}});function ju(t,e,n){var r=iu(e),i=Xr(e,r);null!=n||As(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Xr(e,iu(e)));var o=!(As(n)&&"chain"in n&&!n.chain),a=xs(t);return ze(i,function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=no(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,tn([this.value()],arguments))})}),t}function Ru(){}var Pu=mo(Ze),Hu=mo(Xe),Wu=mo(rn);function Mu(t){return Ko(t)?hn(ca(t)):function(t){return function(e){return Qr(e,t)}}(t)}var Fu=_o(),qu=_o(!0);function Uu(){return[]}function Bu(){return!1}var Vu=vo(function(t,e){return t+e},0),$u=wo("ceil"),Gu=vo(function(t,e){return t/e},1),zu=wo("floor");var Ku,Xu=vo(function(t,e){return t*e},1),Qu=wo("round"),Yu=vo(function(t,e){return t-e},0);return pr.after=function(t,e){if("function"!=typeof e)throw new ie(u);return t=qs(t),function(){if(--t<1)return e.apply(this,arguments)}},pr.ary=ts,pr.assign=Gs,pr.assignIn=zs,pr.assignInWith=Ks,pr.assignWith=Xs,pr.at=Qs,pr.before=es,pr.bind=ns,pr.bindAll=Su,pr.bindKey=rs,pr.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return ms(t)?t:[t]},pr.chain=Ma,pr.chunk=function(t,e,n){e=(n?zo(t,e,n):e===o)?1:$n(qs(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var a=0,s=0,u=r(Wn(i/e));a<i;)u[s++]=Ii(t,a,a+=e);return u},pr.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},pr.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return tn(ms(n)?no(n):[n],Vr(e,1))},pr.cond=function(t){var e=null==t?0:t.length,n=Po();return t=e?Ze(t,function(t){if("function"!=typeof t[1])throw new ie(u);return[n(t[0]),t[1]]}):[],Ti(function(n){for(var r=-1;++r<e;){var i=t[r];if($e(i[0],this,n))return $e(i[1],this,n)}})},pr.conforms=function(t){return function(t){var e=iu(t);return function(n){return Pr(n,t,e)}}(Rr(t,h))},pr.constant=Au,pr.countBy=Ua,pr.create=function(t,e){var n=dr(t);return null==e?n:Nr(n,e)},pr.curry=function t(e,n,r){var i=Co(e,b,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},pr.curryRight=function t(e,n,r){var i=Co(e,E,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},pr.debounce=is,pr.defaults=Ys,pr.defaultsDeep=Js,pr.defer=os,pr.delay=as,pr.difference=pa,pr.differenceBy=da,pr.differenceWith=ga,pr.drop=function(t,e,n){var r=null==t?0:t.length;return r?Ii(t,(e=n||e===o?1:qs(e))<0?0:e,r):[]},pr.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?Ii(t,0,(e=r-(e=n||e===o?1:qs(e)))<0?0:e):[]},pr.dropRightWhile=function(t,e){return t&&t.length?Fi(t,Po(e,3),!0,!0):[]},pr.dropWhile=function(t,e){return t&&t.length?Fi(t,Po(e,3),!0):[]},pr.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&zo(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=qs(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:qs(r))<0&&(r+=i),r=n>r?0:Us(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},pr.filter=function(t,e){return(ms(t)?Qe:Br)(t,Po(e,3))},pr.flatMap=function(t,e){return Vr(Qa(t,e),1)},pr.flatMapDeep=function(t,e){return Vr(Qa(t,e),k)},pr.flatMapDepth=function(t,e,n){return n=n===o?1:qs(n),Vr(Qa(t,e),n)},pr.flatten=ya,pr.flattenDeep=function(t){return null!=t&&t.length?Vr(t,k):[]},pr.flattenDepth=function(t,e){return null!=t&&t.length?Vr(t,e=e===o?1:qs(e)):[]},pr.flip=function(t){return Co(t,S)},pr.flow=Du,pr.flowRight=Ou,pr.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},pr.functions=function(t){return null==t?[]:Xr(t,iu(t))},pr.functionsIn=function(t){return null==t?[]:Xr(t,ou(t))},pr.groupBy=za,pr.initial=function(t){return null!=t&&t.length?Ii(t,0,-1):[]},pr.intersection=ba,pr.intersectionBy=Ea,pr.intersectionWith=wa,pr.invert=eu,pr.invertBy=nu,pr.invokeMap=Ka,pr.iteratee=Nu,pr.keyBy=Xa,pr.keys=iu,pr.keysIn=ou,pr.map=Qa,pr.mapKeys=function(t,e){var n={};return e=Po(e,3),zr(t,function(t,r,i){Lr(n,e(t,r,i),t)}),n},pr.mapValues=function(t,e){var n={};return e=Po(e,3),zr(t,function(t,r,i){Lr(n,r,e(t,r,i))}),n},pr.matches=function(t){return pi(Rr(t,h))},pr.matchesProperty=function(t,e){return di(t,Rr(e,h))},pr.memoize=ss,pr.merge=au,pr.mergeWith=su,pr.method=Lu,pr.methodOf=ku,pr.mixin=ju,pr.negate=us,pr.nthArg=function(t){return t=qs(t),Ti(function(e){return vi(e,t)})},pr.omit=uu,pr.omitBy=function(t,e){return cu(t,us(Po(e)))},pr.once=function(t){return es(2,t)},pr.orderBy=function(t,e,n,r){return null==t?[]:(ms(e)||(e=null==e?[]:[e]),ms(n=r?o:n)||(n=null==n?[]:[n]),mi(t,e,n))},pr.over=Pu,pr.overArgs=ls,pr.overEvery=Hu,pr.overSome=Wu,pr.partial=cs,pr.partialRight=fs,pr.partition=Ya,pr.pick=lu,pr.pickBy=cu,pr.property=Mu,pr.propertyOf=function(t){return function(e){return null==t?o:Qr(t,e)}},pr.pull=xa,pr.pullAll=Ca,pr.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?_i(t,e,Po(n,2)):t},pr.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?_i(t,e,o,n):t},pr.pullAt=Sa,pr.range=Fu,pr.rangeRight=qu,pr.rearg=hs,pr.reject=function(t,e){return(ms(t)?Qe:Br)(t,us(Po(e,3)))},pr.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=Po(e,3);++r<o;){var a=t[r];e(a,r,t)&&(n.push(a),i.push(r))}return bi(t,i),n},pr.rest=function(t,e){if("function"!=typeof t)throw new ie(u);return Ti(t,e=e===o?e:qs(e))},pr.reverse=Aa,pr.sampleSize=function(t,e,n){return e=(n?zo(t,e,n):e===o)?1:qs(e),(ms(t)?Cr:Ci)(t,e)},pr.set=function(t,e,n){return null==t?t:Si(t,e,n)},pr.setWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Si(t,e,n,r)},pr.shuffle=function(t){return(ms(t)?Sr:Oi)(t)},pr.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&zo(t,e,n)?(e=0,n=r):(e=null==e?0:qs(e),n=n===o?r:qs(n)),Ii(t,e,n)):[]},pr.sortBy=Ja,pr.sortedUniq=function(t){return t&&t.length?ji(t):[]},pr.sortedUniqBy=function(t,e){return t&&t.length?ji(t,Po(e,2)):[]},pr.split=function(t,e,n){return n&&"number"!=typeof n&&zo(t,e,n)&&(e=n=o),(n=n===o?H:n>>>0)?(t=$s(t))&&("string"==typeof e||null!=e&&!Ls(e))&&!(e=Pi(e))&&Cn(t)?Ki(Ln(t),0,n):t.split(e,n):[]},pr.spread=function(t,e){if("function"!=typeof t)throw new ie(u);return e=null==e?0:$n(qs(e),0),Ti(function(n){var r=n[e],i=Ki(n,0,e);return r&&tn(i,r),$e(t,this,i)})},pr.tail=function(t){var e=null==t?0:t.length;return e?Ii(t,1,e):[]},pr.take=function(t,e,n){return t&&t.length?Ii(t,0,(e=n||e===o?1:qs(e))<0?0:e):[]},pr.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Ii(t,(e=r-(e=n||e===o?1:qs(e)))<0?0:e,r):[]},pr.takeRightWhile=function(t,e){return t&&t.length?Fi(t,Po(e,3),!1,!0):[]},pr.takeWhile=function(t,e){return t&&t.length?Fi(t,Po(e,3)):[]},pr.tap=function(t,e){return e(t),t},pr.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new ie(u);return As(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),is(t,e,{leading:r,maxWait:e,trailing:i})},pr.thru=Fa,pr.toArray=Ms,pr.toPairs=fu,pr.toPairsIn=hu,pr.toPath=function(t){return ms(t)?Ze(t,ca):Rs(t)?[t]:no(la($s(t)))},pr.toPlainObject=Vs,pr.transform=function(t,e,n){var r=ms(t),i=r||Es(t)||Ps(t);if(e=Po(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:As(t)&&xs(o)?dr(Ne(t)):{}}return(i?ze:zr)(t,function(t,r,i){return e(n,t,r,i)}),n},pr.unary=function(t){return ts(t,1)},pr.union=Da,pr.unionBy=Oa,pr.unionWith=Ia,pr.uniq=function(t){return t&&t.length?Hi(t):[]},pr.uniqBy=function(t,e){return t&&t.length?Hi(t,Po(e,2)):[]},pr.uniqWith=function(t,e){return e="function"==typeof e?e:o,t&&t.length?Hi(t,o,e):[]},pr.unset=function(t,e){return null==t||Wi(t,e)},pr.unzip=Na,pr.unzipWith=La,pr.update=function(t,e,n){return null==t?t:Mi(t,e,$i(n))},pr.updateWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Mi(t,e,$i(n),r)},pr.values=pu,pr.valuesIn=function(t){return null==t?[]:yn(t,ou(t))},pr.without=ka,pr.words=xu,pr.wrap=function(t,e){return cs($i(e),t)},pr.xor=ja,pr.xorBy=Ra,pr.xorWith=Pa,pr.zip=Ha,pr.zipObject=function(t,e){return Bi(t||[],e||[],Dr)},pr.zipObjectDeep=function(t,e){return Bi(t||[],e||[],Si)},pr.zipWith=Wa,pr.entries=fu,pr.entriesIn=hu,pr.extend=zs,pr.extendWith=Ks,ju(pr,pr),pr.add=Vu,pr.attempt=Cu,pr.camelCase=du,pr.capitalize=gu,pr.ceil=$u,pr.clamp=function(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=(n=Bs(n))==n?n:0),e!==o&&(e=(e=Bs(e))==e?e:0),jr(Bs(t),e,n)},pr.clone=function(t){return Rr(t,d)},pr.cloneDeep=function(t){return Rr(t,h|d)},pr.cloneDeepWith=function(t,e){return Rr(t,h|d,e="function"==typeof e?e:o)},pr.cloneWith=function(t,e){return Rr(t,d,e="function"==typeof e?e:o)},pr.conformsTo=function(t,e){return null==e||Pr(t,e,iu(e))},pr.deburr=vu,pr.defaultTo=function(t,e){return null==t||t!=t?e:t},pr.divide=Gu,pr.endsWith=function(t,e,n){t=$s(t),e=Pi(e);var r=t.length,i=n=n===o?r:jr(qs(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},pr.eq=ps,pr.escape=function(t){return(t=$s(t))&&Ct.test(t)?t.replace(Tt,Tn):t},pr.escapeRegExp=function(t){return(t=$s(t))&&kt.test(t)?t.replace(Lt,"\\$&"):t},pr.every=function(t,e,n){var r=ms(t)?Xe:qr;return n&&zo(t,e,n)&&(e=o),r(t,Po(e,3))},pr.find=Ba,pr.findIndex=va,pr.findKey=function(t,e){return an(t,Po(e,3),zr)},pr.findLast=Va,pr.findLastIndex=ma,pr.findLastKey=function(t,e){return an(t,Po(e,3),Kr)},pr.floor=zu,pr.forEach=$a,pr.forEachRight=Ga,pr.forIn=function(t,e){return null==t?t:$r(t,Po(e,3),ou)},pr.forInRight=function(t,e){return null==t?t:Gr(t,Po(e,3),ou)},pr.forOwn=function(t,e){return t&&zr(t,Po(e,3))},pr.forOwnRight=function(t,e){return t&&Kr(t,Po(e,3))},pr.get=Zs,pr.gt=ds,pr.gte=gs,pr.has=function(t,e){return null!=t&&Bo(t,e,ti)},pr.hasIn=tu,pr.head=_a,pr.identity=Iu,pr.includes=function(t,e,n,r){t=_s(t)?t:pu(t),n=n&&!r?qs(n):0;var i=t.length;return n<0&&(n=$n(i+n,0)),js(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&un(t,e,n)>-1},pr.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:qs(n);return i<0&&(i=$n(r+i,0)),un(t,e,i)},pr.inRange=function(t,e,n){return e=Fs(e),n===o?(n=e,e=0):n=Fs(n),function(t,e,n){return t>=Gn(e,n)&&t<$n(e,n)}(t=Bs(t),e,n)},pr.invoke=ru,pr.isArguments=vs,pr.isArray=ms,pr.isArrayBuffer=ys,pr.isArrayLike=_s,pr.isArrayLikeObject=bs,pr.isBoolean=function(t){return!0===t||!1===t||Ds(t)&&Jr(t)==V},pr.isBuffer=Es,pr.isDate=ws,pr.isElement=function(t){return Ds(t)&&1===t.nodeType&&!Ns(t)},pr.isEmpty=function(t){if(null==t)return!0;if(_s(t)&&(ms(t)||"string"==typeof t||"function"==typeof t.splice||Es(t)||Ps(t)||vs(t)))return!t.length;var e=Uo(t);if(e==Q||e==nt)return!t.size;if(Yo(t))return!li(t).length;for(var n in t)if(ce.call(t,n))return!1;return!0},pr.isEqual=function(t,e){return oi(t,e)},pr.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:o)?n(t,e):o;return r===o?oi(t,e,o,n):!!r},pr.isError=Ts,pr.isFinite=function(t){return"number"==typeof t&&Un(t)},pr.isFunction=xs,pr.isInteger=Cs,pr.isLength=Ss,pr.isMap=Os,pr.isMatch=function(t,e){return t===e||ai(t,e,Wo(e))},pr.isMatchWith=function(t,e,n){return n="function"==typeof n?n:o,ai(t,e,Wo(e),n)},pr.isNaN=function(t){return Is(t)&&t!=+t},pr.isNative=function(t){if(Qo(t))throw new Jt(s);return si(t)},pr.isNil=function(t){return null==t},pr.isNull=function(t){return null===t},pr.isNumber=Is,pr.isObject=As,pr.isObjectLike=Ds,pr.isPlainObject=Ns,pr.isRegExp=Ls,pr.isSafeInteger=function(t){return Cs(t)&&t>=-j&&t<=j},pr.isSet=ks,pr.isString=js,pr.isSymbol=Rs,pr.isTypedArray=Ps,pr.isUndefined=function(t){return t===o},pr.isWeakMap=function(t){return Ds(t)&&Uo(t)==at},pr.isWeakSet=function(t){return Ds(t)&&Jr(t)==st},pr.join=function(t,e){return null==t?"":Bn.call(t,e)},pr.kebabCase=mu,pr.last=Ta,pr.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=qs(n))<0?$n(r+i,0):Gn(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):sn(t,cn,i,!0)},pr.lowerCase=yu,pr.lowerFirst=_u,pr.lt=Hs,pr.lte=Ws,pr.max=function(t){return t&&t.length?Ur(t,Iu,Zr):o},pr.maxBy=function(t,e){return t&&t.length?Ur(t,Po(e,2),Zr):o},pr.mean=function(t){return fn(t,Iu)},pr.meanBy=function(t,e){return fn(t,Po(e,2))},pr.min=function(t){return t&&t.length?Ur(t,Iu,fi):o},pr.minBy=function(t,e){return t&&t.length?Ur(t,Po(e,2),fi):o},pr.stubArray=Uu,pr.stubFalse=Bu,pr.stubObject=function(){return{}},pr.stubString=function(){return""},pr.stubTrue=function(){return!0},pr.multiply=Xu,pr.nth=function(t,e){return t&&t.length?vi(t,qs(e)):o},pr.noConflict=function(){return ke._===this&&(ke._=ge),this},pr.noop=Ru,pr.now=Za,pr.pad=function(t,e,n){t=$s(t);var r=(e=qs(e))?Nn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return yo(Mn(i),n)+t+yo(Wn(i),n)},pr.padEnd=function(t,e,n){t=$s(t);var r=(e=qs(e))?Nn(t):0;return e&&r<e?t+yo(e-r,n):t},pr.padStart=function(t,e,n){t=$s(t);var r=(e=qs(e))?Nn(t):0;return e&&r<e?yo(e-r,n)+t:t},pr.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Kn($s(t).replace(Rt,""),e||0)},pr.random=function(t,e,n){if(n&&"boolean"!=typeof n&&zo(t,e,n)&&(e=n=o),n===o&&("boolean"==typeof e?(n=e,e=o):"boolean"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=Fs(t),e===o?(e=t,t=0):e=Fs(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Xn();return Gn(t+i*(e-t+Oe("1e-"+((i+"").length-1))),e)}return Ei(t,e)},pr.reduce=function(t,e,n){var r=ms(t)?en:dn,i=arguments.length<3;return r(t,Po(e,4),n,i,Mr)},pr.reduceRight=function(t,e,n){var r=ms(t)?nn:dn,i=arguments.length<3;return r(t,Po(e,4),n,i,Fr)},pr.repeat=function(t,e,n){return e=(n?zo(t,e,n):e===o)?1:qs(e),wi($s(t),e)},pr.replace=function(){var t=arguments,e=$s(t[0]);return t.length<3?e:e.replace(t[1],t[2])},pr.result=function(t,e,n){var r=-1,i=(e=Gi(e,t)).length;for(i||(i=1,t=o);++r<i;){var a=null==t?o:t[ca(e[r])];a===o&&(r=i,a=n),t=xs(a)?a.call(t):a}return t},pr.round=Qu,pr.runInContext=t,pr.sample=function(t){return(ms(t)?xr:xi)(t)},pr.size=function(t){if(null==t)return 0;if(_s(t))return js(t)?Nn(t):t.length;var e=Uo(t);return e==Q||e==nt?t.size:li(t).length},pr.snakeCase=bu,pr.some=function(t,e,n){var r=ms(t)?rn:Ni;return n&&zo(t,e,n)&&(e=o),r(t,Po(e,3))},pr.sortedIndex=function(t,e){return Li(t,e)},pr.sortedIndexBy=function(t,e,n){return ki(t,e,Po(n,2))},pr.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=Li(t,e);if(r<n&&ps(t[r],e))return r}return-1},pr.sortedLastIndex=function(t,e){return Li(t,e,!0)},pr.sortedLastIndexBy=function(t,e,n){return ki(t,e,Po(n,2),!0)},pr.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=Li(t,e,!0)-1;if(ps(t[n],e))return n}return-1},pr.startCase=Eu,pr.startsWith=function(t,e,n){return t=$s(t),n=null==n?0:jr(qs(n),0,t.length),e=Pi(e),t.slice(n,n+e.length)==e},pr.subtract=Yu,pr.sum=function(t){return t&&t.length?gn(t,Iu):0},pr.sumBy=function(t,e){return t&&t.length?gn(t,Po(e,2)):0},pr.template=function(t,e,n){var r=pr.templateSettings;n&&zo(t,e,n)&&(e=o),t=$s(t),e=Ks({},e,r,So);var i,a,s=Ks({},e.imports,r.imports,So),u=iu(s),l=yn(s,u),c=0,f=e.interpolate||Qt,h="__p += '",p=ne((e.escape||Qt).source+"|"+f.source+"|"+(f===Dt?Ut:Qt).source+"|"+(e.evaluate||Qt).source+"|$","g"),d="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++Ce+"]")+"\n";t.replace(p,function(e,n,r,o,s,u){return r||(r=o),h+=t.slice(c,u).replace(Yt,xn),n&&(i=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+e.length,e}),h+="';\n";var g=e.variable;g||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(_t,""):h).replace(bt,"$1").replace(Et,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=Cu(function(){return Zt(u,d+"return "+h).apply(o,l)});if(v.source=h,Ts(v))throw v;return v},pr.times=function(t,e){if((t=qs(t))<1||t>j)return[];var n=H,r=Gn(t,H);e=Po(e),t-=H;for(var i=vn(r,e);++n<t;)e(n);return i},pr.toFinite=Fs,pr.toInteger=qs,pr.toLength=Us,pr.toLower=function(t){return $s(t).toLowerCase()},pr.toNumber=Bs,pr.toSafeInteger=function(t){return t?jr(qs(t),-j,j):0===t?t:0},pr.toString=$s,pr.toUpper=function(t){return $s(t).toUpperCase()},pr.trim=function(t,e,n){if((t=$s(t))&&(n||e===o))return t.replace(jt,"");if(!t||!(e=Pi(e)))return t;var r=Ln(t),i=Ln(e);return Ki(r,bn(r,i),En(r,i)+1).join("")},pr.trimEnd=function(t,e,n){if((t=$s(t))&&(n||e===o))return t.replace(Pt,"");if(!t||!(e=Pi(e)))return t;var r=Ln(t);return Ki(r,0,En(r,Ln(e))+1).join("")},pr.trimStart=function(t,e,n){if((t=$s(t))&&(n||e===o))return t.replace(Rt,"");if(!t||!(e=Pi(e)))return t;var r=Ln(t);return Ki(r,bn(r,Ln(e))).join("")},pr.truncate=function(t,e){var n=A,r=D;if(As(e)){var i="separator"in e?e.separator:i;n="length"in e?qs(e.length):n,r="omission"in e?Pi(e.omission):r}var a=(t=$s(t)).length;if(Cn(t)){var s=Ln(t);a=s.length}if(n>=a)return t;var u=n-Nn(r);if(u<1)return r;var l=s?Ki(s,0,u).join(""):t.slice(0,u);if(i===o)return l+r;if(s&&(u+=l.length-u),Ls(i)){if(t.slice(u).search(i)){var c,f=l;for(i.global||(i=ne(i.source,$s(Bt.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var h=c.index;l=l.slice(0,h===o?u:h)}}else if(t.indexOf(Pi(i),u)!=u){var p=l.lastIndexOf(i);p>-1&&(l=l.slice(0,p))}return l+r},pr.unescape=function(t){return(t=$s(t))&&xt.test(t)?t.replace(wt,kn):t},pr.uniqueId=function(t){var e=++fe;return $s(t)+e},pr.upperCase=wu,pr.upperFirst=Tu,pr.each=$a,pr.eachRight=Ga,pr.first=_a,ju(pr,(Ku={},zr(pr,function(t,e){ce.call(pr.prototype,e)||(Ku[e]=t)}),Ku),{chain:!1}),pr.VERSION="4.17.11",ze(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){pr[t].placeholder=pr}),ze(["drop","take"],function(t,e){mr.prototype[t]=function(n){n=n===o?1:$n(qs(n),0);var r=this.__filtered__&&!e?new mr(this):this.clone();return r.__filtered__?r.__takeCount__=Gn(n,r.__takeCount__):r.__views__.push({size:Gn(n,H),type:t+(r.__dir__<0?"Right":"")}),r},mr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),ze(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==N||3==n;mr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Po(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),ze(["head","last"],function(t,e){var n="take"+(e?"Right":"");mr.prototype[t]=function(){return this[n](1).value()[0]}}),ze(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");mr.prototype[t]=function(){return this.__filtered__?new mr(this):this[n](1)}}),mr.prototype.compact=function(){return this.filter(Iu)},mr.prototype.find=function(t){return this.filter(t).head()},mr.prototype.findLast=function(t){return this.reverse().find(t)},mr.prototype.invokeMap=Ti(function(t,e){return"function"==typeof t?new mr(this):this.map(function(n){return ri(n,t,e)})}),mr.prototype.reject=function(t){return this.filter(us(Po(t)))},mr.prototype.slice=function(t,e){t=qs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new mr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(n=(e=qs(e))<0?n.dropRight(-e):n.take(e-t)),n)},mr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},mr.prototype.toArray=function(){return this.take(H)},zr(mr.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=pr[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);i&&(pr.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,u=e instanceof mr,l=s[0],c=u||ms(e),f=function(t){var e=i.apply(pr,tn([t],s));return r&&h?e[0]:e};c&&n&&"function"==typeof l&&1!=l.length&&(u=c=!1);var h=this.__chain__,p=!!this.__actions__.length,d=a&&!h,g=u&&!p;if(!a&&c){e=g?e:new mr(this);var v=t.apply(e,s);return v.__actions__.push({func:Fa,args:[f],thisArg:o}),new vr(v,h)}return d&&g?t.apply(this,s):(v=this.thru(f),d?r?v.value()[0]:v.value():v)})}),ze(["pop","push","shift","sort","splice","unshift"],function(t){var e=oe[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);pr.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(ms(i)?i:[],t)}return this[n](function(n){return e.apply(ms(n)?n:[],t)})}}),zr(mr.prototype,function(t,e){var n=pr[e];if(n){var r=n.name+"";(ir[r]||(ir[r]=[])).push({name:e,func:n})}}),ir[po(o,y).name]=[{name:"wrapper",func:o}],mr.prototype.clone=function(){var t=new mr(this.__wrapped__);return t.__actions__=no(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=no(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=no(this.__views__),t},mr.prototype.reverse=function(){if(this.__filtered__){var t=new mr(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},mr.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=ms(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=Gn(e,t+a);break;case"takeRight":t=$n(t,e-a)}}return{start:t,end:e}}(0,i,this.__views__),a=o.start,s=o.end,u=s-a,l=r?s:a-1,c=this.__iteratees__,f=c.length,h=0,p=Gn(u,this.__takeCount__);if(!n||!r&&i==u&&p==u)return qi(t,this.__actions__);var d=[];t:for(;u--&&h<p;){for(var g=-1,v=t[l+=e];++g<f;){var m=c[g],y=m.iteratee,_=m.type,b=y(v);if(_==L)v=b;else if(!b){if(_==N)continue t;break t}}d[h++]=v}return d},pr.prototype.at=qa,pr.prototype.chain=function(){return Ma(this)},pr.prototype.commit=function(){return new vr(this.value(),this.__chain__)},pr.prototype.next=function(){this.__values__===o&&(this.__values__=Ms(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?o:this.__values__[this.__index__++]}},pr.prototype.plant=function(t){for(var e,n=this;n instanceof gr;){var r=ha(n);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},pr.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof mr){var e=t;return this.__actions__.length&&(e=new mr(this)),(e=e.reverse()).__actions__.push({func:Fa,args:[Aa],thisArg:o}),new vr(e,this.__chain__)}return this.thru(Aa)},pr.prototype.toJSON=pr.prototype.valueOf=pr.prototype.value=function(){return qi(this.__wrapped__,this.__actions__)},pr.prototype.first=pr.prototype.head,We&&(pr.prototype[We]=function(){return this}),pr}();ke._=jn,(i=function(){return jn}.call(e,n,e,r))===o||(r.exports=i)}).call(this)}).call(this,n(2),n(13)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){!function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){o(t,e,n[e])})}return t}e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n;var s="transitionend";function u(t){var e=this,r=!1;return n(this).one(l.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||l.triggerTransitionEnd(e)},t),this}var l={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}return e&&document.querySelector(e)?e:null},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=n(t).css("transition-duration"),r=n(t).css("transition-delay"),i=parseFloat(e),o=parseFloat(r);return i||o?(e=e.split(",")[0],r=r.split(",")[0],1e3*(parseFloat(e)+parseFloat(r))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){n(t).trigger(s)},supportsTransitionEnd:function(){return Boolean(s)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r],o=e[r],a=o&&l.isElement(o)?"element":(s=o,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(i).test(a))throw new Error(t.toUpperCase()+': Option "'+r+'" provided type "'+a+'" but expected type "'+i+'".')}var s},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?l.findShadowRoot(t.parentNode):null}};n.fn.emulateTransitionEnd=u,n.event.special[l.TRANSITION_END]={bindType:s,delegateType:s,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var c=n.fn.alert,f={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},h={ALERT:"alert",FADE:"fade",SHOW:"show"},p=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t));var n=this._triggerCloseEvent(e);n.isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){n.removeData(this._element,"bs.alert"),this._element=null},e._getRootElement=function(t){var e=l.getSelectorFromElement(t),r=!1;return e&&(r=document.querySelector(e)),r||(r=n(t).closest("."+h.ALERT)[0]),r},e._triggerCloseEvent=function(t){var e=n.Event(f.CLOSE);return n(t).trigger(e),e},e._removeElement=function(t){var e=this;if(n(t).removeClass(h.SHOW),n(t).hasClass(h.FADE)){var r=l.getTransitionDurationFromElement(t);n(t).one(l.TRANSITION_END,function(n){return e._destroyElement(t,n)}).emulateTransitionEnd(r)}else this._destroyElement(t)},e._destroyElement=function(t){n(t).detach().trigger(f.CLOSED).remove()},t._jQueryInterface=function(e){return this.each(function(){var r=n(this),i=r.data("bs.alert");i||(i=new t(this),r.data("bs.alert",i)),"close"===e&&i[e](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),t}();n(document).on(f.CLICK_DATA_API,'[data-dismiss="alert"]',p._handleDismiss(new p)),n.fn.alert=p._jQueryInterface,n.fn.alert.Constructor=p,n.fn.alert.noConflict=function(){return n.fn.alert=c,p._jQueryInterface};var d=n.fn.button,g={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},v={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:'input:not([type="hidden"])',ACTIVE:".active",BUTTON:".btn"},m={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},y=function(){function t(t){this._element=t}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,r=n(this._element).closest(v.DATA_TOGGLE)[0];if(r){var i=this._element.querySelector(v.INPUT);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(g.ACTIVE))t=!1;else{var o=r.querySelector(v.ACTIVE);o&&n(o).removeClass(g.ACTIVE)}if(t){if(i.hasAttribute("disabled")||r.hasAttribute("disabled")||i.classList.contains("disabled")||r.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(g.ACTIVE),n(i).trigger("change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(g.ACTIVE)),t&&n(this._element).toggleClass(g.ACTIVE)},e.dispose=function(){n.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(e){return this.each(function(){var r=n(this).data("bs.button");r||(r=new t(this),n(this).data("bs.button",r)),"toggle"===e&&r[e]()})},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),t}();n(document).on(m.CLICK_DATA_API,v.DATA_TOGGLE_CARROT,function(t){t.preventDefault();var e=t.target;n(e).hasClass(g.BUTTON)||(e=n(e).closest(v.BUTTON)),y._jQueryInterface.call(n(e),"toggle")}).on(m.FOCUS_BLUR_DATA_API,v.DATA_TOGGLE_CARROT,function(t){var e=n(t.target).closest(v.BUTTON)[0];n(e).toggleClass(g.FOCUS,/^focus(in)?$/.test(t.type))}),n.fn.button=y._jQueryInterface,n.fn.button.Constructor=y,n.fn.button.noConflict=function(){return n.fn.button=d,y._jQueryInterface};var _="carousel",b=".bs.carousel",E=n.fn[_],w={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},T={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},x={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},C={SLIDE:"slide.bs.carousel",SLID:"slid.bs.carousel",KEYDOWN:"keydown.bs.carousel",MOUSEENTER:"mouseenter.bs.carousel",MOUSELEAVE:"mouseleave.bs.carousel",TOUCHSTART:"touchstart.bs.carousel",TOUCHMOVE:"touchmove.bs.carousel",TOUCHEND:"touchend.bs.carousel",POINTERDOWN:"pointerdown.bs.carousel",POINTERUP:"pointerup.bs.carousel",DRAG_START:"dragstart.bs.carousel",LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},S={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item",POINTER_EVENT:"pointer-event"},A={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},D={TOUCH:"touch",PEN:"pen"},O=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(A.INDICATORS),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(x.NEXT)},e.nextWhenVisible=function(){!document.hidden&&n(this._element).is(":visible")&&"hidden"!==n(this._element).css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(x.PREV)},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(A.NEXT_PREV)&&(l.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=this._element.querySelector(A.ACTIVE_ITEM);var r=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)n(this._element).one(C.SLID,function(){return e.to(t)});else{if(r===t)return this.pause(),void this.cycle();var i=t>r?x.NEXT:x.PREV;this._slide(i,this._items[t])}},e.dispose=function(){n(this._element).off(b),n.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=a({},w,t),l.typeCheckConfig(_,t,T),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&n(this._element).on(C.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&n(this._element).on(C.MOUSEENTER,function(e){return t.pause(e)}).on(C.MOUSELEAVE,function(e){return t.cycle(e)}),this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&D[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},r=function(e){t._pointerEvent&&D[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval))};n(this._element.querySelectorAll(A.ITEM_IMG)).on(C.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(n(this._element).on(C.POINTERDOWN,function(t){return e(t)}),n(this._element).on(C.POINTERUP,function(t){return r(t)}),this._element.classList.add(S.POINTER_EVENT)):(n(this._element).on(C.TOUCHSTART,function(t){return e(t)}),n(this._element).on(C.TOUCHMOVE,function(e){return function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)}),n(this._element).on(C.TOUCHEND,function(t){return r(t)}))}},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(A.ITEM)):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n=t===x.NEXT,r=t===x.PREV,i=this._getItemIndex(e),o=this._items.length-1,a=r&&0===i||n&&i===o;if(a&&!this._config.wrap)return e;var s=t===x.PREV?-1:1,u=(i+s)%this._items.length;return-1===u?this._items[this._items.length-1]:this._items[u]},e._triggerSlideEvent=function(t,e){var r=this._getItemIndex(t),i=this._getItemIndex(this._element.querySelector(A.ACTIVE_ITEM)),o=n.Event(C.SLIDE,{relatedTarget:t,direction:e,from:i,to:r});return n(this._element).trigger(o),o},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(A.ACTIVE));n(e).removeClass(S.ACTIVE);var r=this._indicatorsElement.children[this._getItemIndex(t)];r&&n(r).addClass(S.ACTIVE)}},e._slide=function(t,e){var r,i,o,a=this,s=this._element.querySelector(A.ACTIVE_ITEM),u=this._getItemIndex(s),c=e||s&&this._getItemByDirection(t,s),f=this._getItemIndex(c),h=Boolean(this._interval);if(t===x.NEXT?(r=S.LEFT,i=S.NEXT,o=x.LEFT):(r=S.RIGHT,i=S.PREV,o=x.RIGHT),c&&n(c).hasClass(S.ACTIVE))this._isSliding=!1;else{var p=this._triggerSlideEvent(c,o);if(!p.isDefaultPrevented()&&s&&c){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(c);var d=n.Event(C.SLID,{relatedTarget:c,direction:o,from:u,to:f});if(n(this._element).hasClass(S.SLIDE)){n(c).addClass(i),l.reflow(c),n(s).addClass(r),n(c).addClass(r);var g=parseInt(c.getAttribute("data-interval"),10);g?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=g):this._config.interval=this._config.defaultInterval||this._config.interval;var v=l.getTransitionDurationFromElement(s);n(s).one(l.TRANSITION_END,function(){n(c).removeClass(r+" "+i).addClass(S.ACTIVE),n(s).removeClass(S.ACTIVE+" "+i+" "+r),a._isSliding=!1,setTimeout(function(){return n(a._element).trigger(d)},0)}).emulateTransitionEnd(v)}else n(s).removeClass(S.ACTIVE),n(c).addClass(S.ACTIVE),this._isSliding=!1,n(this._element).trigger(d);h&&this.cycle()}}},t._jQueryInterface=function(e){return this.each(function(){var r=n(this).data("bs.carousel"),i=a({},w,n(this).data());"object"==typeof e&&(i=a({},i,e));var o="string"==typeof e?e:i.slide;if(r||(r=new t(this,i),n(this).data("bs.carousel",r)),"number"==typeof e)r.to(e);else if("string"==typeof o){if(void 0===r[o])throw new TypeError('No method named "'+o+'"');r[o]()}else i.interval&&(r.pause(),r.cycle())})},t._dataApiClickHandler=function(e){var r=l.getSelectorFromElement(this);if(r){var i=n(r)[0];if(i&&n(i).hasClass(S.CAROUSEL)){var o=a({},n(i).data(),n(this).data()),s=this.getAttribute("data-slide-to");s&&(o.interval=!1),t._jQueryInterface.call(n(i),o),s&&n(i).data("bs.carousel").to(s),e.preventDefault()}}},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return w}}]),t}();n(document).on(C.CLICK_DATA_API,A.DATA_SLIDE,O._dataApiClickHandler),n(window).on(C.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(A.DATA_RIDE)),e=0,r=t.length;e<r;e++){var i=n(t[e]);O._jQueryInterface.call(i,i.data())}}),n.fn[_]=O._jQueryInterface,n.fn[_].Constructor=O,n.fn[_].noConflict=function(){return n.fn[_]=E,O._jQueryInterface};var I="collapse",N=n.fn[I],L={toggle:!0,parent:""},k={toggle:"boolean",parent:"(string|element)"},j={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},R={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},P={WIDTH:"width",HEIGHT:"height"},H={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},W=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(H.DATA_TOGGLE)),r=0,i=n.length;r<i;r++){var o=n[r],a=l.getSelectorFromElement(o),s=[].slice.call(document.querySelectorAll(a)).filter(function(e){return e===t});null!==a&&s.length>0&&(this._selector=a,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){n(this._element).hasClass(R.SHOW)?this.hide():this.show()},e.show=function(){var e,r,i=this;if(!(this._isTransitioning||n(this._element).hasClass(R.SHOW)||(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(H.ACTIVES)).filter(function(t){return"string"==typeof i._config.parent?t.getAttribute("data-parent")===i._config.parent:t.classList.contains(R.COLLAPSE)})).length&&(e=null),e&&(r=n(e).not(this._selector).data("bs.collapse"))&&r._isTransitioning))){var o=n.Event(j.SHOW);if(n(this._element).trigger(o),!o.isDefaultPrevented()){e&&(t._jQueryInterface.call(n(e).not(this._selector),"hide"),r||n(e).data("bs.collapse",null));var a=this._getDimension();n(this._element).removeClass(R.COLLAPSE).addClass(R.COLLAPSING),this._element.style[a]=0,this._triggerArray.length&&n(this._triggerArray).removeClass(R.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var s=a[0].toUpperCase()+a.slice(1),u="scroll"+s,c=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,function(){n(i._element).removeClass(R.COLLAPSING).addClass(R.COLLAPSE).addClass(R.SHOW),i._element.style[a]="",i.setTransitioning(!1),n(i._element).trigger(j.SHOWN)}).emulateTransitionEnd(c),this._element.style[a]=this._element[u]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&n(this._element).hasClass(R.SHOW)){var e=n.Event(j.HIDE);if(n(this._element).trigger(e),!e.isDefaultPrevented()){var r=this._getDimension();this._element.style[r]=this._element.getBoundingClientRect()[r]+"px",l.reflow(this._element),n(this._element).addClass(R.COLLAPSING).removeClass(R.COLLAPSE).removeClass(R.SHOW);var i=this._triggerArray.length;if(i>0)for(var o=0;o<i;o++){var a=this._triggerArray[o],s=l.getSelectorFromElement(a);if(null!==s){var u=n([].slice.call(document.querySelectorAll(s)));u.hasClass(R.SHOW)||n(a).addClass(R.COLLAPSED).attr("aria-expanded",!1)}}this.setTransitioning(!0),this._element.style[r]="";var c=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,function(){t.setTransitioning(!1),n(t._element).removeClass(R.COLLAPSING).addClass(R.COLLAPSE).trigger(j.HIDDEN)}).emulateTransitionEnd(c)}}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){n.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(t){return(t=a({},L,t)).toggle=Boolean(t.toggle),l.typeCheckConfig(I,t,k),t},e._getDimension=function(){var t=n(this._element).hasClass(P.WIDTH);return t?P.WIDTH:P.HEIGHT},e._getParent=function(){var e,r=this;l.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',o=[].slice.call(e.querySelectorAll(i));return n(o).each(function(e,n){r._addAriaAndCollapsedClass(t._getTargetFromElement(n),[n])}),e},e._addAriaAndCollapsedClass=function(t,e){var r=n(t).hasClass(R.SHOW);e.length&&n(e).toggleClass(R.COLLAPSED,!r).attr("aria-expanded",r)},t._getTargetFromElement=function(t){var e=l.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(e){return this.each(function(){var r=n(this),i=r.data("bs.collapse"),o=a({},L,r.data(),"object"==typeof e&&e?e:{});if(!i&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),i||(i=new t(this,o),r.data("bs.collapse",i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return L}}]),t}();n(document).on(j.CLICK_DATA_API,H.DATA_TOGGLE,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var e=n(this),r=l.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(r));n(i).each(function(){var t=n(this),r=t.data("bs.collapse"),i=r?"toggle":e.data();W._jQueryInterface.call(t,i)})}),n.fn[I]=W._jQueryInterface,n.fn[I].Constructor=W,n.fn[I].noConflict=function(){return n.fn[I]=N,W._jQueryInterface};var M="dropdown",F=n.fn[M],q=new RegExp("38|40|27"),U={HIDE:"hide.bs.dropdown",HIDDEN:"hidden.bs.dropdown",SHOW:"show.bs.dropdown",SHOWN:"shown.bs.dropdown",CLICK:"click.bs.dropdown",CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},B={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},V={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},$={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},G={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},z={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},K=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var r=t.prototype;return r.toggle=function(){if(!this._element.disabled&&!n(this._element).hasClass(B.DISABLED)){var r=t._getParentFromElement(this._element),i=n(this._menu).hasClass(B.SHOW);if(t._clearMenus(),!i){var o={relatedTarget:this._element},a=n.Event(U.SHOW,o);if(n(r).trigger(a),!a.isDefaultPrevented()){if(!this._inNavbar){if(void 0===e)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var s=this._element;"parent"===this._config.reference?s=r:l.isElement(this._config.reference)&&(s=this._config.reference,void 0!==this._config.reference.jquery&&(s=this._config.reference[0])),"scrollParent"!==this._config.boundary&&n(r).addClass(B.POSITION_STATIC),this._popper=new e(s,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===n(r).closest(V.NAVBAR_NAV).length&&n(document.body).children().on("mouseover",null,n.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),n(this._menu).toggleClass(B.SHOW),n(r).toggleClass(B.SHOW).trigger(n.Event(U.SHOWN,o))}}}},r.show=function(){if(!(this._element.disabled||n(this._element).hasClass(B.DISABLED)||n(this._menu).hasClass(B.SHOW))){var e={relatedTarget:this._element},r=n.Event(U.SHOW,e),i=t._getParentFromElement(this._element);n(i).trigger(r),r.isDefaultPrevented()||(n(this._menu).toggleClass(B.SHOW),n(i).toggleClass(B.SHOW).trigger(n.Event(U.SHOWN,e)))}},r.hide=function(){if(!this._element.disabled&&!n(this._element).hasClass(B.DISABLED)&&n(this._menu).hasClass(B.SHOW)){var e={relatedTarget:this._element},r=n.Event(U.HIDE,e),i=t._getParentFromElement(this._element);n(i).trigger(r),r.isDefaultPrevented()||(n(this._menu).toggleClass(B.SHOW),n(i).toggleClass(B.SHOW).trigger(n.Event(U.HIDDEN,e)))}},r.dispose=function(){n.removeData(this._element,"bs.dropdown"),n(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},r.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},r._addEventListeners=function(){var t=this;n(this._element).on(U.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},r._getConfig=function(t){return t=a({},this.constructor.Default,n(this._element).data(),t),l.typeCheckConfig(M,t,this.constructor.DefaultType),t},r._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(V.MENU))}return this._menu},r._getPlacement=function(){var t=n(this._element.parentNode),e=$.BOTTOM;return t.hasClass(B.DROPUP)?(e=$.TOP,n(this._menu).hasClass(B.MENURIGHT)&&(e=$.TOPEND)):t.hasClass(B.DROPRIGHT)?e=$.RIGHT:t.hasClass(B.DROPLEFT)?e=$.LEFT:n(this._menu).hasClass(B.MENURIGHT)&&(e=$.BOTTOMEND),e},r._detectNavbar=function(){return n(this._element).closest(".navbar").length>0},r._getPopperConfig=function(){var t=this,e={};"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=a({},e.offsets,t._config.offset(e.offsets)||{}),e}:e.offset=this._config.offset;var n={placement:this._getPlacement(),modifiers:{offset:e,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(n.modifiers.applyStyle={enabled:!1}),n},t._jQueryInterface=function(e){return this.each(function(){var r=n(this).data("bs.dropdown"),i="object"==typeof e?e:null;if(r||(r=new t(this,i),n(this).data("bs.dropdown",r)),"string"==typeof e){if(void 0===r[e])throw new TypeError('No method named "'+e+'"');r[e]()}})},t._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var r=[].slice.call(document.querySelectorAll(V.DATA_TOGGLE)),i=0,o=r.length;i<o;i++){var a=t._getParentFromElement(r[i]),s=n(r[i]).data("bs.dropdown"),u={relatedTarget:r[i]};if(e&&"click"===e.type&&(u.clickEvent=e),s){var l=s._menu;if(n(a).hasClass(B.SHOW)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&n.contains(a,e.target))){var c=n.Event(U.HIDE,u);n(a).trigger(c),c.isDefaultPrevented()||("ontouchstart"in document.documentElement&&n(document.body).children().off("mouseover",null,n.noop),r[i].setAttribute("aria-expanded","false"),n(l).removeClass(B.SHOW),n(a).removeClass(B.SHOW).trigger(n.Event(U.HIDDEN,u)))}}}},t._getParentFromElement=function(t){var e,n=l.getSelectorFromElement(t);return n&&(e=document.querySelector(n)),e||t.parentNode},t._dataApiKeydownHandler=function(e){if((/input|textarea/i.test(e.target.tagName)?!(32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||n(e.target).closest(V.MENU).length)):q.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!n(this).hasClass(B.DISABLED))){var r=t._getParentFromElement(this),i=n(r).hasClass(B.SHOW);if(i&&(!i||27!==e.which&&32!==e.which)){var o=[].slice.call(r.querySelectorAll(V.VISIBLE_ITEMS));if(0!==o.length){var a=o.indexOf(e.target);38===e.which&&a>0&&a--,40===e.which&&a<o.length-1&&a++,a<0&&(a=0),o[a].focus()}}else{if(27===e.which){var s=r.querySelector(V.DATA_TOGGLE);n(s).trigger("focus")}n(this).trigger("click")}}},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return G}},{key:"DefaultType",get:function(){return z}}]),t}();n(document).on(U.KEYDOWN_DATA_API,V.DATA_TOGGLE,K._dataApiKeydownHandler).on(U.KEYDOWN_DATA_API,V.MENU,K._dataApiKeydownHandler).on(U.CLICK_DATA_API+" "+U.KEYUP_DATA_API,K._clearMenus).on(U.CLICK_DATA_API,V.DATA_TOGGLE,function(t){t.preventDefault(),t.stopPropagation(),K._jQueryInterface.call(n(this),"toggle")}).on(U.CLICK_DATA_API,V.FORM_CHILD,function(t){t.stopPropagation()}),n.fn[M]=K._jQueryInterface,n.fn[M].Constructor=K,n.fn[M].noConflict=function(){return n.fn[M]=F,K._jQueryInterface};var X=n.fn.modal,Q={backdrop:!0,keyboard:!0,focus:!0,show:!0},Y={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},J={HIDE:"hide.bs.modal",HIDDEN:"hidden.bs.modal",SHOW:"show.bs.modal",SHOWN:"shown.bs.modal",FOCUSIN:"focusin.bs.modal",RESIZE:"resize.bs.modal",CLICK_DISMISS:"click.dismiss.bs.modal",KEYDOWN_DISMISS:"keydown.dismiss.bs.modal",MOUSEUP_DISMISS:"mouseup.dismiss.bs.modal",MOUSEDOWN_DISMISS:"mousedown.dismiss.bs.modal",CLICK_DATA_API:"click.bs.modal.data-api"},Z={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},tt={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},et=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(tt.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e=t.prototype;return e.toggle=function(t){return this._isShown?this.hide():this.show(t)},e.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){n(this._element).hasClass(Z.FADE)&&(this._isTransitioning=!0);var r=n.Event(J.SHOW,{relatedTarget:t});n(this._element).trigger(r),this._isShown||r.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),n(this._element).on(J.CLICK_DISMISS,tt.DATA_DISMISS,function(t){return e.hide(t)}),n(this._dialog).on(J.MOUSEDOWN_DISMISS,function(){n(e._element).one(J.MOUSEUP_DISMISS,function(t){n(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},e.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var r=n.Event(J.HIDE);if(n(this._element).trigger(r),this._isShown&&!r.isDefaultPrevented()){this._isShown=!1;var i=n(this._element).hasClass(Z.FADE);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),n(document).off(J.FOCUSIN),n(this._element).removeClass(Z.SHOW),n(this._element).off(J.CLICK_DISMISS),n(this._dialog).off(J.MOUSEDOWN_DISMISS),i){var o=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(o)}else this._hideModal()}}},e.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return n(t).off(".bs.modal")}),n(document).off(J.FOCUSIN),n.removeData(this._element,"bs.modal"),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(t){return t=a({},Q,t),l.typeCheckConfig("modal",t,Y),t},e._showElement=function(t){var e=this,r=n(this._element).hasClass(Z.FADE);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.scrollTop=0,r&&l.reflow(this._element),n(this._element).addClass(Z.SHOW),this._config.focus&&this._enforceFocus();var i=n.Event(J.SHOWN,{relatedTarget:t}),o=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,n(e._element).trigger(i)};if(r){var a=l.getTransitionDurationFromElement(this._dialog);n(this._dialog).one(l.TRANSITION_END,o).emulateTransitionEnd(a)}else o()},e._enforceFocus=function(){var t=this;n(document).off(J.FOCUSIN).on(J.FOCUSIN,function(e){document!==e.target&&t._element!==e.target&&0===n(t._element).has(e.target).length&&t._element.focus()})},e._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?n(this._element).on(J.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||n(this._element).off(J.KEYDOWN_DISMISS)},e._setResizeEvent=function(){var t=this;this._isShown?n(window).on(J.RESIZE,function(e){return t.handleUpdate(e)}):n(window).off(J.RESIZE)},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){n(document.body).removeClass(Z.OPEN),t._resetAdjustments(),t._resetScrollbar(),n(t._element).trigger(J.HIDDEN)})},e._removeBackdrop=function(){this._backdrop&&(n(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,r=n(this._element).hasClass(Z.FADE)?Z.FADE:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=Z.BACKDROP,r&&this._backdrop.classList.add(r),n(this._backdrop).appendTo(document.body),n(this._element).on(J.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),r&&l.reflow(this._backdrop),n(this._backdrop).addClass(Z.SHOW),!t)return;if(!r)return void t();var i=l.getTransitionDurationFromElement(this._backdrop);n(this._backdrop).one(l.TRANSITION_END,t).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){n(this._backdrop).removeClass(Z.SHOW);var o=function(){e._removeBackdrop(),t&&t()};if(n(this._element).hasClass(Z.FADE)){var a=l.getTransitionDurationFromElement(this._backdrop);n(this._backdrop).one(l.TRANSITION_END,o).emulateTransitionEnd(a)}else o()}else t&&t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(tt.FIXED_CONTENT)),r=[].slice.call(document.querySelectorAll(tt.STICKY_CONTENT));n(e).each(function(e,r){var i=r.style.paddingRight,o=n(r).css("padding-right");n(r).data("padding-right",i).css("padding-right",parseFloat(o)+t._scrollbarWidth+"px")}),n(r).each(function(e,r){var i=r.style.marginRight,o=n(r).css("margin-right");n(r).data("margin-right",i).css("margin-right",parseFloat(o)-t._scrollbarWidth+"px")});var i=document.body.style.paddingRight,o=n(document.body).css("padding-right");n(document.body).data("padding-right",i).css("padding-right",parseFloat(o)+this._scrollbarWidth+"px")}n(document.body).addClass(Z.OPEN)},e._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(tt.FIXED_CONTENT));n(t).each(function(t,e){var r=n(e).data("padding-right");n(e).removeData("padding-right"),e.style.paddingRight=r||""});var e=[].slice.call(document.querySelectorAll(""+tt.STICKY_CONTENT));n(e).each(function(t,e){var r=n(e).data("margin-right");void 0!==r&&n(e).css("margin-right",r).removeData("margin-right")});var r=n(document.body).data("padding-right");n(document.body).removeData("padding-right"),document.body.style.paddingRight=r||""},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className=Z.SCROLLBAR_MEASURER,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(e,r){return this.each(function(){var i=n(this).data("bs.modal"),o=a({},Q,n(this).data(),"object"==typeof e&&e?e:{});if(i||(i=new t(this,o),n(this).data("bs.modal",i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e](r)}else o.show&&i.show(r)})},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return Q}}]),t}();n(document).on(J.CLICK_DATA_API,tt.DATA_TOGGLE,function(t){var e,r=this,i=l.getSelectorFromElement(this);i&&(e=document.querySelector(i));var o=n(e).data("bs.modal")?"toggle":a({},n(e).data(),n(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var s=n(e).one(J.SHOW,function(t){t.isDefaultPrevented()||s.one(J.HIDDEN,function(){n(r).is(":visible")&&r.focus()})});et._jQueryInterface.call(n(e),o,this)}),n.fn.modal=et._jQueryInterface,n.fn.modal.Constructor=et,n.fn.modal.noConflict=function(){return n.fn.modal=X,et._jQueryInterface};var nt="tooltip",rt=n.fn.tooltip,it=new RegExp("(^|\\s)bs-tooltip\\S+","g"),ot={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},at={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},st={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},ut={SHOW:"show",OUT:"out"},lt={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},ct={FADE:"fade",SHOW:"show"},ft={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},ht={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},pt=function(){function t(t,n){if(void 0===e)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(n),this.tip=null,this._setListeners()}var r=t.prototype;return r.enable=function(){this._isEnabled=!0},r.disable=function(){this._isEnabled=!1},r.toggleEnabled=function(){this._isEnabled=!this._isEnabled},r.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,r=n(t.currentTarget).data(e);r||(r=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(e,r)),r._activeTrigger.click=!r._activeTrigger.click,r._isWithActiveTrigger()?r._enter(null,r):r._leave(null,r)}else{if(n(this.getTipElement()).hasClass(ct.SHOW))return void this._leave(null,this);this._enter(null,this)}},r.dispose=function(){clearTimeout(this._timeout),n.removeData(this.element,this.constructor.DATA_KEY),n(this.element).off(this.constructor.EVENT_KEY),n(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&n(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},r.show=function(){var t=this;if("none"===n(this.element).css("display"))throw new Error("Please use show on visible elements");var r=n.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){n(this.element).trigger(r);var i=l.findShadowRoot(this.element),o=n.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(r.isDefaultPrevented()||!o)return;var a=this.getTipElement(),s=l.getUID(this.constructor.NAME);a.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&n(a).addClass(ct.FADE);var u="function"==typeof this.config.placement?this.config.placement.call(this,a,this.element):this.config.placement,c=this._getAttachment(u);this.addAttachmentClass(c);var f=this._getContainer();n(a).data(this.constructor.DATA_KEY,this),n.contains(this.element.ownerDocument.documentElement,this.tip)||n(a).appendTo(f),n(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new e(this.element,a,{placement:c,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:ft.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),n(a).addClass(ct.SHOW),"ontouchstart"in document.documentElement&&n(document.body).children().on("mouseover",null,n.noop);var h=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,n(t.element).trigger(t.constructor.Event.SHOWN),e===ut.OUT&&t._leave(null,t)};if(n(this.tip).hasClass(ct.FADE)){var p=l.getTransitionDurationFromElement(this.tip);n(this.tip).one(l.TRANSITION_END,h).emulateTransitionEnd(p)}else h()}},r.hide=function(t){var e=this,r=this.getTipElement(),i=n.Event(this.constructor.Event.HIDE),o=function(){e._hoverState!==ut.SHOW&&r.parentNode&&r.parentNode.removeChild(r),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),n(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(n(this.element).trigger(i),!i.isDefaultPrevented()){if(n(r).removeClass(ct.SHOW),"ontouchstart"in document.documentElement&&n(document.body).children().off("mouseover",null,n.noop),this._activeTrigger[ht.CLICK]=!1,this._activeTrigger[ht.FOCUS]=!1,this._activeTrigger[ht.HOVER]=!1,n(this.tip).hasClass(ct.FADE)){var a=l.getTransitionDurationFromElement(r);n(r).one(l.TRANSITION_END,o).emulateTransitionEnd(a)}else o();this._hoverState=""}},r.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},r.isWithContent=function(){return Boolean(this.getTitle())},r.addAttachmentClass=function(t){n(this.getTipElement()).addClass("bs-tooltip-"+t)},r.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},r.setContent=function(){var t=this.getTipElement();this.setElementContent(n(t.querySelectorAll(ft.TOOLTIP_INNER)),this.getTitle()),n(t).removeClass(ct.FADE+" "+ct.SHOW)},r.setElementContent=function(t,e){var r=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?r?n(e).parent().is(t)||t.empty().append(e):t.text(n(e).text()):t[r?"html":"text"](e)},r.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},r._getContainer=function(){return!1===this.config.container?document.body:l.isElement(this.config.container)?n(this.config.container):n(document).find(this.config.container)},r._getAttachment=function(t){return at[t.toUpperCase()]},r._setListeners=function(){var t=this,e=this.config.trigger.split(" ");e.forEach(function(e){if("click"===e)n(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(e!==ht.MANUAL){var r=e===ht.HOVER?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===ht.HOVER?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;n(t.element).on(r,t.config.selector,function(e){return t._enter(e)}).on(i,t.config.selector,function(e){return t._leave(e)})}}),n(this.element).closest(".modal").on("hide.bs.modal",function(){t.element&&t.hide()}),this.config.selector?this.config=a({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},r._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},r._enter=function(t,e){var r=this.constructor.DATA_KEY;(e=e||n(t.currentTarget).data(r))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,e)),t&&(e._activeTrigger["focusin"===t.type?ht.FOCUS:ht.HOVER]=!0),n(e.getTipElement()).hasClass(ct.SHOW)||e._hoverState===ut.SHOW?e._hoverState=ut.SHOW:(clearTimeout(e._timeout),e._hoverState=ut.SHOW,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===ut.SHOW&&e.show()},e.config.delay.show):e.show())},r._leave=function(t,e){var r=this.constructor.DATA_KEY;(e=e||n(t.currentTarget).data(r))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,e)),t&&(e._activeTrigger["focusout"===t.type?ht.FOCUS:ht.HOVER]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=ut.OUT,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===ut.OUT&&e.hide()},e.config.delay.hide):e.hide())},r._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},r._getConfig=function(t){return"number"==typeof(t=a({},this.constructor.Default,n(this.element).data(),"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),l.typeCheckConfig(nt,t,this.constructor.DefaultType),t},r._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},r._cleanTipClass=function(){var t=n(this.getTipElement()),e=t.attr("class").match(it);null!==e&&e.length&&t.removeClass(e.join(""))},r._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},r._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(n(t).removeClass(ct.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each(function(){var r=n(this).data("bs.tooltip"),i="object"==typeof e&&e;if((r||!/dispose|hide/.test(e))&&(r||(r=new t(this,i),n(this).data("bs.tooltip",r)),"string"==typeof e)){if(void 0===r[e])throw new TypeError('No method named "'+e+'"');r[e]()}})},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return st}},{key:"NAME",get:function(){return nt}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return lt}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return ot}}]),t}();n.fn.tooltip=pt._jQueryInterface,n.fn.tooltip.Constructor=pt,n.fn.tooltip.noConflict=function(){return n.fn.tooltip=rt,pt._jQueryInterface};var dt="popover",gt=n.fn.popover,vt=new RegExp("(^|\\s)bs-popover\\S+","g"),mt=a({},pt.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),yt=a({},pt.DefaultType,{content:"(string|element|function)"}),_t={FADE:"fade",SHOW:"show"},bt={TITLE:".popover-header",CONTENT:".popover-body"},Et={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},wt=function(t){var e,r;function o(){return t.apply(this,arguments)||this}r=t,(e=o).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=o.prototype;return a.isWithContent=function(){return this.getTitle()||this._getContent()},a.addAttachmentClass=function(t){n(this.getTipElement()).addClass("bs-popover-"+t)},a.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},a.setContent=function(){var t=n(this.getTipElement());this.setElementContent(t.find(bt.TITLE),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(bt.CONTENT),e),t.removeClass(_t.FADE+" "+_t.SHOW)},a._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},a._cleanTipClass=function(){var t=n(this.getTipElement()),e=t.attr("class").match(vt);null!==e&&e.length>0&&t.removeClass(e.join(""))},o._jQueryInterface=function(t){return this.each(function(){var e=n(this).data("bs.popover"),r="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new o(this,r),n(this).data("bs.popover",e)),"string"==typeof t)){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},i(o,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return mt}},{key:"NAME",get:function(){return dt}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return Et}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return yt}}]),o}(pt);n.fn.popover=wt._jQueryInterface,n.fn.popover.Constructor=wt,n.fn.popover.noConflict=function(){return n.fn.popover=gt,wt._jQueryInterface};var Tt="scrollspy",xt=n.fn[Tt],Ct={offset:10,method:"auto",target:""},St={offset:"number",method:"string",target:"(string|element)"},At={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},Dt={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},Ot={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},It={OFFSET:"offset",POSITION:"position"},Nt=function(){function t(t,e){var r=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+Ot.NAV_LINKS+","+this._config.target+" "+Ot.LIST_ITEMS+","+this._config.target+" "+Ot.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,n(this._scrollElement).on(At.SCROLL,function(t){return r._process(t)}),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?It.OFFSET:It.POSITION,r="auto"===this._config.method?e:this._config.method,i=r===It.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();var o=[].slice.call(document.querySelectorAll(this._selector));o.map(function(t){var e,o=l.getSelectorFromElement(t);if(o&&(e=document.querySelector(o)),e){var a=e.getBoundingClientRect();if(a.width||a.height)return[n(e)[r]().top+i,o]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},e.dispose=function(){n.removeData(this._element,"bs.scrollspy"),n(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=a({},Ct,"object"==typeof t&&t?t:{})).target){var e=n(t.target).attr("id");e||(e=l.getUID(Tt),n(t.target).attr("id",e)),t.target="#"+e}return l.typeCheckConfig(Tt,t,St),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var i=this._offsets.length,o=i;o--;){var a=this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t<this._offsets[o+1]);a&&this._activate(this._targets[o])}}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),r=n([].slice.call(document.querySelectorAll(e.join(","))));r.hasClass(Dt.DROPDOWN_ITEM)?(r.closest(Ot.DROPDOWN).find(Ot.DROPDOWN_TOGGLE).addClass(Dt.ACTIVE),r.addClass(Dt.ACTIVE)):(r.addClass(Dt.ACTIVE),r.parents(Ot.NAV_LIST_GROUP).prev(Ot.NAV_LINKS+", "+Ot.LIST_ITEMS).addClass(Dt.ACTIVE),r.parents(Ot.NAV_LIST_GROUP).prev(Ot.NAV_ITEMS).children(Ot.NAV_LINKS).addClass(Dt.ACTIVE)),n(this._scrollElement).trigger(At.ACTIVATE,{relatedTarget:t})},e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains(Dt.ACTIVE)}).forEach(function(t){return t.classList.remove(Dt.ACTIVE)})},t._jQueryInterface=function(e){return this.each(function(){var r=n(this).data("bs.scrollspy"),i="object"==typeof e&&e;if(r||(r=new t(this,i),n(this).data("bs.scrollspy",r)),"string"==typeof e){if(void 0===r[e])throw new TypeError('No method named "'+e+'"');r[e]()}})},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return Ct}}]),t}();n(window).on(At.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(Ot.DATA_SPY)),e=t.length,r=e;r--;){var i=n(t[r]);Nt._jQueryInterface.call(i,i.data())}}),n.fn[Tt]=Nt._jQueryInterface,n.fn[Tt].Constructor=Nt,n.fn[Tt].noConflict=function(){return n.fn[Tt]=xt,Nt._jQueryInterface};var Lt=n.fn.tab,kt={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},jt={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},Rt={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},Pt=function(){function t(t){this._element=t}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&n(this._element).hasClass(jt.ACTIVE)||n(this._element).hasClass(jt.DISABLED))){var e,r,i=n(this._element).closest(Rt.NAV_LIST_GROUP)[0],o=l.getSelectorFromElement(this._element);if(i){var a="UL"===i.nodeName||"OL"===i.nodeName?Rt.ACTIVE_UL:Rt.ACTIVE;r=(r=n.makeArray(n(i).find(a)))[r.length-1]}var s=n.Event(kt.HIDE,{relatedTarget:this._element}),u=n.Event(kt.SHOW,{relatedTarget:r});if(r&&n(r).trigger(s),n(this._element).trigger(u),!u.isDefaultPrevented()&&!s.isDefaultPrevented()){o&&(e=document.querySelector(o)),this._activate(this._element,i);var c=function(){var e=n.Event(kt.HIDDEN,{relatedTarget:t._element}),i=n.Event(kt.SHOWN,{relatedTarget:r});n(r).trigger(e),n(t._element).trigger(i)};e?this._activate(e,e.parentNode,c):c()}}},e.dispose=function(){n.removeData(this._element,"bs.tab"),this._element=null},e._activate=function(t,e,r){var i=this,o=!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?n(e).children(Rt.ACTIVE):n(e).find(Rt.ACTIVE_UL),a=o[0],s=r&&a&&n(a).hasClass(jt.FADE),u=function(){return i._transitionComplete(t,a,r)};if(a&&s){var c=l.getTransitionDurationFromElement(a);n(a).removeClass(jt.SHOW).one(l.TRANSITION_END,u).emulateTransitionEnd(c)}else u()},e._transitionComplete=function(t,e,r){if(e){n(e).removeClass(jt.ACTIVE);var i=n(e.parentNode).find(Rt.DROPDOWN_ACTIVE_CHILD)[0];i&&n(i).removeClass(jt.ACTIVE),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(n(t).addClass(jt.ACTIVE),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),l.reflow(t),n(t).addClass(jt.SHOW),t.parentNode&&n(t.parentNode).hasClass(jt.DROPDOWN_MENU)){var o=n(t).closest(Rt.DROPDOWN)[0];if(o){var a=[].slice.call(o.querySelectorAll(Rt.DROPDOWN_TOGGLE));n(a).addClass(jt.ACTIVE)}t.setAttribute("aria-expanded",!0)}r&&r()},t._jQueryInterface=function(e){return this.each(function(){var r=n(this),i=r.data("bs.tab");if(i||(i=new t(this),r.data("bs.tab",i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),t}();n(document).on(kt.CLICK_DATA_API,Rt.DATA_TOGGLE,function(t){t.preventDefault(),Pt._jQueryInterface.call(n(this),"show")}),n.fn.tab=Pt._jQueryInterface,n.fn.tab.Constructor=Pt,n.fn.tab.noConflict=function(){return n.fn.tab=Lt,Pt._jQueryInterface};var Ht=n.fn.toast,Wt={CLICK_DISMISS:"click.dismiss.bs.toast",HIDE:"hide.bs.toast",HIDDEN:"hidden.bs.toast",SHOW:"show.bs.toast",SHOWN:"shown.bs.toast"},Mt={FADE:"fade",HIDE:"hide",SHOW:"show",SHOWING:"showing"},Ft={animation:"boolean",autohide:"boolean",delay:"number"},qt={animation:!0,autohide:!0,delay:500},Ut={DATA_DISMISS:'[data-dismiss="toast"]'},Bt=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var e=t.prototype;return e.show=function(){var t=this;n(this._element).trigger(Wt.SHOW),this._config.animation&&this._element.classList.add(Mt.FADE);var e=function(){t._element.classList.remove(Mt.SHOWING),t._element.classList.add(Mt.SHOW),n(t._element).trigger(Wt.SHOWN),t._config.autohide&&t.hide()};if(this._element.classList.remove(Mt.HIDE),this._element.classList.add(Mt.SHOWING),this._config.animation){var r=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,e).emulateTransitionEnd(r)}else e()},e.hide=function(t){var e=this;this._element.classList.contains(Mt.SHOW)&&(n(this._element).trigger(Wt.HIDE),t?this._close():this._timeout=setTimeout(function(){e._close()},this._config.delay))},e.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Mt.SHOW)&&this._element.classList.remove(Mt.SHOW),n(this._element).off(Wt.CLICK_DISMISS),n.removeData(this._element,"bs.toast"),this._element=null,this._config=null},e._getConfig=function(t){return t=a({},qt,n(this._element).data(),"object"==typeof t&&t?t:{}),l.typeCheckConfig("toast",t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;n(this._element).on(Wt.CLICK_DISMISS,Ut.DATA_DISMISS,function(){return t.hide(!0)})},e._close=function(){var t=this,e=function(){t._element.classList.add(Mt.HIDE),n(t._element).trigger(Wt.HIDDEN)};if(this._element.classList.remove(Mt.SHOW),this._config.animation){var r=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,e).emulateTransitionEnd(r)}else e()},t._jQueryInterface=function(e){return this.each(function(){var r=n(this),i=r.data("bs.toast"),o="object"==typeof e&&e;if(i||(i=new t(this,o),r.data("bs.toast",i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e](this)}})},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"DefaultType",get:function(){return Ft}}]),t}();n.fn.toast=Bt._jQueryInterface,n.fn.toast.Constructor=Bt,n.fn.toast.noConflict=function(){return n.fn.toast=Ht,Bt._jQueryInterface},function(){if(void 0===n)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=n.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),t.Util=l,t.Alert=p,t.Button=y,t.Carousel=O,t.Collapse=W,t.Dropdown=K,t.Modal=et,t.Popover=wt,t.Scrollspy=Nt,t.Tab=Pt,t.Toast=Bt,t.Tooltip=pt,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(3),n(4))},function(t,e,n){t.exports=n(16)},function(t,e,n){"use strict";var r=n(0),i=n(5),o=n(18),a=n(1);function s(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var u=s(a);u.Axios=o,u.create=function(t){return s(r.merge(a,t))},u.Cancel=n(9),u.CancelToken=n(33),u.isCancel=n(8),u.all=function(t){return Promise.all(t)},u.spread=n(34),t.exports=u,t.exports.default=u},function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,n){"use strict";var r=n(1),i=n(0),o=n(28),a=n(29);function s(t){this.defaults=t,this.interceptors={request:new o,response:new o}}s.prototype.request=function(t){"string"==typeof t&&(t=i.merge({url:arguments[0]},arguments[1])),(t=i.merge(r,{method:"get"},this.defaults,t)).method=t.method.toLowerCase();var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},i.forEach(["delete","get","head","options"],function(t){s.prototype[t]=function(e,n){return this.request(i.merge(n||{},{method:t,url:e}))}}),i.forEach(["post","put","patch"],function(t){s.prototype[t]=function(e,n,r){return this.request(i.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=s},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,l=[],c=!1,f=-1;function h(){c&&u&&(c=!1,u.length?l=u.concat(l):f=-1,l.length&&p())}function p(){if(!c){var t=s(h);c=!0;for(var e=l.length;e;){for(u=l,l=[];++f<e;)u&&u[f].run();f=-1,e=l.length}u=null,c=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function g(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new d(t,e)),1!==l.length||c||s(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){"use strict";var r=n(7);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t}},function(t,e,n){"use strict";var r=n(0);function i(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var a=[];r.forEach(e,function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(i(e)+"="+i(t))}))}),o=a.join("&")}return o&&(t+=(-1===t.indexOf("?")?"?":"&")+o),t}},function(t,e,n){"use strict";var r=n(0),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(r.forEach(t.split("\n"),function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(a[e]&&i.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}}),a):a}},function(t,e,n){"use strict";var r=n(0);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function i(){this.message="String contains an invalid character"}i.prototype=new Error,i.prototype.code=5,i.prototype.name="InvalidCharacterError",t.exports=function(t){for(var e,n,o=String(t),a="",s=0,u=r;o.charAt(0|s)||(u="=",s%1);a+=u.charAt(63&e>>8-s%1*8)){if((n=o.charCodeAt(s+=.75))>255)throw new i;e=e<<8|n}return a}},function(t,e,n){"use strict";var r=n(0);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(0);function i(){this.handlers=[]}i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=i},function(t,e,n){"use strict";var r=n(0),i=n(30),o=n(8),a=n(1),s=n(31),u=n(32);function l(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return l(t),t.baseURL&&!s(t.url)&&(t.url=u(t.baseURL,t.url)),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return l(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return o(e)||(l(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(9);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new r(t),e(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i(function(e){t=e}),cancel:t}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e){var n={init:function(){this.welcomeSlider(),this.categoryNavbarPosition(),this.categoryNavbarActiveLink(),this.buildSimpleTooltip(),this.scrollSmoothly(),this.scrollToTop(),this.likePost(),this.unlikePost(),this.comment()},welcomeSlider:function(){new Swiper(".swiper-container",{pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(t,e){return'<span class="'+e+'">'+(t+1)+"</span>"}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},loop:!0,centeredSlides:!0,autoplay:{delay:2500,disableOnInteraction:!1}})},categoryNavbarPosition:function(){if($(".categoryNavbar").length){var t=$(".navbar").offset().top,e=$(window),n=$(".navbar");e.scroll(function(){e.scrollTop()>=t?n.addClass("fixed-top"):n.removeClass("fixed-top")})}},categoryNavbarActiveLink:function(){$(".categoryNavbar").length&&$(".categoryNavbar a[href='http://technoblog.test/category/"+window.location.pathname+"']").addClass("active")},buildSimpleTooltip:function(){if(!$("a.elemWithTooltip").length||!$("a.elemWithTooltip").data("tooltip-info"))return!1;var t=$("a.elemWithTooltip"),e=["top","right","bottom","left"];t.each(function(t){var n=$(this),r=n.data("tooltip-info"),i=r.substring(r.indexOf("-")+1),o=r.substring(0,r.indexOf("-"));if(-1===r.indexOf("-")||"-"===r.charAt(0))return n.addClass("Error_SimpleTooltip"),!1;$.each(e,function(t){o===e[t]&&n.not(".Error_SimpleTooltip").attr({"data-toggle":"tooltip","data-placement":o,title:i}).tooltip()})})},scrollSmoothly:function(){new SmoothScroll("a.scrollBtn",{easing:"linear"})},scrollToTop:function(){if($(".scrollUpArrow").length){var t=$(window),e=$(".scrollUpArrow");e.hide(),t.scroll(function(){t.scrollTop()>=150?e.fadeIn("slow"):e.fadeOut("slow")})}},likePost:function(){$(".post-reaction").on("click",".likePost",function(){var t=$(this).data("post-id"),e=$("meta[name='csrf-token']").attr("content");$.ajax({url:"/like",type:"post",data:{post_id:t,_token:e},dataType:"json",success:function(t){$(".post-reaction i").remove(),$(".post-reaction").append("<i data-unlike-id="+t.unlike_id+" class='text-danger fa fa-heart unlikePost' aria-hidden='true'></i>"),$(".likeCounter").text(t.likeCounter)},error:function(t){console.log(t)}})})},unlikePost:function(){$(".post-reaction").on("click",".unlikePost",function(){var t=$(this).data("unlike-id"),e=$("meta[name='csrf-token']").attr("content");$.ajax({url:"/unlike",type:"post",data:{unlike_id:t,_token:e},dataType:"json",success:function(t){$(".post-reaction i").remove(),$(".post-reaction").append("<i data-post-id="+t.post_id+" class='text-danger fa fa-heart-o likePost' aria-hidden='true'></i>"),$(".likeCounter").text(t.likeCounter)},error:function(t){console.log(t)}})})},comment:function(){$("comment-alert").length>0&&$(".comment-alert").hide(),$(".commentForm").submit(function(t){t.preventDefault(),$(this).find("input[type='submit']").prop("disabled",!0),$(this).find("input[type='submit']").val("Processing...");var e=$(this).find("input[name='name']").val(),n=$(this).find("input[name='email']").val(),r=$(this).find("textarea[name='comment']").val(),i=$(this).find("input[name='post_id']").val(),o=$("meta[name='csrf-token']").attr("content");$.ajax({url:"/comment",type:"post",data:{name:e,email:n,comment:r,post_id:i,_token:o},dataType:"json",success:function(t){$(".comment-alert").show(),$(".comment-alert").addClass(t.type),$(".comment-alert").find("strong").text(t.message),$(".commentForm").find("input[type='submit']").prop("disabled",!1),$(".commentForm").find("input[type='submit']").val("Comment"),$(".commentForm")[0].reset()},error:function(t){console.log(t)}})})}};$(function(){n.init()})}]);
     1!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=10)}([function(t,e,n){"use strict";var r=n(5),i=n(17),o=Object.prototype.toString;function a(t){return"[object Array]"===o.call(t)}function s(t){return null!==t&&"object"==typeof t}function u(t){return"[object Function]"===o.call(t)}function l(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}t.exports={isArray:a,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:i,isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isUndefined:function(t){return void 0===t},isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:u,isStream:function(t){return s(t)&&u(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:l,merge:function t(){var e={};function n(n,r){"object"==typeof e[r]&&"object"==typeof n?e[r]=t(e[r],n):e[r]=n}for(var r=0,i=arguments.length;r<i;r++)l(arguments[r],n);return e},extend:function(t,e,n){return l(e,function(e,i){t[i]=n&&"function"==typeof e?r(e,n):e}),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,e,n){"use strict";(function(e){var r=n(0),i=n(20),o={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,u={adapter:("undefined"!=typeof XMLHttpRequest?s=n(6):void 0!==e&&(s=n(6)),s),transformRequest:[function(t,e){return i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(t){u.headers[t]={}}),r.forEach(["post","put","patch"],function(t){u.headers[t]=r.merge(o)}),t.exports=u}).call(this,n(19))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";n.r(e),function(t){for(var n="undefined"!=typeof window&&"undefined"!=typeof document,r=["Edge","Trident","Firefox"],i=0,o=0;o<r.length;o+=1)if(n&&navigator.userAgent.indexOf(r[o])>=0){i=1;break}var a=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},i))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function u(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=u(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:c(l(t))}var f=n&&!(!window.MSInputMethodContext||!document.documentMode),h=n&&/MSIE 10/.test(navigator.userAgent);function p(t){return 11===t?f:10===t?h:f||h}function d(t){if(!t)return document.documentElement;for(var e=p(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===u(n,"position")?d(n):n:t?t.ownerDocument.documentElement:document.documentElement}function g(t){return null!==t.parentNode?g(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a,s,u=o.commonAncestorContainer;if(t!==u&&e!==u||r.contains(i))return"BODY"===(s=(a=u).nodeName)||"HTML"!==s&&d(a.firstElementChild)!==a?d(u):u;var l=g(t);return l.host?v(l.host,e):v(t,g(e).host)}function m(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var r=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||r)[e]}return t[e]}function y(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function _(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],p(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function b(t){var e=t.body,n=t.documentElement,r=p(10)&&getComputedStyle(n);return{height:_("Height",e,n,r),width:_("Width",e,n,r)}}var E=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},w=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),T=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},x=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function C(t){return x({},t,{right:t.left+t.width,bottom:t.top+t.height})}function S(t){var e={};try{if(p(10)){e=t.getBoundingClientRect();var n=m(t,"top"),r=m(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?b(t.ownerDocument):{},a=o.width||t.clientWidth||i.right-i.left,s=o.height||t.clientHeight||i.bottom-i.top,l=t.offsetWidth-a,c=t.offsetHeight-s;if(l||c){var f=u(t);l-=y(f,"x"),c-=y(f,"y"),i.width-=l,i.height-=c}return C(i)}function A(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=p(10),i="HTML"===e.nodeName,o=S(t),a=S(e),s=c(t),l=u(e),f=parseFloat(l.borderTopWidth,10),h=parseFloat(l.borderLeftWidth,10);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=C({top:o.top-a.top-f,left:o.left-a.left-h,width:o.width,height:o.height});if(d.marginTop=0,d.marginLeft=0,!r&&i){var g=parseFloat(l.marginTop,10),v=parseFloat(l.marginLeft,10);d.top-=f-g,d.bottom-=f-g,d.left-=h-v,d.right-=h-v,d.marginTop=g,d.marginLeft=v}return(r&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(d=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=m(e,"top"),i=m(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}(d,e)),d}function D(t){if(!t||!t.parentElement||p())return document.documentElement;for(var e=t.parentElement;e&&"none"===u(e,"transform");)e=e.parentElement;return e||document.documentElement}function O(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?D(t):v(t,e);if("viewport"===r)o=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=A(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:m(n),s=e?0:m(n,"left");return C({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o})}(a,i);else{var s=void 0;"scrollParent"===r?"BODY"===(s=c(l(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===r?t.ownerDocument.documentElement:r;var f=A(s,a,i);if("HTML"!==s.nodeName||function t(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===u(e,"position"))return!0;var r=l(e);return!!r&&t(r)}(a))o=f;else{var h=b(t.ownerDocument),p=h.height,d=h.width;o.top+=f.top-f.marginTop,o.bottom=p+f.top,o.left+=f.left-f.marginLeft,o.right=d+f.left}}var g="number"==typeof(n=n||0);return o.left+=g?n:n.left||0,o.top+=g?n:n.top||0,o.right-=g?n:n.right||0,o.bottom-=g?n:n.bottom||0,o}function I(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=O(n,r,o,i),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},u=Object.keys(s).map(function(t){return x({key:t},s[t],{area:(e=s[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),l=u.filter(function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight}),c=l.length>0?l[0].key:u[0].key,f=t.split("-")[1];return c+(f?"-"+f:"")}function N(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return A(n,r?D(e):v(e,n),r)}function L(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function k(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function j(t,e,n){n=n.split("-")[0];var r=L(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",u=o?"height":"width",l=o?"width":"height";return i[a]=e[a]+e[u]/2-r[u]/2,i[s]=n===s?e[s]-r[l]:e[k(s)],i}function R(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function P(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=R(t,function(t){return t[e]===n});return t.indexOf(r)}(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&s(n)&&(e.offsets.popper=C(e.offsets.popper),e.offsets.reference=C(e.offsets.reference),e=n(e,t))}),e}function H(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function W(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var i=e[r],o=i?""+i+n:t;if(void 0!==document.body.style[o])return o}return null}function M(t){var e=t.ownerDocument;return e?e.defaultView:window}function F(t,e,n,r){n.updateBound=r,M(t).addEventListener("resize",n.updateBound,{passive:!0});var i=c(t);return function t(e,n,r,i){var o="BODY"===e.nodeName,a=o?e.ownerDocument.defaultView:e;a.addEventListener(n,r,{passive:!0}),o||t(c(a.parentNode),n,r,i),i.push(a)}(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function q(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,M(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function U(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function B(t,e){Object.keys(e).forEach(function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&U(e[n])&&(r="px"),t.style[n]=e[n]+r})}var V=n&&/Firefox/i.test(navigator.userAgent);function $(t,e,n){var r=R(t,function(t){return t.name===e}),i=!!r&&t.some(function(t){return t.name===n&&t.enabled&&t.order<r.order});if(!i){var o="`"+e+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}var G=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],z=G.slice(3);function K(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=z.indexOf(t),r=z.slice(n+1).concat(z.slice(0,n));return e?r.reverse():r}var X={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Q(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=a.indexOf(R(a,function(t){return-1!==t.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return(l=l.map(function(t,r){var i=(1===r?!o:o)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return C(s)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,i,e,n)})})).forEach(function(t,e){t.forEach(function(n,r){U(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))})}),i}var Y={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",l=s?"width":"height",c={start:T({},u,o[u]),end:T({},u,o[u]+o[l]-a[l])};t.offsets.popper=x({},a,c[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],u=void 0;return u=U(+n)?[+n,0]:Q(n,o,a,s),"left"===s?(o.top+=u[0],o.left-=u[1]):"right"===s?(o.top+=u[0],o.left+=u[1]):"top"===s?(o.left+=u[0],o.top-=u[1]):"bottom"===s&&(o.left+=u[0],o.top+=u[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||d(t.instance.popper);t.instance.reference===n&&(n=d(n));var r=W("transform"),i=t.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var u=O(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=a,i[r]=s,e.boundaries=u;var l=e.priority,c=t.offsets.popper,f={primary:function(t){var n=c[t];return c[t]<u[t]&&!e.escapeWithReference&&(n=Math.max(c[t],u[t])),T({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=c[n];return c[t]>u[t]&&!e.escapeWithReference&&(r=Math.min(c[n],u[t]-("right"===t?c.width:c.height))),T({},n,r)}};return l.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=x({},c,f[e](t))}),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",u=a?"left":"top",l=a?"width":"height";return n[s]<o(r[u])&&(t.offsets.popper[u]=o(r[u])-n[l]),n[u]>o(r[s])&&(t.offsets.popper[u]=o(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!$(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,a=o.popper,s=o.reference,l=-1!==["left","right"].indexOf(i),c=l?"height":"width",f=l?"Top":"Left",h=f.toLowerCase(),p=l?"left":"top",d=l?"bottom":"right",g=L(r)[c];s[d]-g<a[h]&&(t.offsets.popper[h]-=a[h]-(s[d]-g)),s[h]+g>a[d]&&(t.offsets.popper[h]+=s[h]+g-a[d]),t.offsets.popper=C(t.offsets.popper);var v=s[h]+s[c]/2-g/2,m=u(t.instance.popper),y=parseFloat(m["margin"+f],10),_=parseFloat(m["border"+f+"Width"],10),b=v-t.offsets.popper[h]-y-_;return b=Math.max(Math.min(a[c]-g,b),0),t.arrowElement=r,t.offsets.arrow=(T(n={},h,Math.round(b)),T(n,p,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(H(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=O(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=k(r),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case X.FLIP:a=[r,i];break;case X.CLOCKWISE:a=K(r);break;case X.COUNTERCLOCKWISE:a=K(r,!0);break;default:a=e.behavior}return a.forEach(function(s,u){if(r!==s||a.length===u+1)return t;r=t.placement.split("-")[0],i=k(r);var l=t.offsets.popper,c=t.offsets.reference,f=Math.floor,h="left"===r&&f(l.right)>f(c.left)||"right"===r&&f(l.left)<f(c.right)||"top"===r&&f(l.bottom)>f(c.top)||"bottom"===r&&f(l.top)<f(c.bottom),p=f(l.left)<f(n.left),d=f(l.right)>f(n.right),g=f(l.top)<f(n.top),v=f(l.bottom)>f(n.bottom),m="left"===r&&p||"right"===r&&d||"top"===r&&g||"bottom"===r&&v,y=-1!==["top","bottom"].indexOf(r),_=!!e.flipVariations&&(y&&"start"===o&&p||y&&"end"===o&&d||!y&&"start"===o&&g||!y&&"end"===o&&v);(h||m||_)&&(t.flipped=!0,(h||m)&&(r=a[u+1]),_&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=x({},t.offsets.popper,j(t.instance.popper,t.offsets.reference,t.placement)),t=P(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),t.placement=k(e),t.offsets.popper=C(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!$(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=R(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,i=t.offsets.popper,o=R(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:e.gpuAcceleration,s=d(t.instance.popper),u=S(s),l={position:i.position},c=function(t,e){var n=t.offsets,r=n.popper,i=n.reference,o=Math.round,a=Math.floor,s=function(t){return t},u=o(i.width),l=o(r.width),c=-1!==["left","right"].indexOf(t.placement),f=-1!==t.placement.indexOf("-"),h=e?c||f||u%2==l%2?o:a:s,p=e?o:s;return{left:h(u%2==1&&l%2==1&&!f&&e?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:h(r.right)}}(t,window.devicePixelRatio<2||!V),f="bottom"===n?"top":"bottom",h="right"===r?"left":"right",p=W("transform"),g=void 0,v=void 0;if(v="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+c.bottom:-u.height+c.bottom:c.top,g="right"===h?"HTML"===s.nodeName?-s.clientWidth+c.right:-u.width+c.right:c.left,a&&p)l[p]="translate3d("+g+"px, "+v+"px, 0)",l[f]=0,l[h]=0,l.willChange="transform";else{var m="bottom"===f?-1:1,y="right"===h?-1:1;l[f]=v*m,l[h]=g*y,l.willChange=f+", "+h}var _={"x-placement":t.placement};return t.attributes=x({},_,t.attributes),t.styles=x({},l,t.styles),t.arrowStyles=x({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return B(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach(function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&B(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,i){var o=N(i,e,t,n.positionFixed),a=I(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),B(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},J=function(){function t(e,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};E(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=a(this.update.bind(this)),this.options=x({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(x({},t.Defaults.modifiers,i.modifiers)).forEach(function(e){r.options.modifiers[e]=x({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return x({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&s(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return w(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=N(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=I(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=j(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=P(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,H(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[W("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return q.call(this)}}]),t}();J.Utils=("undefined"!=typeof window?window:t).PopperUtils,J.placements=G,J.Defaults=Y,e.default=J}.call(this,n(2))},function(t,e,n){var r;!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],a=n.document,s=Object.getPrototypeOf,u=o.slice,l=o.concat,c=o.push,f=o.indexOf,h={},p=h.toString,d=h.hasOwnProperty,g=d.toString,v=g.call(Object),m={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},_=function(t){return null!=t&&t===t.window},b={type:!0,src:!0,noModule:!0};function E(t,e,n){var r,i=(e=e||a).createElement("script");if(i.text=t,n)for(r in b)n[r]&&(i[r]=n[r]);e.head.appendChild(i).parentNode.removeChild(i)}function w(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?h[p.call(t)]||"object":typeof t}var T=function(t,e){return new T.fn.init(t,e)},x=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function C(t){var e=!!t&&"length"in t&&t.length,n=w(t);return!y(t)&&!_(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}T.fn=T.prototype={jquery:"3.3.1",constructor:T,length:0,toArray:function(){return u.call(this)},get:function(t){return null==t?u.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=T.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return T.each(this,t)},map:function(t){return this.pushStack(T.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},T.extend=T.fn.extend=function(){var t,e,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||y(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(t=arguments[s]))for(e in t)n=a[e],a!==(r=t[e])&&(l&&r&&(T.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&T.isPlainObject(n)?n:{},a[e]=T.extend(l,o,r)):void 0!==r&&(a[e]=r));return a},T.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==p.call(t))&&(!(e=s(t))||"function"==typeof(n=d.call(e,"constructor")&&e.constructor)&&g.call(n)===v)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t){E(t)},each:function(t,e){var n,r=0;if(C(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},trim:function(t){return null==t?"":(t+"").replace(x,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(C(Object(t))?T.merge(n,"string"==typeof t?[t]:t):c.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:f.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,a=!n;i<o;i++)!e(t[i],i)!==a&&r.push(t[i]);return r},map:function(t,e,n){var r,i,o=0,a=[];if(C(t))for(r=t.length;o<r;o++)null!=(i=e(t[o],o,n))&&a.push(i);else for(o in t)null!=(i=e(t[o],o,n))&&a.push(i);return l.apply([],a)},guid:1,support:m}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=o[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){h["[object "+e+"]"]=e.toLowerCase()});var S=function(t){var e,n,r,i,o,a,s,u,l,c,f,h,p,d,g,v,m,y,_,b="sizzle"+1*new Date,E=t.document,w=0,T=0,x=at(),C=at(),S=at(),A=function(t,e){return t===e&&(f=!0),0},D={}.hasOwnProperty,O=[],I=O.pop,N=O.push,L=O.push,k=O.slice,j=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",H="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",W="\\["+P+"*("+H+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+H+"))|)"+P+"*\\]",M=":("+H+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",F=new RegExp(P+"+","g"),q=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),U=new RegExp("^"+P+"*,"+P+"*"),B=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),$=new RegExp(M),G=new RegExp("^"+H+"$"),z={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),tt=function(t,e,n){var r="0x"+e-65536;return r!=r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},et=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,nt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=function(){h()},it=yt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{L.apply(O=k.call(E.childNodes),E.childNodes),O[E.childNodes.length].nodeType}catch(t){L={apply:O.length?function(t,e){N.apply(t,k.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function ot(t,e,r,i){var o,s,l,c,f,d,m,y=e&&e.ownerDocument,w=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return r;if(!i&&((e?e.ownerDocument||e:E)!==p&&h(e),e=e||p,g)){if(11!==w&&(f=Y.exec(t)))if(o=f[1]){if(9===w){if(!(l=e.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(y&&(l=y.getElementById(o))&&_(e,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,e.getElementsByTagName(t)),r;if((o=f[3])&&n.getElementsByClassName&&e.getElementsByClassName)return L.apply(r,e.getElementsByClassName(o)),r}if(n.qsa&&!S[t+" "]&&(!v||!v.test(t))){if(1!==w)y=e,m=t;else if("object"!==e.nodeName.toLowerCase()){for((c=e.getAttribute("id"))?c=c.replace(et,nt):e.setAttribute("id",c=b),s=(d=a(t)).length;s--;)d[s]="#"+c+" "+mt(d[s]);m=d.join(","),y=J.test(t)&&gt(e.parentNode)||e}if(m)try{return L.apply(r,y.querySelectorAll(m)),r}catch(t){}finally{c===b&&e.removeAttribute("id")}}}return u(t.replace(q,"$1"),e,r,i)}function at(){var t=[];return function e(n,i){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function st(t){return t[b]=!0,t}function ut(t){var e=p.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function lt(t,e){for(var n=t.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=e}function ct(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ft(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ht(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function pt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&it(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function dt(t){return st(function(e){return e=+e,st(function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function gt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=ot.support={},o=ot.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},h=ot.setDocument=function(t){var e,i,a=t?t.ownerDocument||t:E;return a!==p&&9===a.nodeType&&a.documentElement?(d=(p=a).documentElement,g=!o(p),E!==p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",rt,!1):i.attachEvent&&i.attachEvent("onunload",rt)),n.attributes=ut(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=ut(function(t){return t.appendChild(p.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=ut(function(t){return d.appendChild(t).id=b,!p.getElementsByName||!p.getElementsByName(b).length}),n.getById?(r.filter.ID=function(t){var e=t.replace(Z,tt);return function(t){return t.getAttribute("id")===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter.ID=function(t){var e=t.replace(Z,tt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},m=[],v=[],(n.qsa=Q.test(p.querySelectorAll))&&(ut(function(t){d.appendChild(t).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+P+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||v.push("\\["+P+"*(?:value|"+R+")"),t.querySelectorAll("[id~="+b+"-]").length||v.push("~="),t.querySelectorAll(":checked").length||v.push(":checked"),t.querySelectorAll("a#"+b+"+*").length||v.push(".#.+[+~]")}),ut(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=p.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&v.push("name"+P+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),d.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),v.push(",.*:")})),(n.matchesSelector=Q.test(y=d.matches||d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),m.push("!=",M)}),v=v.length&&new RegExp(v.join("|")),m=m.length&&new RegExp(m.join("|")),e=Q.test(d.compareDocumentPosition),_=e||Q.test(d.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},A=e?function(t,e){if(t===e)return f=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t===p||t.ownerDocument===E&&_(E,t)?-1:e===p||e.ownerDocument===E&&_(E,e)?1:c?j(c,t)-j(c,e):0:4&r?-1:1)}:function(t,e){if(t===e)return f=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!i||!o)return t===p?-1:e===p?1:i?-1:o?1:c?j(c,t)-j(c,e):0;if(i===o)return ct(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ct(a[r],s[r]):a[r]===E?-1:s[r]===E?1:0},p):p},ot.matches=function(t,e){return ot(t,null,null,e)},ot.matchesSelector=function(t,e){if((t.ownerDocument||t)!==p&&h(t),e=e.replace(V,"='$1']"),n.matchesSelector&&g&&!S[e+" "]&&(!m||!m.test(e))&&(!v||!v.test(e)))try{var r=y.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){}return ot(e,p,null,[t]).length>0},ot.contains=function(t,e){return(t.ownerDocument||t)!==p&&h(t),_(t,e)},ot.attr=function(t,e){(t.ownerDocument||t)!==p&&h(t);var i=r.attrHandle[e.toLowerCase()],o=i&&D.call(r.attrHandle,e.toLowerCase())?i(t,e,!g):void 0;return void 0!==o?o:n.attributes||!g?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},ot.escape=function(t){return(t+"").replace(et,nt)},ot.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ot.uniqueSort=function(t){var e,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&t.slice(0),t.sort(A),f){for(;e=t[o++];)e===t[o]&&(i=r.push(o));for(;i--;)t.splice(r[i],1)}return c=null,t},i=ot.getText=function(t){var e,n="",r=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=i(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[r++];)n+=i(e);return n},(r=ot.selectors={cacheLength:50,createPseudo:st,match:z,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Z,tt),t[3]=(t[3]||t[4]||t[5]||"").replace(Z,tt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ot.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ot.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return z.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&$.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Z,tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=x[t+" "];return e||(e=new RegExp("(^|"+P+")"+t+"("+P+"|$)"))&&x(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(r){var i=ot.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(F," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,u){var l,c,f,h,p,d,g=o!==a?"nextSibling":"previousSibling",v=e.parentNode,m=s&&e.nodeName.toLowerCase(),y=!u&&!s,_=!1;if(v){if(o){for(;g;){for(h=e;h=h[g];)if(s?h.nodeName.toLowerCase()===m:1===h.nodeType)return!1;d=g="only"===t&&!d&&"nextSibling"}return!0}if(d=[a?v.firstChild:v.lastChild],a&&y){for(_=(p=(l=(c=(f=(h=v)[b]||(h[b]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===w&&l[1])&&l[2],h=p&&v.childNodes[p];h=++p&&h&&h[g]||(_=p=0)||d.pop();)if(1===h.nodeType&&++_&&h===e){c[t]=[w,p,_];break}}else if(y&&(_=p=(l=(c=(f=(h=e)[b]||(h[b]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===w&&l[1]),!1===_)for(;(h=++p&&h&&h[g]||(_=p=0)||d.pop())&&((s?h.nodeName.toLowerCase()!==m:1!==h.nodeType)||!++_||(y&&((c=(f=h[b]||(h[b]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]=[w,_]),h!==e)););return(_-=i)===r||_%r==0&&_/r>=0}}},PSEUDO:function(t,e){var n,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||ot.error("unsupported pseudo: "+t);return i[b]?i(e):i.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?st(function(t,n){for(var r,o=i(t,e),a=o.length;a--;)t[r=j(t,o[a])]=!(n[r]=o[a])}):function(t){return i(t,0,n)}):i}},pseudos:{not:st(function(t){var e=[],n=[],r=s(t.replace(q,"$1"));return r[b]?st(function(t,e,n,i){for(var o,a=r(t,null,i,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:st(function(t){return function(e){return ot(t,e).length>0}}),contains:st(function(t){return t=t.replace(Z,tt),function(e){return(e.textContent||e.innerText||i(e)).indexOf(t)>-1}}),lang:st(function(t){return G.test(t||"")||ot.error("unsupported lang: "+t),t=t.replace(Z,tt).toLowerCase(),function(e){var n;do{if(n=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===d},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:pt(!1),disabled:pt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return X.test(t.nodeName)},input:function(t){return K.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:dt(function(){return[0]}),last:dt(function(t,e){return[e-1]}),eq:dt(function(t,e,n){return[n<0?n+e:n]}),even:dt(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:dt(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:dt(function(t,e,n){for(var r=n<0?n+e:n;--r>=0;)t.push(r);return t}),gt:dt(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[e]=ft(e);for(e in{submit:!0,reset:!0})r.pseudos[e]=ht(e);function vt(){}function mt(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function yt(t,e,n){var r=e.dir,i=e.next,o=i||r,a=n&&"parentNode"===o,s=T++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||a)return t(e,n,i);return!1}:function(e,n,u){var l,c,f,h=[w,s];if(u){for(;e=e[r];)if((1===e.nodeType||a)&&t(e,n,u))return!0}else for(;e=e[r];)if(1===e.nodeType||a)if(c=(f=e[b]||(e[b]={}))[e.uniqueID]||(f[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((l=c[o])&&l[0]===w&&l[1]===s)return h[2]=l[2];if(c[o]=h,h[2]=t(e,n,u))return!0}return!1}}function _t(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function bt(t,e,n,r,i){for(var o,a=[],s=0,u=t.length,l=null!=e;s<u;s++)(o=t[s])&&(n&&!n(o,r,i)||(a.push(o),l&&e.push(s)));return a}function Et(t,e,n,r,i,o){return r&&!r[b]&&(r=Et(r)),i&&!i[b]&&(i=Et(i,o)),st(function(o,a,s,u){var l,c,f,h=[],p=[],d=a.length,g=o||function(t,e,n){for(var r=0,i=e.length;r<i;r++)ot(t,e[r],n);return n}(e||"*",s.nodeType?[s]:s,[]),v=!t||!o&&e?g:bt(g,h,t,s,u),m=n?i||(o?t:d||r)?[]:a:v;if(n&&n(v,m,s,u),r)for(l=bt(m,p),r(l,[],s,u),c=l.length;c--;)(f=l[c])&&(m[p[c]]=!(v[p[c]]=f));if(o){if(i||t){if(i){for(l=[],c=m.length;c--;)(f=m[c])&&l.push(v[c]=f);i(null,m=[],l,u)}for(c=m.length;c--;)(f=m[c])&&(l=i?j(o,f):h[c])>-1&&(o[l]=!(a[l]=f))}}else m=bt(m===a?m.splice(d,m.length):m),i?i(null,a,m,u):L.apply(a,m)})}function wt(t){for(var e,n,i,o=t.length,a=r.relative[t[0].type],s=a||r.relative[" "],u=a?1:0,c=yt(function(t){return t===e},s,!0),f=yt(function(t){return j(e,t)>-1},s,!0),h=[function(t,n,r){var i=!a&&(r||n!==l)||((e=n).nodeType?c(t,n,r):f(t,n,r));return e=null,i}];u<o;u++)if(n=r.relative[t[u].type])h=[yt(_t(h),n)];else{if((n=r.filter[t[u].type].apply(null,t[u].matches))[b]){for(i=++u;i<o&&!r.relative[t[i].type];i++);return Et(u>1&&_t(h),u>1&&mt(t.slice(0,u-1).concat({value:" "===t[u-2].type?"*":""})).replace(q,"$1"),n,u<i&&wt(t.slice(u,i)),i<o&&wt(t=t.slice(i)),i<o&&mt(t))}h.push(n)}return _t(h)}return vt.prototype=r.filters=r.pseudos,r.setFilters=new vt,a=ot.tokenize=function(t,e){var n,i,o,a,s,u,l,c=C[t+" "];if(c)return e?0:c.slice(0);for(s=t,u=[],l=r.preFilter;s;){for(a in n&&!(i=U.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=B.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(q," ")}),s=s.slice(n.length)),r.filter)!(i=z[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return e?s.length:s?ot.error(t):C(t,u).slice(0)},s=ot.compile=function(t,e){var n,i=[],o=[],s=S[t+" "];if(!s){for(e||(e=a(t)),n=e.length;n--;)(s=wt(e[n]))[b]?i.push(s):o.push(s);(s=S(t,function(t,e){var n=e.length>0,i=t.length>0,o=function(o,a,s,u,c){var f,d,v,m=0,y="0",_=o&&[],b=[],E=l,T=o||i&&r.find.TAG("*",c),x=w+=null==E?1:Math.random()||.1,C=T.length;for(c&&(l=a===p||a||c);y!==C&&null!=(f=T[y]);y++){if(i&&f){for(d=0,a||f.ownerDocument===p||(h(f),s=!g);v=t[d++];)if(v(f,a||p,s)){u.push(f);break}c&&(w=x)}n&&((f=!v&&f)&&m--,o&&_.push(f))}if(m+=y,n&&y!==m){for(d=0;v=e[d++];)v(_,b,a,s);if(o){if(m>0)for(;y--;)_[y]||b[y]||(b[y]=I.call(u));b=bt(b)}L.apply(u,b),c&&!o&&b.length>0&&m+e.length>1&&ot.uniqueSort(u)}return c&&(w=x,l=E),_};return n?st(o):o}(o,i))).selector=t}return s},u=ot.select=function(t,e,n,i){var o,u,l,c,f,h="function"==typeof t&&t,p=!i&&a(t=h.selector||t);if(n=n||[],1===p.length){if((u=p[0]=p[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===e.nodeType&&g&&r.relative[u[1].type]){if(!(e=(r.find.ID(l.matches[0].replace(Z,tt),e)||[])[0]))return n;h&&(e=e.parentNode),t=t.slice(u.shift().value.length)}for(o=z.needsContext.test(t)?0:u.length;o--&&(l=u[o],!r.relative[c=l.type]);)if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,tt),J.test(u[0].type)&&gt(e.parentNode)||e))){if(u.splice(o,1),!(t=i.length&&mt(u)))return L.apply(n,i),n;break}}return(h||s(t,p))(i,e,!g,n,!e||J.test(t)&&gt(e.parentNode)||e),n},n.sortStable=b.split("").sort(A).join("")===b,n.detectDuplicates=!!f,h(),n.sortDetached=ut(function(t){return 1&t.compareDocumentPosition(p.createElement("fieldset"))}),ut(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||lt("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&&ut(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||lt("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ut(function(t){return null==t.getAttribute("disabled")})||lt(R,function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),ot}(n);T.find=S,T.expr=S.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=S.uniqueSort,T.text=S.getText,T.isXMLDoc=S.isXML,T.contains=S.contains,T.escapeSelector=S.escape;var A=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&T(t).is(n))break;r.push(t)}return r},D=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},O=T.expr.match.needsContext;function I(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function L(t,e,n){return y(e)?T.grep(t,function(t,r){return!!e.call(t,r,t)!==n}):e.nodeType?T.grep(t,function(t){return t===e!==n}):"string"!=typeof e?T.grep(t,function(t){return f.call(e,t)>-1!==n}):T.filter(e,t,n)}T.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?T.find.matchesSelector(r,t)?[r]:[]:T.find.matches(t,T.grep(e,function(t){return 1===t.nodeType}))},T.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(T(t).filter(function(){for(e=0;e<r;e++)if(T.contains(i[e],this))return!0}));for(n=this.pushStack([]),e=0;e<r;e++)T.find(t,i[e],n);return r>1?T.uniqueSort(n):n},filter:function(t){return this.pushStack(L(this,t||[],!1))},not:function(t){return this.pushStack(L(this,t||[],!0))},is:function(t){return!!L(this,"string"==typeof t&&O.test(t)?T(t):t||[],!1).length}});var k,j=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||k,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:j.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof T?e[0]:e,T.merge(this,T.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:a,!0)),N.test(r[1])&&T.isPlainObject(e))for(r in e)y(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(i=a.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==n.ready?n.ready(t):t(T):T.makeArray(t,this)}).prototype=T.fn,k=T(a);var R=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function H(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}T.fn.extend({has:function(t){var e=T(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(T.contains(this,e[t]))return!0})},closest:function(t,e){var n,r=0,i=this.length,o=[],a="string"!=typeof t&&T(t);if(!O.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?T.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?f.call(T(t),this[0]):f.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),T.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return A(t,"parentNode")},parentsUntil:function(t,e,n){return A(t,"parentNode",n)},next:function(t){return H(t,"nextSibling")},prev:function(t){return H(t,"previousSibling")},nextAll:function(t){return A(t,"nextSibling")},prevAll:function(t){return A(t,"previousSibling")},nextUntil:function(t,e,n){return A(t,"nextSibling",n)},prevUntil:function(t,e,n){return A(t,"previousSibling",n)},siblings:function(t){return D((t.parentNode||{}).firstChild,t)},children:function(t){return D(t.firstChild)},contents:function(t){return I(t,"iframe")?t.contentDocument:(I(t,"template")&&(t=t.content||t),T.merge([],t.childNodes))}},function(t,e){T.fn[t]=function(n,r){var i=T.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=T.filter(r,i)),this.length>1&&(P[t]||T.uniqueSort(i),R.test(t)&&i.reverse()),this.pushStack(i)}});var W=/[^\x20\t\r\n\f]+/g;function M(t){return t}function F(t){throw t}function q(t,e,n,r){var i;try{t&&y(i=t.promise)?i.call(t).done(e).fail(n):t&&y(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}T.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return T.each(t.match(W)||[],function(t,n){e[n]=!0}),e}(t):T.extend({},t);var e,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||t.once,r=e=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&t.stopOnFalse&&(s=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!e&&(s=o.length-1,a.push(n)),function e(n){T.each(n,function(n,r){y(r)?t.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==w(r)&&e(r)})}(arguments),n&&!e&&u()),this},remove:function(){return T.each(arguments,function(t,e){for(var n;(n=T.inArray(e,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(t){return t?T.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},T.extend({Deferred:function(t){var e=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return T.Deferred(function(n){T.each(e,function(e,r){var i=y(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&y(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){var o=0;function a(t,e,r,i){return function(){var s=this,u=arguments,l=function(){var n,l;if(!(t<o)){if((n=r.apply(s,u))===e.promise())throw new TypeError("Thenable self-resolution");l=n&&("object"==typeof n||"function"==typeof n)&&n.then,y(l)?i?l.call(n,a(o,e,M,i),a(o,e,F,i)):(o++,l.call(n,a(o,e,M,i),a(o,e,F,i),a(o,e,M,e.notifyWith))):(r!==M&&(s=void 0,u=[n]),(i||e.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(n){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(n,c.stackTrace),t+1>=o&&(r!==F&&(s=void 0,u=[n]),e.rejectWith(s,u))}};t?c():(T.Deferred.getStackHook&&(c.stackTrace=T.Deferred.getStackHook()),n.setTimeout(c))}}return T.Deferred(function(n){e[0][3].add(a(0,n,y(i)?i:M,n.notifyWith)),e[1][3].add(a(0,n,y(t)?t:M)),e[2][3].add(a(0,n,y(r)?r:F))}).promise()},promise:function(t){return null!=t?T.extend(t,i):i}},o={};return T.each(e,function(t,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=u.call(arguments),o=T.Deferred(),a=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?u.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(q(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)q(i[n],a(n),o.reject);return o.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&U.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},T.readyException=function(t){n.setTimeout(function(){throw t})};var B=T.Deferred();function V(){a.removeEventListener("DOMContentLoaded",V),n.removeEventListener("load",V),T.ready()}T.fn.ready=function(t){return B.then(t).catch(function(t){T.readyException(t)}),this},T.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==t&&--T.readyWait>0||B.resolveWith(a,[T]))}}),T.ready.then=B.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(T.ready):(a.addEventListener("DOMContentLoaded",V),n.addEventListener("load",V));var $=function(t,e,n,r,i,o,a){var s=0,u=t.length,l=null==n;if("object"===w(n))for(s in i=!0,n)$(t,e,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),l&&(a?(e.call(t,r),e=null):(l=e,e=function(t,e,n){return l.call(T(t),n)})),e))for(;s<u;s++)e(t[s],n,a?r:r.call(t[s],s,e(t[s],n)));return i?t:l?e.call(t):u?e(t[0],n):o},G=/^-ms-/,z=/-([a-z])/g;function K(t,e){return e.toUpperCase()}function X(t){return t.replace(G,"ms-").replace(z,K)}var Q=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Y(){this.expando=T.expando+Y.uid++}Y.uid=1,Y.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Q(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[X(e)]=n;else for(r in e)i[X(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][X(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){n=(e=Array.isArray(e)?e.map(X):(e=X(e))in r?[e]:e.match(W)||[]).length;for(;n--;)delete r[e[n]]}(void 0===e||T.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!T.isEmptyObject(e)}};var J=new Y,Z=new Y,tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,et=/[A-Z]/g;function nt(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(et,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:tt.test(t)?JSON.parse(t):t)}(n)}catch(t){}Z.set(t,e,n)}else n=void 0;return n}T.extend({hasData:function(t){return Z.hasData(t)||J.hasData(t)},data:function(t,e,n){return Z.access(t,e,n)},removeData:function(t,e){Z.remove(t,e)},_data:function(t,e,n){return J.access(t,e,n)},_removeData:function(t,e){J.remove(t,e)}}),T.fn.extend({data:function(t,e){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(i=Z.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=X(r.slice(5)),nt(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){Z.set(this,t)}):$(this,function(e){var n;if(o&&void 0===e)return void 0!==(n=Z.get(o,t))?n:void 0!==(n=nt(o,t))?n:void 0;this.each(function(){Z.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Z.remove(this,t)})}}),T.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=J.get(t,e),n&&(!r||Array.isArray(n)?r=J.access(t,e,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=T.queue(t,e),r=n.length,i=n.shift(),o=T._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,function(){T.dequeue(t,e)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return J.get(t,n)||J.access(t,n,{empty:T.Callbacks("once memory").add(function(){J.remove(t,[e+"queue",n])})})}}),T.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?T.queue(this[0],t):void 0===e?this:this.each(function(){var n=T.queue(this,t,e);T._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&T.dequeue(this,t)})},dequeue:function(t){return this.each(function(){T.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=T.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=J.get(o[a],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(e)}});var rt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,it=new RegExp("^(?:([+-])=|)("+rt+")([a-z%]*)$","i"),ot=["Top","Right","Bottom","Left"],at=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&T.contains(t.ownerDocument,t)&&"none"===T.css(t,"display")},st=function(t,e,n,r){var i,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in i=n.apply(t,r||[]),e)t.style[o]=a[o];return i};function ut(t,e,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return T.css(t,e,"")},u=s(),l=n&&n[3]||(T.cssNumber[e]?"":"px"),c=(T.cssNumber[e]||"px"!==l&&+u)&&it.exec(T.css(t,e));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)T.style(t,e,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,T.style(t,e,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var lt={};function ct(t){var e,n=t.ownerDocument,r=t.nodeName,i=lt[r];return i||(e=n.body.appendChild(n.createElement(r)),i=T.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),lt[r]=i,i)}function ft(t,e){for(var n,r,i=[],o=0,a=t.length;o<a;o++)(r=t[o]).style&&(n=r.style.display,e?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&at(r)&&(i[o]=ct(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}T.fn.extend({show:function(){return ft(this,!0)},hide:function(){return ft(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){at(this)?T(this).show():T(this).hide()})}});var ht=/^(?:checkbox|radio)$/i,pt=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,dt=/^$|^module$|\/(?:java|ecma)script/i,gt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function vt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&I(t,e)?T.merge([t],n):n}function mt(t,e){for(var n=0,r=t.length;n<r;n++)J.set(t[n],"globalEval",!e||J.get(e[n],"globalEval"))}gt.optgroup=gt.option,gt.tbody=gt.tfoot=gt.colgroup=gt.caption=gt.thead,gt.th=gt.td;var yt,_t,bt=/<|&#?\w+;/;function Et(t,e,n,r,i){for(var o,a,s,u,l,c,f=e.createDocumentFragment(),h=[],p=0,d=t.length;p<d;p++)if((o=t[p])||0===o)if("object"===w(o))T.merge(h,o.nodeType?[o]:o);else if(bt.test(o)){for(a=a||f.appendChild(e.createElement("div")),s=(pt.exec(o)||["",""])[1].toLowerCase(),u=gt[s]||gt._default,a.innerHTML=u[1]+T.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;T.merge(h,a.childNodes),(a=f.firstChild).textContent=""}else h.push(e.createTextNode(o));for(f.textContent="",p=0;o=h[p++];)if(r&&T.inArray(o,r)>-1)i&&i.push(o);else if(l=T.contains(o.ownerDocument,o),a=vt(f.appendChild(o),"script"),l&&mt(a),n)for(c=0;o=a[c++];)dt.test(o.type||"")&&n.push(o);return f}yt=a.createDocumentFragment().appendChild(a.createElement("div")),(_t=a.createElement("input")).setAttribute("type","radio"),_t.setAttribute("checked","checked"),_t.setAttribute("name","t"),yt.appendChild(_t),m.checkClone=yt.cloneNode(!0).cloneNode(!0).lastChild.checked,yt.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!yt.cloneNode(!0).lastChild.defaultValue;var wt=a.documentElement,Tt=/^key/,xt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ct=/^([^.]*)(?:\.(.+)|)/;function St(){return!0}function At(){return!1}function Dt(){try{return a.activeElement}catch(t){}}function Ot(t,e,n,r,i,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(r=r||n,n=void 0),e)Ot(t,s,n,r,e[s],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=At;else if(!i)return t;return 1===o&&(a=i,(i=function(t){return T().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=T.guid++)),t.each(function(){T.event.add(this,e,i,r,n)})}T.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,h,p,d,g,v=J.get(t);if(v)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&T.find.matchesSelector(wt,i),n.guid||(n.guid=T.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return void 0!==T&&T.event.triggered!==e.type?T.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(W)||[""]).length;l--;)p=g=(s=Ct.exec(e[l])||[])[1],d=(s[2]||"").split(".").sort(),p&&(f=T.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=T.event.special[p]||{},c=T.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:d.join(".")},o),(h=u[p])||((h=u[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,d,a)||t.addEventListener&&t.addEventListener(p,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,c):h.push(c),T.event.global[p]=!0)},remove:function(t,e,n,r,i){var o,a,s,u,l,c,f,h,p,d,g,v=J.hasData(t)&&J.get(t);if(v&&(u=v.events)){for(l=(e=(e||"").match(W)||[""]).length;l--;)if(p=g=(s=Ct.exec(e[l])||[])[1],d=(s[2]||"").split(".").sort(),p){for(f=T.event.special[p]||{},h=u[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)c=h[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,f.remove&&f.remove.call(t,c));a&&!h.length&&(f.teardown&&!1!==f.teardown.call(t,d,v.handle)||T.removeEvent(t,p,v.handle),delete u[p])}else for(p in u)T.event.remove(t,p+e[l],n,r,!0);T.isEmptyObject(u)&&J.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,a,s=T.event.fix(t),u=new Array(arguments.length),l=(J.get(this,"events")||{})[s.type]||[],c=T.event.special[s.type]||{};for(u[0]=s,e=1;e<arguments.length;e++)u[e]=arguments[e];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(a=T.event.handlers.call(this,s,l),e=0;(i=a[e++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((T.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(t,e){var n,r,i,o,a,s=[],u=e.delegateCount,l=t.target;if(u&&l.nodeType&&!("click"===t.type&&t.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==t.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=e[n]).selector+" "]&&(a[i]=r.needsContext?T(i,this).index(l)>-1:T.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<e.length&&s.push({elem:l,handlers:e.slice(u)}),s},addProp:function(t,e){Object.defineProperty(T.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[T.expando]?t:new T.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Dt()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Dt()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&I(this,"input"))return this.click(),!1},_default:function(t){return I(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},T.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},T.Event=function(t,e){if(!(this instanceof T.Event))return new T.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?St:At,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&T.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:At,isPropagationStopped:At,isImmediatePropagationStopped:At,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=St,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=St,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=St,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&Tt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&xt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},T.event.addProp),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){T.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=t.relatedTarget,i=t.handleObj;return r&&(r===this||T.contains(this,r))||(t.type=i.origType,n=i.handler.apply(this,arguments),t.type=e),n}}}),T.fn.extend({on:function(t,e,n,r){return Ot(this,t,e,n,r)},one:function(t,e,n,r){return Ot(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,T(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=At),this.each(function(){T.event.remove(this,t,n,e)})}});var It=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Nt=/<script|<style|<link/i,Lt=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function jt(t,e){return I(t,"table")&&I(11!==e.nodeType?e:e.firstChild,"tr")&&T(t).children("tbody")[0]||t}function Rt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Pt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Ht(t,e){var n,r,i,o,a,s,u,l;if(1===e.nodeType){if(J.hasData(t)&&(o=J.access(t),a=J.set(e,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<r;n++)T.event.add(e,i,l[i][n]);Z.hasData(t)&&(s=Z.access(t),u=T.extend({},s),Z.set(e,u))}}function Wt(t,e,n,r){e=l.apply([],e);var i,o,a,s,u,c,f=0,h=t.length,p=h-1,d=e[0],g=y(d);if(g||h>1&&"string"==typeof d&&!m.checkClone&&Lt.test(d))return t.each(function(i){var o=t.eq(i);g&&(e[0]=d.call(this,i,o.html())),Wt(o,e,n,r)});if(h&&(o=(i=Et(e,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=T.map(vt(i,"script"),Rt)).length;f<h;f++)u=i,f!==p&&(u=T.clone(u,!0,!0),s&&T.merge(a,vt(u,"script"))),n.call(t[f],u,f);if(s)for(c=a[a.length-1].ownerDocument,T.map(a,Pt),f=0;f<s;f++)u=a[f],dt.test(u.type||"")&&!J.access(u,"globalEval")&&T.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?T._evalUrl&&T._evalUrl(u.src):E(u.textContent.replace(kt,""),c,u))}return t}function Mt(t,e,n){for(var r,i=e?T.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||T.cleanData(vt(r)),r.parentNode&&(n&&T.contains(r.ownerDocument,r)&&mt(vt(r,"script")),r.parentNode.removeChild(r));return t}T.extend({htmlPrefilter:function(t){return t.replace(It,"<$1></$2>")},clone:function(t,e,n){var r,i,o,a,s,u,l,c=t.cloneNode(!0),f=T.contains(t.ownerDocument,t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||T.isXMLDoc(t)))for(a=vt(c),r=0,i=(o=vt(t)).length;r<i;r++)s=o[r],u=a[r],l=void 0,"input"===(l=u.nodeName.toLowerCase())&&ht.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(e)if(n)for(o=o||vt(t),a=a||vt(c),r=0,i=o.length;r<i;r++)Ht(o[r],a[r]);else Ht(t,c);return(a=vt(c,"script")).length>0&&mt(a,!f&&vt(t,"script")),c},cleanData:function(t){for(var e,n,r,i=T.event.special,o=0;void 0!==(n=t[o]);o++)if(Q(n)){if(e=n[J.expando]){if(e.events)for(r in e.events)i[r]?T.event.remove(n,r):T.removeEvent(n,r,e.handle);n[J.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),T.fn.extend({detach:function(t){return Mt(this,t,!0)},remove:function(t){return Mt(this,t)},text:function(t){return $(this,function(t){return void 0===t?T.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Wt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||jt(this,t).appendChild(t)})},prepend:function(){return Wt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=jt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Wt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Wt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(T.cleanData(vt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return T.clone(this,t,e)})},html:function(t){return $(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Nt.test(t)&&!gt[(pt.exec(t)||["",""])[1].toLowerCase()]){t=T.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(T.cleanData(vt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return Wt(this,arguments,function(e){var n=this.parentNode;T.inArray(this,t)<0&&(T.cleanData(vt(this)),n&&n.replaceChild(e,this))},t)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){T.fn[t]=function(t){for(var n,r=[],i=T(t),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),T(i[a])[e](n),c.apply(r,n.get());return this.pushStack(r)}});var Ft=new RegExp("^("+rt+")(?!px)[a-z%]+$","i"),qt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},Ut=new RegExp(ot.join("|"),"i");function Bt(t,e,n){var r,i,o,a,s=t.style;return(n=n||qt(t))&&(""!==(a=n.getPropertyValue(e)||n[e])||T.contains(t.ownerDocument,t)||(a=T.style(t,e)),!m.pixelBoxStyles()&&Ft.test(a)&&Ut.test(e)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function Vt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",wt.appendChild(l).appendChild(c);var t=n.getComputedStyle(c);r="1%"!==t.top,u=12===e(t.marginLeft),c.style.right="60%",s=36===e(t.right),i=36===e(t.width),c.style.position="absolute",o=36===c.offsetWidth||"absolute",wt.removeChild(l),c=null}}function e(t){return Math.round(parseFloat(t))}var r,i,o,s,u,l=a.createElement("div"),c=a.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===c.style.backgroundClip,T.extend(m,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),o}}))}();var $t=/^(none|table(?!-c[ea]).+)/,Gt=/^--/,zt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:"0",fontWeight:"400"},Xt=["Webkit","Moz","ms"],Qt=a.createElement("div").style;function Yt(t){var e=T.cssProps[t];return e||(e=T.cssProps[t]=function(t){if(t in Qt)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=Xt.length;n--;)if((t=Xt[n]+e)in Qt)return t}(t)||t),e}function Jt(t,e,n){var r=it.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function Zt(t,e,n,r,i,o){var a="width"===e?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=T.css(t,n+ot[a],!0,i)),r?("content"===n&&(u-=T.css(t,"padding"+ot[a],!0,i)),"margin"!==n&&(u-=T.css(t,"border"+ot[a]+"Width",!0,i))):(u+=T.css(t,"padding"+ot[a],!0,i),"padding"!==n?u+=T.css(t,"border"+ot[a]+"Width",!0,i):s+=T.css(t,"border"+ot[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-u-s-.5))),u}function te(t,e,n){var r=qt(t),i=Bt(t,e,r),o="border-box"===T.css(t,"boxSizing",!1,r),a=o;if(Ft.test(i)){if(!n)return i;i="auto"}return a=a&&(m.boxSizingReliable()||i===t.style[e]),("auto"===i||!parseFloat(i)&&"inline"===T.css(t,"display",!1,r))&&(i=t["offset"+e[0].toUpperCase()+e.slice(1)],a=!0),(i=parseFloat(i)||0)+Zt(t,e,n||(o?"border":"content"),a,r,i)+"px"}function ee(t,e,n,r,i){return new ee.prototype.init(t,e,n,r,i)}T.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Bt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,s=X(e),u=Gt.test(e),l=t.style;if(u||(e=Yt(s)),a=T.cssHooks[e]||T.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:l[e];"string"===(o=typeof n)&&(i=it.exec(n))&&i[1]&&(n=ut(t,e,i),o="number"),null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(T.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(u?l.setProperty(e,n):l[e]=n))}},css:function(t,e,n,r){var i,o,a,s=X(e);return Gt.test(e)||(e=Yt(s)),(a=T.cssHooks[e]||T.cssHooks[s])&&"get"in a&&(i=a.get(t,!0,n)),void 0===i&&(i=Bt(t,e,r)),"normal"===i&&e in Kt&&(i=Kt[e]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),T.each(["height","width"],function(t,e){T.cssHooks[e]={get:function(t,n,r){if(n)return!$t.test(T.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?te(t,e,r):st(t,zt,function(){return te(t,e,r)})},set:function(t,n,r){var i,o=qt(t),a="border-box"===T.css(t,"boxSizing",!1,o),s=r&&Zt(t,e,r,a,o);return a&&m.scrollboxSize()===o.position&&(s-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-Zt(t,e,"border",!1,o)-.5)),s&&(i=it.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=T.css(t,e)),Jt(0,n,s)}}}),T.cssHooks.marginLeft=Vt(m.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Bt(t,"marginLeft"))||t.getBoundingClientRect().left-st(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(t,e){T.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+ot[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(T.cssHooks[t+e].set=Jt)}),T.fn.extend({css:function(t,e){return $(this,function(t,e,n){var r,i,o={},a=0;if(Array.isArray(e)){for(r=qt(t),i=e.length;a<i;a++)o[e[a]]=T.css(t,e[a],!1,r);return o}return void 0!==n?T.style(t,e,n):T.css(t,e)},t,e,arguments.length>1)}}),T.Tween=ee,ee.prototype={constructor:ee,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||T.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(T.cssNumber[n]?"":"px")},cur:function(){var t=ee.propHooks[this.prop];return t&&t.get?t.get(this):ee.propHooks._default.get(this)},run:function(t){var e,n=ee.propHooks[this.prop];return this.options.duration?this.pos=e=T.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ee.propHooks._default.set(this),this}},ee.prototype.init.prototype=ee.prototype,ee.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=T.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){T.fx.step[t.prop]?T.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[T.cssProps[t.prop]]&&!T.cssHooks[t.prop]?t.elem[t.prop]=t.now:T.style(t.elem,t.prop,t.now+t.unit)}}},ee.propHooks.scrollTop=ee.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},T.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},T.fx=ee.prototype.init,T.fx.step={};var ne,re,ie=/^(?:toggle|show|hide)$/,oe=/queueHooks$/;function ae(){re&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ae):n.setTimeout(ae,T.fx.interval),T.fx.tick())}function se(){return n.setTimeout(function(){ne=void 0}),ne=Date.now()}function ue(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=ot[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function le(t,e,n){for(var r,i=(ce.tweeners[e]||[]).concat(ce.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,e,t))return r}function ce(t,e,n){var r,i,o=0,a=ce.prefilters.length,s=T.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var e=ne||se(),n=Math.max(0,l.startTime+l.duration-e),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(t,[l,r,n]),r<1&&a?n:(a||s.notifyWith(t,[l,1,0]),s.resolveWith(t,[l]),!1)},l=s.promise({elem:t,props:T.extend({},e),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:e,originalOptions:n,startTime:ne||se(),duration:n.duration,tweens:[],createTween:function(e,n){var r=T.Tween(t,l.opts,e,n,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(r),r},stop:function(e){var n=0,r=e?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return e?(s.notifyWith(t,[l,1,0]),s.resolveWith(t,[l,e])):s.rejectWith(t,[l,e]),this}}),c=l.props;for(!function(t,e){var n,r,i,o,a;for(n in t)if(i=e[r=X(n)],o=t[n],Array.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(a=T.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete t[r],o)n in t||(t[n]=o[n],e[n]=i);else e[r]=i}(c,l.opts.specialEasing);o<a;o++)if(r=ce.prefilters[o].call(l,t,c,l.opts))return y(r.stop)&&(T._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return T.map(c,le,l),y(l.opts.start)&&l.opts.start.call(t,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),T.fx.timer(T.extend(u,{elem:t,anim:l,queue:l.opts.queue})),l}T.Animation=T.extend(ce,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return ut(n.elem,t,it.exec(e),n),n}]},tweener:function(t,e){y(t)?(e=t,t=["*"]):t=t.match(W);for(var n,r=0,i=t.length;r<i;r++)n=t[r],ce.tweeners[n]=ce.tweeners[n]||[],ce.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var r,i,o,a,s,u,l,c,f="width"in e||"height"in e,h=this,p={},d=t.style,g=t.nodeType&&at(t),v=J.get(t,"fxshow");for(r in n.queue||(null==(a=T._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,T.queue(t,"fx").length||a.empty.fire()})})),e)if(i=e[r],ie.test(i)){if(delete e[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}p[r]=v&&v[r]||T.style(t,r)}if((u=!T.isEmptyObject(e))||!T.isEmptyObject(p))for(r in f&&1===t.nodeType&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],null==(l=v&&v.display)&&(l=J.get(t,"display")),"none"===(c=T.css(t,"display"))&&(l?c=l:(ft([t],!0),l=t.style.display||l,c=T.css(t,"display"),ft([t]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===T.css(t,"float")&&(u||(h.done(function(){d.display=l}),null==l&&(c=d.display,l="none"===c?"":c)),d.display="inline-block")),n.overflow&&(d.overflow="hidden",h.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),u=!1,p)u||(v?"hidden"in v&&(g=v.hidden):v=J.access(t,"fxshow",{display:l}),o&&(v.hidden=!g),g&&ft([t],!0),h.done(function(){for(r in g||ft([t]),J.remove(t,"fxshow"),p)T.style(t,r,p[r])})),u=le(g?v[r]:0,r,h),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(t,e){e?ce.prefilters.unshift(t):ce.prefilters.push(t)}}),T.speed=function(t,e,n){var r=t&&"object"==typeof t?T.extend({},t):{complete:n||!n&&e||y(t)&&t,duration:t,easing:n&&e||e&&!y(e)&&e};return T.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in T.fx.speeds?r.duration=T.fx.speeds[r.duration]:r.duration=T.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(t,e,n,r){return this.filter(at).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=T.isEmptyObject(t),o=T.speed(e,n,r),a=function(){var e=ce(this,T.extend({},t),o);(i||J.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=T.timers,a=J.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&oe.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||T.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=J.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=T.timers,a=r?r.length:0;for(n.finish=!0,T.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),T.each(["toggle","show","hide"],function(t,e){var n=T.fn[e];T.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(ue(e,!0),t,r,i)}}),T.each({slideDown:ue("show"),slideUp:ue("hide"),slideToggle:ue("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){T.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),T.timers=[],T.fx.tick=function(){var t,e=0,n=T.timers;for(ne=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||T.fx.stop(),ne=void 0},T.fx.timer=function(t){T.timers.push(t),T.fx.start()},T.fx.interval=13,T.fx.start=function(){re||(re=!0,ae())},T.fx.stop=function(){re=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(t,e){return t=T.fx&&T.fx.speeds[t]||t,e=e||"fx",this.queue(e,function(e,r){var i=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(i)}})},function(){var t=a.createElement("input"),e=a.createElement("select").appendChild(a.createElement("option"));t.type="checkbox",m.checkOn=""!==t.value,m.optSelected=e.selected,(t=a.createElement("input")).value="t",t.type="radio",m.radioValue="t"===t.value}();var fe,he=T.expr.attrHandle;T.fn.extend({attr:function(t,e){return $(this,T.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){T.removeAttr(this,t)})}}),T.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?T.prop(t,e,n):(1===o&&T.isXMLDoc(t)||(i=T.attrHooks[e.toLowerCase()]||(T.expr.match.bool.test(e)?fe:void 0)),void 0!==n?null===n?void T.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=T.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&I(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(W);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),fe={set:function(t,e,n){return!1===e?T.removeAttr(t,n):t.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),function(t,e){var n=he[e]||T.find.attr;he[e]=function(t,e,r){var i,o,a=e.toLowerCase();return r||(o=he[a],he[a]=i,i=null!=n(t,e,r)?a:null,he[a]=o),i}});var pe=/^(?:input|select|textarea|button)$/i,de=/^(?:a|area)$/i;function ge(t){return(t.match(W)||[]).join(" ")}function ve(t){return t.getAttribute&&t.getAttribute("class")||""}function me(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(W)||[]}T.fn.extend({prop:function(t,e){return $(this,T.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[T.propFix[t]||t]})}}),T.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&T.isXMLDoc(t)||(e=T.propFix[e]||e,i=T.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=T.find.attr(t,"tabindex");return e?parseInt(e,10):pe.test(t.nodeName)||de.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(T.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),T.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(y(t))return this.each(function(e){T(this).addClass(t.call(this,e,ve(this)))});if((e=me(t)).length)for(;n=this[u++];)if(i=ve(n),r=1===n.nodeType&&" "+ge(i)+" "){for(a=0;o=e[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=ge(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,u=0;if(y(t))return this.each(function(e){T(this).removeClass(t.call(this,e,ve(this)))});if(!arguments.length)return this.attr("class","");if((e=me(t)).length)for(;n=this[u++];)if(i=ve(n),r=1===n.nodeType&&" "+ge(i)+" "){for(a=0;o=e[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=ge(r))&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):y(t)?this.each(function(n){T(this).toggleClass(t.call(this,n,ve(this),e),e)}):this.each(function(){var e,i,o,a;if(r)for(i=0,o=T(this),a=me(t);e=a[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=ve(this))&&J.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":J.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+ge(ve(n))+" ").indexOf(e)>-1)return!0;return!1}});var ye=/\r/g;T.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=y(t),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,T(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=T.map(i,function(t){return null==t?"":t+""})),(e=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))})):i?(e=T.valHooks[i.type]||T.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(ye,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(t){var e=T.find.attr(t,"value");return null!=e?e:ge(T.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!I(n.parentNode,"optgroup"))){if(e=T(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,r,i=t.options,o=T.makeArray(e),a=i.length;a--;)((r=i[a]).selected=T.inArray(T.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=T.inArray(T(t).val(),e)>-1}},m.checkOn||(T.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),m.focusin="onfocusin"in n;var _e=/^(?:focusinfocus|focusoutblur)$/,be=function(t){t.stopPropagation()};T.extend(T.event,{trigger:function(t,e,r,i){var o,s,u,l,c,f,h,p,g=[r||a],v=d.call(t,"type")?t.type:t,m=d.call(t,"namespace")?t.namespace.split("."):[];if(s=p=u=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!_e.test(v+T.event.triggered)&&(v.indexOf(".")>-1&&(m=v.split("."),v=m.shift(),m.sort()),c=v.indexOf(":")<0&&"on"+v,(t=t[T.expando]?t:new T.Event(v,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:T.makeArray(e,[t]),h=T.event.special[v]||{},i||!h.trigger||!1!==h.trigger.apply(r,e))){if(!i&&!h.noBubble&&!_(r)){for(l=h.delegateType||v,_e.test(l+v)||(s=s.parentNode);s;s=s.parentNode)g.push(s),u=s;u===(r.ownerDocument||a)&&g.push(u.defaultView||u.parentWindow||n)}for(o=0;(s=g[o++])&&!t.isPropagationStopped();)p=s,t.type=o>1?l:h.bindType||v,(f=(J.get(s,"events")||{})[t.type]&&J.get(s,"handle"))&&f.apply(s,e),(f=c&&s[c])&&f.apply&&Q(s)&&(t.result=f.apply(s,e),!1===t.result&&t.preventDefault());return t.type=v,i||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(g.pop(),e)||!Q(r)||c&&y(r[v])&&!_(r)&&((u=r[c])&&(r[c]=null),T.event.triggered=v,t.isPropagationStopped()&&p.addEventListener(v,be),r[v](),t.isPropagationStopped()&&p.removeEventListener(v,be),T.event.triggered=void 0,u&&(r[c]=u)),t.result}},simulate:function(t,e,n){var r=T.extend(new T.Event,n,{type:t,isSimulated:!0});T.event.trigger(r,null,e)}}),T.fn.extend({trigger:function(t,e){return this.each(function(){T.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return T.event.trigger(t,e,n,!0)}}),m.focusin||T.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){T.event.simulate(e,t.target,T.event.fix(t))};T.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,e);i||r.addEventListener(t,n,!0),J.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,e)-1;i?J.access(r,e,i):(r.removeEventListener(t,n,!0),J.remove(r,e))}}});var Ee=n.location,we=Date.now(),Te=/\?/;T.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+t),e};var xe=/\[\]$/,Ce=/\r?\n/g,Se=/^(?:submit|button|image|reset|file)$/i,Ae=/^(?:input|select|textarea|keygen)/i;function De(t,e,n,r){var i;if(Array.isArray(e))T.each(e,function(e,i){n||xe.test(t)?r(t,i):De(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==w(e))r(t,e);else for(i in e)De(t+"["+i+"]",e[i],n,r)}T.param=function(t,e){var n,r=[],i=function(t,e){var n=y(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(t)||t.jquery&&!T.isPlainObject(t))T.each(t,function(){i(this.name,this.value)});else for(n in t)De(n,t[n],e,i);return r.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=T.prop(this,"elements");return t?T.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!T(this).is(":disabled")&&Ae.test(this.nodeName)&&!Se.test(t)&&(this.checked||!ht.test(t))}).map(function(t,e){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,function(t){return{name:e.name,value:t.replace(Ce,"\r\n")}}):{name:e.name,value:n.replace(Ce,"\r\n")}}).get()}});var Oe=/%20/g,Ie=/#.*$/,Ne=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)$/gm,ke=/^(?:GET|HEAD)$/,je=/^\/\//,Re={},Pe={},He="*/".concat("*"),We=a.createElement("a");function Me(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(W)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function Fe(t,e,n,r){var i={},o=t===Pe;function a(s){var u;return i[s]=!0,T.each(t[s]||[],function(t,s){var l=s(e,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(e.dataTypes.unshift(l),a(l),!1)}),u}return a(e.dataTypes[0])||!i["*"]&&a("*")}function qe(t,e){var n,r,i=T.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&T.extend(!0,t,r),t}We.href=Ee.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ee.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ee.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":He,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?qe(qe(t,T.ajaxSettings),e):qe(T.ajaxSettings,t)},ajaxPrefilter:Me(Re),ajaxTransport:Me(Pe),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,i,o,s,u,l,c,f,h,p,d=T.ajaxSetup({},e),g=d.context||d,v=d.context&&(g.nodeType||g.jquery)?T(g):T.event,m=T.Deferred(),y=T.Callbacks("once memory"),_=d.statusCode||{},b={},E={},w="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=Le.exec(o);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(t,e){return null==c&&(t=E[t.toLowerCase()]=E[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==c&&(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)x.always(t[x.status]);else for(e in t)_[e]=[_[e],t[e]];return this},abort:function(t){var e=t||w;return r&&r.abort(e),C(0,e),this}};if(m.promise(x),d.url=((t||d.url||Ee.href)+"").replace(je,Ee.protocol+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(W)||[""],null==d.crossDomain){l=a.createElement("a");try{l.href=d.url,l.href=l.href,d.crossDomain=We.protocol+"//"+We.host!=l.protocol+"//"+l.host}catch(t){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=T.param(d.data,d.traditional)),Fe(Re,d,e,x),c)return x;for(h in(f=T.event&&d.global)&&0==T.active++&&T.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!ke.test(d.type),i=d.url.replace(Ie,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Oe,"+")):(p=d.url.slice(i.length),d.data&&(d.processData||"string"==typeof d.data)&&(i+=(Te.test(i)?"&":"?")+d.data,delete d.data),!1===d.cache&&(i=i.replace(Ne,"$1"),p=(Te.test(i)?"&":"?")+"_="+we+++p),d.url=i+p),d.ifModified&&(T.lastModified[i]&&x.setRequestHeader("If-Modified-Since",T.lastModified[i]),T.etag[i]&&x.setRequestHeader("If-None-Match",T.etag[i])),(d.data&&d.hasContent&&!1!==d.contentType||e.contentType)&&x.setRequestHeader("Content-Type",d.contentType),x.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+He+"; q=0.01":""):d.accepts["*"]),d.headers)x.setRequestHeader(h,d.headers[h]);if(d.beforeSend&&(!1===d.beforeSend.call(g,x,d)||c))return x.abort();if(w="abort",y.add(d.complete),x.done(d.success),x.fail(d.error),r=Fe(Pe,d,e,x)){if(x.readyState=1,f&&v.trigger("ajaxSend",[x,d]),c)return x;d.async&&d.timeout>0&&(u=n.setTimeout(function(){x.abort("timeout")},d.timeout));try{c=!1,r.send(b,C)}catch(t){if(c)throw t;C(-1,t)}}else C(-1,"No Transport");function C(t,e,a,s){var l,h,p,b,E,w=e;c||(c=!0,u&&n.clearTimeout(u),r=void 0,o=s||"",x.readyState=t>0?4:0,l=t>=200&&t<300||304===t,a&&(b=function(t,e,n){for(var r,i,o,a,s=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||t.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(d,x,a)),b=function(t,e,n,r){var i,o,a,s,u,l={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)l[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}(d,b,x,l),l?(d.ifModified&&((E=x.getResponseHeader("Last-Modified"))&&(T.lastModified[i]=E),(E=x.getResponseHeader("etag"))&&(T.etag[i]=E)),204===t||"HEAD"===d.type?w="nocontent":304===t?w="notmodified":(w=b.state,h=b.data,l=!(p=b.error))):(p=w,!t&&w||(w="error",t<0&&(t=0))),x.status=t,x.statusText=(e||w)+"",l?m.resolveWith(g,[h,w,x]):m.rejectWith(g,[x,w,p]),x.statusCode(_),_=void 0,f&&v.trigger(l?"ajaxSuccess":"ajaxError",[x,d,l?h:p]),y.fireWith(g,[x,w]),f&&(v.trigger("ajaxComplete",[x,d]),--T.active||T.event.trigger("ajaxStop")))}return x},getJSON:function(t,e,n){return T.get(t,e,n,"json")},getScript:function(t,e){return T.get(t,void 0,e,"script")}}),T.each(["get","post"],function(t,e){T[e]=function(t,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),T.ajax(T.extend({url:t,type:e,dataType:i,data:n,success:r},T.isPlainObject(t)&&t))}}),T._evalUrl=function(t){return T.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},T.fn.extend({wrapAll:function(t){var e;return this[0]&&(y(t)&&(t=t.call(this[0])),e=T(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return y(t)?this.each(function(e){T(this).wrapInner(t.call(this,e))}):this.each(function(){var e=T(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=y(t);return this.each(function(n){T(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(t){return!T.expr.pseudos.visible(t)},T.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Ue={0:200,1223:204},Be=T.ajaxSettings.xhr();m.cors=!!Be&&"withCredentials"in Be,m.ajax=Be=!!Be,T.ajaxTransport(function(t){var e,r;if(m.cors||Be&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);e=function(t){return function(){e&&(e=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Ue[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),r=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){e&&r()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),T.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return T.globalEval(t),t}}}),T.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),T.ajaxTransport("script",function(t){var e,n;if(t.crossDomain)return{send:function(r,i){e=T("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),a.head.appendChild(e[0])},abort:function(){n&&n()}}});var Ve,$e=[],Ge=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=$e.pop()||T.expando+"_"+we++;return this[t]=!0,t}}),T.ajaxPrefilter("json jsonp",function(t,e,r){var i,o,a,s=!1!==t.jsonp&&(Ge.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ge.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ge,"$1"+i):!1!==t.jsonp&&(t.url+=(Te.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||T.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?T(n).removeProp(i):n[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,$e.push(i)),a&&y(o)&&o(a[0]),a=o=void 0}),"script"}),m.createHTMLDocument=((Ve=a.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ve.childNodes.length),T.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(m.createHTMLDocument?((r=(e=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,e.head.appendChild(r)):e=a),o=!n&&[],(i=N.exec(t))?[e.createElement(i[1])]:(i=Et([t],e,o),o&&o.length&&T(o).remove(),T.merge([],i.childNodes)));var r,i,o},T.fn.load=function(t,e,n){var r,i,o,a=this,s=t.indexOf(" ");return s>-1&&(r=ge(t.slice(s)),t=t.slice(0,s)),y(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),a.length>0&&T.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(r?T("<div>").append(T.parseHTML(t)).find(r):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){T.fn[e]=function(t){return this.on(e,t)}}),T.expr.pseudos.animated=function(t){return T.grep(T.timers,function(e){return t===e.elem}).length},T.offset={setOffset:function(t,e,n){var r,i,o,a,s,u,l=T.css(t,"position"),c=T(t),f={};"static"===l&&(t.style.position="relative"),s=c.offset(),o=T.css(t,"top"),u=T.css(t,"left"),("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),y(e)&&(e=e.call(t,n,T.extend({},s))),null!=e.top&&(f.top=e.top-s.top+a),null!=e.left&&(f.left=e.left-s.left+i),"using"in e?e.using.call(t,f):c.css(f)}},T.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){T.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,r=this[0],i={top:0,left:0};if("fixed"===T.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===T.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((i=T(t).offset()).top+=T.css(t,"borderTopWidth",!0),i.left+=T.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-T.css(r,"marginTop",!0),left:e.left-i.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===T.css(t,"position");)t=t.offsetParent;return t||wt})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;T.fn[t]=function(r){return $(this,function(t,r,i){var o;if(_(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[e]:t[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i},t,r,arguments.length)}}),T.each(["top","left"],function(t,e){T.cssHooks[e]=Vt(m.pixelPosition,function(t,n){if(n)return n=Bt(t,e),Ft.test(n)?T(t).position()[e]+"px":n})}),T.each({Height:"height",Width:"width"},function(t,e){T.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){T.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return $(this,function(e,n,i){var o;return _(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?T.css(e,n,s):T.style(e,n,i,s)},e,a?i:void 0,a)}})}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){T.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),T.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),T.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),T.proxy=function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),y(t))return r=u.call(arguments,2),(i=function(){return t.apply(e||this,r.concat(u.call(arguments)))}).guid=t.guid=t.guid||T.guid++,i},T.holdReady=function(t){t?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=I,T.isFunction=y,T.isWindow=_,T.camelCase=X,T.type=w,T.now=Date.now,T.isNumeric=function(t){var e=T.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},void 0===(r=function(){return T}.apply(e,[]))||(t.exports=r);var ze=n.jQuery,Ke=n.$;return T.noConflict=function(t){return n.$===T&&(n.$=Ke),t&&n.jQuery===T&&(n.jQuery=ze),T},i||(n.jQuery=n.$=T),T})},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(0),i=n(21),o=n(23),a=n(24),s=n(25),u=n(7),l="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(26);t.exports=function(t){return new Promise(function(e,c){var f=t.data,h=t.headers;r.isFormData(f)&&delete h["Content-Type"];var p=new XMLHttpRequest,d="onreadystatechange",g=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in p||s(t.url)||(p=new window.XDomainRequest,d="onload",g=!0,p.onprogress=function(){},p.ontimeout=function(){}),t.auth){var v=t.auth.username||"",m=t.auth.password||"";h.Authorization="Basic "+l(v+":"+m)}if(p.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p[d]=function(){if(p&&(4===p.readyState||g)&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?p.response:p.responseText,status:1223===p.status?204:p.status,statusText:1223===p.status?"No Content":p.statusText,headers:n,config:t,request:p};i(e,c,r),p=null}},p.onerror=function(){c(u("Network Error",t,null,p)),p=null},p.ontimeout=function(){c(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var y=n(27),_=(t.withCredentials||s(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;_&&(h[t.xsrfHeaderName]=_)}if("setRequestHeader"in p&&r.forEach(h,function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete h[e]:p.setRequestHeader(e,t)}),t.withCredentials&&(p.withCredentials=!0),t.responseType)try{p.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){p&&(p.abort(),c(t),p=null)}),void 0===f&&(f=null),p.send(f)})}},function(t,e,n){"use strict";var r=n(22);t.exports=function(t,e,n,i,o){var a=new Error(t);return r(a,e,n,i,o)}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){n(11),t.exports=n(35)},function(t,e,n){window._=n(12);try{window.Popper=n(3).default,window.$=window.jQuery=n(4),n(14)}catch(t){}window.axios=n(15),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var r=document.head.querySelector('meta[name="csrf-token"]');r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},function(t,e,n){(function(t,r){var i;(function(){var o,a=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",l="__lodash_hash_undefined__",c=500,f="__lodash_placeholder__",h=1,p=2,d=4,g=1,v=2,m=1,y=2,_=4,b=8,E=16,w=32,T=64,x=128,C=256,S=512,A=30,D="...",O=800,I=16,N=1,L=2,k=1/0,j=9007199254740991,R=1.7976931348623157e308,P=NaN,H=4294967295,W=H-1,M=H>>>1,F=[["ary",x],["bind",m],["bindKey",y],["curry",b],["curryRight",E],["flip",S],["partial",w],["partialRight",T],["rearg",C]],q="[object Arguments]",U="[object Array]",B="[object AsyncFunction]",V="[object Boolean]",$="[object Date]",G="[object DOMException]",z="[object Error]",K="[object Function]",X="[object GeneratorFunction]",Q="[object Map]",Y="[object Number]",J="[object Null]",Z="[object Object]",tt="[object Proxy]",et="[object RegExp]",nt="[object Set]",rt="[object String]",it="[object Symbol]",ot="[object Undefined]",at="[object WeakMap]",st="[object WeakSet]",ut="[object ArrayBuffer]",lt="[object DataView]",ct="[object Float32Array]",ft="[object Float64Array]",ht="[object Int8Array]",pt="[object Int16Array]",dt="[object Int32Array]",gt="[object Uint8Array]",vt="[object Uint8ClampedArray]",mt="[object Uint16Array]",yt="[object Uint32Array]",_t=/\b__p \+= '';/g,bt=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,Tt=/[&<>"']/g,xt=RegExp(wt.source),Ct=RegExp(Tt.source),St=/<%-([\s\S]+?)%>/g,At=/<%([\s\S]+?)%>/g,Dt=/<%=([\s\S]+?)%>/g,Ot=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,It=/^\w*$/,Nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Lt=/[\\^$.*+?()[\]{}|]/g,kt=RegExp(Lt.source),jt=/^\s+|\s+$/g,Rt=/^\s+/,Pt=/\s+$/,Ht=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Wt=/\{\n\/\* \[wrapped with (.+)\] \*/,Mt=/,? & /,Ft=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,qt=/\\(\\)?/g,Ut=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Bt=/\w*$/,Vt=/^[-+]0x[0-9a-f]+$/i,$t=/^0b[01]+$/i,Gt=/^\[object .+?Constructor\]$/,zt=/^0o[0-7]+$/i,Kt=/^(?:0|[1-9]\d*)$/,Xt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qt=/($^)/,Yt=/['\n\r\u2028\u2029\\]/g,Jt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Zt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",te="[\\ud800-\\udfff]",ee="["+Zt+"]",ne="["+Jt+"]",re="\\d+",ie="[\\u2700-\\u27bf]",oe="[a-z\\xdf-\\xf6\\xf8-\\xff]",ae="[^\\ud800-\\udfff"+Zt+re+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",se="\\ud83c[\\udffb-\\udfff]",ue="[^\\ud800-\\udfff]",le="(?:\\ud83c[\\udde6-\\uddff]){2}",ce="[\\ud800-\\udbff][\\udc00-\\udfff]",fe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",he="(?:"+oe+"|"+ae+")",pe="(?:"+fe+"|"+ae+")",de="(?:"+ne+"|"+se+")"+"?",ge="[\\ufe0e\\ufe0f]?"+de+("(?:\\u200d(?:"+[ue,le,ce].join("|")+")[\\ufe0e\\ufe0f]?"+de+")*"),ve="(?:"+[ie,le,ce].join("|")+")"+ge,me="(?:"+[ue+ne+"?",ne,le,ce,te].join("|")+")",ye=RegExp("['’]","g"),_e=RegExp(ne,"g"),be=RegExp(se+"(?="+se+")|"+me+ge,"g"),Ee=RegExp([fe+"?"+oe+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ee,fe,"$"].join("|")+")",pe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ee,fe+he,"$"].join("|")+")",fe+"?"+he+"+(?:['’](?:d|ll|m|re|s|t|ve))?",fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",re,ve].join("|"),"g"),we=RegExp("[\\u200d\\ud800-\\udfff"+Jt+"\\ufe0e\\ufe0f]"),Te=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,xe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ce=-1,Se={};Se[ct]=Se[ft]=Se[ht]=Se[pt]=Se[dt]=Se[gt]=Se[vt]=Se[mt]=Se[yt]=!0,Se[q]=Se[U]=Se[ut]=Se[V]=Se[lt]=Se[$]=Se[z]=Se[K]=Se[Q]=Se[Y]=Se[Z]=Se[et]=Se[nt]=Se[rt]=Se[at]=!1;var Ae={};Ae[q]=Ae[U]=Ae[ut]=Ae[lt]=Ae[V]=Ae[$]=Ae[ct]=Ae[ft]=Ae[ht]=Ae[pt]=Ae[dt]=Ae[Q]=Ae[Y]=Ae[Z]=Ae[et]=Ae[nt]=Ae[rt]=Ae[it]=Ae[gt]=Ae[vt]=Ae[mt]=Ae[yt]=!0,Ae[z]=Ae[K]=Ae[at]=!1;var De={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Oe=parseFloat,Ie=parseInt,Ne="object"==typeof t&&t&&t.Object===Object&&t,Le="object"==typeof self&&self&&self.Object===Object&&self,ke=Ne||Le||Function("return this")(),je=e&&!e.nodeType&&e,Re=je&&"object"==typeof r&&r&&!r.nodeType&&r,Pe=Re&&Re.exports===je,He=Pe&&Ne.process,We=function(){try{var t=Re&&Re.require&&Re.require("util").types;return t||He&&He.binding&&He.binding("util")}catch(t){}}(),Me=We&&We.isArrayBuffer,Fe=We&&We.isDate,qe=We&&We.isMap,Ue=We&&We.isRegExp,Be=We&&We.isSet,Ve=We&&We.isTypedArray;function $e(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Ge(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function ze(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Ke(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Xe(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Qe(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function Ye(t,e){return!!(null==t?0:t.length)&&un(t,e,0)>-1}function Je(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function Ze(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function tn(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function en(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function nn(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function rn(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var on=hn("length");function an(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function sn(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function un(t,e,n){return e==e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):sn(t,cn,n)}function ln(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function cn(t){return t!=t}function fn(t,e){var n=null==t?0:t.length;return n?gn(t,e)/n:P}function hn(t){return function(e){return null==e?o:e[t]}}function pn(t){return function(e){return null==t?o:t[e]}}function dn(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function gn(t,e){for(var n,r=-1,i=t.length;++r<i;){var a=e(t[r]);a!==o&&(n=n===o?a:n+a)}return n}function vn(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function mn(t){return function(e){return t(e)}}function yn(t,e){return Ze(e,function(e){return t[e]})}function _n(t,e){return t.has(e)}function bn(t,e){for(var n=-1,r=t.length;++n<r&&un(e,t[n],0)>-1;);return n}function En(t,e){for(var n=t.length;n--&&un(e,t[n],0)>-1;);return n}var wn=pn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Tn=pn({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function xn(t){return"\\"+De[t]}function Cn(t){return we.test(t)}function Sn(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function An(t,e){return function(n){return t(e(n))}}function Dn(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==f||(t[n]=f,o[i++]=n)}return o}function On(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function In(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Nn(t){return Cn(t)?function(t){var e=be.lastIndex=0;for(;be.test(t);)++e;return e}(t):on(t)}function Ln(t){return Cn(t)?function(t){return t.match(be)||[]}(t):function(t){return t.split("")}(t)}var kn=pn({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var jn=function t(e){var n,r=(e=null==e?ke:jn.defaults(ke.Object(),e,jn.pick(ke,xe))).Array,i=e.Date,Jt=e.Error,Zt=e.Function,te=e.Math,ee=e.Object,ne=e.RegExp,re=e.String,ie=e.TypeError,oe=r.prototype,ae=Zt.prototype,se=ee.prototype,ue=e["__core-js_shared__"],le=ae.toString,ce=se.hasOwnProperty,fe=0,he=(n=/[^.]+$/.exec(ue&&ue.keys&&ue.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",pe=se.toString,de=le.call(ee),ge=ke._,ve=ne("^"+le.call(ce).replace(Lt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),me=Pe?e.Buffer:o,be=e.Symbol,we=e.Uint8Array,De=me?me.allocUnsafe:o,Ne=An(ee.getPrototypeOf,ee),Le=ee.create,je=se.propertyIsEnumerable,Re=oe.splice,He=be?be.isConcatSpreadable:o,We=be?be.iterator:o,on=be?be.toStringTag:o,pn=function(){try{var t=Mo(ee,"defineProperty");return t({},"",{}),t}catch(t){}}(),Rn=e.clearTimeout!==ke.clearTimeout&&e.clearTimeout,Pn=i&&i.now!==ke.Date.now&&i.now,Hn=e.setTimeout!==ke.setTimeout&&e.setTimeout,Wn=te.ceil,Mn=te.floor,Fn=ee.getOwnPropertySymbols,qn=me?me.isBuffer:o,Un=e.isFinite,Bn=oe.join,Vn=An(ee.keys,ee),$n=te.max,Gn=te.min,zn=i.now,Kn=e.parseInt,Xn=te.random,Qn=oe.reverse,Yn=Mo(e,"DataView"),Jn=Mo(e,"Map"),Zn=Mo(e,"Promise"),tr=Mo(e,"Set"),er=Mo(e,"WeakMap"),nr=Mo(ee,"create"),rr=er&&new er,ir={},or=fa(Yn),ar=fa(Jn),sr=fa(Zn),ur=fa(tr),lr=fa(er),cr=be?be.prototype:o,fr=cr?cr.valueOf:o,hr=cr?cr.toString:o;function pr(t){if(Ds(t)&&!ms(t)&&!(t instanceof mr)){if(t instanceof vr)return t;if(ce.call(t,"__wrapped__"))return ha(t)}return new vr(t)}var dr=function(){function t(){}return function(e){if(!As(e))return{};if(Le)return Le(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function gr(){}function vr(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function mr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=H,this.__views__=[]}function yr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function _r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function br(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Er(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new br;++e<n;)this.add(t[e])}function wr(t){var e=this.__data__=new _r(t);this.size=e.size}function Tr(t,e){var n=ms(t),r=!n&&vs(t),i=!n&&!r&&Es(t),o=!n&&!r&&!i&&Ps(t),a=n||r||i||o,s=a?vn(t.length,re):[],u=s.length;for(var l in t)!e&&!ce.call(t,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Go(l,u))||s.push(l);return s}function xr(t){var e=t.length;return e?t[Ei(0,e-1)]:o}function Cr(t,e){return ua(no(t),jr(e,0,t.length))}function Sr(t){return ua(no(t))}function Ar(t,e,n){(n===o||ps(t[e],n))&&(n!==o||e in t)||Lr(t,e,n)}function Dr(t,e,n){var r=t[e];ce.call(t,e)&&ps(r,n)&&(n!==o||e in t)||Lr(t,e,n)}function Or(t,e){for(var n=t.length;n--;)if(ps(t[n][0],e))return n;return-1}function Ir(t,e,n,r){return Mr(t,function(t,i,o){e(r,t,n(t),o)}),r}function Nr(t,e){return t&&ro(e,iu(e),t)}function Lr(t,e,n){"__proto__"==e&&pn?pn(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function kr(t,e){for(var n=-1,i=e.length,a=r(i),s=null==t;++n<i;)a[n]=s?o:Zs(t,e[n]);return a}function jr(t,e,n){return t==t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function Rr(t,e,n,r,i,a){var s,u=e&h,l=e&p,c=e&d;if(n&&(s=i?n(t,r,i,a):n(t)),s!==o)return s;if(!As(t))return t;var f=ms(t);if(f){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&ce.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!u)return no(t,s)}else{var g=Uo(t),v=g==K||g==X;if(Es(t))return Qi(t,u);if(g==Z||g==q||v&&!i){if(s=l||v?{}:Vo(t),!u)return l?function(t,e){return ro(t,qo(t),e)}(t,function(t,e){return t&&ro(e,ou(e),t)}(s,t)):function(t,e){return ro(t,Fo(t),e)}(t,Nr(s,t))}else{if(!Ae[g])return i?t:{};s=function(t,e,n){var r,i,o,a=t.constructor;switch(e){case ut:return Yi(t);case V:case $:return new a(+t);case lt:return function(t,e){var n=e?Yi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case ct:case ft:case ht:case pt:case dt:case gt:case vt:case mt:case yt:return Ji(t,n);case Q:return new a;case Y:case rt:return new a(t);case et:return(o=new(i=t).constructor(i.source,Bt.exec(i))).lastIndex=i.lastIndex,o;case nt:return new a;case it:return r=t,fr?ee(fr.call(r)):{}}}(t,g,u)}}a||(a=new wr);var m=a.get(t);if(m)return m;if(a.set(t,s),ks(t))return t.forEach(function(r){s.add(Rr(r,e,n,r,t,a))}),s;if(Os(t))return t.forEach(function(r,i){s.set(i,Rr(r,e,n,i,t,a))}),s;var y=f?o:(c?l?Lo:No:l?ou:iu)(t);return ze(y||t,function(r,i){y&&(r=t[i=r]),Dr(s,i,Rr(r,e,n,i,t,a))}),s}function Pr(t,e,n){var r=n.length;if(null==t)return!r;for(t=ee(t);r--;){var i=n[r],a=e[i],s=t[i];if(s===o&&!(i in t)||!a(s))return!1}return!0}function Hr(t,e,n){if("function"!=typeof t)throw new ie(u);return ia(function(){t.apply(o,n)},e)}function Wr(t,e,n,r){var i=-1,o=Ye,s=!0,u=t.length,l=[],c=e.length;if(!u)return l;n&&(e=Ze(e,mn(n))),r?(o=Je,s=!1):e.length>=a&&(o=_n,s=!1,e=new Er(e));t:for(;++i<u;){var f=t[i],h=null==n?f:n(f);if(f=r||0!==f?f:0,s&&h==h){for(var p=c;p--;)if(e[p]===h)continue t;l.push(f)}else o(e,h,r)||l.push(f)}return l}pr.templateSettings={escape:St,evaluate:At,interpolate:Dt,variable:"",imports:{_:pr}},pr.prototype=gr.prototype,pr.prototype.constructor=pr,vr.prototype=dr(gr.prototype),vr.prototype.constructor=vr,mr.prototype=dr(gr.prototype),mr.prototype.constructor=mr,yr.prototype.clear=function(){this.__data__=nr?nr(null):{},this.size=0},yr.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},yr.prototype.get=function(t){var e=this.__data__;if(nr){var n=e[t];return n===l?o:n}return ce.call(e,t)?e[t]:o},yr.prototype.has=function(t){var e=this.__data__;return nr?e[t]!==o:ce.call(e,t)},yr.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=nr&&e===o?l:e,this},_r.prototype.clear=function(){this.__data__=[],this.size=0},_r.prototype.delete=function(t){var e=this.__data__,n=Or(e,t);return!(n<0||(n==e.length-1?e.pop():Re.call(e,n,1),--this.size,0))},_r.prototype.get=function(t){var e=this.__data__,n=Or(e,t);return n<0?o:e[n][1]},_r.prototype.has=function(t){return Or(this.__data__,t)>-1},_r.prototype.set=function(t,e){var n=this.__data__,r=Or(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},br.prototype.clear=function(){this.size=0,this.__data__={hash:new yr,map:new(Jn||_r),string:new yr}},br.prototype.delete=function(t){var e=Ho(this,t).delete(t);return this.size-=e?1:0,e},br.prototype.get=function(t){return Ho(this,t).get(t)},br.prototype.has=function(t){return Ho(this,t).has(t)},br.prototype.set=function(t,e){var n=Ho(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Er.prototype.add=Er.prototype.push=function(t){return this.__data__.set(t,l),this},Er.prototype.has=function(t){return this.__data__.has(t)},wr.prototype.clear=function(){this.__data__=new _r,this.size=0},wr.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},wr.prototype.get=function(t){return this.__data__.get(t)},wr.prototype.has=function(t){return this.__data__.has(t)},wr.prototype.set=function(t,e){var n=this.__data__;if(n instanceof _r){var r=n.__data__;if(!Jn||r.length<a-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new br(r)}return n.set(t,e),this.size=n.size,this};var Mr=ao(zr),Fr=ao(Kr,!0);function qr(t,e){var n=!0;return Mr(t,function(t,r,i){return n=!!e(t,r,i)}),n}function Ur(t,e,n){for(var r=-1,i=t.length;++r<i;){var a=t[r],s=e(a);if(null!=s&&(u===o?s==s&&!Rs(s):n(s,u)))var u=s,l=a}return l}function Br(t,e){var n=[];return Mr(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function Vr(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=$o),i||(i=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?Vr(s,e-1,n,r,i):tn(i,s):r||(i[i.length]=s)}return i}var $r=so(),Gr=so(!0);function zr(t,e){return t&&$r(t,e,iu)}function Kr(t,e){return t&&Gr(t,e,iu)}function Xr(t,e){return Qe(e,function(e){return xs(t[e])})}function Qr(t,e){for(var n=0,r=(e=Gi(e,t)).length;null!=t&&n<r;)t=t[ca(e[n++])];return n&&n==r?t:o}function Yr(t,e,n){var r=e(t);return ms(t)?r:tn(r,n(t))}function Jr(t){return null==t?t===o?ot:J:on&&on in ee(t)?function(t){var e=ce.call(t,on),n=t[on];try{t[on]=o;var r=!0}catch(t){}var i=pe.call(t);return r&&(e?t[on]=n:delete t[on]),i}(t):function(t){return pe.call(t)}(t)}function Zr(t,e){return t>e}function ti(t,e){return null!=t&&ce.call(t,e)}function ei(t,e){return null!=t&&e in ee(t)}function ni(t,e,n){for(var i=n?Je:Ye,a=t[0].length,s=t.length,u=s,l=r(s),c=1/0,f=[];u--;){var h=t[u];u&&e&&(h=Ze(h,mn(e))),c=Gn(h.length,c),l[u]=!n&&(e||a>=120&&h.length>=120)?new Er(u&&h):o}h=t[0];var p=-1,d=l[0];t:for(;++p<a&&f.length<c;){var g=h[p],v=e?e(g):g;if(g=n||0!==g?g:0,!(d?_n(d,v):i(f,v,n))){for(u=s;--u;){var m=l[u];if(!(m?_n(m,v):i(t[u],v,n)))continue t}d&&d.push(v),f.push(g)}}return f}function ri(t,e,n){var r=null==(t=ea(t,e=Gi(e,t)))?t:t[ca(Ta(e))];return null==r?o:$e(r,t,n)}function ii(t){return Ds(t)&&Jr(t)==q}function oi(t,e,n,r,i){return t===e||(null==t||null==e||!Ds(t)&&!Ds(e)?t!=t&&e!=e:function(t,e,n,r,i,a){var s=ms(t),u=ms(e),l=s?U:Uo(t),c=u?U:Uo(e),f=(l=l==q?Z:l)==Z,h=(c=c==q?Z:c)==Z,p=l==c;if(p&&Es(t)){if(!Es(e))return!1;s=!0,f=!1}if(p&&!f)return a||(a=new wr),s||Ps(t)?Oo(t,e,n,r,i,a):function(t,e,n,r,i,o,a){switch(n){case lt:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ut:return!(t.byteLength!=e.byteLength||!o(new we(t),new we(e)));case V:case $:case Y:return ps(+t,+e);case z:return t.name==e.name&&t.message==e.message;case et:case rt:return t==e+"";case Q:var s=Sn;case nt:var u=r&g;if(s||(s=On),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;r|=v,a.set(t,e);var c=Oo(s(t),s(e),r,i,o,a);return a.delete(t),c;case it:if(fr)return fr.call(t)==fr.call(e)}return!1}(t,e,l,n,r,i,a);if(!(n&g)){var d=f&&ce.call(t,"__wrapped__"),m=h&&ce.call(e,"__wrapped__");if(d||m){var y=d?t.value():t,_=m?e.value():e;return a||(a=new wr),i(y,_,n,r,a)}}return!!p&&(a||(a=new wr),function(t,e,n,r,i,a){var s=n&g,u=No(t),l=u.length,c=No(e).length;if(l!=c&&!s)return!1;for(var f=l;f--;){var h=u[f];if(!(s?h in e:ce.call(e,h)))return!1}var p=a.get(t);if(p&&a.get(e))return p==e;var d=!0;a.set(t,e),a.set(e,t);for(var v=s;++f<l;){h=u[f];var m=t[h],y=e[h];if(r)var _=s?r(y,m,h,e,t,a):r(m,y,h,t,e,a);if(!(_===o?m===y||i(m,y,n,r,a):_)){d=!1;break}v||(v="constructor"==h)}if(d&&!v){var b=t.constructor,E=e.constructor;b!=E&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof E&&E instanceof E)&&(d=!1)}return a.delete(t),a.delete(e),d}(t,e,n,r,i,a))}(t,e,n,r,oi,i))}function ai(t,e,n,r){var i=n.length,a=i,s=!r;if(null==t)return!a;for(t=ee(t);i--;){var u=n[i];if(s&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++i<a;){var l=(u=n[i])[0],c=t[l],f=u[1];if(s&&u[2]){if(c===o&&!(l in t))return!1}else{var h=new wr;if(r)var p=r(c,f,l,t,e,h);if(!(p===o?oi(f,c,g|v,r,h):p))return!1}}return!0}function si(t){return!(!As(t)||(e=t,he&&he in e))&&(xs(t)?ve:Gt).test(fa(t));var e}function ui(t){return"function"==typeof t?t:null==t?Iu:"object"==typeof t?ms(t)?di(t[0],t[1]):pi(t):Mu(t)}function li(t){if(!Yo(t))return Vn(t);var e=[];for(var n in ee(t))ce.call(t,n)&&"constructor"!=n&&e.push(n);return e}function ci(t){if(!As(t))return function(t){var e=[];if(null!=t)for(var n in ee(t))e.push(n);return e}(t);var e=Yo(t),n=[];for(var r in t)("constructor"!=r||!e&&ce.call(t,r))&&n.push(r);return n}function fi(t,e){return t<e}function hi(t,e){var n=-1,i=_s(t)?r(t.length):[];return Mr(t,function(t,r,o){i[++n]=e(t,r,o)}),i}function pi(t){var e=Wo(t);return 1==e.length&&e[0][2]?Zo(e[0][0],e[0][1]):function(n){return n===t||ai(n,t,e)}}function di(t,e){return Ko(t)&&Jo(e)?Zo(ca(t),e):function(n){var r=Zs(n,t);return r===o&&r===e?tu(n,t):oi(e,r,g|v)}}function gi(t,e,n,r,i){t!==e&&$r(e,function(a,s){if(As(a))i||(i=new wr),function(t,e,n,r,i,a,s){var u=na(t,n),l=na(e,n),c=s.get(l);if(c)Ar(t,n,c);else{var f=a?a(u,l,n+"",t,e,s):o,h=f===o;if(h){var p=ms(l),d=!p&&Es(l),g=!p&&!d&&Ps(l);f=l,p||d||g?ms(u)?f=u:bs(u)?f=no(u):d?(h=!1,f=Qi(l,!0)):g?(h=!1,f=Ji(l,!0)):f=[]:Ns(l)||vs(l)?(f=u,vs(u)?f=Vs(u):As(u)&&!xs(u)||(f=Vo(l))):h=!1}h&&(s.set(l,f),i(f,l,r,a,s),s.delete(l)),Ar(t,n,f)}}(t,e,s,n,gi,r,i);else{var u=r?r(na(t,s),a,s+"",t,e,i):o;u===o&&(u=a),Ar(t,s,u)}},ou)}function vi(t,e){var n=t.length;if(n)return Go(e+=e<0?n:0,n)?t[e]:o}function mi(t,e,n){var r=-1;return e=Ze(e.length?e:[Iu],mn(Po())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(hi(t,function(t,n,i){return{criteria:Ze(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,a=i.length,s=n.length;++r<a;){var u=Zi(i[r],o[r]);if(u){if(r>=s)return u;var l=n[r];return u*("desc"==l?-1:1)}}return t.index-e.index}(t,e,n)})}function yi(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],s=Qr(t,a);n(s,a)&&Si(o,Gi(a,t),s)}return o}function _i(t,e,n,r){var i=r?ln:un,o=-1,a=e.length,s=t;for(t===e&&(e=no(e)),n&&(s=Ze(t,mn(n)));++o<a;)for(var u=0,l=e[o],c=n?n(l):l;(u=i(s,c,u,r))>-1;)s!==t&&Re.call(s,u,1),Re.call(t,u,1);return t}function bi(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;Go(i)?Re.call(t,i,1):Wi(t,i)}}return t}function Ei(t,e){return t+Mn(Xn()*(e-t+1))}function wi(t,e){var n="";if(!t||e<1||e>j)return n;do{e%2&&(n+=t),(e=Mn(e/2))&&(t+=t)}while(e);return n}function Ti(t,e){return oa(ta(t,e,Iu),t+"")}function xi(t){return xr(pu(t))}function Ci(t,e){var n=pu(t);return ua(n,jr(e,0,n.length))}function Si(t,e,n,r){if(!As(t))return t;for(var i=-1,a=(e=Gi(e,t)).length,s=a-1,u=t;null!=u&&++i<a;){var l=ca(e[i]),c=n;if(i!=s){var f=u[l];(c=r?r(f,l,u):o)===o&&(c=As(f)?f:Go(e[i+1])?[]:{})}Dr(u,l,c),u=u[l]}return t}var Ai=rr?function(t,e){return rr.set(t,e),t}:Iu,Di=pn?function(t,e){return pn(t,"toString",{configurable:!0,enumerable:!1,value:Au(e),writable:!0})}:Iu;function Oi(t){return ua(pu(t))}function Ii(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=r(o);++i<o;)a[i]=t[i+e];return a}function Ni(t,e){var n;return Mr(t,function(t,r,i){return!(n=e(t,r,i))}),!!n}function Li(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=M){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!Rs(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}return ki(t,e,Iu,n)}function ki(t,e,n,r){e=n(e);for(var i=0,a=null==t?0:t.length,s=e!=e,u=null===e,l=Rs(e),c=e===o;i<a;){var f=Mn((i+a)/2),h=n(t[f]),p=h!==o,d=null===h,g=h==h,v=Rs(h);if(s)var m=r||g;else m=c?g&&(r||p):u?g&&p&&(r||!d):l?g&&p&&!d&&(r||!v):!d&&!v&&(r?h<=e:h<e);m?i=f+1:a=f}return Gn(a,W)}function ji(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n],s=e?e(a):a;if(!n||!ps(s,u)){var u=s;o[i++]=0===a?0:a}}return o}function Ri(t){return"number"==typeof t?t:Rs(t)?P:+t}function Pi(t){if("string"==typeof t)return t;if(ms(t))return Ze(t,Pi)+"";if(Rs(t))return hr?hr.call(t):"";var e=t+"";return"0"==e&&1/t==-k?"-0":e}function Hi(t,e,n){var r=-1,i=Ye,o=t.length,s=!0,u=[],l=u;if(n)s=!1,i=Je;else if(o>=a){var c=e?null:To(t);if(c)return On(c);s=!1,i=_n,l=new Er}else l=e?[]:u;t:for(;++r<o;){var f=t[r],h=e?e(f):f;if(f=n||0!==f?f:0,s&&h==h){for(var p=l.length;p--;)if(l[p]===h)continue t;e&&l.push(h),u.push(f)}else i(l,h,n)||(l!==u&&l.push(h),u.push(f))}return u}function Wi(t,e){return null==(t=ea(t,e=Gi(e,t)))||delete t[ca(Ta(e))]}function Mi(t,e,n,r){return Si(t,e,n(Qr(t,e)),r)}function Fi(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?Ii(t,r?0:o,r?o+1:i):Ii(t,r?o+1:0,r?i:o)}function qi(t,e){var n=t;return n instanceof mr&&(n=n.value()),en(e,function(t,e){return e.func.apply(e.thisArg,tn([t],e.args))},n)}function Ui(t,e,n){var i=t.length;if(i<2)return i?Hi(t[0]):[];for(var o=-1,a=r(i);++o<i;)for(var s=t[o],u=-1;++u<i;)u!=o&&(a[o]=Wr(a[o]||s,t[u],e,n));return Hi(Vr(a,1),e,n)}function Bi(t,e,n){for(var r=-1,i=t.length,a=e.length,s={};++r<i;){var u=r<a?e[r]:o;n(s,t[r],u)}return s}function Vi(t){return bs(t)?t:[]}function $i(t){return"function"==typeof t?t:Iu}function Gi(t,e){return ms(t)?t:Ko(t,e)?[t]:la($s(t))}var zi=Ti;function Ki(t,e,n){var r=t.length;return n=n===o?r:n,!e&&n>=r?t:Ii(t,e,n)}var Xi=Rn||function(t){return ke.clearTimeout(t)};function Qi(t,e){if(e)return t.slice();var n=t.length,r=De?De(n):new t.constructor(n);return t.copy(r),r}function Yi(t){var e=new t.constructor(t.byteLength);return new we(e).set(new we(t)),e}function Ji(t,e){var n=e?Yi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Zi(t,e){if(t!==e){var n=t!==o,r=null===t,i=t==t,a=Rs(t),s=e!==o,u=null===e,l=e==e,c=Rs(e);if(!u&&!c&&!a&&t>e||a&&s&&l&&!u&&!c||r&&s&&l||!n&&l||!i)return 1;if(!r&&!a&&!c&&t<e||c&&n&&i&&!r&&!a||u&&n&&i||!s&&i||!l)return-1}return 0}function to(t,e,n,i){for(var o=-1,a=t.length,s=n.length,u=-1,l=e.length,c=$n(a-s,0),f=r(l+c),h=!i;++u<l;)f[u]=e[u];for(;++o<s;)(h||o<a)&&(f[n[o]]=t[o]);for(;c--;)f[u++]=t[o++];return f}function eo(t,e,n,i){for(var o=-1,a=t.length,s=-1,u=n.length,l=-1,c=e.length,f=$n(a-u,0),h=r(f+c),p=!i;++o<f;)h[o]=t[o];for(var d=o;++l<c;)h[d+l]=e[l];for(;++s<u;)(p||o<a)&&(h[d+n[s]]=t[o++]);return h}function no(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function ro(t,e,n,r){var i=!n;n||(n={});for(var a=-1,s=e.length;++a<s;){var u=e[a],l=r?r(n[u],t[u],u,n,t):o;l===o&&(l=t[u]),i?Lr(n,u,l):Dr(n,u,l)}return n}function io(t,e){return function(n,r){var i=ms(n)?Ge:Ir,o=e?e():{};return i(n,t,Po(r,2),o)}}function oo(t){return Ti(function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;for(a=t.length>3&&"function"==typeof a?(i--,a):o,s&&zo(n[0],n[1],s)&&(a=i<3?o:a,i=1),e=ee(e);++r<i;){var u=n[r];u&&t(e,u,r,a)}return e})}function ao(t,e){return function(n,r){if(null==n)return n;if(!_s(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=ee(n);(e?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function so(t){return function(e,n,r){for(var i=-1,o=ee(e),a=r(e),s=a.length;s--;){var u=a[t?s:++i];if(!1===n(o[u],u,o))break}return e}}function uo(t){return function(e){var n=Cn(e=$s(e))?Ln(e):o,r=n?n[0]:e.charAt(0),i=n?Ki(n,1).join(""):e.slice(1);return r[t]()+i}}function lo(t){return function(e){return en(xu(vu(e).replace(ye,"")),t,"")}}function co(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=dr(t.prototype),r=t.apply(n,e);return As(r)?r:n}}function fo(t){return function(e,n,r){var i=ee(e);if(!_s(e)){var a=Po(n,3);e=iu(e),n=function(t){return a(i[t],t,i)}}var s=t(e,n,r);return s>-1?i[a?e[s]:s]:o}}function ho(t){return Io(function(e){var n=e.length,r=n,i=vr.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new ie(u);if(i&&!s&&"wrapper"==jo(a))var s=new vr([],!0)}for(r=s?r:n;++r<n;){var l=jo(a=e[r]),c="wrapper"==l?ko(a):o;s=c&&Xo(c[0])&&c[1]==(x|b|w|C)&&!c[4].length&&1==c[9]?s[jo(c[0])].apply(s,c[3]):1==a.length&&Xo(a)?s[l]():s.thru(a)}return function(){var t=arguments,r=t[0];if(s&&1==t.length&&ms(r))return s.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function po(t,e,n,i,a,s,u,l,c,f){var h=e&x,p=e&m,d=e&y,g=e&(b|E),v=e&S,_=d?o:co(t);return function m(){for(var y=arguments.length,b=r(y),E=y;E--;)b[E]=arguments[E];if(g)var w=Ro(m),T=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(b,w);if(i&&(b=to(b,i,a,g)),s&&(b=eo(b,s,u,g)),y-=T,g&&y<f){var x=Dn(b,w);return Eo(t,e,po,m.placeholder,n,b,x,l,c,f-y)}var C=p?n:this,S=d?C[t]:t;return y=b.length,l?b=function(t,e){for(var n=t.length,r=Gn(e.length,n),i=no(t);r--;){var a=e[r];t[r]=Go(a,n)?i[a]:o}return t}(b,l):v&&y>1&&b.reverse(),h&&c<y&&(b.length=c),this&&this!==ke&&this instanceof m&&(S=_||co(S)),S.apply(C,b)}}function go(t,e){return function(n,r){return function(t,e,n,r){return zr(t,function(t,i,o){e(r,n(t),i,o)}),r}(n,t,e(r),{})}}function vo(t,e){return function(n,r){var i;if(n===o&&r===o)return e;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=Pi(n),r=Pi(r)):(n=Ri(n),r=Ri(r)),i=t(n,r)}return i}}function mo(t){return Io(function(e){return e=Ze(e,mn(Po())),Ti(function(n){var r=this;return t(e,function(t){return $e(t,r,n)})})})}function yo(t,e){var n=(e=e===o?" ":Pi(e)).length;if(n<2)return n?wi(e,t):e;var r=wi(e,Wn(t/Nn(e)));return Cn(e)?Ki(Ln(r),0,t).join(""):r.slice(0,t)}function _o(t){return function(e,n,i){return i&&"number"!=typeof i&&zo(e,n,i)&&(n=i=o),e=Fs(e),n===o?(n=e,e=0):n=Fs(n),function(t,e,n,i){for(var o=-1,a=$n(Wn((e-t)/(n||1)),0),s=r(a);a--;)s[i?a:++o]=t,t+=n;return s}(e,n,i=i===o?e<n?1:-1:Fs(i),t)}}function bo(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Bs(e),n=Bs(n)),t(e,n)}}function Eo(t,e,n,r,i,a,s,u,l,c){var f=e&b;e|=f?w:T,(e&=~(f?T:w))&_||(e&=~(m|y));var h=[t,e,i,f?a:o,f?s:o,f?o:a,f?o:s,u,l,c],p=n.apply(o,h);return Xo(t)&&ra(p,h),p.placeholder=r,aa(p,t,e)}function wo(t){var e=te[t];return function(t,n){if(t=Bs(t),n=null==n?0:Gn(qs(n),292)){var r=($s(t)+"e").split("e");return+((r=($s(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var To=tr&&1/On(new tr([,-0]))[1]==k?function(t){return new tr(t)}:Ru;function xo(t){return function(e){var n=Uo(e);return n==Q?Sn(e):n==nt?In(e):function(t,e){return Ze(e,function(e){return[e,t[e]]})}(e,t(e))}}function Co(t,e,n,i,a,s,l,c){var h=e&y;if(!h&&"function"!=typeof t)throw new ie(u);var p=i?i.length:0;if(p||(e&=~(w|T),i=a=o),l=l===o?l:$n(qs(l),0),c=c===o?c:qs(c),p-=a?a.length:0,e&T){var d=i,g=a;i=a=o}var v=h?o:ko(t),S=[t,e,n,i,a,d,g,s,l,c];if(v&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<(m|y|x),a=r==x&&n==b||r==x&&n==C&&t[7].length<=e[8]||r==(x|C)&&e[7].length<=e[8]&&n==b;if(!o&&!a)return t;r&m&&(t[2]=e[2],i|=n&m?0:_);var s=e[3];if(s){var u=t[3];t[3]=u?to(u,s,e[4]):s,t[4]=u?Dn(t[3],f):e[4]}(s=e[5])&&(u=t[5],t[5]=u?eo(u,s,e[6]):s,t[6]=u?Dn(t[5],f):e[6]),(s=e[7])&&(t[7]=s),r&x&&(t[8]=null==t[8]?e[8]:Gn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}(S,v),t=S[0],e=S[1],n=S[2],i=S[3],a=S[4],!(c=S[9]=S[9]===o?h?0:t.length:$n(S[9]-p,0))&&e&(b|E)&&(e&=~(b|E)),e&&e!=m)A=e==b||e==E?function(t,e,n){var i=co(t);return function a(){for(var s=arguments.length,u=r(s),l=s,c=Ro(a);l--;)u[l]=arguments[l];var f=s<3&&u[0]!==c&&u[s-1]!==c?[]:Dn(u,c);return(s-=f.length)<n?Eo(t,e,po,a.placeholder,o,u,f,o,o,n-s):$e(this&&this!==ke&&this instanceof a?i:t,this,u)}}(t,e,c):e!=w&&e!=(m|w)||a.length?po.apply(o,S):function(t,e,n,i){var o=e&m,a=co(t);return function e(){for(var s=-1,u=arguments.length,l=-1,c=i.length,f=r(c+u),h=this&&this!==ke&&this instanceof e?a:t;++l<c;)f[l]=i[l];for(;u--;)f[l++]=arguments[++s];return $e(h,o?n:this,f)}}(t,e,n,i);else var A=function(t,e,n){var r=e&m,i=co(t);return function e(){return(this&&this!==ke&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return aa((v?Ai:ra)(A,S),t,e)}function So(t,e,n,r){return t===o||ps(t,se[n])&&!ce.call(r,n)?e:t}function Ao(t,e,n,r,i,a){return As(t)&&As(e)&&(a.set(e,t),gi(t,e,o,Ao,a),a.delete(e)),t}function Do(t){return Ns(t)?o:t}function Oo(t,e,n,r,i,a){var s=n&g,u=t.length,l=e.length;if(u!=l&&!(s&&l>u))return!1;var c=a.get(t);if(c&&a.get(e))return c==e;var f=-1,h=!0,p=n&v?new Er:o;for(a.set(t,e),a.set(e,t);++f<u;){var d=t[f],m=e[f];if(r)var y=s?r(m,d,f,e,t,a):r(d,m,f,t,e,a);if(y!==o){if(y)continue;h=!1;break}if(p){if(!rn(e,function(t,e){if(!_n(p,e)&&(d===t||i(d,t,n,r,a)))return p.push(e)})){h=!1;break}}else if(d!==m&&!i(d,m,n,r,a)){h=!1;break}}return a.delete(t),a.delete(e),h}function Io(t){return oa(ta(t,o,ya),t+"")}function No(t){return Yr(t,iu,Fo)}function Lo(t){return Yr(t,ou,qo)}var ko=rr?function(t){return rr.get(t)}:Ru;function jo(t){for(var e=t.name+"",n=ir[e],r=ce.call(ir,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function Ro(t){return(ce.call(pr,"placeholder")?pr:t).placeholder}function Po(){var t=pr.iteratee||Nu;return t=t===Nu?ui:t,arguments.length?t(arguments[0],arguments[1]):t}function Ho(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Wo(t){for(var e=iu(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Jo(i)]}return e}function Mo(t,e){var n=function(t,e){return null==t?o:t[e]}(t,e);return si(n)?n:o}var Fo=Fn?function(t){return null==t?[]:(t=ee(t),Qe(Fn(t),function(e){return je.call(t,e)}))}:Uu,qo=Fn?function(t){for(var e=[];t;)tn(e,Fo(t)),t=Ne(t);return e}:Uu,Uo=Jr;function Bo(t,e,n){for(var r=-1,i=(e=Gi(e,t)).length,o=!1;++r<i;){var a=ca(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&Ss(i)&&Go(a,i)&&(ms(t)||vs(t))}function Vo(t){return"function"!=typeof t.constructor||Yo(t)?{}:dr(Ne(t))}function $o(t){return ms(t)||vs(t)||!!(He&&t&&t[He])}function Go(t,e){var n=typeof t;return!!(e=null==e?j:e)&&("number"==n||"symbol"!=n&&Kt.test(t))&&t>-1&&t%1==0&&t<e}function zo(t,e,n){if(!As(n))return!1;var r=typeof e;return!!("number"==r?_s(n)&&Go(e,n.length):"string"==r&&e in n)&&ps(n[e],t)}function Ko(t,e){if(ms(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Rs(t))||It.test(t)||!Ot.test(t)||null!=e&&t in ee(e)}function Xo(t){var e=jo(t),n=pr[e];if("function"!=typeof n||!(e in mr.prototype))return!1;if(t===n)return!0;var r=ko(n);return!!r&&t===r[0]}(Yn&&Uo(new Yn(new ArrayBuffer(1)))!=lt||Jn&&Uo(new Jn)!=Q||Zn&&"[object Promise]"!=Uo(Zn.resolve())||tr&&Uo(new tr)!=nt||er&&Uo(new er)!=at)&&(Uo=function(t){var e=Jr(t),n=e==Z?t.constructor:o,r=n?fa(n):"";if(r)switch(r){case or:return lt;case ar:return Q;case sr:return"[object Promise]";case ur:return nt;case lr:return at}return e});var Qo=ue?xs:Bu;function Yo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||se)}function Jo(t){return t==t&&!As(t)}function Zo(t,e){return function(n){return null!=n&&n[t]===e&&(e!==o||t in ee(n))}}function ta(t,e,n){return e=$n(e===o?t.length-1:e,0),function(){for(var i=arguments,o=-1,a=$n(i.length-e,0),s=r(a);++o<a;)s[o]=i[e+o];o=-1;for(var u=r(e+1);++o<e;)u[o]=i[o];return u[e]=n(s),$e(t,this,u)}}function ea(t,e){return e.length<2?t:Qr(t,Ii(e,0,-1))}function na(t,e){if("__proto__"!=e)return t[e]}var ra=sa(Ai),ia=Hn||function(t,e){return ke.setTimeout(t,e)},oa=sa(Di);function aa(t,e,n){var r=e+"";return oa(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Ht,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return ze(F,function(n){var r="_."+n[0];e&n[1]&&!Ye(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(Wt);return e?e[1].split(Mt):[]}(r),n)))}function sa(t){var e=0,n=0;return function(){var r=zn(),i=I-(r-n);if(n=r,i>0){if(++e>=O)return arguments[0]}else e=0;return t.apply(o,arguments)}}function ua(t,e){var n=-1,r=t.length,i=r-1;for(e=e===o?r:e;++n<e;){var a=Ei(n,i),s=t[a];t[a]=t[n],t[n]=s}return t.length=e,t}var la=function(t){var e=ss(t,function(t){return n.size===c&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Nt,function(t,n,r,i){e.push(r?i.replace(qt,"$1"):n||t)}),e});function ca(t){if("string"==typeof t||Rs(t))return t;var e=t+"";return"0"==e&&1/t==-k?"-0":e}function fa(t){if(null!=t){try{return le.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function ha(t){if(t instanceof mr)return t.clone();var e=new vr(t.__wrapped__,t.__chain__);return e.__actions__=no(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var pa=Ti(function(t,e){return bs(t)?Wr(t,Vr(e,1,bs,!0)):[]}),da=Ti(function(t,e){var n=Ta(e);return bs(n)&&(n=o),bs(t)?Wr(t,Vr(e,1,bs,!0),Po(n,2)):[]}),ga=Ti(function(t,e){var n=Ta(e);return bs(n)&&(n=o),bs(t)?Wr(t,Vr(e,1,bs,!0),o,n):[]});function va(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:qs(n);return i<0&&(i=$n(r+i,0)),sn(t,Po(e,3),i)}function ma(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==o&&(i=qs(n),i=n<0?$n(r+i,0):Gn(i,r-1)),sn(t,Po(e,3),i,!0)}function ya(t){return null!=t&&t.length?Vr(t,1):[]}function _a(t){return t&&t.length?t[0]:o}var ba=Ti(function(t){var e=Ze(t,Vi);return e.length&&e[0]===t[0]?ni(e):[]}),Ea=Ti(function(t){var e=Ta(t),n=Ze(t,Vi);return e===Ta(n)?e=o:n.pop(),n.length&&n[0]===t[0]?ni(n,Po(e,2)):[]}),wa=Ti(function(t){var e=Ta(t),n=Ze(t,Vi);return(e="function"==typeof e?e:o)&&n.pop(),n.length&&n[0]===t[0]?ni(n,o,e):[]});function Ta(t){var e=null==t?0:t.length;return e?t[e-1]:o}var xa=Ti(Ca);function Ca(t,e){return t&&t.length&&e&&e.length?_i(t,e):t}var Sa=Io(function(t,e){var n=null==t?0:t.length,r=kr(t,e);return bi(t,Ze(e,function(t){return Go(t,n)?+t:t}).sort(Zi)),r});function Aa(t){return null==t?t:Qn.call(t)}var Da=Ti(function(t){return Hi(Vr(t,1,bs,!0))}),Oa=Ti(function(t){var e=Ta(t);return bs(e)&&(e=o),Hi(Vr(t,1,bs,!0),Po(e,2))}),Ia=Ti(function(t){var e=Ta(t);return e="function"==typeof e?e:o,Hi(Vr(t,1,bs,!0),o,e)});function Na(t){if(!t||!t.length)return[];var e=0;return t=Qe(t,function(t){if(bs(t))return e=$n(t.length,e),!0}),vn(e,function(e){return Ze(t,hn(e))})}function La(t,e){if(!t||!t.length)return[];var n=Na(t);return null==e?n:Ze(n,function(t){return $e(e,o,t)})}var ka=Ti(function(t,e){return bs(t)?Wr(t,e):[]}),ja=Ti(function(t){return Ui(Qe(t,bs))}),Ra=Ti(function(t){var e=Ta(t);return bs(e)&&(e=o),Ui(Qe(t,bs),Po(e,2))}),Pa=Ti(function(t){var e=Ta(t);return e="function"==typeof e?e:o,Ui(Qe(t,bs),o,e)}),Ha=Ti(Na);var Wa=Ti(function(t){var e=t.length,n=e>1?t[e-1]:o;return n="function"==typeof n?(t.pop(),n):o,La(t,n)});function Ma(t){var e=pr(t);return e.__chain__=!0,e}function Fa(t,e){return e(t)}var qa=Io(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return kr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof mr&&Go(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:Fa,args:[i],thisArg:o}),new vr(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(o),t})):this.thru(i)});var Ua=io(function(t,e,n){ce.call(t,n)?++t[n]:Lr(t,n,1)});var Ba=fo(va),Va=fo(ma);function $a(t,e){return(ms(t)?ze:Mr)(t,Po(e,3))}function Ga(t,e){return(ms(t)?Ke:Fr)(t,Po(e,3))}var za=io(function(t,e,n){ce.call(t,n)?t[n].push(e):Lr(t,n,[e])});var Ka=Ti(function(t,e,n){var i=-1,o="function"==typeof e,a=_s(t)?r(t.length):[];return Mr(t,function(t){a[++i]=o?$e(e,t,n):ri(t,e,n)}),a}),Xa=io(function(t,e,n){Lr(t,n,e)});function Qa(t,e){return(ms(t)?Ze:hi)(t,Po(e,3))}var Ya=io(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var Ja=Ti(function(t,e){if(null==t)return[];var n=e.length;return n>1&&zo(t,e[0],e[1])?e=[]:n>2&&zo(e[0],e[1],e[2])&&(e=[e[0]]),mi(t,Vr(e,1),[])}),Za=Pn||function(){return ke.Date.now()};function ts(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,Co(t,x,o,o,o,o,e)}function es(t,e){var n;if("function"!=typeof e)throw new ie(u);return t=qs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var ns=Ti(function(t,e,n){var r=m;if(n.length){var i=Dn(n,Ro(ns));r|=w}return Co(t,r,e,n,i)}),rs=Ti(function(t,e,n){var r=m|y;if(n.length){var i=Dn(n,Ro(rs));r|=w}return Co(e,r,t,n,i)});function is(t,e,n){var r,i,a,s,l,c,f=0,h=!1,p=!1,d=!0;if("function"!=typeof t)throw new ie(u);function g(e){var n=r,a=i;return r=i=o,f=e,s=t.apply(a,n)}function v(t){var n=t-c;return c===o||n>=e||n<0||p&&t-f>=a}function m(){var t=Za();if(v(t))return y(t);l=ia(m,function(t){var n=e-(t-c);return p?Gn(n,a-(t-f)):n}(t))}function y(t){return l=o,d&&r?g(t):(r=i=o,s)}function _(){var t=Za(),n=v(t);if(r=arguments,i=this,c=t,n){if(l===o)return function(t){return f=t,l=ia(m,e),h?g(t):s}(c);if(p)return l=ia(m,e),g(c)}return l===o&&(l=ia(m,e)),s}return e=Bs(e)||0,As(n)&&(h=!!n.leading,a=(p="maxWait"in n)?$n(Bs(n.maxWait)||0,e):a,d="trailing"in n?!!n.trailing:d),_.cancel=function(){l!==o&&Xi(l),f=0,r=c=i=l=o},_.flush=function(){return l===o?s:y(Za())},_}var os=Ti(function(t,e){return Hr(t,1,e)}),as=Ti(function(t,e,n){return Hr(t,Bs(e)||0,n)});function ss(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ie(u);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(ss.Cache||br),n}function us(t){if("function"!=typeof t)throw new ie(u);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}ss.Cache=br;var ls=zi(function(t,e){var n=(e=1==e.length&&ms(e[0])?Ze(e[0],mn(Po())):Ze(Vr(e,1),mn(Po()))).length;return Ti(function(r){for(var i=-1,o=Gn(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return $e(t,this,r)})}),cs=Ti(function(t,e){var n=Dn(e,Ro(cs));return Co(t,w,o,e,n)}),fs=Ti(function(t,e){var n=Dn(e,Ro(fs));return Co(t,T,o,e,n)}),hs=Io(function(t,e){return Co(t,C,o,o,o,e)});function ps(t,e){return t===e||t!=t&&e!=e}var ds=bo(Zr),gs=bo(function(t,e){return t>=e}),vs=ii(function(){return arguments}())?ii:function(t){return Ds(t)&&ce.call(t,"callee")&&!je.call(t,"callee")},ms=r.isArray,ys=Me?mn(Me):function(t){return Ds(t)&&Jr(t)==ut};function _s(t){return null!=t&&Ss(t.length)&&!xs(t)}function bs(t){return Ds(t)&&_s(t)}var Es=qn||Bu,ws=Fe?mn(Fe):function(t){return Ds(t)&&Jr(t)==$};function Ts(t){if(!Ds(t))return!1;var e=Jr(t);return e==z||e==G||"string"==typeof t.message&&"string"==typeof t.name&&!Ns(t)}function xs(t){if(!As(t))return!1;var e=Jr(t);return e==K||e==X||e==B||e==tt}function Cs(t){return"number"==typeof t&&t==qs(t)}function Ss(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=j}function As(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ds(t){return null!=t&&"object"==typeof t}var Os=qe?mn(qe):function(t){return Ds(t)&&Uo(t)==Q};function Is(t){return"number"==typeof t||Ds(t)&&Jr(t)==Y}function Ns(t){if(!Ds(t)||Jr(t)!=Z)return!1;var e=Ne(t);if(null===e)return!0;var n=ce.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&le.call(n)==de}var Ls=Ue?mn(Ue):function(t){return Ds(t)&&Jr(t)==et};var ks=Be?mn(Be):function(t){return Ds(t)&&Uo(t)==nt};function js(t){return"string"==typeof t||!ms(t)&&Ds(t)&&Jr(t)==rt}function Rs(t){return"symbol"==typeof t||Ds(t)&&Jr(t)==it}var Ps=Ve?mn(Ve):function(t){return Ds(t)&&Ss(t.length)&&!!Se[Jr(t)]};var Hs=bo(fi),Ws=bo(function(t,e){return t<=e});function Ms(t){if(!t)return[];if(_s(t))return js(t)?Ln(t):no(t);if(We&&t[We])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[We]());var e=Uo(t);return(e==Q?Sn:e==nt?On:pu)(t)}function Fs(t){return t?(t=Bs(t))===k||t===-k?(t<0?-1:1)*R:t==t?t:0:0===t?t:0}function qs(t){var e=Fs(t),n=e%1;return e==e?n?e-n:e:0}function Us(t){return t?jr(qs(t),0,H):0}function Bs(t){if("number"==typeof t)return t;if(Rs(t))return P;if(As(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=As(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(jt,"");var n=$t.test(t);return n||zt.test(t)?Ie(t.slice(2),n?2:8):Vt.test(t)?P:+t}function Vs(t){return ro(t,ou(t))}function $s(t){return null==t?"":Pi(t)}var Gs=oo(function(t,e){if(Yo(e)||_s(e))ro(e,iu(e),t);else for(var n in e)ce.call(e,n)&&Dr(t,n,e[n])}),zs=oo(function(t,e){ro(e,ou(e),t)}),Ks=oo(function(t,e,n,r){ro(e,ou(e),t,r)}),Xs=oo(function(t,e,n,r){ro(e,iu(e),t,r)}),Qs=Io(kr);var Ys=Ti(function(t,e){t=ee(t);var n=-1,r=e.length,i=r>2?e[2]:o;for(i&&zo(e[0],e[1],i)&&(r=1);++n<r;)for(var a=e[n],s=ou(a),u=-1,l=s.length;++u<l;){var c=s[u],f=t[c];(f===o||ps(f,se[c])&&!ce.call(t,c))&&(t[c]=a[c])}return t}),Js=Ti(function(t){return t.push(o,Ao),$e(su,o,t)});function Zs(t,e,n){var r=null==t?o:Qr(t,e);return r===o?n:r}function tu(t,e){return null!=t&&Bo(t,e,ei)}var eu=go(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),t[e]=n},Au(Iu)),nu=go(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),ce.call(t,e)?t[e].push(n):t[e]=[n]},Po),ru=Ti(ri);function iu(t){return _s(t)?Tr(t):li(t)}function ou(t){return _s(t)?Tr(t,!0):ci(t)}var au=oo(function(t,e,n){gi(t,e,n)}),su=oo(function(t,e,n,r){gi(t,e,n,r)}),uu=Io(function(t,e){var n={};if(null==t)return n;var r=!1;e=Ze(e,function(e){return e=Gi(e,t),r||(r=e.length>1),e}),ro(t,Lo(t),n),r&&(n=Rr(n,h|p|d,Do));for(var i=e.length;i--;)Wi(n,e[i]);return n});var lu=Io(function(t,e){return null==t?{}:function(t,e){return yi(t,e,function(e,n){return tu(t,n)})}(t,e)});function cu(t,e){if(null==t)return{};var n=Ze(Lo(t),function(t){return[t]});return e=Po(e),yi(t,n,function(t,n){return e(t,n[0])})}var fu=xo(iu),hu=xo(ou);function pu(t){return null==t?[]:yn(t,iu(t))}var du=lo(function(t,e,n){return e=e.toLowerCase(),t+(n?gu(e):e)});function gu(t){return Tu($s(t).toLowerCase())}function vu(t){return(t=$s(t))&&t.replace(Xt,wn).replace(_e,"")}var mu=lo(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),yu=lo(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),_u=uo("toLowerCase");var bu=lo(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var Eu=lo(function(t,e,n){return t+(n?" ":"")+Tu(e)});var wu=lo(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Tu=uo("toUpperCase");function xu(t,e,n){return t=$s(t),(e=n?o:e)===o?function(t){return Te.test(t)}(t)?function(t){return t.match(Ee)||[]}(t):function(t){return t.match(Ft)||[]}(t):t.match(e)||[]}var Cu=Ti(function(t,e){try{return $e(t,o,e)}catch(t){return Ts(t)?t:new Jt(t)}}),Su=Io(function(t,e){return ze(e,function(e){e=ca(e),Lr(t,e,ns(t[e],t))}),t});function Au(t){return function(){return t}}var Du=ho(),Ou=ho(!0);function Iu(t){return t}function Nu(t){return ui("function"==typeof t?t:Rr(t,h))}var Lu=Ti(function(t,e){return function(n){return ri(n,t,e)}}),ku=Ti(function(t,e){return function(n){return ri(t,n,e)}});function ju(t,e,n){var r=iu(e),i=Xr(e,r);null!=n||As(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Xr(e,iu(e)));var o=!(As(n)&&"chain"in n&&!n.chain),a=xs(t);return ze(i,function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=no(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,tn([this.value()],arguments))})}),t}function Ru(){}var Pu=mo(Ze),Hu=mo(Xe),Wu=mo(rn);function Mu(t){return Ko(t)?hn(ca(t)):function(t){return function(e){return Qr(e,t)}}(t)}var Fu=_o(),qu=_o(!0);function Uu(){return[]}function Bu(){return!1}var Vu=vo(function(t,e){return t+e},0),$u=wo("ceil"),Gu=vo(function(t,e){return t/e},1),zu=wo("floor");var Ku,Xu=vo(function(t,e){return t*e},1),Qu=wo("round"),Yu=vo(function(t,e){return t-e},0);return pr.after=function(t,e){if("function"!=typeof e)throw new ie(u);return t=qs(t),function(){if(--t<1)return e.apply(this,arguments)}},pr.ary=ts,pr.assign=Gs,pr.assignIn=zs,pr.assignInWith=Ks,pr.assignWith=Xs,pr.at=Qs,pr.before=es,pr.bind=ns,pr.bindAll=Su,pr.bindKey=rs,pr.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return ms(t)?t:[t]},pr.chain=Ma,pr.chunk=function(t,e,n){e=(n?zo(t,e,n):e===o)?1:$n(qs(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var a=0,s=0,u=r(Wn(i/e));a<i;)u[s++]=Ii(t,a,a+=e);return u},pr.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},pr.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return tn(ms(n)?no(n):[n],Vr(e,1))},pr.cond=function(t){var e=null==t?0:t.length,n=Po();return t=e?Ze(t,function(t){if("function"!=typeof t[1])throw new ie(u);return[n(t[0]),t[1]]}):[],Ti(function(n){for(var r=-1;++r<e;){var i=t[r];if($e(i[0],this,n))return $e(i[1],this,n)}})},pr.conforms=function(t){return function(t){var e=iu(t);return function(n){return Pr(n,t,e)}}(Rr(t,h))},pr.constant=Au,pr.countBy=Ua,pr.create=function(t,e){var n=dr(t);return null==e?n:Nr(n,e)},pr.curry=function t(e,n,r){var i=Co(e,b,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},pr.curryRight=function t(e,n,r){var i=Co(e,E,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},pr.debounce=is,pr.defaults=Ys,pr.defaultsDeep=Js,pr.defer=os,pr.delay=as,pr.difference=pa,pr.differenceBy=da,pr.differenceWith=ga,pr.drop=function(t,e,n){var r=null==t?0:t.length;return r?Ii(t,(e=n||e===o?1:qs(e))<0?0:e,r):[]},pr.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?Ii(t,0,(e=r-(e=n||e===o?1:qs(e)))<0?0:e):[]},pr.dropRightWhile=function(t,e){return t&&t.length?Fi(t,Po(e,3),!0,!0):[]},pr.dropWhile=function(t,e){return t&&t.length?Fi(t,Po(e,3),!0):[]},pr.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&zo(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=qs(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:qs(r))<0&&(r+=i),r=n>r?0:Us(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},pr.filter=function(t,e){return(ms(t)?Qe:Br)(t,Po(e,3))},pr.flatMap=function(t,e){return Vr(Qa(t,e),1)},pr.flatMapDeep=function(t,e){return Vr(Qa(t,e),k)},pr.flatMapDepth=function(t,e,n){return n=n===o?1:qs(n),Vr(Qa(t,e),n)},pr.flatten=ya,pr.flattenDeep=function(t){return null!=t&&t.length?Vr(t,k):[]},pr.flattenDepth=function(t,e){return null!=t&&t.length?Vr(t,e=e===o?1:qs(e)):[]},pr.flip=function(t){return Co(t,S)},pr.flow=Du,pr.flowRight=Ou,pr.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},pr.functions=function(t){return null==t?[]:Xr(t,iu(t))},pr.functionsIn=function(t){return null==t?[]:Xr(t,ou(t))},pr.groupBy=za,pr.initial=function(t){return null!=t&&t.length?Ii(t,0,-1):[]},pr.intersection=ba,pr.intersectionBy=Ea,pr.intersectionWith=wa,pr.invert=eu,pr.invertBy=nu,pr.invokeMap=Ka,pr.iteratee=Nu,pr.keyBy=Xa,pr.keys=iu,pr.keysIn=ou,pr.map=Qa,pr.mapKeys=function(t,e){var n={};return e=Po(e,3),zr(t,function(t,r,i){Lr(n,e(t,r,i),t)}),n},pr.mapValues=function(t,e){var n={};return e=Po(e,3),zr(t,function(t,r,i){Lr(n,r,e(t,r,i))}),n},pr.matches=function(t){return pi(Rr(t,h))},pr.matchesProperty=function(t,e){return di(t,Rr(e,h))},pr.memoize=ss,pr.merge=au,pr.mergeWith=su,pr.method=Lu,pr.methodOf=ku,pr.mixin=ju,pr.negate=us,pr.nthArg=function(t){return t=qs(t),Ti(function(e){return vi(e,t)})},pr.omit=uu,pr.omitBy=function(t,e){return cu(t,us(Po(e)))},pr.once=function(t){return es(2,t)},pr.orderBy=function(t,e,n,r){return null==t?[]:(ms(e)||(e=null==e?[]:[e]),ms(n=r?o:n)||(n=null==n?[]:[n]),mi(t,e,n))},pr.over=Pu,pr.overArgs=ls,pr.overEvery=Hu,pr.overSome=Wu,pr.partial=cs,pr.partialRight=fs,pr.partition=Ya,pr.pick=lu,pr.pickBy=cu,pr.property=Mu,pr.propertyOf=function(t){return function(e){return null==t?o:Qr(t,e)}},pr.pull=xa,pr.pullAll=Ca,pr.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?_i(t,e,Po(n,2)):t},pr.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?_i(t,e,o,n):t},pr.pullAt=Sa,pr.range=Fu,pr.rangeRight=qu,pr.rearg=hs,pr.reject=function(t,e){return(ms(t)?Qe:Br)(t,us(Po(e,3)))},pr.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=Po(e,3);++r<o;){var a=t[r];e(a,r,t)&&(n.push(a),i.push(r))}return bi(t,i),n},pr.rest=function(t,e){if("function"!=typeof t)throw new ie(u);return Ti(t,e=e===o?e:qs(e))},pr.reverse=Aa,pr.sampleSize=function(t,e,n){return e=(n?zo(t,e,n):e===o)?1:qs(e),(ms(t)?Cr:Ci)(t,e)},pr.set=function(t,e,n){return null==t?t:Si(t,e,n)},pr.setWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Si(t,e,n,r)},pr.shuffle=function(t){return(ms(t)?Sr:Oi)(t)},pr.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&zo(t,e,n)?(e=0,n=r):(e=null==e?0:qs(e),n=n===o?r:qs(n)),Ii(t,e,n)):[]},pr.sortBy=Ja,pr.sortedUniq=function(t){return t&&t.length?ji(t):[]},pr.sortedUniqBy=function(t,e){return t&&t.length?ji(t,Po(e,2)):[]},pr.split=function(t,e,n){return n&&"number"!=typeof n&&zo(t,e,n)&&(e=n=o),(n=n===o?H:n>>>0)?(t=$s(t))&&("string"==typeof e||null!=e&&!Ls(e))&&!(e=Pi(e))&&Cn(t)?Ki(Ln(t),0,n):t.split(e,n):[]},pr.spread=function(t,e){if("function"!=typeof t)throw new ie(u);return e=null==e?0:$n(qs(e),0),Ti(function(n){var r=n[e],i=Ki(n,0,e);return r&&tn(i,r),$e(t,this,i)})},pr.tail=function(t){var e=null==t?0:t.length;return e?Ii(t,1,e):[]},pr.take=function(t,e,n){return t&&t.length?Ii(t,0,(e=n||e===o?1:qs(e))<0?0:e):[]},pr.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Ii(t,(e=r-(e=n||e===o?1:qs(e)))<0?0:e,r):[]},pr.takeRightWhile=function(t,e){return t&&t.length?Fi(t,Po(e,3),!1,!0):[]},pr.takeWhile=function(t,e){return t&&t.length?Fi(t,Po(e,3)):[]},pr.tap=function(t,e){return e(t),t},pr.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new ie(u);return As(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),is(t,e,{leading:r,maxWait:e,trailing:i})},pr.thru=Fa,pr.toArray=Ms,pr.toPairs=fu,pr.toPairsIn=hu,pr.toPath=function(t){return ms(t)?Ze(t,ca):Rs(t)?[t]:no(la($s(t)))},pr.toPlainObject=Vs,pr.transform=function(t,e,n){var r=ms(t),i=r||Es(t)||Ps(t);if(e=Po(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:As(t)&&xs(o)?dr(Ne(t)):{}}return(i?ze:zr)(t,function(t,r,i){return e(n,t,r,i)}),n},pr.unary=function(t){return ts(t,1)},pr.union=Da,pr.unionBy=Oa,pr.unionWith=Ia,pr.uniq=function(t){return t&&t.length?Hi(t):[]},pr.uniqBy=function(t,e){return t&&t.length?Hi(t,Po(e,2)):[]},pr.uniqWith=function(t,e){return e="function"==typeof e?e:o,t&&t.length?Hi(t,o,e):[]},pr.unset=function(t,e){return null==t||Wi(t,e)},pr.unzip=Na,pr.unzipWith=La,pr.update=function(t,e,n){return null==t?t:Mi(t,e,$i(n))},pr.updateWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Mi(t,e,$i(n),r)},pr.values=pu,pr.valuesIn=function(t){return null==t?[]:yn(t,ou(t))},pr.without=ka,pr.words=xu,pr.wrap=function(t,e){return cs($i(e),t)},pr.xor=ja,pr.xorBy=Ra,pr.xorWith=Pa,pr.zip=Ha,pr.zipObject=function(t,e){return Bi(t||[],e||[],Dr)},pr.zipObjectDeep=function(t,e){return Bi(t||[],e||[],Si)},pr.zipWith=Wa,pr.entries=fu,pr.entriesIn=hu,pr.extend=zs,pr.extendWith=Ks,ju(pr,pr),pr.add=Vu,pr.attempt=Cu,pr.camelCase=du,pr.capitalize=gu,pr.ceil=$u,pr.clamp=function(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=(n=Bs(n))==n?n:0),e!==o&&(e=(e=Bs(e))==e?e:0),jr(Bs(t),e,n)},pr.clone=function(t){return Rr(t,d)},pr.cloneDeep=function(t){return Rr(t,h|d)},pr.cloneDeepWith=function(t,e){return Rr(t,h|d,e="function"==typeof e?e:o)},pr.cloneWith=function(t,e){return Rr(t,d,e="function"==typeof e?e:o)},pr.conformsTo=function(t,e){return null==e||Pr(t,e,iu(e))},pr.deburr=vu,pr.defaultTo=function(t,e){return null==t||t!=t?e:t},pr.divide=Gu,pr.endsWith=function(t,e,n){t=$s(t),e=Pi(e);var r=t.length,i=n=n===o?r:jr(qs(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},pr.eq=ps,pr.escape=function(t){return(t=$s(t))&&Ct.test(t)?t.replace(Tt,Tn):t},pr.escapeRegExp=function(t){return(t=$s(t))&&kt.test(t)?t.replace(Lt,"\\$&"):t},pr.every=function(t,e,n){var r=ms(t)?Xe:qr;return n&&zo(t,e,n)&&(e=o),r(t,Po(e,3))},pr.find=Ba,pr.findIndex=va,pr.findKey=function(t,e){return an(t,Po(e,3),zr)},pr.findLast=Va,pr.findLastIndex=ma,pr.findLastKey=function(t,e){return an(t,Po(e,3),Kr)},pr.floor=zu,pr.forEach=$a,pr.forEachRight=Ga,pr.forIn=function(t,e){return null==t?t:$r(t,Po(e,3),ou)},pr.forInRight=function(t,e){return null==t?t:Gr(t,Po(e,3),ou)},pr.forOwn=function(t,e){return t&&zr(t,Po(e,3))},pr.forOwnRight=function(t,e){return t&&Kr(t,Po(e,3))},pr.get=Zs,pr.gt=ds,pr.gte=gs,pr.has=function(t,e){return null!=t&&Bo(t,e,ti)},pr.hasIn=tu,pr.head=_a,pr.identity=Iu,pr.includes=function(t,e,n,r){t=_s(t)?t:pu(t),n=n&&!r?qs(n):0;var i=t.length;return n<0&&(n=$n(i+n,0)),js(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&un(t,e,n)>-1},pr.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:qs(n);return i<0&&(i=$n(r+i,0)),un(t,e,i)},pr.inRange=function(t,e,n){return e=Fs(e),n===o?(n=e,e=0):n=Fs(n),function(t,e,n){return t>=Gn(e,n)&&t<$n(e,n)}(t=Bs(t),e,n)},pr.invoke=ru,pr.isArguments=vs,pr.isArray=ms,pr.isArrayBuffer=ys,pr.isArrayLike=_s,pr.isArrayLikeObject=bs,pr.isBoolean=function(t){return!0===t||!1===t||Ds(t)&&Jr(t)==V},pr.isBuffer=Es,pr.isDate=ws,pr.isElement=function(t){return Ds(t)&&1===t.nodeType&&!Ns(t)},pr.isEmpty=function(t){if(null==t)return!0;if(_s(t)&&(ms(t)||"string"==typeof t||"function"==typeof t.splice||Es(t)||Ps(t)||vs(t)))return!t.length;var e=Uo(t);if(e==Q||e==nt)return!t.size;if(Yo(t))return!li(t).length;for(var n in t)if(ce.call(t,n))return!1;return!0},pr.isEqual=function(t,e){return oi(t,e)},pr.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:o)?n(t,e):o;return r===o?oi(t,e,o,n):!!r},pr.isError=Ts,pr.isFinite=function(t){return"number"==typeof t&&Un(t)},pr.isFunction=xs,pr.isInteger=Cs,pr.isLength=Ss,pr.isMap=Os,pr.isMatch=function(t,e){return t===e||ai(t,e,Wo(e))},pr.isMatchWith=function(t,e,n){return n="function"==typeof n?n:o,ai(t,e,Wo(e),n)},pr.isNaN=function(t){return Is(t)&&t!=+t},pr.isNative=function(t){if(Qo(t))throw new Jt(s);return si(t)},pr.isNil=function(t){return null==t},pr.isNull=function(t){return null===t},pr.isNumber=Is,pr.isObject=As,pr.isObjectLike=Ds,pr.isPlainObject=Ns,pr.isRegExp=Ls,pr.isSafeInteger=function(t){return Cs(t)&&t>=-j&&t<=j},pr.isSet=ks,pr.isString=js,pr.isSymbol=Rs,pr.isTypedArray=Ps,pr.isUndefined=function(t){return t===o},pr.isWeakMap=function(t){return Ds(t)&&Uo(t)==at},pr.isWeakSet=function(t){return Ds(t)&&Jr(t)==st},pr.join=function(t,e){return null==t?"":Bn.call(t,e)},pr.kebabCase=mu,pr.last=Ta,pr.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=qs(n))<0?$n(r+i,0):Gn(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):sn(t,cn,i,!0)},pr.lowerCase=yu,pr.lowerFirst=_u,pr.lt=Hs,pr.lte=Ws,pr.max=function(t){return t&&t.length?Ur(t,Iu,Zr):o},pr.maxBy=function(t,e){return t&&t.length?Ur(t,Po(e,2),Zr):o},pr.mean=function(t){return fn(t,Iu)},pr.meanBy=function(t,e){return fn(t,Po(e,2))},pr.min=function(t){return t&&t.length?Ur(t,Iu,fi):o},pr.minBy=function(t,e){return t&&t.length?Ur(t,Po(e,2),fi):o},pr.stubArray=Uu,pr.stubFalse=Bu,pr.stubObject=function(){return{}},pr.stubString=function(){return""},pr.stubTrue=function(){return!0},pr.multiply=Xu,pr.nth=function(t,e){return t&&t.length?vi(t,qs(e)):o},pr.noConflict=function(){return ke._===this&&(ke._=ge),this},pr.noop=Ru,pr.now=Za,pr.pad=function(t,e,n){t=$s(t);var r=(e=qs(e))?Nn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return yo(Mn(i),n)+t+yo(Wn(i),n)},pr.padEnd=function(t,e,n){t=$s(t);var r=(e=qs(e))?Nn(t):0;return e&&r<e?t+yo(e-r,n):t},pr.padStart=function(t,e,n){t=$s(t);var r=(e=qs(e))?Nn(t):0;return e&&r<e?yo(e-r,n)+t:t},pr.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Kn($s(t).replace(Rt,""),e||0)},pr.random=function(t,e,n){if(n&&"boolean"!=typeof n&&zo(t,e,n)&&(e=n=o),n===o&&("boolean"==typeof e?(n=e,e=o):"boolean"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=Fs(t),e===o?(e=t,t=0):e=Fs(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Xn();return Gn(t+i*(e-t+Oe("1e-"+((i+"").length-1))),e)}return Ei(t,e)},pr.reduce=function(t,e,n){var r=ms(t)?en:dn,i=arguments.length<3;return r(t,Po(e,4),n,i,Mr)},pr.reduceRight=function(t,e,n){var r=ms(t)?nn:dn,i=arguments.length<3;return r(t,Po(e,4),n,i,Fr)},pr.repeat=function(t,e,n){return e=(n?zo(t,e,n):e===o)?1:qs(e),wi($s(t),e)},pr.replace=function(){var t=arguments,e=$s(t[0]);return t.length<3?e:e.replace(t[1],t[2])},pr.result=function(t,e,n){var r=-1,i=(e=Gi(e,t)).length;for(i||(i=1,t=o);++r<i;){var a=null==t?o:t[ca(e[r])];a===o&&(r=i,a=n),t=xs(a)?a.call(t):a}return t},pr.round=Qu,pr.runInContext=t,pr.sample=function(t){return(ms(t)?xr:xi)(t)},pr.size=function(t){if(null==t)return 0;if(_s(t))return js(t)?Nn(t):t.length;var e=Uo(t);return e==Q||e==nt?t.size:li(t).length},pr.snakeCase=bu,pr.some=function(t,e,n){var r=ms(t)?rn:Ni;return n&&zo(t,e,n)&&(e=o),r(t,Po(e,3))},pr.sortedIndex=function(t,e){return Li(t,e)},pr.sortedIndexBy=function(t,e,n){return ki(t,e,Po(n,2))},pr.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=Li(t,e);if(r<n&&ps(t[r],e))return r}return-1},pr.sortedLastIndex=function(t,e){return Li(t,e,!0)},pr.sortedLastIndexBy=function(t,e,n){return ki(t,e,Po(n,2),!0)},pr.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=Li(t,e,!0)-1;if(ps(t[n],e))return n}return-1},pr.startCase=Eu,pr.startsWith=function(t,e,n){return t=$s(t),n=null==n?0:jr(qs(n),0,t.length),e=Pi(e),t.slice(n,n+e.length)==e},pr.subtract=Yu,pr.sum=function(t){return t&&t.length?gn(t,Iu):0},pr.sumBy=function(t,e){return t&&t.length?gn(t,Po(e,2)):0},pr.template=function(t,e,n){var r=pr.templateSettings;n&&zo(t,e,n)&&(e=o),t=$s(t),e=Ks({},e,r,So);var i,a,s=Ks({},e.imports,r.imports,So),u=iu(s),l=yn(s,u),c=0,f=e.interpolate||Qt,h="__p += '",p=ne((e.escape||Qt).source+"|"+f.source+"|"+(f===Dt?Ut:Qt).source+"|"+(e.evaluate||Qt).source+"|$","g"),d="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++Ce+"]")+"\n";t.replace(p,function(e,n,r,o,s,u){return r||(r=o),h+=t.slice(c,u).replace(Yt,xn),n&&(i=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+e.length,e}),h+="';\n";var g=e.variable;g||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(_t,""):h).replace(bt,"$1").replace(Et,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=Cu(function(){return Zt(u,d+"return "+h).apply(o,l)});if(v.source=h,Ts(v))throw v;return v},pr.times=function(t,e){if((t=qs(t))<1||t>j)return[];var n=H,r=Gn(t,H);e=Po(e),t-=H;for(var i=vn(r,e);++n<t;)e(n);return i},pr.toFinite=Fs,pr.toInteger=qs,pr.toLength=Us,pr.toLower=function(t){return $s(t).toLowerCase()},pr.toNumber=Bs,pr.toSafeInteger=function(t){return t?jr(qs(t),-j,j):0===t?t:0},pr.toString=$s,pr.toUpper=function(t){return $s(t).toUpperCase()},pr.trim=function(t,e,n){if((t=$s(t))&&(n||e===o))return t.replace(jt,"");if(!t||!(e=Pi(e)))return t;var r=Ln(t),i=Ln(e);return Ki(r,bn(r,i),En(r,i)+1).join("")},pr.trimEnd=function(t,e,n){if((t=$s(t))&&(n||e===o))return t.replace(Pt,"");if(!t||!(e=Pi(e)))return t;var r=Ln(t);return Ki(r,0,En(r,Ln(e))+1).join("")},pr.trimStart=function(t,e,n){if((t=$s(t))&&(n||e===o))return t.replace(Rt,"");if(!t||!(e=Pi(e)))return t;var r=Ln(t);return Ki(r,bn(r,Ln(e))).join("")},pr.truncate=function(t,e){var n=A,r=D;if(As(e)){var i="separator"in e?e.separator:i;n="length"in e?qs(e.length):n,r="omission"in e?Pi(e.omission):r}var a=(t=$s(t)).length;if(Cn(t)){var s=Ln(t);a=s.length}if(n>=a)return t;var u=n-Nn(r);if(u<1)return r;var l=s?Ki(s,0,u).join(""):t.slice(0,u);if(i===o)return l+r;if(s&&(u+=l.length-u),Ls(i)){if(t.slice(u).search(i)){var c,f=l;for(i.global||(i=ne(i.source,$s(Bt.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var h=c.index;l=l.slice(0,h===o?u:h)}}else if(t.indexOf(Pi(i),u)!=u){var p=l.lastIndexOf(i);p>-1&&(l=l.slice(0,p))}return l+r},pr.unescape=function(t){return(t=$s(t))&&xt.test(t)?t.replace(wt,kn):t},pr.uniqueId=function(t){var e=++fe;return $s(t)+e},pr.upperCase=wu,pr.upperFirst=Tu,pr.each=$a,pr.eachRight=Ga,pr.first=_a,ju(pr,(Ku={},zr(pr,function(t,e){ce.call(pr.prototype,e)||(Ku[e]=t)}),Ku),{chain:!1}),pr.VERSION="4.17.11",ze(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){pr[t].placeholder=pr}),ze(["drop","take"],function(t,e){mr.prototype[t]=function(n){n=n===o?1:$n(qs(n),0);var r=this.__filtered__&&!e?new mr(this):this.clone();return r.__filtered__?r.__takeCount__=Gn(n,r.__takeCount__):r.__views__.push({size:Gn(n,H),type:t+(r.__dir__<0?"Right":"")}),r},mr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),ze(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==N||3==n;mr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Po(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),ze(["head","last"],function(t,e){var n="take"+(e?"Right":"");mr.prototype[t]=function(){return this[n](1).value()[0]}}),ze(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");mr.prototype[t]=function(){return this.__filtered__?new mr(this):this[n](1)}}),mr.prototype.compact=function(){return this.filter(Iu)},mr.prototype.find=function(t){return this.filter(t).head()},mr.prototype.findLast=function(t){return this.reverse().find(t)},mr.prototype.invokeMap=Ti(function(t,e){return"function"==typeof t?new mr(this):this.map(function(n){return ri(n,t,e)})}),mr.prototype.reject=function(t){return this.filter(us(Po(t)))},mr.prototype.slice=function(t,e){t=qs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new mr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(n=(e=qs(e))<0?n.dropRight(-e):n.take(e-t)),n)},mr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},mr.prototype.toArray=function(){return this.take(H)},zr(mr.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=pr[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);i&&(pr.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,u=e instanceof mr,l=s[0],c=u||ms(e),f=function(t){var e=i.apply(pr,tn([t],s));return r&&h?e[0]:e};c&&n&&"function"==typeof l&&1!=l.length&&(u=c=!1);var h=this.__chain__,p=!!this.__actions__.length,d=a&&!h,g=u&&!p;if(!a&&c){e=g?e:new mr(this);var v=t.apply(e,s);return v.__actions__.push({func:Fa,args:[f],thisArg:o}),new vr(v,h)}return d&&g?t.apply(this,s):(v=this.thru(f),d?r?v.value()[0]:v.value():v)})}),ze(["pop","push","shift","sort","splice","unshift"],function(t){var e=oe[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);pr.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(ms(i)?i:[],t)}return this[n](function(n){return e.apply(ms(n)?n:[],t)})}}),zr(mr.prototype,function(t,e){var n=pr[e];if(n){var r=n.name+"";(ir[r]||(ir[r]=[])).push({name:e,func:n})}}),ir[po(o,y).name]=[{name:"wrapper",func:o}],mr.prototype.clone=function(){var t=new mr(this.__wrapped__);return t.__actions__=no(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=no(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=no(this.__views__),t},mr.prototype.reverse=function(){if(this.__filtered__){var t=new mr(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},mr.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=ms(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=Gn(e,t+a);break;case"takeRight":t=$n(t,e-a)}}return{start:t,end:e}}(0,i,this.__views__),a=o.start,s=o.end,u=s-a,l=r?s:a-1,c=this.__iteratees__,f=c.length,h=0,p=Gn(u,this.__takeCount__);if(!n||!r&&i==u&&p==u)return qi(t,this.__actions__);var d=[];t:for(;u--&&h<p;){for(var g=-1,v=t[l+=e];++g<f;){var m=c[g],y=m.iteratee,_=m.type,b=y(v);if(_==L)v=b;else if(!b){if(_==N)continue t;break t}}d[h++]=v}return d},pr.prototype.at=qa,pr.prototype.chain=function(){return Ma(this)},pr.prototype.commit=function(){return new vr(this.value(),this.__chain__)},pr.prototype.next=function(){this.__values__===o&&(this.__values__=Ms(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?o:this.__values__[this.__index__++]}},pr.prototype.plant=function(t){for(var e,n=this;n instanceof gr;){var r=ha(n);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},pr.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof mr){var e=t;return this.__actions__.length&&(e=new mr(this)),(e=e.reverse()).__actions__.push({func:Fa,args:[Aa],thisArg:o}),new vr(e,this.__chain__)}return this.thru(Aa)},pr.prototype.toJSON=pr.prototype.valueOf=pr.prototype.value=function(){return qi(this.__wrapped__,this.__actions__)},pr.prototype.first=pr.prototype.head,We&&(pr.prototype[We]=function(){return this}),pr}();ke._=jn,(i=function(){return jn}.call(e,n,e,r))===o||(r.exports=i)}).call(this)}).call(this,n(2),n(13)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){!function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){o(t,e,n[e])})}return t}e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n;var s="transitionend";function u(t){var e=this,r=!1;return n(this).one(l.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||l.triggerTransitionEnd(e)},t),this}var l={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}return e&&document.querySelector(e)?e:null},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=n(t).css("transition-duration"),r=n(t).css("transition-delay"),i=parseFloat(e),o=parseFloat(r);return i||o?(e=e.split(",")[0],r=r.split(",")[0],1e3*(parseFloat(e)+parseFloat(r))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){n(t).trigger(s)},supportsTransitionEnd:function(){return Boolean(s)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r],o=e[r],a=o&&l.isElement(o)?"element":(s=o,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(i).test(a))throw new Error(t.toUpperCase()+': Option "'+r+'" provided type "'+a+'" but expected type "'+i+'".')}var s},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?l.findShadowRoot(t.parentNode):null}};n.fn.emulateTransitionEnd=u,n.event.special[l.TRANSITION_END]={bindType:s,delegateType:s,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var c=n.fn.alert,f={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},h={ALERT:"alert",FADE:"fade",SHOW:"show"},p=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t));var n=this._triggerCloseEvent(e);n.isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){n.removeData(this._element,"bs.alert"),this._element=null},e._getRootElement=function(t){var e=l.getSelectorFromElement(t),r=!1;return e&&(r=document.querySelector(e)),r||(r=n(t).closest("."+h.ALERT)[0]),r},e._triggerCloseEvent=function(t){var e=n.Event(f.CLOSE);return n(t).trigger(e),e},e._removeElement=function(t){var e=this;if(n(t).removeClass(h.SHOW),n(t).hasClass(h.FADE)){var r=l.getTransitionDurationFromElement(t);n(t).one(l.TRANSITION_END,function(n){return e._destroyElement(t,n)}).emulateTransitionEnd(r)}else this._destroyElement(t)},e._destroyElement=function(t){n(t).detach().trigger(f.CLOSED).remove()},t._jQueryInterface=function(e){return this.each(function(){var r=n(this),i=r.data("bs.alert");i||(i=new t(this),r.data("bs.alert",i)),"close"===e&&i[e](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),t}();n(document).on(f.CLICK_DATA_API,'[data-dismiss="alert"]',p._handleDismiss(new p)),n.fn.alert=p._jQueryInterface,n.fn.alert.Constructor=p,n.fn.alert.noConflict=function(){return n.fn.alert=c,p._jQueryInterface};var d=n.fn.button,g={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},v={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:'input:not([type="hidden"])',ACTIVE:".active",BUTTON:".btn"},m={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},y=function(){function t(t){this._element=t}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,r=n(this._element).closest(v.DATA_TOGGLE)[0];if(r){var i=this._element.querySelector(v.INPUT);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(g.ACTIVE))t=!1;else{var o=r.querySelector(v.ACTIVE);o&&n(o).removeClass(g.ACTIVE)}if(t){if(i.hasAttribute("disabled")||r.hasAttribute("disabled")||i.classList.contains("disabled")||r.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(g.ACTIVE),n(i).trigger("change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(g.ACTIVE)),t&&n(this._element).toggleClass(g.ACTIVE)},e.dispose=function(){n.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(e){return this.each(function(){var r=n(this).data("bs.button");r||(r=new t(this),n(this).data("bs.button",r)),"toggle"===e&&r[e]()})},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),t}();n(document).on(m.CLICK_DATA_API,v.DATA_TOGGLE_CARROT,function(t){t.preventDefault();var e=t.target;n(e).hasClass(g.BUTTON)||(e=n(e).closest(v.BUTTON)),y._jQueryInterface.call(n(e),"toggle")}).on(m.FOCUS_BLUR_DATA_API,v.DATA_TOGGLE_CARROT,function(t){var e=n(t.target).closest(v.BUTTON)[0];n(e).toggleClass(g.FOCUS,/^focus(in)?$/.test(t.type))}),n.fn.button=y._jQueryInterface,n.fn.button.Constructor=y,n.fn.button.noConflict=function(){return n.fn.button=d,y._jQueryInterface};var _="carousel",b=".bs.carousel",E=n.fn[_],w={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},T={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},x={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},C={SLIDE:"slide.bs.carousel",SLID:"slid.bs.carousel",KEYDOWN:"keydown.bs.carousel",MOUSEENTER:"mouseenter.bs.carousel",MOUSELEAVE:"mouseleave.bs.carousel",TOUCHSTART:"touchstart.bs.carousel",TOUCHMOVE:"touchmove.bs.carousel",TOUCHEND:"touchend.bs.carousel",POINTERDOWN:"pointerdown.bs.carousel",POINTERUP:"pointerup.bs.carousel",DRAG_START:"dragstart.bs.carousel",LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},S={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item",POINTER_EVENT:"pointer-event"},A={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},D={TOUCH:"touch",PEN:"pen"},O=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(A.INDICATORS),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(x.NEXT)},e.nextWhenVisible=function(){!document.hidden&&n(this._element).is(":visible")&&"hidden"!==n(this._element).css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(x.PREV)},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(A.NEXT_PREV)&&(l.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=this._element.querySelector(A.ACTIVE_ITEM);var r=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)n(this._element).one(C.SLID,function(){return e.to(t)});else{if(r===t)return this.pause(),void this.cycle();var i=t>r?x.NEXT:x.PREV;this._slide(i,this._items[t])}},e.dispose=function(){n(this._element).off(b),n.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=a({},w,t),l.typeCheckConfig(_,t,T),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&n(this._element).on(C.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&n(this._element).on(C.MOUSEENTER,function(e){return t.pause(e)}).on(C.MOUSELEAVE,function(e){return t.cycle(e)}),this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&D[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},r=function(e){t._pointerEvent&&D[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval))};n(this._element.querySelectorAll(A.ITEM_IMG)).on(C.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(n(this._element).on(C.POINTERDOWN,function(t){return e(t)}),n(this._element).on(C.POINTERUP,function(t){return r(t)}),this._element.classList.add(S.POINTER_EVENT)):(n(this._element).on(C.TOUCHSTART,function(t){return e(t)}),n(this._element).on(C.TOUCHMOVE,function(e){return function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)}),n(this._element).on(C.TOUCHEND,function(t){return r(t)}))}},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(A.ITEM)):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n=t===x.NEXT,r=t===x.PREV,i=this._getItemIndex(e),o=this._items.length-1,a=r&&0===i||n&&i===o;if(a&&!this._config.wrap)return e;var s=t===x.PREV?-1:1,u=(i+s)%this._items.length;return-1===u?this._items[this._items.length-1]:this._items[u]},e._triggerSlideEvent=function(t,e){var r=this._getItemIndex(t),i=this._getItemIndex(this._element.querySelector(A.ACTIVE_ITEM)),o=n.Event(C.SLIDE,{relatedTarget:t,direction:e,from:i,to:r});return n(this._element).trigger(o),o},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(A.ACTIVE));n(e).removeClass(S.ACTIVE);var r=this._indicatorsElement.children[this._getItemIndex(t)];r&&n(r).addClass(S.ACTIVE)}},e._slide=function(t,e){var r,i,o,a=this,s=this._element.querySelector(A.ACTIVE_ITEM),u=this._getItemIndex(s),c=e||s&&this._getItemByDirection(t,s),f=this._getItemIndex(c),h=Boolean(this._interval);if(t===x.NEXT?(r=S.LEFT,i=S.NEXT,o=x.LEFT):(r=S.RIGHT,i=S.PREV,o=x.RIGHT),c&&n(c).hasClass(S.ACTIVE))this._isSliding=!1;else{var p=this._triggerSlideEvent(c,o);if(!p.isDefaultPrevented()&&s&&c){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(c);var d=n.Event(C.SLID,{relatedTarget:c,direction:o,from:u,to:f});if(n(this._element).hasClass(S.SLIDE)){n(c).addClass(i),l.reflow(c),n(s).addClass(r),n(c).addClass(r);var g=parseInt(c.getAttribute("data-interval"),10);g?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=g):this._config.interval=this._config.defaultInterval||this._config.interval;var v=l.getTransitionDurationFromElement(s);n(s).one(l.TRANSITION_END,function(){n(c).removeClass(r+" "+i).addClass(S.ACTIVE),n(s).removeClass(S.ACTIVE+" "+i+" "+r),a._isSliding=!1,setTimeout(function(){return n(a._element).trigger(d)},0)}).emulateTransitionEnd(v)}else n(s).removeClass(S.ACTIVE),n(c).addClass(S.ACTIVE),this._isSliding=!1,n(this._element).trigger(d);h&&this.cycle()}}},t._jQueryInterface=function(e){return this.each(function(){var r=n(this).data("bs.carousel"),i=a({},w,n(this).data());"object"==typeof e&&(i=a({},i,e));var o="string"==typeof e?e:i.slide;if(r||(r=new t(this,i),n(this).data("bs.carousel",r)),"number"==typeof e)r.to(e);else if("string"==typeof o){if(void 0===r[o])throw new TypeError('No method named "'+o+'"');r[o]()}else i.interval&&(r.pause(),r.cycle())})},t._dataApiClickHandler=function(e){var r=l.getSelectorFromElement(this);if(r){var i=n(r)[0];if(i&&n(i).hasClass(S.CAROUSEL)){var o=a({},n(i).data(),n(this).data()),s=this.getAttribute("data-slide-to");s&&(o.interval=!1),t._jQueryInterface.call(n(i),o),s&&n(i).data("bs.carousel").to(s),e.preventDefault()}}},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return w}}]),t}();n(document).on(C.CLICK_DATA_API,A.DATA_SLIDE,O._dataApiClickHandler),n(window).on(C.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(A.DATA_RIDE)),e=0,r=t.length;e<r;e++){var i=n(t[e]);O._jQueryInterface.call(i,i.data())}}),n.fn[_]=O._jQueryInterface,n.fn[_].Constructor=O,n.fn[_].noConflict=function(){return n.fn[_]=E,O._jQueryInterface};var I="collapse",N=n.fn[I],L={toggle:!0,parent:""},k={toggle:"boolean",parent:"(string|element)"},j={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},R={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},P={WIDTH:"width",HEIGHT:"height"},H={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},W=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(H.DATA_TOGGLE)),r=0,i=n.length;r<i;r++){var o=n[r],a=l.getSelectorFromElement(o),s=[].slice.call(document.querySelectorAll(a)).filter(function(e){return e===t});null!==a&&s.length>0&&(this._selector=a,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){n(this._element).hasClass(R.SHOW)?this.hide():this.show()},e.show=function(){var e,r,i=this;if(!(this._isTransitioning||n(this._element).hasClass(R.SHOW)||(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(H.ACTIVES)).filter(function(t){return"string"==typeof i._config.parent?t.getAttribute("data-parent")===i._config.parent:t.classList.contains(R.COLLAPSE)})).length&&(e=null),e&&(r=n(e).not(this._selector).data("bs.collapse"))&&r._isTransitioning))){var o=n.Event(j.SHOW);if(n(this._element).trigger(o),!o.isDefaultPrevented()){e&&(t._jQueryInterface.call(n(e).not(this._selector),"hide"),r||n(e).data("bs.collapse",null));var a=this._getDimension();n(this._element).removeClass(R.COLLAPSE).addClass(R.COLLAPSING),this._element.style[a]=0,this._triggerArray.length&&n(this._triggerArray).removeClass(R.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var s=a[0].toUpperCase()+a.slice(1),u="scroll"+s,c=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,function(){n(i._element).removeClass(R.COLLAPSING).addClass(R.COLLAPSE).addClass(R.SHOW),i._element.style[a]="",i.setTransitioning(!1),n(i._element).trigger(j.SHOWN)}).emulateTransitionEnd(c),this._element.style[a]=this._element[u]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&n(this._element).hasClass(R.SHOW)){var e=n.Event(j.HIDE);if(n(this._element).trigger(e),!e.isDefaultPrevented()){var r=this._getDimension();this._element.style[r]=this._element.getBoundingClientRect()[r]+"px",l.reflow(this._element),n(this._element).addClass(R.COLLAPSING).removeClass(R.COLLAPSE).removeClass(R.SHOW);var i=this._triggerArray.length;if(i>0)for(var o=0;o<i;o++){var a=this._triggerArray[o],s=l.getSelectorFromElement(a);if(null!==s){var u=n([].slice.call(document.querySelectorAll(s)));u.hasClass(R.SHOW)||n(a).addClass(R.COLLAPSED).attr("aria-expanded",!1)}}this.setTransitioning(!0),this._element.style[r]="";var c=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,function(){t.setTransitioning(!1),n(t._element).removeClass(R.COLLAPSING).addClass(R.COLLAPSE).trigger(j.HIDDEN)}).emulateTransitionEnd(c)}}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){n.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(t){return(t=a({},L,t)).toggle=Boolean(t.toggle),l.typeCheckConfig(I,t,k),t},e._getDimension=function(){var t=n(this._element).hasClass(P.WIDTH);return t?P.WIDTH:P.HEIGHT},e._getParent=function(){var e,r=this;l.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',o=[].slice.call(e.querySelectorAll(i));return n(o).each(function(e,n){r._addAriaAndCollapsedClass(t._getTargetFromElement(n),[n])}),e},e._addAriaAndCollapsedClass=function(t,e){var r=n(t).hasClass(R.SHOW);e.length&&n(e).toggleClass(R.COLLAPSED,!r).attr("aria-expanded",r)},t._getTargetFromElement=function(t){var e=l.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(e){return this.each(function(){var r=n(this),i=r.data("bs.collapse"),o=a({},L,r.data(),"object"==typeof e&&e?e:{});if(!i&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),i||(i=new t(this,o),r.data("bs.collapse",i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return L}}]),t}();n(document).on(j.CLICK_DATA_API,H.DATA_TOGGLE,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var e=n(this),r=l.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(r));n(i).each(function(){var t=n(this),r=t.data("bs.collapse"),i=r?"toggle":e.data();W._jQueryInterface.call(t,i)})}),n.fn[I]=W._jQueryInterface,n.fn[I].Constructor=W,n.fn[I].noConflict=function(){return n.fn[I]=N,W._jQueryInterface};var M="dropdown",F=n.fn[M],q=new RegExp("38|40|27"),U={HIDE:"hide.bs.dropdown",HIDDEN:"hidden.bs.dropdown",SHOW:"show.bs.dropdown",SHOWN:"shown.bs.dropdown",CLICK:"click.bs.dropdown",CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},B={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},V={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},$={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},G={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},z={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},K=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var r=t.prototype;return r.toggle=function(){if(!this._element.disabled&&!n(this._element).hasClass(B.DISABLED)){var r=t._getParentFromElement(this._element),i=n(this._menu).hasClass(B.SHOW);if(t._clearMenus(),!i){var o={relatedTarget:this._element},a=n.Event(U.SHOW,o);if(n(r).trigger(a),!a.isDefaultPrevented()){if(!this._inNavbar){if(void 0===e)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var s=this._element;"parent"===this._config.reference?s=r:l.isElement(this._config.reference)&&(s=this._config.reference,void 0!==this._config.reference.jquery&&(s=this._config.reference[0])),"scrollParent"!==this._config.boundary&&n(r).addClass(B.POSITION_STATIC),this._popper=new e(s,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===n(r).closest(V.NAVBAR_NAV).length&&n(document.body).children().on("mouseover",null,n.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),n(this._menu).toggleClass(B.SHOW),n(r).toggleClass(B.SHOW).trigger(n.Event(U.SHOWN,o))}}}},r.show=function(){if(!(this._element.disabled||n(this._element).hasClass(B.DISABLED)||n(this._menu).hasClass(B.SHOW))){var e={relatedTarget:this._element},r=n.Event(U.SHOW,e),i=t._getParentFromElement(this._element);n(i).trigger(r),r.isDefaultPrevented()||(n(this._menu).toggleClass(B.SHOW),n(i).toggleClass(B.SHOW).trigger(n.Event(U.SHOWN,e)))}},r.hide=function(){if(!this._element.disabled&&!n(this._element).hasClass(B.DISABLED)&&n(this._menu).hasClass(B.SHOW)){var e={relatedTarget:this._element},r=n.Event(U.HIDE,e),i=t._getParentFromElement(this._element);n(i).trigger(r),r.isDefaultPrevented()||(n(this._menu).toggleClass(B.SHOW),n(i).toggleClass(B.SHOW).trigger(n.Event(U.HIDDEN,e)))}},r.dispose=function(){n.removeData(this._element,"bs.dropdown"),n(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},r.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},r._addEventListeners=function(){var t=this;n(this._element).on(U.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},r._getConfig=function(t){return t=a({},this.constructor.Default,n(this._element).data(),t),l.typeCheckConfig(M,t,this.constructor.DefaultType),t},r._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(V.MENU))}return this._menu},r._getPlacement=function(){var t=n(this._element.parentNode),e=$.BOTTOM;return t.hasClass(B.DROPUP)?(e=$.TOP,n(this._menu).hasClass(B.MENURIGHT)&&(e=$.TOPEND)):t.hasClass(B.DROPRIGHT)?e=$.RIGHT:t.hasClass(B.DROPLEFT)?e=$.LEFT:n(this._menu).hasClass(B.MENURIGHT)&&(e=$.BOTTOMEND),e},r._detectNavbar=function(){return n(this._element).closest(".navbar").length>0},r._getPopperConfig=function(){var t=this,e={};"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=a({},e.offsets,t._config.offset(e.offsets)||{}),e}:e.offset=this._config.offset;var n={placement:this._getPlacement(),modifiers:{offset:e,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(n.modifiers.applyStyle={enabled:!1}),n},t._jQueryInterface=function(e){return this.each(function(){var r=n(this).data("bs.dropdown"),i="object"==typeof e?e:null;if(r||(r=new t(this,i),n(this).data("bs.dropdown",r)),"string"==typeof e){if(void 0===r[e])throw new TypeError('No method named "'+e+'"');r[e]()}})},t._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var r=[].slice.call(document.querySelectorAll(V.DATA_TOGGLE)),i=0,o=r.length;i<o;i++){var a=t._getParentFromElement(r[i]),s=n(r[i]).data("bs.dropdown"),u={relatedTarget:r[i]};if(e&&"click"===e.type&&(u.clickEvent=e),s){var l=s._menu;if(n(a).hasClass(B.SHOW)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&n.contains(a,e.target))){var c=n.Event(U.HIDE,u);n(a).trigger(c),c.isDefaultPrevented()||("ontouchstart"in document.documentElement&&n(document.body).children().off("mouseover",null,n.noop),r[i].setAttribute("aria-expanded","false"),n(l).removeClass(B.SHOW),n(a).removeClass(B.SHOW).trigger(n.Event(U.HIDDEN,u)))}}}},t._getParentFromElement=function(t){var e,n=l.getSelectorFromElement(t);return n&&(e=document.querySelector(n)),e||t.parentNode},t._dataApiKeydownHandler=function(e){if((/input|textarea/i.test(e.target.tagName)?!(32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||n(e.target).closest(V.MENU).length)):q.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!n(this).hasClass(B.DISABLED))){var r=t._getParentFromElement(this),i=n(r).hasClass(B.SHOW);if(i&&(!i||27!==e.which&&32!==e.which)){var o=[].slice.call(r.querySelectorAll(V.VISIBLE_ITEMS));if(0!==o.length){var a=o.indexOf(e.target);38===e.which&&a>0&&a--,40===e.which&&a<o.length-1&&a++,a<0&&(a=0),o[a].focus()}}else{if(27===e.which){var s=r.querySelector(V.DATA_TOGGLE);n(s).trigger("focus")}n(this).trigger("click")}}},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return G}},{key:"DefaultType",get:function(){return z}}]),t}();n(document).on(U.KEYDOWN_DATA_API,V.DATA_TOGGLE,K._dataApiKeydownHandler).on(U.KEYDOWN_DATA_API,V.MENU,K._dataApiKeydownHandler).on(U.CLICK_DATA_API+" "+U.KEYUP_DATA_API,K._clearMenus).on(U.CLICK_DATA_API,V.DATA_TOGGLE,function(t){t.preventDefault(),t.stopPropagation(),K._jQueryInterface.call(n(this),"toggle")}).on(U.CLICK_DATA_API,V.FORM_CHILD,function(t){t.stopPropagation()}),n.fn[M]=K._jQueryInterface,n.fn[M].Constructor=K,n.fn[M].noConflict=function(){return n.fn[M]=F,K._jQueryInterface};var X=n.fn.modal,Q={backdrop:!0,keyboard:!0,focus:!0,show:!0},Y={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},J={HIDE:"hide.bs.modal",HIDDEN:"hidden.bs.modal",SHOW:"show.bs.modal",SHOWN:"shown.bs.modal",FOCUSIN:"focusin.bs.modal",RESIZE:"resize.bs.modal",CLICK_DISMISS:"click.dismiss.bs.modal",KEYDOWN_DISMISS:"keydown.dismiss.bs.modal",MOUSEUP_DISMISS:"mouseup.dismiss.bs.modal",MOUSEDOWN_DISMISS:"mousedown.dismiss.bs.modal",CLICK_DATA_API:"click.bs.modal.data-api"},Z={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},tt={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},et=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(tt.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e=t.prototype;return e.toggle=function(t){return this._isShown?this.hide():this.show(t)},e.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){n(this._element).hasClass(Z.FADE)&&(this._isTransitioning=!0);var r=n.Event(J.SHOW,{relatedTarget:t});n(this._element).trigger(r),this._isShown||r.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),n(this._element).on(J.CLICK_DISMISS,tt.DATA_DISMISS,function(t){return e.hide(t)}),n(this._dialog).on(J.MOUSEDOWN_DISMISS,function(){n(e._element).one(J.MOUSEUP_DISMISS,function(t){n(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},e.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var r=n.Event(J.HIDE);if(n(this._element).trigger(r),this._isShown&&!r.isDefaultPrevented()){this._isShown=!1;var i=n(this._element).hasClass(Z.FADE);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),n(document).off(J.FOCUSIN),n(this._element).removeClass(Z.SHOW),n(this._element).off(J.CLICK_DISMISS),n(this._dialog).off(J.MOUSEDOWN_DISMISS),i){var o=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(o)}else this._hideModal()}}},e.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return n(t).off(".bs.modal")}),n(document).off(J.FOCUSIN),n.removeData(this._element,"bs.modal"),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(t){return t=a({},Q,t),l.typeCheckConfig("modal",t,Y),t},e._showElement=function(t){var e=this,r=n(this._element).hasClass(Z.FADE);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.scrollTop=0,r&&l.reflow(this._element),n(this._element).addClass(Z.SHOW),this._config.focus&&this._enforceFocus();var i=n.Event(J.SHOWN,{relatedTarget:t}),o=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,n(e._element).trigger(i)};if(r){var a=l.getTransitionDurationFromElement(this._dialog);n(this._dialog).one(l.TRANSITION_END,o).emulateTransitionEnd(a)}else o()},e._enforceFocus=function(){var t=this;n(document).off(J.FOCUSIN).on(J.FOCUSIN,function(e){document!==e.target&&t._element!==e.target&&0===n(t._element).has(e.target).length&&t._element.focus()})},e._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?n(this._element).on(J.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||n(this._element).off(J.KEYDOWN_DISMISS)},e._setResizeEvent=function(){var t=this;this._isShown?n(window).on(J.RESIZE,function(e){return t.handleUpdate(e)}):n(window).off(J.RESIZE)},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){n(document.body).removeClass(Z.OPEN),t._resetAdjustments(),t._resetScrollbar(),n(t._element).trigger(J.HIDDEN)})},e._removeBackdrop=function(){this._backdrop&&(n(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,r=n(this._element).hasClass(Z.FADE)?Z.FADE:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=Z.BACKDROP,r&&this._backdrop.classList.add(r),n(this._backdrop).appendTo(document.body),n(this._element).on(J.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),r&&l.reflow(this._backdrop),n(this._backdrop).addClass(Z.SHOW),!t)return;if(!r)return void t();var i=l.getTransitionDurationFromElement(this._backdrop);n(this._backdrop).one(l.TRANSITION_END,t).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){n(this._backdrop).removeClass(Z.SHOW);var o=function(){e._removeBackdrop(),t&&t()};if(n(this._element).hasClass(Z.FADE)){var a=l.getTransitionDurationFromElement(this._backdrop);n(this._backdrop).one(l.TRANSITION_END,o).emulateTransitionEnd(a)}else o()}else t&&t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(tt.FIXED_CONTENT)),r=[].slice.call(document.querySelectorAll(tt.STICKY_CONTENT));n(e).each(function(e,r){var i=r.style.paddingRight,o=n(r).css("padding-right");n(r).data("padding-right",i).css("padding-right",parseFloat(o)+t._scrollbarWidth+"px")}),n(r).each(function(e,r){var i=r.style.marginRight,o=n(r).css("margin-right");n(r).data("margin-right",i).css("margin-right",parseFloat(o)-t._scrollbarWidth+"px")});var i=document.body.style.paddingRight,o=n(document.body).css("padding-right");n(document.body).data("padding-right",i).css("padding-right",parseFloat(o)+this._scrollbarWidth+"px")}n(document.body).addClass(Z.OPEN)},e._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(tt.FIXED_CONTENT));n(t).each(function(t,e){var r=n(e).data("padding-right");n(e).removeData("padding-right"),e.style.paddingRight=r||""});var e=[].slice.call(document.querySelectorAll(""+tt.STICKY_CONTENT));n(e).each(function(t,e){var r=n(e).data("margin-right");void 0!==r&&n(e).css("margin-right",r).removeData("margin-right")});var r=n(document.body).data("padding-right");n(document.body).removeData("padding-right"),document.body.style.paddingRight=r||""},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className=Z.SCROLLBAR_MEASURER,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(e,r){return this.each(function(){var i=n(this).data("bs.modal"),o=a({},Q,n(this).data(),"object"==typeof e&&e?e:{});if(i||(i=new t(this,o),n(this).data("bs.modal",i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e](r)}else o.show&&i.show(r)})},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return Q}}]),t}();n(document).on(J.CLICK_DATA_API,tt.DATA_TOGGLE,function(t){var e,r=this,i=l.getSelectorFromElement(this);i&&(e=document.querySelector(i));var o=n(e).data("bs.modal")?"toggle":a({},n(e).data(),n(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var s=n(e).one(J.SHOW,function(t){t.isDefaultPrevented()||s.one(J.HIDDEN,function(){n(r).is(":visible")&&r.focus()})});et._jQueryInterface.call(n(e),o,this)}),n.fn.modal=et._jQueryInterface,n.fn.modal.Constructor=et,n.fn.modal.noConflict=function(){return n.fn.modal=X,et._jQueryInterface};var nt="tooltip",rt=n.fn.tooltip,it=new RegExp("(^|\\s)bs-tooltip\\S+","g"),ot={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},at={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},st={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},ut={SHOW:"show",OUT:"out"},lt={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},ct={FADE:"fade",SHOW:"show"},ft={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},ht={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},pt=function(){function t(t,n){if(void 0===e)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(n),this.tip=null,this._setListeners()}var r=t.prototype;return r.enable=function(){this._isEnabled=!0},r.disable=function(){this._isEnabled=!1},r.toggleEnabled=function(){this._isEnabled=!this._isEnabled},r.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,r=n(t.currentTarget).data(e);r||(r=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(e,r)),r._activeTrigger.click=!r._activeTrigger.click,r._isWithActiveTrigger()?r._enter(null,r):r._leave(null,r)}else{if(n(this.getTipElement()).hasClass(ct.SHOW))return void this._leave(null,this);this._enter(null,this)}},r.dispose=function(){clearTimeout(this._timeout),n.removeData(this.element,this.constructor.DATA_KEY),n(this.element).off(this.constructor.EVENT_KEY),n(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&n(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},r.show=function(){var t=this;if("none"===n(this.element).css("display"))throw new Error("Please use show on visible elements");var r=n.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){n(this.element).trigger(r);var i=l.findShadowRoot(this.element),o=n.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(r.isDefaultPrevented()||!o)return;var a=this.getTipElement(),s=l.getUID(this.constructor.NAME);a.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&n(a).addClass(ct.FADE);var u="function"==typeof this.config.placement?this.config.placement.call(this,a,this.element):this.config.placement,c=this._getAttachment(u);this.addAttachmentClass(c);var f=this._getContainer();n(a).data(this.constructor.DATA_KEY,this),n.contains(this.element.ownerDocument.documentElement,this.tip)||n(a).appendTo(f),n(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new e(this.element,a,{placement:c,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:ft.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),n(a).addClass(ct.SHOW),"ontouchstart"in document.documentElement&&n(document.body).children().on("mouseover",null,n.noop);var h=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,n(t.element).trigger(t.constructor.Event.SHOWN),e===ut.OUT&&t._leave(null,t)};if(n(this.tip).hasClass(ct.FADE)){var p=l.getTransitionDurationFromElement(this.tip);n(this.tip).one(l.TRANSITION_END,h).emulateTransitionEnd(p)}else h()}},r.hide=function(t){var e=this,r=this.getTipElement(),i=n.Event(this.constructor.Event.HIDE),o=function(){e._hoverState!==ut.SHOW&&r.parentNode&&r.parentNode.removeChild(r),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),n(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(n(this.element).trigger(i),!i.isDefaultPrevented()){if(n(r).removeClass(ct.SHOW),"ontouchstart"in document.documentElement&&n(document.body).children().off("mouseover",null,n.noop),this._activeTrigger[ht.CLICK]=!1,this._activeTrigger[ht.FOCUS]=!1,this._activeTrigger[ht.HOVER]=!1,n(this.tip).hasClass(ct.FADE)){var a=l.getTransitionDurationFromElement(r);n(r).one(l.TRANSITION_END,o).emulateTransitionEnd(a)}else o();this._hoverState=""}},r.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},r.isWithContent=function(){return Boolean(this.getTitle())},r.addAttachmentClass=function(t){n(this.getTipElement()).addClass("bs-tooltip-"+t)},r.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},r.setContent=function(){var t=this.getTipElement();this.setElementContent(n(t.querySelectorAll(ft.TOOLTIP_INNER)),this.getTitle()),n(t).removeClass(ct.FADE+" "+ct.SHOW)},r.setElementContent=function(t,e){var r=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?r?n(e).parent().is(t)||t.empty().append(e):t.text(n(e).text()):t[r?"html":"text"](e)},r.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},r._getContainer=function(){return!1===this.config.container?document.body:l.isElement(this.config.container)?n(this.config.container):n(document).find(this.config.container)},r._getAttachment=function(t){return at[t.toUpperCase()]},r._setListeners=function(){var t=this,e=this.config.trigger.split(" ");e.forEach(function(e){if("click"===e)n(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(e!==ht.MANUAL){var r=e===ht.HOVER?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===ht.HOVER?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;n(t.element).on(r,t.config.selector,function(e){return t._enter(e)}).on(i,t.config.selector,function(e){return t._leave(e)})}}),n(this.element).closest(".modal").on("hide.bs.modal",function(){t.element&&t.hide()}),this.config.selector?this.config=a({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},r._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},r._enter=function(t,e){var r=this.constructor.DATA_KEY;(e=e||n(t.currentTarget).data(r))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,e)),t&&(e._activeTrigger["focusin"===t.type?ht.FOCUS:ht.HOVER]=!0),n(e.getTipElement()).hasClass(ct.SHOW)||e._hoverState===ut.SHOW?e._hoverState=ut.SHOW:(clearTimeout(e._timeout),e._hoverState=ut.SHOW,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===ut.SHOW&&e.show()},e.config.delay.show):e.show())},r._leave=function(t,e){var r=this.constructor.DATA_KEY;(e=e||n(t.currentTarget).data(r))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,e)),t&&(e._activeTrigger["focusout"===t.type?ht.FOCUS:ht.HOVER]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=ut.OUT,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===ut.OUT&&e.hide()},e.config.delay.hide):e.hide())},r._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},r._getConfig=function(t){return"number"==typeof(t=a({},this.constructor.Default,n(this.element).data(),"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),l.typeCheckConfig(nt,t,this.constructor.DefaultType),t},r._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},r._cleanTipClass=function(){var t=n(this.getTipElement()),e=t.attr("class").match(it);null!==e&&e.length&&t.removeClass(e.join(""))},r._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},r._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(n(t).removeClass(ct.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each(function(){var r=n(this).data("bs.tooltip"),i="object"==typeof e&&e;if((r||!/dispose|hide/.test(e))&&(r||(r=new t(this,i),n(this).data("bs.tooltip",r)),"string"==typeof e)){if(void 0===r[e])throw new TypeError('No method named "'+e+'"');r[e]()}})},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return st}},{key:"NAME",get:function(){return nt}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return lt}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return ot}}]),t}();n.fn.tooltip=pt._jQueryInterface,n.fn.tooltip.Constructor=pt,n.fn.tooltip.noConflict=function(){return n.fn.tooltip=rt,pt._jQueryInterface};var dt="popover",gt=n.fn.popover,vt=new RegExp("(^|\\s)bs-popover\\S+","g"),mt=a({},pt.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),yt=a({},pt.DefaultType,{content:"(string|element|function)"}),_t={FADE:"fade",SHOW:"show"},bt={TITLE:".popover-header",CONTENT:".popover-body"},Et={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},wt=function(t){var e,r;function o(){return t.apply(this,arguments)||this}r=t,(e=o).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=o.prototype;return a.isWithContent=function(){return this.getTitle()||this._getContent()},a.addAttachmentClass=function(t){n(this.getTipElement()).addClass("bs-popover-"+t)},a.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},a.setContent=function(){var t=n(this.getTipElement());this.setElementContent(t.find(bt.TITLE),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(bt.CONTENT),e),t.removeClass(_t.FADE+" "+_t.SHOW)},a._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},a._cleanTipClass=function(){var t=n(this.getTipElement()),e=t.attr("class").match(vt);null!==e&&e.length>0&&t.removeClass(e.join(""))},o._jQueryInterface=function(t){return this.each(function(){var e=n(this).data("bs.popover"),r="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new o(this,r),n(this).data("bs.popover",e)),"string"==typeof t)){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},i(o,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return mt}},{key:"NAME",get:function(){return dt}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return Et}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return yt}}]),o}(pt);n.fn.popover=wt._jQueryInterface,n.fn.popover.Constructor=wt,n.fn.popover.noConflict=function(){return n.fn.popover=gt,wt._jQueryInterface};var Tt="scrollspy",xt=n.fn[Tt],Ct={offset:10,method:"auto",target:""},St={offset:"number",method:"string",target:"(string|element)"},At={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},Dt={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},Ot={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},It={OFFSET:"offset",POSITION:"position"},Nt=function(){function t(t,e){var r=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+Ot.NAV_LINKS+","+this._config.target+" "+Ot.LIST_ITEMS+","+this._config.target+" "+Ot.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,n(this._scrollElement).on(At.SCROLL,function(t){return r._process(t)}),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?It.OFFSET:It.POSITION,r="auto"===this._config.method?e:this._config.method,i=r===It.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();var o=[].slice.call(document.querySelectorAll(this._selector));o.map(function(t){var e,o=l.getSelectorFromElement(t);if(o&&(e=document.querySelector(o)),e){var a=e.getBoundingClientRect();if(a.width||a.height)return[n(e)[r]().top+i,o]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},e.dispose=function(){n.removeData(this._element,"bs.scrollspy"),n(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=a({},Ct,"object"==typeof t&&t?t:{})).target){var e=n(t.target).attr("id");e||(e=l.getUID(Tt),n(t.target).attr("id",e)),t.target="#"+e}return l.typeCheckConfig(Tt,t,St),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var i=this._offsets.length,o=i;o--;){var a=this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t<this._offsets[o+1]);a&&this._activate(this._targets[o])}}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),r=n([].slice.call(document.querySelectorAll(e.join(","))));r.hasClass(Dt.DROPDOWN_ITEM)?(r.closest(Ot.DROPDOWN).find(Ot.DROPDOWN_TOGGLE).addClass(Dt.ACTIVE),r.addClass(Dt.ACTIVE)):(r.addClass(Dt.ACTIVE),r.parents(Ot.NAV_LIST_GROUP).prev(Ot.NAV_LINKS+", "+Ot.LIST_ITEMS).addClass(Dt.ACTIVE),r.parents(Ot.NAV_LIST_GROUP).prev(Ot.NAV_ITEMS).children(Ot.NAV_LINKS).addClass(Dt.ACTIVE)),n(this._scrollElement).trigger(At.ACTIVATE,{relatedTarget:t})},e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains(Dt.ACTIVE)}).forEach(function(t){return t.classList.remove(Dt.ACTIVE)})},t._jQueryInterface=function(e){return this.each(function(){var r=n(this).data("bs.scrollspy"),i="object"==typeof e&&e;if(r||(r=new t(this,i),n(this).data("bs.scrollspy",r)),"string"==typeof e){if(void 0===r[e])throw new TypeError('No method named "'+e+'"');r[e]()}})},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return Ct}}]),t}();n(window).on(At.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(Ot.DATA_SPY)),e=t.length,r=e;r--;){var i=n(t[r]);Nt._jQueryInterface.call(i,i.data())}}),n.fn[Tt]=Nt._jQueryInterface,n.fn[Tt].Constructor=Nt,n.fn[Tt].noConflict=function(){return n.fn[Tt]=xt,Nt._jQueryInterface};var Lt=n.fn.tab,kt={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},jt={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},Rt={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},Pt=function(){function t(t){this._element=t}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&n(this._element).hasClass(jt.ACTIVE)||n(this._element).hasClass(jt.DISABLED))){var e,r,i=n(this._element).closest(Rt.NAV_LIST_GROUP)[0],o=l.getSelectorFromElement(this._element);if(i){var a="UL"===i.nodeName||"OL"===i.nodeName?Rt.ACTIVE_UL:Rt.ACTIVE;r=(r=n.makeArray(n(i).find(a)))[r.length-1]}var s=n.Event(kt.HIDE,{relatedTarget:this._element}),u=n.Event(kt.SHOW,{relatedTarget:r});if(r&&n(r).trigger(s),n(this._element).trigger(u),!u.isDefaultPrevented()&&!s.isDefaultPrevented()){o&&(e=document.querySelector(o)),this._activate(this._element,i);var c=function(){var e=n.Event(kt.HIDDEN,{relatedTarget:t._element}),i=n.Event(kt.SHOWN,{relatedTarget:r});n(r).trigger(e),n(t._element).trigger(i)};e?this._activate(e,e.parentNode,c):c()}}},e.dispose=function(){n.removeData(this._element,"bs.tab"),this._element=null},e._activate=function(t,e,r){var i=this,o=!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?n(e).children(Rt.ACTIVE):n(e).find(Rt.ACTIVE_UL),a=o[0],s=r&&a&&n(a).hasClass(jt.FADE),u=function(){return i._transitionComplete(t,a,r)};if(a&&s){var c=l.getTransitionDurationFromElement(a);n(a).removeClass(jt.SHOW).one(l.TRANSITION_END,u).emulateTransitionEnd(c)}else u()},e._transitionComplete=function(t,e,r){if(e){n(e).removeClass(jt.ACTIVE);var i=n(e.parentNode).find(Rt.DROPDOWN_ACTIVE_CHILD)[0];i&&n(i).removeClass(jt.ACTIVE),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(n(t).addClass(jt.ACTIVE),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),l.reflow(t),n(t).addClass(jt.SHOW),t.parentNode&&n(t.parentNode).hasClass(jt.DROPDOWN_MENU)){var o=n(t).closest(Rt.DROPDOWN)[0];if(o){var a=[].slice.call(o.querySelectorAll(Rt.DROPDOWN_TOGGLE));n(a).addClass(jt.ACTIVE)}t.setAttribute("aria-expanded",!0)}r&&r()},t._jQueryInterface=function(e){return this.each(function(){var r=n(this),i=r.data("bs.tab");if(i||(i=new t(this),r.data("bs.tab",i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),t}();n(document).on(kt.CLICK_DATA_API,Rt.DATA_TOGGLE,function(t){t.preventDefault(),Pt._jQueryInterface.call(n(this),"show")}),n.fn.tab=Pt._jQueryInterface,n.fn.tab.Constructor=Pt,n.fn.tab.noConflict=function(){return n.fn.tab=Lt,Pt._jQueryInterface};var Ht=n.fn.toast,Wt={CLICK_DISMISS:"click.dismiss.bs.toast",HIDE:"hide.bs.toast",HIDDEN:"hidden.bs.toast",SHOW:"show.bs.toast",SHOWN:"shown.bs.toast"},Mt={FADE:"fade",HIDE:"hide",SHOW:"show",SHOWING:"showing"},Ft={animation:"boolean",autohide:"boolean",delay:"number"},qt={animation:!0,autohide:!0,delay:500},Ut={DATA_DISMISS:'[data-dismiss="toast"]'},Bt=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var e=t.prototype;return e.show=function(){var t=this;n(this._element).trigger(Wt.SHOW),this._config.animation&&this._element.classList.add(Mt.FADE);var e=function(){t._element.classList.remove(Mt.SHOWING),t._element.classList.add(Mt.SHOW),n(t._element).trigger(Wt.SHOWN),t._config.autohide&&t.hide()};if(this._element.classList.remove(Mt.HIDE),this._element.classList.add(Mt.SHOWING),this._config.animation){var r=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,e).emulateTransitionEnd(r)}else e()},e.hide=function(t){var e=this;this._element.classList.contains(Mt.SHOW)&&(n(this._element).trigger(Wt.HIDE),t?this._close():this._timeout=setTimeout(function(){e._close()},this._config.delay))},e.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Mt.SHOW)&&this._element.classList.remove(Mt.SHOW),n(this._element).off(Wt.CLICK_DISMISS),n.removeData(this._element,"bs.toast"),this._element=null,this._config=null},e._getConfig=function(t){return t=a({},qt,n(this._element).data(),"object"==typeof t&&t?t:{}),l.typeCheckConfig("toast",t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;n(this._element).on(Wt.CLICK_DISMISS,Ut.DATA_DISMISS,function(){return t.hide(!0)})},e._close=function(){var t=this,e=function(){t._element.classList.add(Mt.HIDE),n(t._element).trigger(Wt.HIDDEN)};if(this._element.classList.remove(Mt.SHOW),this._config.animation){var r=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,e).emulateTransitionEnd(r)}else e()},t._jQueryInterface=function(e){return this.each(function(){var r=n(this),i=r.data("bs.toast"),o="object"==typeof e&&e;if(i||(i=new t(this,o),r.data("bs.toast",i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e](this)}})},i(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"DefaultType",get:function(){return Ft}}]),t}();n.fn.toast=Bt._jQueryInterface,n.fn.toast.Constructor=Bt,n.fn.toast.noConflict=function(){return n.fn.toast=Ht,Bt._jQueryInterface},function(){if(void 0===n)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=n.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),t.Util=l,t.Alert=p,t.Button=y,t.Carousel=O,t.Collapse=W,t.Dropdown=K,t.Modal=et,t.Popover=wt,t.Scrollspy=Nt,t.Tab=Pt,t.Toast=Bt,t.Tooltip=pt,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(3),n(4))},function(t,e,n){t.exports=n(16)},function(t,e,n){"use strict";var r=n(0),i=n(5),o=n(18),a=n(1);function s(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var u=s(a);u.Axios=o,u.create=function(t){return s(r.merge(a,t))},u.Cancel=n(9),u.CancelToken=n(33),u.isCancel=n(8),u.all=function(t){return Promise.all(t)},u.spread=n(34),t.exports=u,t.exports.default=u},function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,n){"use strict";var r=n(1),i=n(0),o=n(28),a=n(29);function s(t){this.defaults=t,this.interceptors={request:new o,response:new o}}s.prototype.request=function(t){"string"==typeof t&&(t=i.merge({url:arguments[0]},arguments[1])),(t=i.merge(r,{method:"get"},this.defaults,t)).method=t.method.toLowerCase();var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},i.forEach(["delete","get","head","options"],function(t){s.prototype[t]=function(e,n){return this.request(i.merge(n||{},{method:t,url:e}))}}),i.forEach(["post","put","patch"],function(t){s.prototype[t]=function(e,n,r){return this.request(i.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=s},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,l=[],c=!1,f=-1;function h(){c&&u&&(c=!1,u.length?l=u.concat(l):f=-1,l.length&&p())}function p(){if(!c){var t=s(h);c=!0;for(var e=l.length;e;){for(u=l,l=[];++f<e;)u&&u[f].run();f=-1,e=l.length}u=null,c=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function g(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new d(t,e)),1!==l.length||c||s(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){"use strict";var r=n(7);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t}},function(t,e,n){"use strict";var r=n(0);function i(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var a=[];r.forEach(e,function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(i(e)+"="+i(t))}))}),o=a.join("&")}return o&&(t+=(-1===t.indexOf("?")?"?":"&")+o),t}},function(t,e,n){"use strict";var r=n(0),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(r.forEach(t.split("\n"),function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(a[e]&&i.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}}),a):a}},function(t,e,n){"use strict";var r=n(0);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function i(){this.message="String contains an invalid character"}i.prototype=new Error,i.prototype.code=5,i.prototype.name="InvalidCharacterError",t.exports=function(t){for(var e,n,o=String(t),a="",s=0,u=r;o.charAt(0|s)||(u="=",s%1);a+=u.charAt(63&e>>8-s%1*8)){if((n=o.charCodeAt(s+=.75))>255)throw new i;e=e<<8|n}return a}},function(t,e,n){"use strict";var r=n(0);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(0);function i(){this.handlers=[]}i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=i},function(t,e,n){"use strict";var r=n(0),i=n(30),o=n(8),a=n(1),s=n(31),u=n(32);function l(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return l(t),t.baseURL&&!s(t.url)&&(t.url=u(t.baseURL,t.url)),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return l(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return o(e)||(l(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(9);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new r(t),e(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i(function(e){t=e}),cancel:t}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e){var n={init:function(){this.showCompanyModal(),this.welcomeSlider(),this.categoryNavbarPosition(),this.categoryNavbarActiveLink(),this.buildSimpleTooltip(),this.scrollSmoothly(),this.scrollToTop(),this.likePost(),this.unlikePost(),this.comment()},showCompanyModal:function(){$(".company-modal").length&&setTimeout(function(){$(".company-modal").modal("show")},2e3)},welcomeSlider:function(){new Swiper(".swiper-container",{pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(t,e){return'<span class="'+e+'">'+(t+1)+"</span>"}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},loop:!0,centeredSlides:!0,autoplay:{delay:2500,disableOnInteraction:!1}})},categoryNavbarPosition:function(){if($(".categoryNavbar").length){var t=$(".navbar").offset().top,e=$(window),n=$(".navbar");e.scroll(function(){e.scrollTop()>=t?n.addClass("fixed-top"):n.removeClass("fixed-top")})}},categoryNavbarActiveLink:function(){$(".categoryNavbar").length&&$(".categoryNavbar a[href='http://technoblog.test/category/"+window.location.pathname+"']").addClass("active")},buildSimpleTooltip:function(){if(!$("a.elemWithTooltip").length||!$("a.elemWithTooltip").data("tooltip-info"))return!1;var t=$("a.elemWithTooltip"),e=["top","right","bottom","left"];t.each(function(t){var n=$(this),r=n.data("tooltip-info"),i=r.substring(r.indexOf("-")+1),o=r.substring(0,r.indexOf("-"));if(-1===r.indexOf("-")||"-"===r.charAt(0))return n.addClass("Error_SimpleTooltip"),!1;$.each(e,function(t){o===e[t]&&n.not(".Error_SimpleTooltip").attr({"data-toggle":"tooltip","data-placement":o,title:i}).tooltip()})})},scrollSmoothly:function(){new SmoothScroll("a.scrollBtn",{easing:"linear"})},scrollToTop:function(){if($(".scrollUpArrow").length){var t=$(window),e=$(".scrollUpArrow");e.hide(),t.scroll(function(){t.scrollTop()>=150?e.fadeIn("slow"):e.fadeOut("slow")})}},likePost:function(){$(".post-reaction").on("click",".likePost",function(){var t=$(this).data("post-id"),e=$("meta[name='csrf-token']").attr("content");$.ajax({url:"/like",type:"post",data:{post_id:t,_token:e},dataType:"json",success:function(t){$(".post-reaction i").remove(),$(".post-reaction").append("<i data-unlike-id="+t.unlike_id+" class='text-danger fa fa-heart unlikePost' aria-hidden='true'></i>"),$(".likeCounter").text(t.likeCounter)},error:function(t){console.log(t)}})})},unlikePost:function(){$(".post-reaction").on("click",".unlikePost",function(){var t=$(this).data("unlike-id"),e=$("meta[name='csrf-token']").attr("content");$.ajax({url:"/unlike",type:"post",data:{unlike_id:t,_token:e},dataType:"json",success:function(t){$(".post-reaction i").remove(),$(".post-reaction").append("<i data-post-id="+t.post_id+" class='text-danger fa fa-heart-o likePost' aria-hidden='true'></i>"),$(".likeCounter").text(t.likeCounter)},error:function(t){console.log(t)}})})},comment:function(){$("comment-alert").length>0&&$(".comment-alert").hide(),$(".commentForm").submit(function(t){t.preventDefault(),$(this).find("input[type='submit']").prop("disabled",!0),$(this).find("input[type='submit']").val("Processing...");var e=$(this).find("input[name='name']").val(),n=$(this).find("input[name='email']").val(),r=$(this).find("textarea[name='comment']").val(),i=$(this).find("input[name='post_id']").val(),o=$("meta[name='csrf-token']").attr("content");$.ajax({url:"/comment",type:"post",data:{name:e,email:n,comment:r,post_id:i,_token:o},dataType:"json",success:function(t){$(".comment-alert").show(),$(".comment-alert").addClass(t.type),$(".comment-alert").find("strong").text(t.message),$(".commentForm").find("input[type='submit']").prop("disabled",!1),$(".commentForm").find("input[type='submit']").val("Comment"),$(".commentForm")[0].reset()},error:function(t){console.log(t)}})})}};$(function(){n.init()})}]);
  • resources/js/main.js

    r0c07a90 rf457265  
    11var app = {
    22
    3         // Initialize
    4         init: function() {
    5                 this.welcomeSlider();
    6                 this.categoryNavbarPosition();
    7                 this.categoryNavbarActiveLink();
    8                 this.buildSimpleTooltip();
    9                 this.scrollSmoothly();
    10                 this.scrollToTop();
    11                 this.likePost();
    12                 this.unlikePost();
    13                 this.comment();
    14         },
    15 
    16         welcomeSlider: function() {
    17                 var swiper = new Swiper('.swiper-container', {
    18                         pagination: {
    19                                 el: '.swiper-pagination',
    20                                 clickable: true,
    21                                 renderBullet: function(index, className) {
    22                                         return '<span class="' + className + '">' + (index + 1) + '</span>';
    23                                 },
    24                         },
    25                         navigation: {
    26                                 nextEl: '.swiper-button-next',
    27                                 prevEl: '.swiper-button-prev',
    28                         },
    29                         loop: true,
    30                         centeredSlides: true,
    31                         autoplay: {
    32                                 delay: 2500,
    33                                 disableOnInteraction: false,
    34                         },
    35                 });
    36         },
    37 
    38         categoryNavbarPosition: function() {
    39                 if ($(".categoryNavbar").length) {
    40                         var distance = $(".navbar").offset().top;
    41                         var $window = $(window);
    42                         var navbar = $(".navbar");
    43 
    44                         $window.scroll(function() {
    45                                 if ($window.scrollTop() >= distance) {
    46                                         navbar.addClass("fixed-top");
    47                                 } else {
    48                                         navbar.removeClass("fixed-top");
    49                                 }
    50                         });
    51                 }
    52         },
    53 
    54         categoryNavbarActiveLink: function() {
    55                 if ($(".categoryNavbar").length) {
    56                         $(".categoryNavbar a[href='http://technoblog.test/category/" + window.location.pathname + "']").addClass("active");
    57                 }
    58         },
    59 
    60         buildSimpleTooltip: function() {
    61                 if (!$("a.elemWithTooltip").length || !$("a.elemWithTooltip").data("tooltip-info")) {
    62                         return false;
    63                 }
    64 
    65                 var tooltipElem = $("a.elemWithTooltip");
    66                 var placements = ["top", "right", "bottom", "left"];
    67 
    68                 tooltipElem.each(function(i) {
    69 
    70                         var $this = $(this);
    71                         var tooltipData = $this.data("tooltip-info");
    72                         var title = tooltipData.substring(tooltipData.indexOf("-") + 1);
    73                         var placement = tooltipData.substring(0, tooltipData.indexOf("-"));
    74 
    75                         if (tooltipData.indexOf("-") === -1 || tooltipData.charAt(0) === "-") {
    76                                 $this.addClass("Error_SimpleTooltip");
    77                                 return false;
    78                         }
    79 
    80                         $.each(placements, function(j) {
    81                                 if (placement === placements[j]) {
    82                                         $this.not(".Error_SimpleTooltip").attr({
    83                                                 "data-toggle": "tooltip",
    84                                                 "data-placement": placement,
    85                                                 "title": title
    86                                         }).tooltip();
    87                                 }
    88                         });
    89                 });
    90 
    91         },
    92 
    93         scrollSmoothly: function() {
    94                 var scroll = new SmoothScroll("a.scrollBtn", {
    95                         easing: "linear"
    96                 });
    97         },
    98 
    99         scrollToTop: function() {
    100                 if ($(".scrollUpArrow").length) {
    101                         var distance = 150;
    102                         var $window = $(window);
    103                         var scrollUp = $(".scrollUpArrow");
    104 
    105                         scrollUp.hide();
    106 
    107                         $window.scroll(function() {
    108                                 if ($window.scrollTop() >= distance) {
    109                                         scrollUp.fadeIn("slow");
    110                                 } else {
    111                                         scrollUp.fadeOut("slow");
    112                                 }
    113                         });
    114                 }
    115         },
    116 
    117         likePost: function() {
    118 
    119                 $(".post-reaction").on("click", ".likePost", function() {
    120 
    121                         var data = $(this).data("post-id");
    122                         var _token = $("meta[name='csrf-token']").attr("content");
    123 
    124                         $.ajax({
    125                                 url: "/like",
    126                                 type: "post",
    127                                 data: {
    128                                         post_id : data,
    129                                         _token : _token,
    130                                 },
    131                                 dataType: "json",
    132                                 success: function(response) {
    133                                         $(".post-reaction i").remove();
    134                                         $(".post-reaction").append("<i data-unlike-id=" + response.unlike_id + " class='text-danger fa fa-heart unlikePost' aria-hidden='true'></i>");
    135                                         $(".likeCounter").text(response.likeCounter);
    136                                 },
    137                                 error: function(data) {
    138                                         console.log(data);
    139                                 }
    140                         });
    141                 })
    142         },
    143 
    144         unlikePost: function() {
    145 
    146                 $(".post-reaction").on("click", ".unlikePost", function() {
    147 
    148                         var data = $(this).data("unlike-id");
    149                         var _token = $("meta[name='csrf-token']").attr("content");
    150 
    151                         $.ajax({
    152                                 url: "/unlike",
    153                                 type: "post",
    154                                 data: {
    155                                         unlike_id : data,
    156                                         _token : _token,
    157                                 },
    158                                 dataType: "json",
    159                                 success: function(response) {
    160                                         $(".post-reaction i").remove();
    161                                         $(".post-reaction").append("<i data-post-id=" + response.post_id + " class='text-danger fa fa-heart-o likePost' aria-hidden='true'></i>");
    162                                         $(".likeCounter").text(response.likeCounter);
    163                                 },
    164                                 error: function(data) {
    165                                         console.log(data);
    166                                 }
    167                         });
    168                 })
    169         },
    170 
    171         comment: function() {
    172 
    173                 if($("comment-alert").length > 0) {
    174                         $(".comment-alert").hide();
    175                 }
    176 
    177                 $(".commentForm").submit(function(e) {
    178 
    179                         e.preventDefault();
    180 
    181                         $(this).find("input[type='submit']").prop("disabled", true);
    182                         $(this).find("input[type='submit']").val("Processing...");
    183 
    184                         var name = $(this).find("input[name='name']").val();
    185                         var email = $(this).find("input[name='email']").val();
    186                         var comment = $(this).find("textarea[name='comment']").val();
    187                         var post_id = $(this).find("input[name='post_id']").val();
    188                         var _token = $("meta[name='csrf-token']").attr("content");
    189 
    190                         $.ajax({
    191                                 url: "/comment",
    192                                 type: "post",
    193                                 data: {
    194                                         name: name,
    195                                         email: email,
    196                                         comment: comment,
    197                                         post_id: post_id,
    198                                         _token : _token,
    199                                 },
    200                                 dataType: "json",
    201                                 success: function(response) {
    202 
    203                                         $(".comment-alert").show();
    204                                         $(".comment-alert").addClass(response.type);
    205                                         $(".comment-alert").find("strong").text(response.message);
    206 
    207                                         $(".commentForm").find("input[type='submit']").prop("disabled", false);
    208                                         $(".commentForm").find("input[type='submit']").val("Comment");
    209                                         $(".commentForm")[0].reset();
    210                                 },
    211                                 error: function(data) {
    212                                         console.log(data);
    213                                 }
    214                         });
    215                 });
    216         }
     3    // Initialize
     4    init: function() {
     5        this.showCompanyModal();
     6        this.welcomeSlider();
     7        this.categoryNavbarPosition();
     8        this.categoryNavbarActiveLink();
     9        this.buildSimpleTooltip();
     10        this.scrollSmoothly();
     11        this.scrollToTop();
     12        this.likePost();
     13        this.unlikePost();
     14        this.comment();
     15    },
     16
     17    showCompanyModal: function() {
     18        if($(".company-modal").length) {
     19            setTimeout(function () {
     20                $(".company-modal").modal("show");
     21            }, 2000);
     22        }
     23    },
     24
     25    welcomeSlider: function() {
     26        var swiper = new Swiper('.swiper-container', {
     27            pagination: {
     28                el: '.swiper-pagination',
     29                clickable: true,
     30                renderBullet: function(index, className) {
     31                    return '<span class="' + className + '">' + (index + 1) + '</span>';
     32                },
     33            },
     34            navigation: {
     35                nextEl: '.swiper-button-next',
     36                prevEl: '.swiper-button-prev',
     37            },
     38            loop: true,
     39            centeredSlides: true,
     40            autoplay: {
     41                delay: 2500,
     42                disableOnInteraction: false,
     43            },
     44        });
     45    },
     46
     47    categoryNavbarPosition: function() {
     48        if ($(".categoryNavbar").length) {
     49            var distance = $(".navbar").offset().top;
     50            var $window = $(window);
     51            var navbar = $(".navbar");
     52
     53            $window.scroll(function() {
     54                if ($window.scrollTop() >= distance) {
     55                    navbar.addClass("fixed-top");
     56                } else {
     57                    navbar.removeClass("fixed-top");
     58                }
     59            });
     60        }
     61    },
     62
     63    categoryNavbarActiveLink: function() {
     64        if ($(".categoryNavbar").length) {
     65            $(".categoryNavbar a[href='http://technoblog.test/category/" + window.location.pathname + "']").addClass("active");
     66        }
     67    },
     68
     69    buildSimpleTooltip: function() {
     70        if (!$("a.elemWithTooltip").length || !$("a.elemWithTooltip").data("tooltip-info")) {
     71            return false;
     72        }
     73
     74        var tooltipElem = $("a.elemWithTooltip");
     75        var placements = ["top", "right", "bottom", "left"];
     76
     77        tooltipElem.each(function(i) {
     78
     79            var $this = $(this);
     80            var tooltipData = $this.data("tooltip-info");
     81            var title = tooltipData.substring(tooltipData.indexOf("-") + 1);
     82            var placement = tooltipData.substring(0, tooltipData.indexOf("-"));
     83
     84            if (tooltipData.indexOf("-") === -1 || tooltipData.charAt(0) === "-") {
     85                $this.addClass("Error_SimpleTooltip");
     86                return false;
     87            }
     88
     89            $.each(placements, function(j) {
     90                if (placement === placements[j]) {
     91                    $this.not(".Error_SimpleTooltip").attr({
     92                        "data-toggle": "tooltip",
     93                        "data-placement": placement,
     94                        "title": title
     95                    }).tooltip();
     96                }
     97            });
     98        });
     99
     100    },
     101
     102    scrollSmoothly: function() {
     103        var scroll = new SmoothScroll("a.scrollBtn", {
     104            easing: "linear"
     105        });
     106    },
     107
     108    scrollToTop: function() {
     109        if ($(".scrollUpArrow").length) {
     110            var distance = 150;
     111            var $window = $(window);
     112            var scrollUp = $(".scrollUpArrow");
     113
     114            scrollUp.hide();
     115
     116            $window.scroll(function() {
     117                if ($window.scrollTop() >= distance) {
     118                    scrollUp.fadeIn("slow");
     119                } else {
     120                    scrollUp.fadeOut("slow");
     121                }
     122            });
     123        }
     124    },
     125
     126    likePost: function() {
     127
     128        $(".post-reaction").on("click", ".likePost", function() {
     129
     130            var data = $(this).data("post-id");
     131            var _token = $("meta[name='csrf-token']").attr("content");
     132
     133            $.ajax({
     134                url: "/like",
     135                type: "post",
     136                data: {
     137                    post_id : data,
     138                    _token : _token,
     139                },
     140                dataType: "json",
     141                success: function(response) {
     142                    $(".post-reaction i").remove();
     143                    $(".post-reaction").append("<i data-unlike-id=" + response.unlike_id + " class='text-danger fa fa-heart unlikePost' aria-hidden='true'></i>");
     144                    $(".likeCounter").text(response.likeCounter);
     145                },
     146                error: function(data) {
     147                    console.log(data);
     148                }
     149            });
     150        })
     151    },
     152
     153    unlikePost: function() {
     154
     155        $(".post-reaction").on("click", ".unlikePost", function() {
     156
     157            var data = $(this).data("unlike-id");
     158            var _token = $("meta[name='csrf-token']").attr("content");
     159
     160            $.ajax({
     161                url: "/unlike",
     162                type: "post",
     163                data: {
     164                    unlike_id : data,
     165                    _token : _token,
     166                },
     167                dataType: "json",
     168                success: function(response) {
     169                    $(".post-reaction i").remove();
     170                    $(".post-reaction").append("<i data-post-id=" + response.post_id + " class='text-danger fa fa-heart-o likePost' aria-hidden='true'></i>");
     171                    $(".likeCounter").text(response.likeCounter);
     172                },
     173                error: function(data) {
     174                    console.log(data);
     175                }
     176            });
     177        })
     178    },
     179
     180    comment: function() {
     181
     182        if($("comment-alert").length > 0) {
     183            $(".comment-alert").hide();
     184        }
     185
     186        $(".commentForm").submit(function(e) {
     187
     188            e.preventDefault();
     189
     190            $(this).find("input[type='submit']").prop("disabled", true);
     191            $(this).find("input[type='submit']").val("Processing...");
     192
     193            var name = $(this).find("input[name='name']").val();
     194            var email = $(this).find("input[name='email']").val();
     195            var comment = $(this).find("textarea[name='comment']").val();
     196            var post_id = $(this).find("input[name='post_id']").val();
     197            var _token = $("meta[name='csrf-token']").attr("content");
     198
     199            $.ajax({
     200                url: "/comment",
     201                type: "post",
     202                data: {
     203                    name: name,
     204                    email: email,
     205                    comment: comment,
     206                    post_id: post_id,
     207                    _token : _token,
     208                },
     209                dataType: "json",
     210                success: function(response) {
     211
     212                    $(".comment-alert").show();
     213                    $(".comment-alert").addClass(response.type);
     214                    $(".comment-alert").find("strong").text(response.message);
     215
     216                    $(".commentForm").find("input[type='submit']").prop("disabled", false);
     217                    $(".commentForm").find("input[type='submit']").val("Comment");
     218                    $(".commentForm")[0].reset();
     219                },
     220                error: function(data) {
     221                    console.log(data);
     222                }
     223            });
     224        });
     225    }
    217226
    218227};
    219228
    220229$(function() {
    221         app.init();
     230    app.init();
    222231});
  • resources/views/blog/index.blade.php

    r0c07a90 rf457265  
    33@section('blog_content')
    44
    5         <div style="height: 25px;"></div>
     5    @if(!session()->has("offer_disabled"))
     6        <!-- Modal -->
     7        <div class="modal fade company-modal">
     8            <div class="modal-dialog">
     9                <div class="modal-content">
     10                    <div class="modal-header">
     11                        <h5 class="modal-title">TechnoWeek Offer!</h5>
     12                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
     13                            <span aria-hidden="true">&times;</span>
     14                        </button>
     15                    </div>
     16                    <div class="modal-body">
    617
    7         <!-- Main Content Wrapper -->
    8         <div class="mainContent pb-5">
     18                        <p>We have a good news for you! You can request to open a company page in TechnoBlog just for free in TecnhoWeek!</p>
    919
    10                 <div class="container-fluid">
     20                        <form action="{{ route("blog.company.store") }}" method="post" style="font-size: 14px;" class="mt-2">
    1121
    12                         <div class="row">
    13                                 <!-- Welcome Slider -->
    14                                 <div class="col-md-12">
     22                            @csrf
    1523
    16                                         <div class="welcomeSlider swiper-container">
     24                            <label class="mt-2">Company Name</label>
     25                            <input type="text" class="form-control form-control-sm" name="name" required autocomplete="off">
     26                            <label class="mt-3">Company Website</label>
     27                            <input type="text" class="form-control form-control-sm" name="website" required autocomplete="off">
     28                            <label class="mt-3">E-mail</label>
     29                            <input type="text" class="form-control form-control-sm" name="email" required autocomplete="off">
     30                            <p class="text-muted mt-1" style="font-size: 12px;">The invitation will be sent to this e-mail address.</p>
    1731
    18                                                 <div class="swiper-wrapper">
     32                            <input type="submit" class="btn btn-primary btn-sm w-100 mt-2">
     33                        </form>
    1934
    20                                                         @foreach ($latestPosts as $post)
     35                    </div>
     36                </div>
     37            </div>
     38        </div>
     39    @endif
    2140
    22                                                                 <div class="swiper-slide">
    23                                                                         <div class="slider-post-wrapper">
    24                                                                                 <p class="postCategory" style="background: {{ $post->category->color }};">{{ $post->category->name }}</p><img src="{{ asset("uploads/" . $post->image_link) }}">
    25                                                                                 <div class="postOverlay">
    26                                                                                         <p><a href="{{ route("blog.post", ["category" => strtolower($post->category->name), "slug" => $post->slug]) }}">{{ $post->title }} </a></p>
    27                                                                                         <span>
     41    <div style="height: 25px;"></div>
     42
     43    <!-- Main Content Wrapper -->
     44    <div class="mainContent pb-5">
     45
     46        <div class="container-fluid">
     47
     48            <div class="row">
     49                <!-- Welcome Slider -->
     50                <div class="col-md-12">
     51
     52                    <div class="welcomeSlider swiper-container">
     53
     54                        <div class="swiper-wrapper">
     55
     56                            @foreach ($latestPosts as $post)
     57
     58                                <div class="swiper-slide">
     59                                    <div class="slider-post-wrapper">
     60                                        <p class="postCategory" style="background: {{ $post->category->color }};">{{ $post->category->name }}</p><img src="{{ asset("uploads/" . $post->image_link) }}">
     61                                        <div class="postOverlay">
     62                                            <p><a href="{{ route("blog.post", ["category" => strtolower($post->category->name), "slug" => $post->slug]) }}">{{ $post->title }} </a></p>
     63                                            <span>
    2864                                                                                                <i class="fa fa-clock-o" aria-hidden="true"></i> {{ $post->ago() }}
    2965                                                                                                &nbsp;&nbsp;&nbsp;&nbsp;
     
    3268                                                                                                <i class="fa fa-comment-o" aria-hidden="true"></i> {{ $post->comment->count() }} comments
    3369                                                                                        </span>
    34                                                                                 </div>
    35                                                                         </div>
    36                                                                 </div>
     70                                        </div>
     71                                    </div>
     72                                </div>
    3773
    38                                                         @endforeach
     74                            @endforeach
    3975
    40                                                 </div>
     76                        </div>
    4177
    42                                                 <div class="swiper-pagination"></div>
    43                                                 <div class="swiper-button-prev"></div>
    44                                                 <div class="swiper-button-next"></div>
     78                        <div class="swiper-pagination"></div>
     79                        <div class="swiper-button-prev"></div>
     80                        <div class="swiper-button-next"></div>
    4581
    46                                         </div>
     82                    </div>
    4783
    48                                 </div>
     84                </div>
    4985
    50                                 <!-- Videos -->
    51                                 @foreach ($blogCategories as $category)
     86                <!-- Videos -->
     87                @foreach ($blogCategories as $category)
    5288
    53                                         <style>
    54                                                 .default_sectionTitle_{{ strtolower($category->name) }}:before,
    55                                                 .default_sectionTitle_{{ strtolower($category->name) }} span,
    56                                                 .default_sectionTitle_{{ strtolower($category->name) }} a {
    57                                                         background: {{ $category->color }};
    58                                                         color: {{ $category->color }};
    59                                                 }
    60                                         </style>
     89                    <style>
     90                        .default_sectionTitle_{{ strtolower($category->name) }}:before,
     91                        .default_sectionTitle_{{ strtolower($category->name) }} span,
     92                        .default_sectionTitle_{{ strtolower($category->name) }} a {
     93                            background: {{ $category->color }};
     94                            color: {{ $category->color }};
     95                        }
     96                    </style>
    6197
    62                                         <header class="default_sectionTitle default_sectionTitle_{{ strtolower($category->name) }}">
    63                                                 <span>{{ $category->name }}</span>
    64                                                 <a class="elemWithTooltip" data-tooltip-info="right-Explore More" href="{{ route("blog.category", ["category" => strtolower($category->name)]) }}">More</a>
    65                                         </header>
     98                    <header class="default_sectionTitle default_sectionTitle_{{ strtolower($category->name) }}">
     99                        <span>{{ $category->name }}</span>
     100                        <a class="elemWithTooltip" data-tooltip-info="right-Explore More" href="{{ route("blog.category", ["category" => strtolower($category->name)]) }}">More</a>
     101                    </header>
    66102
    67                                         @foreach ($posts as $post)
     103                    @foreach ($posts as $post)
    68104
    69                                                 @if($post->category->name == $category->name)
     105                        @if($post->category->name == $category->name)
    70106
    71                                                         <div class="col-md-4 post-item">
    72                                                                 <div class="card">
    73                                                                         <div class="card-img-top-wrapper">
    74                                                                                 <img class="card-img-top" src="{{ asset("uploads/" . $post->image_link) }}" alt="Card image cap">
    75                                                                         </div>
    76                                                                         <div class="card-body">
    77                                                                                 <h5 class="card-title"><a href="{{ route("blog.post", ["category" => strtolower($post->category->name), "slug" => $post->slug]) }}" class="blogSectionCardLink">{{ $post->title }}</a></h5>
    78                                                                                 <p class="card-text">{!! str_limit($post->content, 90) !!}</p>
    79                                                                         </div>
    80                                                                         <div class="card-footer">
    81                                                                                 <small class="text-muted">{{ $post->ago() }}</small>
    82                                                                         </div>
    83                                                                 </div>
    84                                                         </div>
     107                            <div class="col-md-4 post-item">
     108                                <div class="card">
     109                                    <div class="card-img-top-wrapper">
     110                                        <img class="card-img-top" src="{{ asset("uploads/" . $post->image_link) }}" alt="Card image cap">
     111                                    </div>
     112                                    <div class="card-body">
     113                                        <h5 class="card-title"><a href="{{ route("blog.post", ["category" => strtolower($post->category->name), "slug" => $post->slug]) }}" class="blogSectionCardLink">{{ $post->title }}</a></h5>
     114                                        <p class="card-text">{!! str_limit($post->content, 90) !!}</p>
     115                                    </div>
     116                                    <div class="card-footer">
     117                                        <small class="text-muted">{{ $post->ago() }}</small>
     118                                    </div>
     119                                </div>
     120                            </div>
    85121
    86                                                 @endif
     122                        @endif
    87123
    88                                         @endforeach
     124                    @endforeach
    89125
    90                                 @endforeach
     126                @endforeach
    91127
    92                         </div>
     128            </div>
    93129
    94                 </div>
     130        </div>
    95131
    96         </div>
     132    </div>
    97133
    98134@endsection
  • resources/views/fragments/dashboard/nav.blade.php

    r0c07a90 rf457265  
    11<div class="header py-4">
    2         <div class="container">
    3                 <div class="d-flex">
    4                         <a class="header-brand text-primary" href="#">TechnoBlog</a>
    5                         <div class="d-flex order-lg-2 ml-auto">
    6                                 <div class="dropdown dropdown-notifications-wrapper d-none d-md-flex">
    7                                         <a class="nav-link dropdown-notifications-unread icon" data-toggle="dropdown">
    8                                                 <i class="fe fe-bell"></i>
    9                                                 <span class="nav-unread"></span>
    10                                         </a>
    11                                         <div class="dropdown-menu dropdown-notifications dropdown-menu-right dropdown-menu-arrow">
    12                                                 <p class='text-center unreadNotificationsInfo'>No unread notifications</p>
    13                                                 <div class="dropdown-divider"></div>
    14                                                 <a href="{{ route("dashboard.notifications.index") }}" class="dropdown-item text-center text-muted-dark">See all</a>
    15                                         </div>
    16                                 </div>
    17                                 <div class="dropdown">
    18                                         <a href="#" class="nav-link pr-0 leading-none" data-toggle="dropdown">
     2    <div class="container">
     3        <div class="d-flex">
     4            <a class="header-brand text-primary" href="#">TechnoBlog</a>
     5            <div class="d-flex order-lg-2 ml-auto">
     6                <div class="dropdown dropdown-notifications-wrapper d-none d-md-flex">
     7                    <a class="nav-link dropdown-notifications-unread icon" data-toggle="dropdown">
     8                        <i class="fe fe-bell"></i>
     9                        <span class="nav-unread"></span>
     10                    </a>
     11                    <div class="dropdown-menu dropdown-notifications dropdown-menu-right dropdown-menu-arrow">
     12                        <p class='text-center unreadNotificationsInfo'>No unread notifications</p>
     13                        <div class="dropdown-divider"></div>
     14                        <a href="{{ route("dashboard.notifications.index") }}" class="dropdown-item text-center text-muted-dark">See all</a>
     15                    </div>
     16                </div>
     17                <div class="dropdown">
     18                    <a href="#" class="nav-link pr-0 leading-none" data-toggle="dropdown">
    1919
    20                                                 @if(!empty(auth()->user()->userProfile->profile_photo_link))
    21                                                         <span class="avatar" style="background-image: url(/uploads/users/{{ auth()->user()->userProfile->profile_photo_link }})"></span>
    22                                                 @else
    23                                                         <span class="avatar">{{ strtoupper(auth()->user()->name[0]) . strtoupper(auth()->user()->surname[0]) }}</span>
    24                                                 @endif
     20                        @if(!empty(auth()->user()->userProfile->profile_photo_link))
     21                            <span class="avatar" style="background-image: url(/uploads/users/{{ auth()->user()->userProfile->profile_photo_link }})"></span>
     22                        @else
     23                            <span class="avatar">{{ strtoupper(auth()->user()->name[0]) . strtoupper(auth()->user()->surname[0]) }}</span>
     24                        @endif
    2525
    26                                                 <span class="ml-2 d-none d-lg-block">
     26                        <span class="ml-2 d-none d-lg-block">
    2727                                                        <span class="text-default">{{ auth()->user()->getFullName() }}</span>
    2828                                                        <small class="text-muted d-block mt-1">{{ ucfirst(auth()->user()->role->name) }}</small>
    2929                                                </span>
    30                                         </a>
    31                                         <div class="dropdown-menu dropdown-menu-right dropdown-menu-arrow">
    32                                                 <a class="dropdown-item" href="{{ route("blog.user-profile", ["profileLink" => auth()->user()->userProfile->profile_link]) }}" target="_blank">
    33                                                         <i class="dropdown-icon fe fe-user"></i> Public Profile
    34                                                 </a>
    35                                                 <a class="dropdown-item" href="{{ route("dashboard.settings.index") }}">
    36                                                         <i class="dropdown-icon fe fe-settings"></i> Settings
    37                                                 </a>
    38                                                 <div class="dropdown-divider"></div>
    39                                                 <a class="dropdown-item"
    40                                                         href="javascript:void(0)"
    41                                                         onclick="
     30                    </a>
     31                    <div class="dropdown-menu dropdown-menu-right dropdown-menu-arrow">
     32                        <a class="dropdown-item" href="{{ route("blog.user-profile", ["profileLink" => auth()->user()->userProfile->profile_link]) }}" target="_blank">
     33                            <i class="dropdown-icon fe fe-user"></i> Public Profile
     34                        </a>
     35                        <a class="dropdown-item" href="{{ route("dashboard.settings.index") }}">
     36                            <i class="dropdown-icon fe fe-settings"></i> Settings
     37                        </a>
     38                        <div class="dropdown-divider"></div>
     39                        <a class="dropdown-item"
     40                           href="javascript:void(0)"
     41                           onclick="
    4242                                                                event.preventDefault();
    4343                                                                document.getElementById('logout-form').submit();
    4444                                                        ">
    45                                                         <i class="dropdown-icon fe fe-log-out"></i> Logout
    46                                                 </a>
    47                                                 <form id="logout-form" action="{{ route("auth.logout") }}" method="post">
    48                                                         @csrf
    49                                                 </form>
    50                                         </div>
    51                                 </div>
    52                         </div>
    53                         <a href="#" class="header-toggler d-lg-none ml-3 ml-lg-0" data-toggle="collapse" data-target="#headerMenuCollapse">
    54                                 <span class="header-toggler-icon"></span>
    55                         </a>
    56                 </div>
    57         </div>
     45                            <i class="dropdown-icon fe fe-log-out"></i> Logout
     46                        </a>
     47                        <form id="logout-form" action="{{ route("auth.logout") }}" method="post">
     48                            @csrf
     49                        </form>
     50                    </div>
     51                </div>
     52            </div>
     53            <a href="#" class="header-toggler d-lg-none ml-3 ml-lg-0" data-toggle="collapse" data-target="#headerMenuCollapse">
     54                <span class="header-toggler-icon"></span>
     55            </a>
     56        </div>
     57    </div>
    5858</div>
    5959<div class="header collapse d-lg-flex p-0" id="headerMenuCollapse">
    60         <div class="container">
    61                 <div class="row align-items-center">
    62                         <div class="col-lg order-lg-first">
    63                                 <ul class="nav nav-tabs border-0 flex-column flex-lg-row">
     60    <div class="container">
     61        <div class="row align-items-center">
     62            <div class="col-lg order-lg-first">
     63                <ul class="nav nav-tabs border-0 flex-column flex-lg-row">
    6464
    65                                         <li class="nav-item">
    66                                                 <a href="{{ route("dashboard.index") }}" class="nav-link {{ request()->is('dashboard') ? 'active' : '' }}">
    67                                                         <i class="fe fe-home"></i> Home
    68                                                 </a>
    69                                         </li>
     65                    <li class="nav-item">
     66                        <a href="{{ route("dashboard.index") }}" class="nav-link {{ request()->is('dashboard') ? 'active' : '' }}">
     67                            <i class="fe fe-home"></i> Home
     68                        </a>
     69                    </li>
    7070
    71                                         @if(auth()->user()->hasPermission("access_all_users"))
    72                                                 <li class="nav-item">
    73                                                         <a href="{{ route("dashboard.users.index") }}" class="nav-link {{ request()->is(['dashboard/users', 'dashboard/users/*']) ? 'active' : '' }}">
    74                                                                 <i class="fe fe-users"></i> Users
    75                                                         </a>
    76                                                 </li>
    77                                         @endif
     71                    @if(auth()->user()->hasPermission("access_all_users"))
     72                        <li class="nav-item">
     73                            <a href="{{ route("dashboard.users.index") }}" class="nav-link {{ request()->is(['dashboard/users', 'dashboard/users/*']) ? 'active' : '' }}">
     74                                <i class="fe fe-users"></i> Users
     75                            </a>
     76                        </li>
     77                    @endif
    7878
    79                                         <li class="nav-item">
    80                                                 <a href="{{ route("dashboard.posts.index") }}" class="nav-link {{ request()->is(['dashboard/posts', 'dashboard/posts/*']) ? 'active' : '' }}">
    81                                                         <i class="fe fe-database"></i> Posts
    82                                                 </a>
    83                                         </li>
     79                    <li class="nav-item">
     80                        <a href="{{ route("dashboard.posts.index") }}" class="nav-link {{ request()->is(['dashboard/posts', 'dashboard/posts/*']) ? 'active' : '' }}">
     81                            <i class="fe fe-database"></i> Posts
     82                        </a>
     83                    </li>
    8484
    85                                         @if(auth()->user()->hasPermission("access_all_categories"))
    86                                                 <li class="nav-item">
    87                                                         <a href="{{ route("dashboard.categories.index") }}" class="nav-link {{ request()->is(['dashboard/categories', 'dashboard/categories/*']) ? 'active' : '' }}">
    88                                                                 <i class="fe fe-layers"></i> Categories
    89                                                         </a>
    90                                                 </li>
    91                                         @endif
     85                    @if(auth()->user()->hasPermission("access_all_categories"))
     86                        <li class="nav-item">
     87                            <a href="{{ route("dashboard.categories.index") }}" class="nav-link {{ request()->is(['dashboard/categories', 'dashboard/categories/*']) ? 'active' : '' }}">
     88                                <i class="fe fe-layers"></i> Categories
     89                            </a>
     90                        </li>
     91                    @endif
    9292
    93                                         <li class="nav-item">
    94                                                 <a href="{{ route("dashboard.comments.index") }}" class="nav-link {{ request()->is(['dashboard/comments', 'dashboard/comments/*']) ? 'active' : '' }}">
    95                                                         <i class="fe fe-message-circle"></i> Comments
    96                                                 </a>
    97                                         </li>
     93                    <li class="nav-item">
     94                        <a href="{{ route("dashboard.comments.index") }}" class="nav-link {{ request()->is(['dashboard/comments', 'dashboard/comments/*']) ? 'active' : '' }}">
     95                            <i class="fe fe-message-circle"></i> Comments
     96                        </a>
     97                    </li>
    9898
    99                                         <li class="nav-item">
    100                                                 <a href="{{ route("dashboard.tags.index") }}" class="nav-link {{ request()->is(['dashboard/tags', 'dashboard/tags/*']) ? 'active' : '' }}">
    101                                                         <i class="fe fe-tag"></i> Tags
    102                                                 </a>
    103                                         </li>
     99                    <li class="nav-item">
     100                        <a href="{{ route("dashboard.tags.index") }}" class="nav-link {{ request()->is(['dashboard/tags', 'dashboard/tags/*']) ? 'active' : '' }}">
     101                            <i class="fe fe-tag"></i> Tags
     102                        </a>
     103                    </li>
    104104
    105                                 </ul>
    106                         </div>
    107                 </div>
    108         </div>
     105                    <li class="nav-item">
     106                        <a href="{{ route("dashboard.companies.index") }}" class="nav-link {{ request()->is(['dashboard/companies', 'dashboard/companies/*']) ? 'active' : '' }}">
     107                            <i class="fe fe-briefcase"></i> Companies
     108                        </a>
     109                    </li>
     110
     111                </ul>
     112            </div>
     113        </div>
     114    </div>
    109115</div>
  • routes/web.php

    r0c07a90 rf457265  
    2020Route::get("/search", "Blog\SearchController@search")->name("blog.search");
    2121
     22Route::post("/company/store", "Blog\BlogController@storeCompany")->name("blog.company.store");
     23
    2224Route::post("/comment", "Blog\BlogController@comment")->name("blog.comment");
    2325Route::post("/like", "Blog\BlogController@like")->name("blog.like");
     
    2931Route::prefix('auth')->group(function () {
    3032
    31         Route::get('/login', "Auth\LoginController@showLogin")->name("auth.loginShow");
    32         Route::post('/login', "Auth\LoginController@login")->name("auth.login");
    33         Route::post('/logout', "Auth\LoginController@logout")->name("auth.logout");
     33    Route::get('/login', "Auth\LoginController@showLogin")->name("auth.loginShow");
     34    Route::post('/login', "Auth\LoginController@login")->name("auth.login");
     35    Route::post('/logout', "Auth\LoginController@logout")->name("auth.logout");
    3436
    35         Route::get('/forgot', "Auth\ForgotPasswordController@showForgotPassword")->name("auth.forgotShow");
    36         Route::post('/forgot', "Auth\ForgotPasswordController@forgotPassword")->name("auth.forgot");
     37    Route::get('/forgot', "Auth\ForgotPasswordController@showForgotPassword")->name("auth.forgotShow");
     38    Route::post('/forgot', "Auth\ForgotPasswordController@forgotPassword")->name("auth.forgot");
    3739
    38         Route::group(['middleware' => "createPassword"], function () {
    39                 Route::get('/create-password/{id}/{token}', "Auth\CreatePasswordController@showCreatePassword")->name("auth.create-password-show");
    40                 Route::post('/create-password/{id}/{token}', "Auth\CreatePasswordController@createPassword")->name("auth.create-password");
    41         });
     40    Route::group(['middleware' => "createPassword"], function () {
     41        Route::get('/create-password/{id}/{token}', "Auth\CreatePasswordController@showCreatePassword")->name("auth.create-password-show");
     42        Route::post('/create-password/{id}/{token}', "Auth\CreatePasswordController@createPassword")->name("auth.create-password");
     43    });
    4244
    43         Route::group(['middleware' => "checkVerifyNewEmail"], function () {
    44                 Route::get('/verify/{id}/{token}', "Auth\VerifyNewEmailController@create")->name("auth.verifyShow");
    45                 Route::post('/verify/{id}/{token}', "Auth\VerifyNewEmailController@verify")->name("auth.verify");
    46         });
     45    Route::group(['middleware' => "checkVerifyNewEmail"], function () {
     46        Route::get('/verify/{id}/{token}', "Auth\VerifyNewEmailController@create")->name("auth.verifyShow");
     47        Route::post('/verify/{id}/{token}', "Auth\VerifyNewEmailController@verify")->name("auth.verify");
     48    });
    4749
    4850});
     
    5456Route::group(['prefix' => 'dashboard', 'middleware' => ["auth", "checkIsActive"]], function () {
    5557
    56         Route::get("/", "Dashboard\IndexController@index")->name("dashboard.index");
     58    Route::get("/", "Dashboard\IndexController@index")->name("dashboard.index");
    5759
    58         // Settings
    59         Route::get("/settings", "Dashboard\SettingsController@settings")->name("dashboard.settings.index");
    60         Route::patch("/settings/personal", "Dashboard\SettingsController@updatePersonalInformation")->name("dashboard.settings.personal");
    61         Route::patch("/settings/photos", "Dashboard\SettingsController@updatePhotos")->name("dashboard.settings.photos");
    62         Route::patch("/settings/social", "Dashboard\SettingsController@updateSocialLinks")->name("dashboard.settings.social");
    63         Route::patch("/settings/username", "Dashboard\SettingsController@updateUsername")->name("dashboard.settings.username");
    64         Route::patch("/settings/password", "Dashboard\SettingsController@updatePassword")->name("dashboard.settings.password");
    65         Route::patch("/settings/email", "Dashboard\SettingsController@updateEmail")->name("dashboard.settings.email");
    66         Route::post("/settings/transfer/", "Dashboard\SettingsController@transferPostsAndDeleteUser")->name("dashboard.settings.transfer");
     60    // Settings
     61    Route::get("/settings", "Dashboard\SettingsController@settings")->name("dashboard.settings.index");
     62    Route::patch("/settings/personal", "Dashboard\SettingsController@updatePersonalInformation")->name("dashboard.settings.personal");
     63    Route::patch("/settings/photos", "Dashboard\SettingsController@updatePhotos")->name("dashboard.settings.photos");
     64    Route::patch("/settings/social", "Dashboard\SettingsController@updateSocialLinks")->name("dashboard.settings.social");
     65    Route::patch("/settings/username", "Dashboard\SettingsController@updateUsername")->name("dashboard.settings.username");
     66    Route::patch("/settings/password", "Dashboard\SettingsController@updatePassword")->name("dashboard.settings.password");
     67    Route::patch("/settings/email", "Dashboard\SettingsController@updateEmail")->name("dashboard.settings.email");
     68    Route::post("/settings/transfer/", "Dashboard\SettingsController@transferPostsAndDeleteUser")->name("dashboard.settings.transfer");
    6769
    6870    // Settings => Phases
     
    7880        ->middleware("permission:delete_post_securities");
    7981
    80         // Users
    81         Route::group(['middleware' => 'permission:access_all_users'], function () {
    82                 Route::get("/users", "Dashboard\UsersController@index")->name("dashboard.users.index");
    83                 Route::patch("/users/{id}/block", "Dashboard\UsersController@block")->name("dashboard.users.block");
    84                 Route::patch("/users/{id}/unblock", "Dashboard\UsersController@unblock")->name("dashboard.users.unblock");
    85                 Route::delete("/users/{id}/destroy", "Dashboard\UsersController@destroy")->name("dashboard.users.destroy");
    86         });
     82    // Users
     83    Route::group(['middleware' => 'permission:access_all_users'], function () {
     84        Route::get("/users", "Dashboard\UsersController@index")->name("dashboard.users.index");
     85        Route::patch("/users/{id}/block", "Dashboard\UsersController@block")->name("dashboard.users.block");
     86        Route::patch("/users/{id}/unblock", "Dashboard\UsersController@unblock")->name("dashboard.users.unblock");
     87        Route::delete("/users/{id}/destroy", "Dashboard\UsersController@destroy")->name("dashboard.users.destroy");
     88    });
    8789
    88         Route::group(['middleware' => 'permission:create_user'], function () {
    89                 Route::get("/users/create", "Dashboard\UsersController@create")->name("dashboard.users.create");
    90                 Route::post("/users/store", "Dashboard\UsersController@store")->name("dashboard.users.store");
    91         });
     90    Route::group(['middleware' => 'permission:create_user'], function () {
     91        Route::get("/users/create", "Dashboard\UsersController@create")->name("dashboard.users.create");
     92        Route::post("/users/store", "Dashboard\UsersController@store")->name("dashboard.users.store");
     93    });
    9294
    93         // Posts
    94         Route::get("/posts", "Dashboard\PostsController@index")->name("dashboard.posts.index");
    95         Route::get("/posts/create", "Dashboard\PostsController@create")->name("dashboard.posts.create");
    96         Route::post("/posts/store", "Dashboard\PostsController@store")->name("dashboard.posts.store");
    97         Route::get("/posts/{id}/edit", "Dashboard\PostsController@editShow")->name("dashboard.posts.editShow");
    98         Route::patch("/posts/{id}/edit", "Dashboard\PostsController@edit")->name("dashboard.posts.edit");
    99         Route::patch("/posts/{id}/block", "Dashboard\PostsController@block")->name("dashboard.posts.block");
    100         Route::patch("/posts/{id}/unblock", "Dashboard\PostsController@unblock")->name("dashboard.posts.unblock");
    101         Route::patch("/posts/{id}/confirm", "Dashboard\PostsController@confirm")->name("dashboard.posts.confirm");
    102         Route::delete("/posts/{id}/destroy", "Dashboard\PostsController@destroy")->name("dashboard.posts.destroy");
     95    // Posts
     96    Route::get("/posts", "Dashboard\PostsController@index")->name("dashboard.posts.index");
     97    Route::get("/posts/create", "Dashboard\PostsController@create")->name("dashboard.posts.create");
     98    Route::post("/posts/store", "Dashboard\PostsController@store")->name("dashboard.posts.store");
     99    Route::get("/posts/{id}/edit", "Dashboard\PostsController@editShow")->name("dashboard.posts.editShow");
     100    Route::patch("/posts/{id}/edit", "Dashboard\PostsController@edit")->name("dashboard.posts.edit");
     101    Route::patch("/posts/{id}/block", "Dashboard\PostsController@block")->name("dashboard.posts.block");
     102    Route::patch("/posts/{id}/unblock", "Dashboard\PostsController@unblock")->name("dashboard.posts.unblock");
     103    Route::patch("/posts/{id}/confirm", "Dashboard\PostsController@confirm")->name("dashboard.posts.confirm");
     104    Route::delete("/posts/{id}/destroy", "Dashboard\PostsController@destroy")->name("dashboard.posts.destroy");
    103105
    104         // Categories
    105         Route::group(['middleware' => 'permission:access_all_categories'], function () {
    106                 Route::get("/categories", "Dashboard\CategoriesController@index")->name("dashboard.categories.index");
    107                 Route::get("/categories/create", "Dashboard\CategoriesController@create")->name("dashboard.categories.create");
    108                 Route::post("/categories/store", "Dashboard\CategoriesController@store")->name("dashboard.categories.store");
    109                 Route::get("/categories/{id}/edit", "Dashboard\CategoriesController@editShow")->name("dashboard.categories.editShow");
    110                 Route::patch("/categories/{id}/edit", "Dashboard\CategoriesController@edit")->name("dashboard.categories.edit");
    111                 Route::patch("/categories/{id}/block", "Dashboard\CategoriesController@block")->name("dashboard.categories.block");
    112                 Route::patch("/categories/{id}/unblock", "Dashboard\CategoriesController@unblock")->name("dashboard.categories.unblock");
    113                 Route::delete("/categories/{id}/destroy", "Dashboard\CategoriesController@destroy")->name("dashboard.categories.destroy");
    114         });
     106    // Categories
     107    Route::group(['middleware' => 'permission:access_all_categories'], function () {
     108        Route::get("/categories", "Dashboard\CategoriesController@index")->name("dashboard.categories.index");
     109        Route::get("/categories/create", "Dashboard\CategoriesController@create")->name("dashboard.categories.create");
     110        Route::post("/categories/store", "Dashboard\CategoriesController@store")->name("dashboard.categories.store");
     111        Route::get("/categories/{id}/edit", "Dashboard\CategoriesController@editShow")->name("dashboard.categories.editShow");
     112        Route::patch("/categories/{id}/edit", "Dashboard\CategoriesController@edit")->name("dashboard.categories.edit");
     113        Route::patch("/categories/{id}/block", "Dashboard\CategoriesController@block")->name("dashboard.categories.block");
     114        Route::patch("/categories/{id}/unblock", "Dashboard\CategoriesController@unblock")->name("dashboard.categories.unblock");
     115        Route::delete("/categories/{id}/destroy", "Dashboard\CategoriesController@destroy")->name("dashboard.categories.destroy");
     116    });
    115117
    116         // Comments
    117         Route::get("/comments", "Dashboard\CommentsController@index")->name("dashboard.comments.index");
    118         Route::patch("/comments/{id}/confirm", "Dashboard\CommentsController@confirm")->name("dashboard.comments.confirm");
    119         Route::delete("/comments/{id}/destroy", "Dashboard\CommentsController@destroy")->name("dashboard.comments.destroy");
     118    // Comments
     119    Route::get("/comments", "Dashboard\CommentsController@index")->name("dashboard.comments.index");
     120    Route::patch("/comments/{id}/confirm", "Dashboard\CommentsController@confirm")->name("dashboard.comments.confirm");
     121    Route::delete("/comments/{id}/destroy", "Dashboard\CommentsController@destroy")->name("dashboard.comments.destroy");
    120122
    121         // Tags
     123    // Tags
    122124    Route::get("/tags", "Dashboard\TagsController@index")->name("dashboard.tags.index");
    123125    Route::delete("/tags/{id}/destroy", "Dashboard\TagsController@destroy")->name("dashboard.tags.destroy");
    124126
    125         // Notifications
     127    // Companies
     128    Route::get("/companies", "Dashboard\CompaniesController@index")->name("dashboard.companies.index");
     129    Route::get("/companies/{id}/create-admin/", "Dashboard\CompaniesController@createAdmin")->name("dashboard.companies.create-admin");
     130    Route::post("/companies/store-admin", "Dashboard\CompaniesController@storeAdmin")->name("dashboard.companies.store-admin");
     131    Route::delete("/companies/{id}/destroy", "Dashboard\CompaniesController@destroy")->name("dashboard.companies.destroy");
     132
     133    // Notifications
    126134    Route::get("/notifications", "Dashboard\NotificationsController@notifications")->name("dashboard.notifications.index");
    127135    Route::post("/get-notifications", "Dashboard\NotificationsController@showNotifications")->name("dashboard.notifications.store");
Note: See TracChangeset for help on using the changeset viewer.