2020-04-02 14:48:29 +08:00
/** layui-v2.5.6 MIT License By https://www.layui.com */
; ! function ( e ) { "use strict" ; var t = document , n = { modules : { } , status : { } , timeout : 10 , event : { } } , r = function ( ) { this . v = "2.5.6" } , o = function ( ) { var e = t . currentScript ? t . currentScript . src : function ( ) { for ( var e , n = t . scripts , r = n . length - 1 , o = r ; o > 0 ; o -- ) if ( "interactive" === n [ o ] . readyState ) { e = n [ o ] . src ; break } return e || n [ r ] . src } ( ) ; return e . substring ( 0 , e . lastIndexOf ( "/" ) + 1 ) } ( ) , a = function ( t ) { e . console && console . error && console . error ( "Layui hint: " + t ) } , i = "undefined" != typeof opera && "[object Opera]" === opera . toString ( ) , u = { layer : "modules/layer" , laydate : "modules/laydate" , laypage : "modules/laypage" , laytpl : "modules/laytpl" , layim : "modules/layim" , layedit : "modules/layedit" , form : "modules/form" , upload : "modules/upload" , transfer : "modules/transfer" , tree : "modules/tree" , table : "modules/table" , element : "modules/element" , rate : "modules/rate" , colorpicker : "modules/colorpicker" , slider : "modules/slider" , carousel : "modules/carousel" , flow : "modules/flow" , util : "modules/util" , code : "modules/code" , jquery : "modules/jquery" , mobile : "modules/mobile" , "layui.all" : "../layui.all" } ; r . prototype . cache = n , r . prototype . define = function ( e , t ) { var r = this , o = "function" == typeof e , a = function ( ) { var e = function ( e , t ) { layui [ e ] = t , n . status [ e ] = ! 0 } ; return "function" == typeof t && t ( function ( r , o ) { e ( r , o ) , n . callback [ r ] = function ( ) { t ( e ) } } ) , this } ; return o && ( t = e , e = [ ] ) , ! layui [ "layui.all" ] && layui [ "layui.mobile" ] ? a . call ( r ) : ( r . use ( e , a ) , r ) } , r . prototype . use = function ( e , r , l ) { function c ( e , t ) { var r = "PLaySTATION 3" === navigator . platform ? /^complete$/ : /^(complete|loaded)$/ ; ( "load" === e . type || r . test ( ( e . currentTarget || e . srcElement ) . readyState ) ) && ( n . modules [ d ] = t , y . removeChild ( h ) , function o ( ) { return ++ m > 1e3 * n . timeout / 4 ? a ( d + " is not a valid module" ) : void ( n . status [ d ] ? s ( ) : setTimeout ( o , 4 ) ) } ( ) ) } function s ( ) { l . push ( layui [ d ] ) , e . length > 1 ? p . use ( e . slice ( 1 ) , r , l ) : "function" == typeof r && r . apply ( layui , l ) } var p = this , f = n . dir = n . dir ? n . dir : o , y = t . getElementsByTagName ( "head" ) [ 0 ] ; e = "string" == typeof e ? [ e ] : e , window . jQuery && jQuery . fn . on && ( p . each ( e , function ( t , n ) { "jquery" === n && e . splice ( t , 1 ) } ) , layui . jquery = layui . $ = jQuery ) ; var d = e [ 0 ] , m = 0 ; if ( l = l || [ ] , n . host = n . host || ( f . match ( /\/\/([\s\S]+?)\// ) || [ "//" + location . host + "/" ] ) [ 0 ] , 0 === e . length || layui [ "layui.all" ] && u [ d ] || ! layui [ "layui.all" ] && layui [ "layui.mobile" ] && u [ d ] ) return s ( ) , p ; var v = ( u [ d ] ? f + "lay/" : /^\{\/\}/ . test ( p . modules [ d ] ) ? "" : n . base || "" ) + ( p . modules [ d ] || d ) + ".js" ; if ( v = v . replace ( /^\{\/\}/ , "" ) , ! n . modules [ d ] && layui [ d ] && ( n . modules [ d ] = v ) , n . modules [ d ] ) ! function g ( ) { return ++ m > 1e3 * n . timeout / 4 ? a ( d + " is not a valid module" ) : void ( "string" == typeof n . modules [ d ] && n . status [ d ] ? s ( ) : setTimeout ( g , 4 ) ) } ( ) ; else { var h = t . createElement ( "script" ) ; h . async = ! 0 , h . charset = "utf-8" , h . src = v + function ( ) { var e = n . version === ! 0 ? n . v || ( new Date ) . getTime ( ) : n . version || "" ; return e ? "?v=" + e : "" } ( ) , y . appendChild ( h ) , ! h . attachEvent || h . attachEvent . toString && h . attachEvent . toString ( ) . indexOf ( "[native code" ) < 0 || i ? h . addEventListener ( "load" , function ( e ) { c ( e , v ) } , ! 1 ) : h . attachEvent ( "onreadystatechange" , function ( e ) { c ( e , v ) } ) , n . modules [ d ] = v } return p } , r . prototype . getStyle = function ( t , n ) { var r = t . currentStyle ? t . currentStyle : e . getComputedStyle ( t , null ) ; return r [ r . getPropertyValue ? "getPropertyValue" : "getAttribute" ] ( n ) } , r . prototype . link = function ( e , r , o ) { var i = this , u = t . createElement ( "link" ) , l = t . getElementsByTagName ( "head" ) [ 0 ] ; "string" == typeof r && ( o = r ) ; var c = ( o || e ) . replace ( /\.|\//g , "" ) , s = u . id = "layuicss-" + c , p = 0 ; return u . rel = "stylesheet" , u . href = e + ( n . debug ? "?v=" + ( new Date ) . getTime ( ) : "" ) , u . media = "all" , t . getElementById ( s ) || l . appendChild ( u ) , "function" != typeof r ? i : ( function f ( ) { return ++ p > 1e3 * n . timeout / 100 ? a ( e + " timeout" ) : void ( 1989 === parseInt ( i . getStyle ( t . getElementById ( s ) , "width" ) ) ? function ( ) { r ( ) } ( ) : setTimeout ( f , 100 ) ) } ( ) , i ) } , n . callback = { } , r . prototype . factory = function ( e ) { if ( layui [ e ] ) return "function" == typeof n . callback [ e ] ? n . callback [ e ] : null } , r . prototype . addcss = function ( e , t , r ) { return layui . link ( n . dir + "css/" + e , t , r ) } , r . prototype . img = function ( e , t , n ) { var r = new Image ; return r . src = e , r . complete ? t ( r ) : ( r . onload = function ( ) { r . onload = null , "function" == typeof t && t ( r ) } , void ( r . onerror = function ( e ) { r . onerror = null , "function" == typeof n && n ( e ) } ) ) } , r . prototype . config = function ( e ) { e = e || { } ; for ( var t in e ) n [ t ] = e [ t ] ; return this } , r . prototype . modu
2018-09-25 14:57:35 +08:00
l = c [ e ] || [ ] , p = l [ 0 ] === W && l [ 1 ] , x = p && l [ 2 ] , d = p && m . childNodes [ p ] ; d = ++ p && d && d [ g ] || ( x = p = 0 ) || h . pop ( ) ; ) if ( 1 === d . nodeType && ++ x && d === t ) { c [ e ] = [ W , p , x ] ; break } } else if ( v && ( d = t , f = d [ P ] || ( d [ P ] = { } ) , c = f [ d . uniqueID ] || ( f [ d . uniqueID ] = { } ) , l = c [ e ] || [ ] , p = l [ 0 ] === W && l [ 1 ] , x = p ) , x === ! 1 ) for ( ; ( d = ++ p && d && d [ g ] || ( x = p = 0 ) || h . pop ( ) ) && ( ( s ? d . nodeName . toLowerCase ( ) !== y : 1 !== d . nodeType ) || ! ++ x || ( v && ( f = d [ P ] || ( d [ P ] = { } ) , c = f [ d . uniqueID ] || ( f [ d . uniqueID ] = { } ) , c [ e ] = [ W , x ] ) , d !== t ) ) ; ) ; return x -= i , x === r || x % r === 0 && x / r >= 0 } } } , PSEUDO : function ( e , n ) { var i , o = T . pseudos [ e ] || T . setFilters [ e . toLowerCase ( ) ] || t . error ( "unsupported pseudo: " + e ) ; return o [ P ] ? o ( n ) : o . length > 1 ? ( i = [ e , e , "" , n ] , T . setFilters . hasOwnProperty ( e . toLowerCase ( ) ) ? r ( function ( e , t ) { for ( var r , i = o ( e , n ) , a = i . length ; a -- ; ) r = ee ( e , i [ a ] ) , e [ r ] = ! ( t [ r ] = i [ a ] ) } ) : function ( e ) { return o ( e , 0 , i ) } ) : o } } , pseudos : { not : r ( function ( e ) { var t = [ ] , n = [ ] , i = k ( e . replace ( se , "$1" ) ) ; return i [ P ] ? r ( function ( e , t , n , r ) { for ( var o , a = i ( e , null , r , [ ] ) , s = e . length ; s -- ; ) ( o = a [ s ] ) && ( e [ s ] = ! ( t [ s ] = o ) ) } ) : function ( e , r , o ) { return t [ 0 ] = e , i ( t , null , o , n ) , t [ 0 ] = null , ! n . pop ( ) } } ) , has : r ( function ( e ) { return function ( n ) { return t ( e , n ) . length > 0 } } ) , contains : r ( function ( e ) { return e = e . replace ( be , we ) , function ( t ) { return ( t . textContent || t . innerText || C ( t ) ) . indexOf ( e ) > - 1 } } ) , lang : r ( function ( e ) { return de . test ( e || "" ) || t . error ( "unsupported lang: " + e ) , e = e . replace ( be , we ) . toLowerCase ( ) , function ( t ) { var n ; do if ( n = _ ? t . lang : t . getAttribute ( "xml:lang" ) || t . getAttribute ( "lang" ) ) return n = n . toLowerCase ( ) , n === e || 0 === n . indexOf ( e + "-" ) ; while ( ( t = t . parentNode ) && 1 === t . nodeType ) ; return ! 1 } } ) , target : function ( t ) { var n = e . location && e . location . hash ; return n && n . slice ( 1 ) === t . id } , root : function ( e ) { return e === q } , focus : function ( e ) { return e === H . activeElement && ( ! H . hasFocus || H . hasFocus ( ) ) && ! ! ( e . type || e . href || ~ e . tabIndex ) } , enabled : function ( e ) { return e . disabled === ! 1 } , disabled : function ( e ) { return e . disabled === ! 0 } , checked : function ( e ) { var t = e . nodeName . toLowerCase ( ) ; return "input" === t && ! ! e . checked || "option" === t && ! ! e . selected } , selected : function ( e ) { return e . parentNode && e . parentNode . selectedIndex , e . selected === ! 0 } , empty : function ( e ) { for ( e = e . firstChild ; e ; e = e . nextSibling ) if ( e . nodeType < 6 ) return ! 1 ; return ! 0 } , parent : function ( e ) { return ! T . pseudos . empty ( e ) } , header : function ( e ) { return ge . test ( e . nodeName ) } , input : function ( e ) { return he . test ( e . nodeName ) } , button : function ( e ) { var t = e . nodeName . toLowerCase ( ) ; return "input" === t && "button" === e . type || "button" === t } , text : function ( e ) { var t ; return "input" === e . nodeName . toLowerCase ( ) && "text" === e . type && ( null == ( t = e . getAttribute ( "type" ) ) || "text" === t . toLowerCase ( ) ) } , first : l ( function ( ) { return [ 0 ] } ) , last : l ( function ( e , t ) { return [ t - 1 ] } ) , eq : l ( function ( e , t , n ) { return [ n < 0 ? n + t : n ] } ) , even : l ( function ( e , t ) { for ( var n = 0 ; n < t ; n += 2 ) e . push ( n ) ; return e } ) , odd : l ( function ( e , t ) { for ( var n = 1 ; n < t ; n += 2 ) e . push ( n ) ; return e } ) , lt : l ( function ( e , t , n ) { for ( var r = n < 0 ? n + t : n ; -- r >= 0 ; ) e . push ( r ) ; return e } ) , gt : l ( function ( e , t , n ) { for ( var r = n < 0 ? n + t : n ; ++ r < t ; ) e . push ( r ) ; return e } ) } } , T . pseudos . nth = T . pseudos . eq ; for ( b in { radio : ! 0 , checkbox : ! 0 , file : ! 0 , password : ! 0 , image : ! 0 } ) T . pseudos [ b ] = s ( b ) ; for ( b in { submit : ! 0 , reset : ! 0 } ) T . pseudos [ b ] = u ( b ) ; return f . prototype = T . filters = T . pseudos , T . setFilters = new f , N = t . tokenize = function ( e , n ) { var r , i , o , a , s , u , l , c = z [ e + " " ] ; if ( c ) return n ? 0 : c . slice ( 0 ) ; for ( s = e , u = [ ] , l = T . preFilter ; s ; ) { r && ! ( i = ue . exec ( s ) ) || ( i && ( s = s . slice ( i [ 0 ] . length ) || s ) , u . push ( o = [ ] ) ) , r = ! 1 , ( i = le . exec ( s ) ) && ( r = i . shift ( ) , o . push ( { value : r , type : i [ 0 ] . replace ( se , " " ) } ) , s = s . slice ( r . length ) ) ; for ( a in T . filter ) ! ( i = pe [ a ] . exec ( s ) ) || l [ a ] && ! ( i = l [ a ] ( i ) ) || ( r = i . shift ( ) , o . push ( { value : r , type : a , matches : i } ) , s = s . slice ( r . length ) ) ; if ( ! r ) break } return n ? s . length : s ? t . error ( e ) : z ( e , u ) . slice ( 0 ) } , k = t . compile = function ( e , t ) { var n , r = [ ] , i = [ ] , o = X [ e + " " ] ; if ( ! o ) { for ( t || ( t = N ( e ) ) , n = t . length ; n -- ; ) o = v ( t [ n ] ) , o [ P ] ? r . push ( o ) : i . push ( o ) ; o = X ( e , x ( i , r ) ) , o . selector = e } return o } , S = t . select = function ( e , t , n , r ) { var i , o , a , s , u , l = "function" == typeof e && e , f = ! r && N ( e = l . selector || e ) ; if ( n = n || [ ] , 1 === f . length ) { if ( o = f [ 0 ] = f [ 0 ] . slice ( 0 ) , o . length > 2 && "ID" === ( a = o [ 0 ] ) . type && w . getById && 9 === t . nodeType && _ && T . relative [ o [ 1 ] . type ] ) { if ( t = ( T . find . ID ( a . matches [ 0 ] . replace ( be , we ) , t ) || [ ] ) [ 0 ] , ! t ) return n ; l && ( t = t . parentNode ) , e = e . slice ( o . shift ( ) . value . length ) } for ( i = pe . needsContext . test ( e ) ? 0 : o . length ; i -- && ( a = o [
n && n . replaceChild ( t , this ) ) } , e ) } } ) , pe . each ( { appendTo : "append" , prependTo : "prepend" , insertBefore : "before" , insertAfter : "after" , replaceAll : "replaceWith" } , function ( e , t ) { pe . fn [ e ] = function ( e ) { for ( var n , r = 0 , i = [ ] , o = pe ( e ) , a = o . length - 1 ; r <= a ; r ++ ) n = r === a ? this : this . clone ( ! 0 ) , pe ( o [ r ] ) [ t ] ( n ) , ae . apply ( i , n . get ( ) ) ; return this . pushStack ( i ) } } ) ; var ut , lt = { HTML : "block" , BODY : "block" } , ct = /^margin/ , ft = new RegExp ( "^(" + Fe + ")(?!px)[a-z%]+$" , "i" ) , dt = function ( e , t , n , r ) { var i , o , a = { } ; for ( o in t ) a [ o ] = e . style [ o ] , e . style [ o ] = t [ o ] ; i = n . apply ( e , r || [ ] ) ; for ( o in t ) e . style [ o ] = a [ o ] ; return i } , pt = re . documentElement ; ! function ( ) { function t ( ) { var t , c , f = re . documentElement ; f . appendChild ( u ) , l . style . cssText = "-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%" , n = i = s = ! 1 , r = a = ! 0 , e . getComputedStyle && ( c = e . getComputedStyle ( l ) , n = "1%" !== ( c || { } ) . top , s = "2px" === ( c || { } ) . marginLeft , i = "4px" === ( c || { width : "4px" } ) . width , l . style . marginRight = "50%" , r = "4px" === ( c || { marginRight : "4px" } ) . marginRight , t = l . appendChild ( re . createElement ( "div" ) ) , t . style . cssText = l . style . cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0" , t . style . marginRight = t . style . width = "0" , l . style . width = "1px" , a = ! parseFloat ( ( e . getComputedStyle ( t ) || { } ) . marginRight ) , l . removeChild ( t ) ) , l . style . display = "none" , o = 0 === l . getClientRects ( ) . length , o && ( l . style . display = "" , l . innerHTML = "<table><tr><td></td><td>t</td></tr></table>" , t = l . getElementsByTagName ( "td" ) , t [ 0 ] . style . cssText = "margin:0;border:0;padding:0;display:none" , o = 0 === t [ 0 ] . offsetHeight , o && ( t [ 0 ] . style . display = "" , t [ 1 ] . style . display = "none" , o = 0 === t [ 0 ] . offsetHeight ) ) , f . removeChild ( u ) } var n , r , i , o , a , s , u = re . createElement ( "div" ) , l = re . createElement ( "div" ) ; l . style && ( l . style . cssText = "float:left;opacity:.5" , fe . opacity = "0.5" === l . style . opacity , fe . cssFloat = ! ! l . style . cssFloat , l . style . backgroundClip = "content-box" , l . cloneNode ( ! 0 ) . style . backgroundClip = "" , fe . clearCloneStyle = "content-box" === l . style . backgroundClip , u = re . createElement ( "div" ) , u . style . cssText = "border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute" , l . innerHTML = "" , u . appendChild ( l ) , fe . boxSizing = "" === l . style . boxSizing || "" === l . style . MozBoxSizing || "" === l . style . WebkitBoxSizing , pe . extend ( fe , { reliableHiddenOffsets : function ( ) { return null == n && t ( ) , o } , boxSizingReliable : function ( ) { return null == n && t ( ) , i } , pixelMarginRight : function ( ) { return null == n && t ( ) , r } , pixelPosition : function ( ) { return null == n && t ( ) , n } , reliableMarginRight : function ( ) { return null == n && t ( ) , a } , reliableMarginLeft : function ( ) { return null == n && t ( ) , s } } ) ) } ( ) ; var ht , gt , mt = /^(top|right|bottom|left)$/ ; e . getComputedStyle ? ( ht = function ( t ) { var n = t . ownerDocument . defaultView ; return n && n . opener || ( n = e ) , n . getComputedStyle ( t ) } , gt = function ( e , t , n ) { var r , i , o , a , s = e . style ; return n = n || ht ( e ) , a = n ? n . getPropertyValue ( t ) || n [ t ] : void 0 , "" !== a && void 0 !== a || pe . contains ( e . ownerDocument , e ) || ( a = pe . style ( e , t ) ) , n && ! fe . pixelMarginRight ( ) && ft . test ( a ) && ct . test ( t ) && ( 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 + "" } ) : pt . currentStyle && ( ht = function ( e ) { return e . currentStyle } , gt = function ( e , t , n ) { var r , i , o , a , s = e . style ; return n = n || ht ( e ) , a = n ? n [ t ] : void 0 , null == a && s && s [ t ] && ( a = s [ t ] ) , ft . test ( a ) && ! mt . test ( t ) && ( r = s . left , i = e . runtimeStyle , o = i && i . left , o && ( i . left = e . currentStyle . left ) , s . left = "fontSize" === t ? "1em" : a , a = s . pixelLeft + "px" , s . left = r , o && ( i . left = o ) ) , void 0 === a ? a : a + "" || "auto" } ) ; var yt = /alpha\([^)]*\)/i , vt = /opacity\s*=\s*([^)]*)/i , xt = /^(none|table(?!-c[ea]).+)/ , bt = new RegExp ( "^(" + Fe + ")(.*)$" , "i" ) , wt = { position : "absolute" , visibility : "hidden" , display : "block" } , Tt = { letterSpacing : "0" , fontWeight : "400" } , Ct = [ "Webkit" , "O" , "Moz" , "ms" ] , Et = re . createElement ( "div" ) . style ; pe . extend ( { cssHooks : { opacity : { get : function ( e , t ) { if ( t ) { var n = gt ( e , "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 : { "float" : fe . cssFloat ? "cssFloat" : "styleFloat"
2020-04-02 14:48:29 +08:00
for ( var e = this . offsetParent ; e && ! pe . nodeName ( e , "html" ) && "static" === pe . css ( e , "position" ) ; ) e = e . offsetParent ; return e || pt } ) } } ) , pe . each ( { scrollLeft : "pageXOffset" , scrollTop : "pageYOffset" } , function ( e , t ) { var n = /Y/ . test ( t ) ; pe . fn [ e ] = function ( r ) { return Pe ( this , function ( e , r , i ) { var o = te ( e ) ; return void 0 === i ? o ? t in o ? o [ t ] : o . document . documentElement [ r ] : e [ r ] : void ( o ? o . scrollTo ( n ? pe ( o ) . scrollLeft ( ) : i , n ? i : pe ( o ) . scrollTop ( ) ) : e [ r ] = i ) } , e , r , arguments . length , null ) } } ) , pe . each ( [ "top" , "left" ] , function ( e , t ) { pe . cssHooks [ t ] = L ( fe . pixelPosition , function ( e , n ) { if ( n ) return n = gt ( e , t ) , ft . test ( n ) ? pe ( e ) . position ( ) [ t ] + "px" : n } ) } ) , pe . each ( { Height : "height" , Width : "width" } , function ( e , t ) { pe . each ( { padding : "inner" + e , content : t , "" : "outer" + e } , function ( n , r ) { pe . fn [ r ] = function ( r , i ) { var o = arguments . length && ( n || "boolean" != typeof r ) , a = n || ( r === ! 0 || i === ! 0 ? "margin" : "border" ) ; return Pe ( this , function ( t , n , r ) { var i ; return pe . isWindow ( t ) ? t . document . documentElement [ "client" + e ] : 9 === t . nodeType ? ( i = t . documentElement , Math . max ( t . body [ "scroll" + e ] , i [ "scroll" + e ] , t . body [ "offset" + e ] , i [ "offset" + e ] , i [ "client" + e ] ) ) : void 0 === r ? pe . css ( t , n , a ) : pe . style ( t , n , r , a ) } , t , o ? r : void 0 , o , null ) } } ) } ) , pe . fn . extend ( { bind : function ( e , t , n ) { return this . on ( e , null , t , n ) } , unbind : function ( e , t ) { return this . off ( e , null , t ) } , delegate : function ( e , t , n , r ) { return this . on ( t , e , n , r ) } , undelegate : function ( e , t , n ) { return 1 === arguments . length ? this . off ( e , "**" ) : this . off ( t , e || "**" , n ) } } ) , pe . fn . size = function ( ) { return this . length } , pe . fn . andSelf = pe . fn . addBack , layui . define ( function ( e ) { layui . $ = pe , e ( "jquery" , pe ) } ) , pe } ) ; ! function ( e , t ) { "use strict" ; var i , n , a = e . layui && layui . define , o = { getPath : function ( ) { var e = document . currentScript ? document . currentScript . src : function ( ) { for ( var e , t = document . scripts , i = t . length - 1 , n = i ; n > 0 ; n -- ) if ( "interactive" === t [ n ] . readyState ) { e = t [ n ] . src ; break } return e || t [ i ] . src } ( ) ; return e . substring ( 0 , e . lastIndexOf ( "/" ) + 1 ) } ( ) , config : { } , end : { } , minIndex : 0 , minLeft : [ ] , btn : [ "确定" , "取消" ] , type : [ "dialog" , "page" , "iframe" , "loading" , "tips" ] , getStyle : function ( t , i ) { var n = t . currentStyle ? t . currentStyle : e . getComputedStyle ( t , null ) ; return n [ n . getPropertyValue ? "getPropertyValue" : "getAttribute" ] ( i ) } , link : function ( t , i , n ) { if ( r . path ) { var a = document . getElementsByTagName ( "head" ) [ 0 ] , s = document . createElement ( "link" ) ; "string" == typeof i && ( n = i ) ; var l = ( n || t ) . replace ( /\.|\//g , "" ) , f = "layuicss-" + l , c = 0 ; s . rel = "stylesheet" , s . href = r . path + t , s . id = f , document . getElementById ( f ) || a . appendChild ( s ) , "function" == typeof i && ! function u ( ) { return ++ c > 80 ? e . console && console . error ( "layer.css: Invalid" ) : void ( 1989 === parseInt ( o . getStyle ( document . getElementById ( f ) , "width" ) ) ? i ( ) : setTimeout ( u , 100 ) ) } ( ) } } } , r = { v : "3.1.1" , ie : function ( ) { var t = navigator . userAgent . toLowerCase ( ) ; return ! ! ( e . ActiveXObject || "ActiveXObject" in e ) && ( ( t . match ( /msie\s(\d+)/ ) || [ ] ) [ 1 ] || "11" ) } ( ) , index : e . layer && e . layer . v ? 1e5 : 0 , path : o . getPath , config : function ( e , t ) { return e = e || { } , r . cache = o . config = i . extend ( { } , o . config , e ) , r . path = o . config . path || r . path , "string" == typeof e . extend && ( e . extend = [ e . extend ] ) , o . config . path && r . ready ( ) , e . extend ? ( a ? layui . addcss ( "modules/layer/" + e . extend ) : o . link ( "theme/" + e . extend ) , this ) : this } , ready : function ( e ) { var t = "layer" , i = "" , n = ( a ? "modules/layer/" : "theme/" ) + "default/layer.css?v=" + r . v + i ; return a ? layui . addcss ( n , e , t ) : o . link ( n , e , t ) , this } , alert : function ( e , t , n ) { var a = "function" == typeof t ; return a && ( n = t ) , r . open ( i . extend ( { content : e , yes : n } , a ? { } : t ) ) } , confirm : function ( e , t , n , a ) { var s = "function" == typeof t ; return s && ( a = n , n = t ) , r . open ( i . extend ( { content : e , btn : o . btn , yes : n , btn2 : a } , s ? { } : t ) ) } , msg : function ( e , n , a ) { var s = "function" == typeof n , f = o . config . skin , c = ( f ? f + " " + f + "-msg" : "" ) || "layui-layer-msg" , u = l . anim . length - 1 ; return s && ( a = n ) , r . open ( i . extend ( { content : e , time : 3e3 , shade : ! 1 , skin : c , title : ! 1 , closeBtn : ! 1 , btn : ! 1 , resize : ! 1 , end : a } , s && ! o . config . skin ? { skin : c + " layui-layer-hui" , anim : u } : function ( ) { return n = n || { } , ( n . icon === - 1 || n . icon === t && ! o . config . skin ) && ( n . skin = c + " " + ( n . skin || "layui-layer-hui" ) ) , n } ( ) ) ) } , load : function ( e , t ) { return r . open ( i . extend ( { type : 3 , icon : e || 0 , resize : ! 1 , shade : . 01 } , t ) ) } , tips : function ( e , t , n ) { return r . open ( i . extend ( { type : 4 , content : [ e , t ] , closeBtn : ! 1 , time : 3e3 , shade : ! 1 , resize : ! 1 , fixed : ! 1 , maxWidth : 210 } , n ) ) } } , s = funct