75 lines
1,009 KiB
JavaScript
75 lines
1,009 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6f440a42"],{"009c":function(e,t,n){"use strict";e.exports=o;var r=n("d4fd"),i=n("b854");function o(e,t){r.call(this,"("+e+(null!==t?":"+t:"")+")",e.startLine,e.startCol,i.MEDIA_FEATURE_TYPE),this.name=e,this.value=t}o.prototype=new r,o.prototype.constructor=o},"020c":function(e,t,n){"use strict";t.bool={enforcing:{bitwise:!0,freeze:!0,camelcase:!0,curly:!0,eqeqeq:!0,futurehostile:!0,es3:!0,es5:!0,forin:!0,immed:!0,leanswitch:!0,newcap:!0,noarg:!0,nocomma:!0,noempty:!0,nonbsp:!0,nonew:!0,noreturnawait:!0,regexpu:!0,undef:!0,singleGroups:!1,varstmt:!1,enforceall:!1,trailingcomma:!1},relaxing:{asi:!0,multistr:!0,debug:!0,boss:!0,evil:!0,funcscope:!0,globalstrict:!0,iterator:!0,notypeof:!0,plusplus:!0,proto:!0,scripturl:!0,sub:!0,supernew:!0,laxbreak:!0,laxcomma:!0,validthis:!0,withstmt:!0,moz:!0,noyield:!0,eqnull:!0,lastsemic:!0,loopfunc:!0,expr:!0,esnext:!0,elision:!0},environments:{mootools:!0,couch:!0,jasmine:!0,jquery:!0,node:!0,qunit:!0,rhino:!0,shelljs:!0,prototypejs:!0,yui:!0,mocha:!0,module:!0,wsh:!0,worker:!0,nonstandard:!0,browser:!0,browserify:!0,devel:!0,dojo:!0,typed:!0,phantom:!0},obsolete:{onecase:!0,regexp:!0,regexdash:!0}},t.val={maxlen:!1,indent:!1,maxerr:!1,predef:!1,globals:!1,quotmark:!1,scope:!1,maxstatements:!1,maxdepth:!1,maxparams:!1,maxcomplexity:!1,shadow:!1,strict:!0,unused:!0,latedef:!1,ignore:!1,ignoreDelimiters:!1,esversion:5},t.unstable={},t.inverted={bitwise:!0,forin:!0,newcap:!0,plusplus:!0,regexp:!0,undef:!0,eqeqeq:!0,strict:!0},t.validNames=Object.keys(t.val).concat(Object.keys(t.bool.relaxing)).concat(Object.keys(t.bool.enforcing)).concat(Object.keys(t.bool.obsolete)).concat(Object.keys(t.bool.environments)).concat(["unstable"]),t.unstableNames=Object.keys(t.unstable),t.renamed={eqeq:"eqeqeq",windows:"wsh",sloppy:"strict"},t.removed={nomen:!0,onevar:!0,passfail:!0,white:!0,gcl:!0,smarttabs:!0,trailing:!0},t.noenforceall={varstmt:!0,strict:!0,regexpu:!0}},"05dd":function(e,t,n){(function(e){e(n("56b3"),n("a2c1"))})((function(e){e.defineOption("autoCloseTags",!1,(function(t,n,i){if(i!=e.Init&&i&&t.removeKeyMap("autoCloseTags"),n){var a={name:"autoCloseTags"};("object"!=typeof n||n.whenClosing)&&(a["'/'"]=function(e){return o(e)}),("object"!=typeof n||n.whenOpening)&&(a["'>'"]=function(e){return r(e)}),t.addKeyMap(a)}}));var t=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],n=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function r(r){if(r.getOption("disableInput"))return e.Pass;for(var i=r.listSelections(),o=[],l=r.getOption("autoCloseTags"),u=0;u<i.length;u++){if(!i[u].empty())return e.Pass;var c=i[u].head,f=r.getTokenAt(c),h=e.innerMode(r.getMode(),f.state),d=h.state,p=h.mode.xmlCurrentTag&&h.mode.xmlCurrentTag(d),m=p&&p.name;if(!m)return e.Pass;var g="html"==h.mode.configuration,v="object"==typeof l&&l.dontCloseTags||g&&t,b="object"==typeof l&&l.indentTags||g&&n;f.end>c.ch&&(m=m.slice(0,m.length-f.end+c.ch));var y=m.toLowerCase();if(!m||"string"==f.type&&(f.end!=c.ch||!/[\"\']/.test(f.string.charAt(f.string.length-1))||1==f.string.length)||"tag"==f.type&&p.close||f.string.indexOf("/")==c.ch-f.start-1||v&&a(v,y)>-1||s(r,h.mode.xmlCurrentContext&&h.mode.xmlCurrentContext(d)||[],m,c,!0))return e.Pass;var w="object"==typeof l&&l.emptyTags;if(w&&a(w,m)>-1)o[u]={text:"/>",newPos:e.Pos(c.line,c.ch+2)};else{var x=b&&a(b,y)>-1;o[u]={indent:x,text:">"+(x?"\n\n":"")+"</"+m+">",newPos:x?e.Pos(c.line+1,0):e.Pos(c.line,c.ch+1)}}}var k="object"==typeof l&&l.dontIndentOnAutoClose;for(u=i.length-1;u>=0;u--){var C=o[u];r.replaceRange(C.text,i[u].head,i[u].anchor,"+insert");var E=r.listSelections().slice(0);E[u]={head:C.newPos,anchor:C.newPos},r.setSelections(E),!k&&C.indent&&(r.indentLine(C.newPos.line,null,!0),r.indentLine(C.newPos.line+1,null,!0))}}function i(t,n){for(var r=t.listSelections(),i=[],o=n?"/":"</",a=t.getOption("a
|
|||
|
/**
|
|||
|
* @license
|
|||
|
* Lodash <https://lodash.com/>
|
|||
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|||
|
* Released under MIT license <https://lodash.com/license>
|
|||
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|||
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|||
|
*/(function(){var o,a="4.17.15",s=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",c="__lodash_hash_undefined__",f=500,h="__lodash_placeholder__",d=1,p=2,m=4,g=1,v=2,b=1,y=2,w=4,x=8,k=16,C=32,E=64,S=128,_=256,A=512,T=30,L="...",M=800,O=16,F=1,D=2,W=3,N=1/0,R=9007199254740991,B=17976931348623157e292,P=NaN,I=4294967295,z=I-1,j=I>>>1,$=[["ary",S],["bind",b],["bindKey",y],["curry",x],["curryRight",k],["flip",A],["partial",C],["partialRight",E],["rearg",_]],H="[object Arguments]",U="[object Array]",q="[object AsyncFunction]",G="[object Boolean]",V="[object Date]",Y="[object DOMException]",K="[object Error]",X="[object Function]",Z="[object GeneratorFunction]",Q="[object Map]",J="[object Number]",ee="[object Null]",te="[object Object]",ne="[object Promise]",re="[object Proxy]",ie="[object RegExp]",oe="[object Set]",ae="[object String]",se="[object Symbol]",le="[object Undefined]",ue="[object WeakMap]",ce="[object WeakSet]",fe="[object ArrayBuffer]",he="[object DataView]",de="[object Float32Array]",pe="[object Float64Array]",me="[object Int8Array]",ge="[object Int16Array]",ve="[object Int32Array]",be="[object Uint8Array]",ye="[object Uint8ClampedArray]",we="[object Uint16Array]",xe="[object Uint32Array]",ke=/\b__p \+= '';/g,Ce=/\b(__p \+=) '' \+/g,Ee=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Se=/&(?:amp|lt|gt|quot|#39);/g,_e=/[&<>"']/g,Ae=RegExp(Se.source),Te=RegExp(_e.source),Le=/<%-([\s\S]+?)%>/g,Me=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,Fe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,De=/^\w*$/,We=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ne=/[\\^$.*+?()[\]{}|]/g,Re=RegExp(Ne.source),Be=/^\s+|\s+$/g,Pe=/^\s+/,Ie=/\s+$/,ze=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,je=/\{\n\/\* \[wrapped with (.+)\] \*/,$e=/,? & /,He=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ue=/\\(\\)?/g,qe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ge=/\w*$/,Ve=/^[-+]0x[0-9a-f]+$/i,Ye=/^0b[01]+$/i,Ke=/^\[object .+?Constructor\]$/,Xe=/^0o[0-7]+$/i,Ze=/^(?:0|[1-9]\d*)$/,Qe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Je=/($^)/,et=/['\n\r\u2028\u2029\\]/g,tt="\\ud800-\\udfff",nt="\\u0300-\\u036f",rt="\\ufe20-\\ufe2f",it="\\u20d0-\\u20ff",ot=nt+rt+it,at="\\u2700-\\u27bf",st="a-z\\xdf-\\xf6\\xf8-\\xff",lt="\\xac\\xb1\\xd7\\xf7",ut="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ct="\\u2000-\\u206f",ft=" \\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",ht="A-Z\\xc0-\\xd6\\xd8-\\xde",dt="\\ufe0e\\ufe0f",pt=lt+ut+ct+ft,mt="['’]",gt="["+tt+"]",vt="["+pt+"]",bt="["+ot+"]",yt="\\d+",wt="["+at+"]",xt="["+st+"]",kt="[^"+tt+pt+yt+at+st+ht+"]",Ct="\\ud83c[\\udffb-\\udfff]",Et="(?:"+bt+"|"+Ct+")",St="[^"+tt+"]",_t="(?:\\ud83c[\\udde6-\\uddff]){2}",At="[\\ud800-\\udbff][\\udc00-\\udfff]",Tt="["+ht+"]",Lt="\\u200d",Mt="(?:"+xt+"|"+kt+")",Ot="(?:"+Tt+"|"+kt+")",Ft="(?:"+mt+"(?:d|ll|m|re|s|t|ve))?",Dt="(?:"+mt+"(?:D|LL|M|RE|S|T|VE))?",Wt=Et+"?",Nt="["+dt+"]?",Rt="(?:"+Lt+"(?:"+[St,_t,At].join("|")+")"+Nt+Wt+")*",Bt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Pt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",It=Nt+Wt+Rt,zt="(?:"+[wt,_t,At].join("|")+")"+It,jt="(?:"+[St+bt+"?",bt,_t,At,gt].join("|")+")",$t=RegExp(mt,"g"),Ht=RegExp(bt,"g"),Ut=RegExp(Ct+"(?="+Ct+")|"+jt+It,"g"),qt=RegExp([Tt+"?"+xt+"+"+Ft+"(?="+[vt,Tt,"$"].join("|")+")",Ot+"+"+Dt+"(?="+[vt,Tt+Mt,"$"].join("|")+")",Tt+"?"+Mt+"+"+Ft,Tt+"+"+Dt,Pt,Bt,yt,zt].join("|"),"g"),Gt=RegExp("["+Lt+tt+ot+dt+"]"),Vt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Yt=["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"],Kt=-1,Xt={};Xt[de]=Xt[pe]=Xt[me]=Xt[ge]=Xt[ve]=Xt[be]=Xt[ye]=Xt[we]=Xt[xe]=!0,Xt[H]=Xt[U]=Xt[fe]=Xt[G]=Xt[he]=
|
|||
|
/*
|
|||
|
object-assign
|
|||
|
(c) Sindre Sorhus
|
|||
|
@license MIT
|
|||
|
*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function s(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(o){return!1}}e.exports=s()?Object.assign:function(e,t){for(var n,s,l=a(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]),n)i.call(n,c)&&(l[c]=n[c]);if(r){s=r(n);for(var f=0;f<s.length;f++)o.call(n,s[f])&&(l[s[f]]=n[s[f]])}}return l}},3255:function(e,t,n){"use strict";e.exports={Colors:n("49e3"),Combinator:n("8a27"),Parser:n("b854"),PropertyName:n("09ba"),PropertyValue:n("b4d9"),PropertyValuePart:n("5c30"),Matcher:n("d045"),MediaFeature:n("009c"),MediaQuery:n("5c22"),Selector:n("2a3a"),SelectorPart:n("a23a"),SelectorSubPart:n("7c4d"),Specificity:n("4848"),TokenStream:n("e861"),Tokens:n("581a"),ValidationError:n("e76d")}},"41b9":function(e,t,n){"use strict";var r=n("2ef0"),i={E001:"Bad {a}option: '{b}'.",E002:"Bad option value.",E003:"Expected a JSON value.",E004:"Input is neither a string nor an array of strings.",E005:"Input is empty.",E006:"Unexpected early end of program.",E007:'Missing "use strict" statement.',E008:"Strict violation.",E009:"Option 'validthis' can't be used in a global scope.",E010:"'with' is not allowed in strict mode.",E011:"'{a}' has already been declared.",E012:"const '{a}' is initialized to 'undefined'.",E013:"Attempting to override '{a}' which is a constant.",E014:"A regular expression literal can be confused with '/='.",E015:"Unclosed regular expression.",E016:"Invalid regular expression.",E017:"Unclosed comment.",E018:"Unbegun comment.",E019:"Unmatched '{a}'.",E020:"Expected '{a}' to match '{b}' from line {c} and instead saw '{d}'.",E021:"Expected '{a}' and instead saw '{b}'.",E022:"Line breaking error '{a}'.",E023:"Missing '{a}'.",E024:"Unexpected '{a}'.",E025:"Missing ':' on a case clause.",E026:"Missing '}' to match '{' from line {a}.",E027:"Missing ']' to match '[' from line {a}.",E028:"Illegal comma.",E029:"Unclosed string.",E030:"Expected an identifier and instead saw '{a}'.",E031:"Bad assignment.",E032:"Expected a small integer or 'false' and instead saw '{a}'.",E033:"Expected an operator and instead saw '{a}'.",E034:"get/set are ES5 features.",E035:"Missing property name.",E036:"Expected to see a statement and instead saw a block.",E037:null,E038:null,E039:"Function declarations are not invocable. Wrap the whole function invocation in parens.",E040:"Each value should have its own case label.",E041:"Unrecoverable syntax error.",E042:"Stopping.",E043:"Too many errors.",E044:null,E045:"Invalid for each loop.",E046:"Yield expressions may only occur within generator functions.",E047:null,E048:"{a} declaration not directly within block.",E049:"A {a} cannot be named '{b}'.",E050:"Mozilla requires the yield expression to be parenthesized here.",E051:null,E052:"Unclosed template literal.",E053:"{a} declarations are only allowed at the top level of module scope.",E054:"Class properties must be methods. Expected '(' but instead saw '{a}'.",E055:"The '{a}' option cannot be set after any executable code.",E056:"'{a}' was used before it was declared, which is illegal for '{b}' variables.",E057:"Invalid meta property: '{a}.{b}'.",E058:"Missing semicolon.",E059:"Incompatible values for the '{a}' and '{b}' linting options.",E060:"Non-callable values cannot be used as the second operand to instanceof.",E061:"Invalid position for 'yield' expression (consider wrapping in parenthesis).",E062:"Rest parameter does not a support default value.",E063:"Super property may only be used within method bodies.",E064:"Super c
|
|||
|
/*!
|
|||
|
CSSLint v1.0.4
|
|||
|
Copyright (c) 2016 Nicole Sullivan and Nicholas C. Zakas. All rights reserved.
|
|||
|
|
|||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|||
|
of this software and associated documentation files (the 'Software'), to deal
|
|||
|
in the Software without restriction, including without limitation the rights
|
|||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|||
|
copies of the Software, and to permit persons to whom the Software is
|
|||
|
furnished to do so, subject to the following conditions:
|
|||
|
|
|||
|
The above copyright notice and this permission notice shall be included in
|
|||
|
all copies or substantial portions of the Software.
|
|||
|
|
|||
|
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|||
|
THE SOFTWARE.
|
|||
|
|
|||
|
*/
|
|||
|
var r=n("2410"),i=n("b992"),o=function(){"use strict";var e=[],t=[],n=/\/\*\s*csslint([^\*]*)\*\//,s=new i.util.EventTarget;function l(e,t){var r,i=e&&e.match(n),o=i&&i[1];return o&&(r={true:2,"":1,false:0,2:2,1:1,0:0},o.toLowerCase().split(",").forEach((function(e){var n=e.split(":"),i=n[0]||"",o=n[1]||"";t[i.trim()]=r[o.trim()]}))),t}return s.version="1.0.4",s.addRule=function(t){e.push(t),e[t.id]=t},s.clearRules=function(){e=[]},s.getRules=function(){return[].concat(e).sort((function(e,t){return e.id>t.id?1:0}))},s.getRuleset=function(){var t={},n=0,r=e.length;while(n<r)t[e[n++].id]=1;return t},s.addFormatter=function(e){t[e.id]=e},s.getFormatter=function(e){return t[e]},s.format=function(e,t,n,r){var i=this.getFormatter(n),o=null;return i&&(o=i.startFormat(),o+=i.formatResults(e,t,r||{}),o+=i.endFormat()),o},s.hasFormat=function(e){return t.hasOwnProperty(e)},s.verify=function(t,s){var u,c,f,h=0,d={},p=[],m=new i.css.Parser({starHack:!0,ieFilters:!0,underscoreHack:!0,strict:!1});c=t.replace(/\n\r?/g,"$split$").split("$split$"),o.Util.forEach(c,(function(e,t){var n=e&&e.match(/\/\*[ \t]*csslint[ \t]+allow:[ \t]*([^\*]*)\*\//i),r=n&&n[1],i={};r&&(r.toLowerCase().split(",").forEach((function(e){i[e.trim()]=!0})),Object.keys(i).length>0&&(d[t+1]=i))}));var g=null,v=null;for(h in o.Util.forEach(c,(function(e,t){null===g&&e.match(/\/\*[ \t]*csslint[ \t]+ignore:start[ \t]*\*\//i)&&(g=t),e.match(/\/\*[ \t]*csslint[ \t]+ignore:end[ \t]*\*\//i)&&(v=t),null!==g&&null!==v&&(p.push([g,v]),g=v=null)})),null!==g&&p.push([g,c.length]),s||(s=this.getRuleset()),n.test(t)&&(s=r(s),s=l(t,s)),u=new a(c,s,d,p),s.errors=2,s)s.hasOwnProperty(h)&&s[h]&&e[h]&&e[h].init(m,u);try{m.parse(t)}catch(b){u.error("Fatal error, cannot continue: "+b.message,b.line,b.col,{})}return f={messages:u.messages,stats:u.stats,ruleset:u.ruleset,allow:u.allow,ignore:u.ignore},f.messages.sort((function(e,t){return e.rollup&&!t.rollup?1:!e.rollup&&t.rollup?-1:e.line-t.line})),f},s}();function a(e,t,n,r){"use strict";this.messages=[],this.stats=[],this.lines=e,this.ruleset=t,this.allow=n,this.allow||(this.allow={}),this.ignore=r,this.ignore||(this.ignore=[])}a.prototype={constructor:a,error:function(e,t,n,r){"use strict";this.messages.push({type:"error",line:t,col:n,message:e,evidence:this.lines[t-1],rule:r||{}})},warn:function(e,t,n,r){"use strict";this.report(e,t,n,r)},report:function(e,t,n,r){"use strict";if(!this.allow.hasOwnProperty(t)||!this.allow[t].hasOwnProperty(r.id)){var i=!1;o.Util.forEach(this.ignore,(function(e){e[0]<=t&&t<=e[1]&&(i=!0)})),i||this.messages.push({type:2===this.ruleset[r.id]?"error":"warning",line:t,col:n,message:e,evidence:this.lines[t-1],rule:r})}},info:function(e,t,n,r){"use strict";this.messages.push({type:"info",line:t,col:n,message:e,evidence:this.lines[t-1],rule:r})},rollupError:function(e,t){"use strict";this.messages.push({type:"error",rollup:!0,message:e,rule:t})},rollupWarn:function(e,t){"use strict";this.messages.push({type:"warning",rollup:!0,message:e,rule:t})},stat:function(e,t){"use strict";this.stats[e]=t}},o._Reporter=a,o.Util={mix:function(e,t){"use strict";var n;for(n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return n},indexOf:function(e,t){"use strict";if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},forEach:function(e,t){"use strict";if(e.forEach)return e.forEach(t);for(var n=0,r=e.length;n<r;n++)t(e[n],n,e)}},o.addRule({id:"adjoining-classes",name:"Disallow adjoining classes",desc:"Don't use adjoining classes.",url:"https://github.com/CSSLint/csslint/wiki/Disallow-adjoining-classes",browsers:"IE6",init:function(e,t){"use strict";var n=this;e.addListener("startrule",(function(r){var i,o,a,s,l,u,c,f=r.selectors;for(l=0;l<f.length;l++)for(i=f[l],u=0;u<i.parts.length;u++)if(o=i.parts[u],o.type===e.SELECTOR_PART_TYPE)for(s=0,c=0;c<o.modifiers.length;c++)a=o.modifiers[c],"class"===a.type&&s++,s>1&&t.report("Adjoining classes: "+f[l].text,o.line,o.col,n)}))}}),o.addRule({id:"box-model",name:"Beware of broken box size",desc:"Don't use width or height when using padding or border."
|
|||
|
/*!
|
|||
|
* JSHint, by JSHint Community.
|
|||
|
*
|
|||
|
* This file (and this file only) is licensed under the same slightly modified
|
|||
|
* MIT license that JSLint is. It stops evil-doers everywhere:
|
|||
|
*
|
|||
|
* Copyright (c) 2002 Douglas Crockford (www.JSLint.com)
|
|||
|
*
|
|||
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|||
|
* a copy of this software and associated documentation files (the "Software"),
|
|||
|
* to deal in the Software without restriction, including without limitation
|
|||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|||
|
* and/or sell copies of the Software, and to permit persons to whom
|
|||
|
* the Software is furnished to do so, subject to the following conditions:
|
|||
|
*
|
|||
|
* The above copyright notice and this permission notice shall be included
|
|||
|
* in all copies or substantial portions of the Software.
|
|||
|
*
|
|||
|
* The Software shall be used for Good, not Evil.
|
|||
|
*
|
|||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|||
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|||
|
* DEALINGS IN THE SOFTWARE.
|
|||
|
*
|
|||
|
*/
|
|||
|
var r=n("2ef0"),i=n("faa1"),o=n("0aee"),a=n("41b9"),s=n("185a").Lexer,l=n("a967"),u=n("4d6a").state,c=n("af48"),f=n("020c"),h=n("490c"),d=n("844a"),p=(n("ce24"),function(){"use strict";var e,t,n,m,g,v,b,y,w,x,k={"<":!0,"<=":!0,"==":!0,"===":!0,"!==":!0,"!=":!0,">":!0,">=":!0,"+":!0,"-":!0,"*":!0,"/":!0,"%":!0},C=[],E=new i.EventEmitter;function S(e,t,n){var i,o;return t?(i="",o=f.validNames):(i="unstable ",o=f.unstableNames),e=e.trim(),!!/^[+-]W\d{3}$/g.test(e)||(!(-1===o.indexOf(e)&&"jslint"!==n.type&&!r.has(f.removed,e))||(B("E001",n,i,e),!1))}function _(e){return"[object String]"===Object.prototype.toString.call(e)}function A(e,t){return!!e&&!(!e.identifier||e.value!==t)}function T(e,t){if(!t.reserved)return!1;var n=t.meta;if(n&&n.isFutureReservedWord){if(u.inES5()){if(!n.es5)return!1;if(t.isProperty)return!1}}else if(n&&n.es5&&!u.inES5())return!1;return!(n&&n.strictOnly&&u.inES5()&&!u.option.strict&&!u.isStrict())&&!!("await"!==t.id||e&d.async||u.option.module)}function L(e,t){return e.replace(/\{([^{}]*)\}/g,(function(e,n){var r=t[n];return"string"===typeof r||"number"===typeof r?r:e}))}function M(e,t){Object.keys(t).forEach((function(n){r.has(p.blacklist,n)||(e[n]=t[n])}))}function O(){if(u.option.enforceall){for(var e in f.bool.enforcing)void 0!==u.option[e]||f.noenforceall[e]||(u.option[e]=!0);for(var t in f.bool.relaxing)void 0===u.option[t]&&(u.option[t]=!1)}}function F(){var e=null;O(),e=u.inferEsVersion(),e&&D("E059",u.tokens.next,"esversion",e),u.inES5()&&M(x,o.ecmaIdentifiers[5]),u.inES6()&&M(x,o.ecmaIdentifiers[6]),u.inES8()&&M(x,o.ecmaIdentifiers[8]),"global"===u.option.strict&&"globalstrict"in u.option&&D("E059",u.tokens.next,"strict","globalstrict"),u.option.module&&(u.inES6()||N("W134",u.tokens.next,"module",6)),u.option.regexpu&&(u.inES6()||N("W134",u.tokens.next,"regexpu",6)),u.option.couch&&M(x,o.couch),u.option.qunit&&M(x,o.qunit),u.option.rhino&&M(x,o.rhino),u.option.shelljs&&(M(x,o.shelljs),M(x,o.node)),u.option.typed&&M(x,o.typed),u.option.phantom&&M(x,o.phantom),u.option.prototypejs&&M(x,o.prototypejs),u.option.node&&(M(x,o.node),M(x,o.typed)),u.option.devel&&M(x,o.devel),u.option.dojo&&M(x,o.dojo),u.option.browser&&(M(x,o.browser),M(x,o.typed)),u.option.browserify&&(M(x,o.browser),M(x,o.typed),M(x,o.browserify)),u.option.nonstandard&&M(x,o.nonstandard),u.option.jasmine&&M(x,o.jasmine),u.option.jquery&&M(x,o.jquery),u.option.mootools&&M(x,o.mootools),u.option.worker&&M(x,o.worker),u.option.wsh&&M(x,o.wsh),u.option.yui&&M(x,o.yui),u.option.mocha&&M(x,o.mocha)}function D(e,t,n,r){var i=Math.floor(t.line/u.lines.length*100),o=a.errors[e].desc,s={name:"JSHintError",line:t.line,character:t.from,message:o+" ("+i+"% scanned).",raw:o,code:e,a:n,b:r};throw s.reason=L(o,s)+" ("+i+"% scanned).",s}function W(){var e=u.ignoredLines;r.isEmpty(e)||(p.errors=r.reject(p.errors,(function(t){return e[t.line]})))}function N(e,t,n,r,i,o){var s,l,c,f;if(/^W\d{3}$/.test(e)){if(u.ignored[e])return;f=a.warnings[e]}else/E\d{3}/.test(e)?f=a.errors[e]:/I\d{3}/.test(e)&&(f=a.info[e]);return t=t||u.tokens.next||{},"(end)"===t.id&&(t=u.tokens.curr),l=t.line,s=t.from,c={id:"(error)",raw:f.desc,code:f.code,evidence:u.lines[l-1]||"",line:l,character:s,scope:p.scope,a:n,b:r,c:i,d:o},c.reason=L(f.desc,c),p.errors.push(c),W(),p.errors.length>=u.option.maxerr&&D("E043",t),c}function R(e,t,n,r,i,o,a){return N(e,{line:t,from:n},r,i,o,a)}function B(e,t,n,r,i,o){N(e,t,n,r,i,o)}function P(e,t,n,r,i,o,a){return B(e,{line:t,from:n},r,i,o,a)}function I(e,t){p.internals.push({id:"(internal)",elem:e,token:t,code:t.value.replace(/([^\\])(\\*)\2\\n/g,"$1\n")})}function z(e,n){var i=e.body.split(",").map((function(e){return e.trim()})),o={};if("falls through"!==e.type){if("globals"===e.type)for(var a in i.forEach((function(t,n){t=t.split(":");var r=t[0].trim(),a=(t[1]||"").trim();if("-"!==r&&r.length)"-"===r.charAt(0)?(r=r.slice(1),a=!1,p.blacklist[r]=r,delete x[r]):o[r]="true"===a;else{if(n>0&&n===i.length-1)return;B("E002",e)}})),M(x,o),o)r.has(o,a)&&(t[a]=e);"exported"===e.type&&i.forEach((function(t,n){if(t.length)u.funct["(scope)"].addExp
|
|||
|
/*!
|
|||
|
* The buffer module from node.js, for the browser.
|
|||
|
*
|
|||
|
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|||
|
* @license MIT
|
|||
|
*/function i(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}function o(e){return t.Buffer&&"function"===typeof t.Buffer.isBuffer?t.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var a=n("eed9"),s=Object.prototype.hasOwnProperty,l=Array.prototype.slice,u=function(){return"foo"===function(){}.name}();function c(e){return Object.prototype.toString.call(e)}function f(e){return!o(e)&&("function"===typeof t.ArrayBuffer&&("function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var h=e.exports=y,d=/\s*function\s+([^\(\s]*)\s*/;function p(e){if(a.isFunction(e)){if(u)return e.name;var t=e.toString(),n=t.match(d);return n&&n[1]}}function m(e,t){return"string"===typeof e?e.length<t?e:e.slice(0,t):e}function g(e){if(u||!a.isFunction(e))return a.inspect(e);var t=p(e),n=t?": "+t:"";return"[Function"+n+"]"}function v(e){return m(g(e.actual),128)+" "+e.operator+" "+m(g(e.expected),128)}function b(e,t,n,r,i){throw new h.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}function y(e,t){e||b(e,!0,t,"==",h.ok)}function w(e,t,n,r){if(e===t)return!0;if(o(e)&&o(t))return 0===i(e,t);if(a.isDate(e)&&a.isDate(t))return e.getTime()===t.getTime();if(a.isRegExp(e)&&a.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"===typeof e||null!==t&&"object"===typeof t){if(f(e)&&f(t)&&c(e)===c(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===i(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(o(e)!==o(t))return!1;r=r||{actual:[],expected:[]};var s=r.actual.indexOf(e);return-1!==s&&s===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),k(e,t,n,r))}return n?e===t:e==t}function x(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function k(e,t,n,r){if(null===e||void 0===e||null===t||void 0===t)return!1;if(a.isPrimitive(e)||a.isPrimitive(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=x(e),o=x(t);if(i&&!o||!i&&o)return!1;if(i)return e=l.call(e),t=l.call(t),w(e,t,n);var s,u,c=T(e),f=T(t);if(c.length!==f.length)return!1;for(c.sort(),f.sort(),u=c.length-1;u>=0;u--)if(c[u]!==f[u])return!1;for(u=c.length-1;u>=0;u--)if(s=c[u],!w(e[s],t[s],n,r))return!1;return!0}function C(e,t,n){w(e,t,!0)&&b(e,t,n,"notDeepStrictEqual",C)}function E(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(n){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function S(e){var t;try{e()}catch(n){t=n}return t}function _(e,t,n,r){var i;if("function"!==typeof t)throw new TypeError('"block" argument must be a function');"string"===typeof n&&(r=n,n=null),i=S(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&b(i,n,"Missing expected exception"+r);var o="string"===typeof r,s=!e&&a.isError(i),l=!e&&i&&!n;if((s&&o&&E(i,n)||l)&&b(i,n,"Got unwanted exception"+r),e&&i&&n&&!E(i,n)||!e&&i)throw i}function A(e,t){e||b(e,!0,t,"==",A)}h.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=v(this),this.generatedMessage=!0);var t=e.stackStartFunction||b;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=p(t),o=r.indexOf("\n"+i);if(o>=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}},a.inherits(h.AssertionError,Error),h.fail=b,h.ok=y,h.equal=function(e,t,n){e!=t&&b(e,t,n,"==",h.equal)},h.notEqual=function(e,t,n){e==t&&b(e,t,n,"!=",h.notEqual)},h.deepEqual=function(e,t,n){w(e,t,!1)||b(e,t,n,"deepEqual",h.deepEqual)},h.deepStrictEqual=function(e,t,n){w(e,t,!0)||b(e,t,n,"deepStrictEqual",h.deepStrictEqual)},h.notDeepEqual=function(e,t,n){w(e,t,!1)&&b(e,t,n,"notDeepEqual",h.notDeepEqual)},h.notDeepStrictEqual=C,h.str
|
|||
|
//# sourceMappingURL=chunk-6f440a42.cb49e7e1.js.map
|