├── robot ├── robot.psd ├── css │ ├── robot.png │ ├── loading.gif │ ├── robot-mobile.png │ ├── robot.css │ └── robot.less ├── fonts │ ├── iconfont.eot │ ├── iconfont.ttf │ ├── iconfont.woff │ └── iconfont.svg └── robot.min.js ├── README.md ├── README.md~ └── index.html /robot/robot.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartnlp/web-robot/HEAD/robot/robot.psd -------------------------------------------------------------------------------- /robot/css/robot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartnlp/web-robot/HEAD/robot/css/robot.png -------------------------------------------------------------------------------- /robot/css/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartnlp/web-robot/HEAD/robot/css/loading.gif -------------------------------------------------------------------------------- /robot/fonts/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartnlp/web-robot/HEAD/robot/fonts/iconfont.eot -------------------------------------------------------------------------------- /robot/fonts/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartnlp/web-robot/HEAD/robot/fonts/iconfont.ttf -------------------------------------------------------------------------------- /robot/css/robot-mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartnlp/web-robot/HEAD/robot/css/robot-mobile.png -------------------------------------------------------------------------------- /robot/fonts/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartnlp/web-robot/HEAD/robot/fonts/iconfont.woff -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # web-robot 2 | 聊天机器人网页端实现(支持手机自适应)。纯前端代码,不涉及后台。 3 | 4 | 演示:[http://www.smartnlp.cn/demo.html](http://www.smartnlp.cn/demo.html) 5 | 6 | 网页端聊天机器人页面,支持多种模式显示: 7 | ```sh 8 | - 右侧小的弹出式聊天窗口 9 | - 全屏幕大聊天窗口 10 | - 手机端自适显示 11 | - 人工客服支持 12 | ``` 13 | ## 效果预览: 14 | 15 | (1) 弹出式聊天窗口 16 | 17 | ![slide_window](http://www.smartnlp.cn/little.jpg) 18 | 19 | (2) 全屏聊窗口 20 | 21 | ![big_window](http://www.smartnlp.cn/big.jpg) 22 | 23 | (3) 手机端 24 | 25 | ![phone_window](http://www.smartnlp.cn/phone.jpg) 26 | 27 | (4) 人工客服入口:http://kf.smartnlp.cn 28 | 29 | ![kf_window](http://www.smartnlp.cn/kf.jpg) 30 | ## 使用方法: 31 | ```sh 32 | (1) git clone https://github.com/smartnlp/web-robot.git 33 | (2) 部署到自己网站 34 | ``` 35 | 或者,如果你懒得连这个项目都不想checkout,那可以直接在网页端加载我的script 36 | ```sh 37 | (1) 将下面代码粘贴到您网站首页的前,添加后便完成智能机器人的接入。 38 | (2) 接入代码: 39 | ``` 40 | 41 | ## 如何定制知识库? 42 | 如果您的机器人需要定制自己专属的聊天知识库 43 | ```sh 44 | (1) 请到 http://www.smartnlp.cn 去申请一个appid 45 | (2) 在后台配置问题答案 http://cloud.smartnlp.cn 46 | (3) 在初始化robot的时候,关联appid 47 | new Robot({ 48 | mod: 'normal' //显示模式,mini侧边,normal默认模式 49 | , ismax: true //初始时是否最大化窗口,normal模式时有效 50 | , url: 'http://api.smartnlp.cn/cloud/robot/' //请求的接口地址 51 | , appid: '55d28d61d3a93df500131c24' //appid 52 | , 'minWidth': 800 53 | ... 54 | ``` 55 | -------------------------------------------------------------------------------- /README.md~: -------------------------------------------------------------------------------- 1 | # web-robot 2 | 聊天机器人网页端实现(支持手机自适应)。纯前端代码,不涉及后台。 3 | 4 | 演示:[http://www.smartnlp.cn/demo.html](http://www.smartnlp.cn/demo.html) 5 | 6 | 网页端聊天机器人页面,支持多种模式显示: 7 | ```sh 8 | - 右侧小的弹出式聊天窗口 9 | - 全屏幕大聊天窗口 10 | - 手机端自适显示 11 | - 人工客服支持 12 | ``` 13 | ## 效果预览: 14 | 15 | (1) 弹出式聊天窗口 16 | 17 | ![slide_window](http://www.smartnlp.cn/little.jpg) 18 | 19 | (2) 全屏聊窗口 20 | 21 | ![big_window](http://www.smartnlp.cn/big.jpg) 22 | 23 | (3) 手机端 24 | 25 | ![phone_window](http://www.smartnlp.cn/phone.jpg) 26 | 27 | (4) 人工客服入口:http://kf.smartnlp.cn 28 | 29 | ![kf_window](http://www.smartnlp.cn/kf.jpg) 30 | ## 使用方法: 31 | ```sh 32 | (1) git clone https://github.com/smartnlp/web-robot.git 33 | (2) 部署到自己网站 34 | ``` 35 | 或者,如果你懒得连这个项目都不想checkout,那可以直接在网页端加载我的script 36 | ```sh 37 | (1) 将下面代码粘贴到您网站首页的前,添加后便完成智能机器人的接入。 38 | (2) 接入代码: 39 | ``` 40 | 41 | ## 如何定制知识库? 42 | 如果您的机器人需要定制自己专属的聊天知识库 43 | ```sh 44 | (1) 请到 http://www.smartnlp.cn 去申请一个appid 45 | (2) 在后台配置问题答案 http://cloud.smartnlp.cn 46 | (3) 在初始化robot的时候,关联appid 47 | new Robot({ 48 | mod: 'normal' //显示模式,mini侧边,normal默认模式 49 | , ismax: true //初始时是否最大化窗口,normal模式时有效 50 | , url: 'http://api.smartnlp.cn/cloud/robot/' //请求的接口地址 51 | , appid: '55d28d61d3a93df500131c24' //appid 52 | , 'minWidth': 800 53 | ... 54 | ``` 55 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 机器人对话框 13 | 16 | 17 | 18 |

离骚

19 |
20 | 帝高阳之苗裔兮,朕皇考曰伯庸。
摄提贞于孟陬兮,惟庚寅吾以降。
皇览揆余初度兮,肇锡余以嘉名:
名余曰正则兮,字余曰灵均。
纷吾既有此内美兮,又重之以修能。
扈江离与辟芷兮,纫秋兰以为佩。
汨余若将不及兮,恐年岁之不吾与。
朝搴阰之木兰兮,夕揽洲之宿莽。
日月忽其不淹兮,春与秋其代序。
惟草木之零落兮,恐美人之迟暮。(惟 通:唯)
不抚壮而弃秽兮,何不改乎此度?
乘骐骥以驰骋兮,来吾道夫先路!
昔三后之纯粹兮,固众芳之所在。
杂申椒与菌桂兮,岂惟纫夫蕙茝!
彼尧、舜之耿介兮,既遵道而得路。
何桀纣之猖披兮,夫惟捷径以窘步。
惟夫党人之偷乐兮,路幽昧以险隘。
岂余身之殚殃兮,恐皇舆之败绩!
忽奔走以先后兮,及前王之踵武。
荃不查余之中情兮,反信谗而齌怒。
余固知謇謇之为患兮,忍而不能舍也。
指九天以为正兮,夫惟灵修之故也。
曰黄昏以为期兮,羌中道而改路!
初既与余成言兮,后悔遁而有他。
余既不难夫离别兮,伤灵修之数化。
余既滋兰之九畹兮,又树蕙之百亩。
畦留夷与揭车兮,杂杜衡与芳芷。
冀枝叶之峻茂兮,愿俟时乎吾将刈。
虽萎绝其亦何伤兮,哀众芳之芜秽。
众皆竞进以贪婪兮,凭不厌乎求索。
羌内恕己以量人兮,各兴心而嫉妒。
忽驰骛以追逐兮,非余心之所急。
老冉冉其将至兮,恐修名之不立。
朝饮木兰之坠露兮,夕餐秋菊之落英。
苟余情其信姱以练要兮,长顑颔亦何伤。
掔木根以结茞兮,贯薜荔之落蕊。
矫菌桂以纫蕙兮,索胡绳之纚纚。
謇吾法夫前修兮,非世俗之所服。
虽不周于今之人兮,愿依彭咸之遗则。
长太息以掩涕兮,哀民生之多艰。
余虽好修姱以鞿羁兮,謇朝谇而夕替。
既替余以蕙纕兮,又申之以揽茝。
亦余心之所善兮,虽九死其犹未悔。
怨灵修之浩荡兮,终不察夫民心。
众女嫉余之蛾眉兮,谣诼谓余以善淫。
固时俗之工巧兮,偭规矩而改错。
背绳墨以追曲兮,竞周容以为度。
忳郁邑余侘傺兮,吾独穷困乎此时也。
宁溘死以流亡兮,余不忍为此态也。
鸷鸟之不群兮,自前世而固然。
何方圜之能周兮,夫孰异道而相安?
屈心而抑志兮,忍尤而攘诟。
伏清白以死直兮,固前圣之所厚。
悔相道之不察兮,延伫乎吾将反。
回朕车以复路兮,及行迷之未远。
步余马于兰皋兮,驰椒丘且焉止息。
进不入以离尤兮,退将复修吾初服。
制芰荷以为衣兮,集芙蓉以为裳。
不吾知其亦已兮,苟余情其信芳。
高余冠之岌岌兮,长余佩之陆离。
芳与泽其杂糅兮,唯昭质其犹未亏。
忽反顾以游目兮,将往观乎四荒。
佩缤纷其繁饰兮,芳菲菲其弥章。
民生各有所乐兮,余独好修以为常。
虽体解吾犹未变兮,岂余心之可惩。
女嬃之婵媛兮,申申其詈予,曰:
「鲧婞直以亡身兮,终然夭乎羽之野。
汝何博謇而好修兮,纷独有此姱节?
薋菉葹以盈室兮,判独离而不服。」
众不可户说兮,孰云察余之中情?
世并举而好朋兮,夫何茕独而不予听?
依前圣以节中兮,喟凭心而历兹。
济沅、湘以南征兮,就重华而敶词:
启《九辩》与《九歌》兮,夏康娱以自纵。
不顾难以图后兮,五子用失乎家衖。
羿淫游以佚畋兮,又好射夫封狐。
固乱流其鲜终兮,浞又贪夫厥家。
浇身被服强圉兮,纵欲而不忍。
日康娱而自忘兮,厥首用夫颠陨。
夏桀之常违兮,乃遂焉而逢殃。
后辛之菹醢兮,殷宗用而不长。
汤、禹俨而祗敬兮,周论道而莫差。
举贤才而授能兮,循绳墨而不颇。
皇天无私阿兮,览民德焉错辅。
夫维圣哲以茂行兮,苟得用此下土。
瞻前而顾后兮,相观民之计极。
夫孰非义而可用兮?孰非善而可服?
阽余身而危死兮,览余初其犹未悔。
不量凿而正枘兮,固前修以菹醢。
曾歔欷余郁邑兮,哀朕时之不当。
揽茹蕙以掩涕兮,沾余襟之浪浪。
跪敷衽以陈辞兮,耿吾既得此中正。
驷玉虬以桀鹥兮,溘埃风余上征。
朝发轫于苍梧兮,夕余至乎县圃。
欲少留此灵琐兮,日忽忽其将暮。
吾令羲和弭节兮,望崦嵫而勿迫。
路漫漫其修远兮,吾将上下而求索。
饮余马于咸池兮,总余辔乎扶桑。
折若木以拂日兮,聊逍遥以相羊。
前望舒使先驱兮,后飞廉使奔属。
鸾皇为余先戒兮,雷师告余以未具。
吾令凤鸟飞腾兮,继之以日夜。
飘风屯其相离兮,帅云霓而来御。
纷总总其离合兮,斑陆离其上下。
吾令帝阍开关兮,倚阊阖而望予。
时暧暧其将罢兮,结幽兰而延伫。
世溷浊而不分兮,好蔽美而嫉妒。
朝吾将济于白水兮,登阆风而绁马。
忽反顾以流涕兮,哀高丘之无女。
溘吾游此春宫兮,折琼枝以继佩。
及荣华之未落兮,相下女之可诒。
吾令丰隆乘云兮,求宓妃之所在。
解佩纕以结言兮,吾令謇修以为理。
纷总总其离合兮,忽纬繣其难迁。
夕归次于穷石兮,朝濯发乎洧盘。
保厥美以骄傲兮,日康娱以淫游。
虽信美而无礼兮,来违弃而改求。
览相观于四极兮,周流乎天余乃下。
望瑶台之偃蹇兮,见有娀之佚女。
吾令鸩为媒兮,鸩告余以不好。
雄鸠之鸣逝兮,余犹恶其佻巧。
心犹豫而狐疑兮,欲自适而不可。
凤皇既受诒兮,恐高辛之先我。
欲远集而无所止兮,聊浮游以逍遥。
及少康之未家兮,留有虞之二姚。
理弱而媒拙兮,恐导言之不固。
世溷浊而嫉贤兮,好蔽美而称恶。
闺中既以邃远兮,哲王又不寤。
怀朕情而不发兮,余焉能忍而与此终古?
索琼茅以筳篿兮,命灵氛为余占之。
曰:「两美其必合兮,孰信修而慕之?
思九州之博大兮,岂惟是其有女?」
曰:「勉远逝而无狐疑兮,孰求美而释女?
何所独无芳草兮,尔何怀乎故宇?」
世幽昧以昡曜兮,孰云察余之善恶?
民好恶其不同兮,惟此党人其独异!
户服艾以盈要兮,谓幽兰其不可佩。
览察草木其犹未得兮,岂珵美之能当?
苏粪壤以充祎兮,谓申椒其不芳。
欲从灵氛之吉占兮,心犹豫而狐疑。
巫咸将夕降兮,怀椒糈而要之。
百神翳其备降兮,九疑缤其并迎。
皇剡剡其扬灵兮,告余以吉故。
曰:「勉升降以上下兮,求矩矱之所同。
汤、禹俨而求合兮,挚、咎繇而能调。
苟中情其好修兮,又何必用夫行媒?
说操筑于傅岩兮,武丁用而不疑。
吕望之鼓刀兮,遭周文而得举。
宁戚之讴歌兮,齐桓闻以该辅。
及年岁之未晏兮,时亦犹其未央。
恐鹈鴃之先鸣兮,使夫百草为之不芳。」
何琼佩之偃蹇兮,众薆然而蔽之。
惟此党人之不谅兮,恐嫉妒而折之。
时缤纷其变易兮,又何可以淹留?
兰芷变而不芳兮,荃蕙化而为茅。
何昔日之芳草兮,今直为此萧艾也?
岂其有他故兮,莫好修之害也!
余以兰为可恃兮,羌无实而容长。
委厥美以从俗兮,苟得列乎众芳。
椒专佞以慢慆兮,樧又欲充夫佩帏。
既干进而务入兮,又何芳之能祗?
固时俗之流从兮,又孰能无变化?
览椒兰其若兹兮,又况揭车与江离?
惟兹佩之可贵兮,委厥美而历兹。
芳菲菲而难亏兮,芬至今犹未沬。
和调度以自娱兮,聊浮游而求女。
及余饰之方壮兮,周流观乎上下。
灵氛既告余以吉占兮,历吉日乎吾将行。
折琼枝以为羞兮,精琼爢以为粻。
为余驾飞龙兮,杂瑶象以为车。
何离心之可同兮?吾将远逝以自疏。
邅吾道夫昆仑兮,路修远以周流。
扬云霓之晻蔼兮,鸣玉鸾之啾啾。
朝发轫于天津兮,夕余至乎西极。
凤皇翼其承旗兮,高翱翔之翼翼。
忽吾行此流沙兮,遵赤水而容与。
麾蛟龙使梁津兮,诏西皇使涉予。
路修远以多艰兮,腾众车使径待。
路不周以左转兮,指西海以为期。
屯余车其千乘兮,齐玉轪而并驰。
驾八龙之婉婉兮,载云旗之委蛇。
抑志而弭节兮,神高驰之邈邈。
奏《九歌》而舞《韶》兮,聊假日以偷乐。
陟升皇之赫戏兮,忽临睨夫旧乡。
仆夫悲余马怀兮,蜷局顾而不行。
乱曰:已矣哉!
国无人莫我知兮,又何怀乎故都!
既莫足与为美政兮,吾将从彭咸之所居! 21 |
22 | 23 | 24 | -------------------------------------------------------------------------------- /robot/fonts/iconfont.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Created by FontForge 20120731 at Sat Sep 12 13:44:35 2015 6 | By Ads 7 | 8 | 9 | 10 | 24 | 26 | 28 | 30 | 32 | 36 | 43 | 49 | 51 | 54 | 59 | 67 | 69 | 73 | 75 | 77 | 79 | 81 | 84 | 86 | 90 | 98 | 102 | 103 | 104 | -------------------------------------------------------------------------------- /robot/css/robot.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8";.smartnlp-robot-img-views{position:fixed;background-color:rgba(0,0,0,0.6);left:0;top:0;width:100%;height:100%;z-index:99999999}.smartnlp-robot-img-views-inner{display:table-cell;width:1000px;height:800px;text-align:center;vertical-align:middle}.smartnlp-robot-img-views-inner img{vertical-align:middle}.smartnlp-robot{position:relative;top:150px;font-size:14px;width:940px;margin:0;box-shadow:0 2px 2px #777;border-color:#ccc;border-style:solid;border-width:0;border-width:1px \9;border-radius:5px;background-color:#f6f6f6;color:#333;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;-ms-box-sizing:content-box;box-sizing:content-box}.smartnlp-robot a,.smartnlp-robot a:hover,.smartnlp-robot a:visited{color:#585858}.smartnlp-robot *{margin:0;padding:0;-webkit-overflow-scrolling:touch;font-weight:400;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;-ms-box-sizing:content-box;box-sizing:content-box}.smartnlp-robot table{border-collapse:collapse;border-spacing:0}.smartnlp-robot th{text-align:inherit}.smartnlp-robot caption,.smartnlp-robot th{text-align:left}.smartnlp-robot img{border:0}.smartnlp-robot img{-ms-interpolation-mode:bicubic}.smartnlp-robot iframe{display:block}.smartnlp-robot ul,.smartnlp-robot ol,.smartnlp-robot li{list-style:none}.smartnlp-robot hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}.smartnlp-robot button,.smartnlp-robot input,.smartnlp-robot select,.smartnlp-robot textarea{font-family:inherit;font-size:14px;vertical-align:middle;font-weight:400}.smartnlp-robot button:focus,.smartnlp-robot input:focus,.smartnlp-robot select:focus,.smartnlp-robot textarea:focus{outline:0}.smartnlp-robot textarea{overflow:auto;vertical-align:top}.smartnlp-robot button,.smartnlp-robot input{line-height:normal}.smartnlp-robot button,.smartnlp-robot input[type=button],.smartnlp-robot input[type=reset],.smartnlp-robot input[type=submit]{cursor:pointer}.smartnlp-robot button[disabled],.smartnlp-robot input[disabled]{cursor:default}.smartnlp-robot input[type=checkbox],.smartnlp-robot input[type=radio]{box-sizing:border-box;padding:0;*background-color:transparent}.smartnlp-robot article,.smartnlp-robot aside,.smartnlp-robot details,.smartnlp-robot figcaption,.smartnlp-robot figure,.smartnlp-robot footer,.smartnlp-robot header,.smartnlp-robot hgroup,.smartnlp-robot main,.smartnlp-robot nav,.smartnlp-robot section,.smartnlp-robot summary{display:block}.smartnlp-robot audio,.smartnlp-robot canvas,.smartnlp-robot video{display:inline-block;*display:inline;*zoom:1}.smartnlp-robot audio:not([controls]){display:none;height:0}.smartnlp-robot .chat-block a{cursor:pointer}.smartnlp-robot a{background:transparent}.smartnlp-robot a:active,.smartnlp-robot a:hover{outline:0}.smartnlp-robot a:link,.smartnlp-robot a:visited,.smartnlp-robot ins{text-decoration:none}.smartnlp-robot a{color:#005ea7;text-decoration:none}.smartnlp-robot a:hover{text-decoration:none}.smartnlp-robot h1,.smartnlp-robot h2,.smartnlp-robot h3,.smartnlp-robot h4,.smartnlp-robot h5,.smartnlp-robot h6{color:#333}.smartnlp-robot .smartnlp-robot-icon{background-image:url(robot.png);background-size:120px auto;content:'';display:inline-block;width:16px;height:16px;line-height:0;overflow:hidden;vertical-align:middle;*display:inline;*zoom:1}.smartnlp-robot .smartnlp-robot-header{position:relative;height:46px;background-color:#2d8ef2;border-radius:3px 3px 0 0;margin:0 -1px;*z-index:1;white-space:nowrap;text-overflew:ellipsis;cursor:default}.smartnlp-robot .smartnlp-robot-header .smartnlp-robot-logo{float:left;font-family:'microsoft yahei';color:#fff;line-height:46px;padding:0 10px;font-size:1.2em}.smartnlp-robot .smartnlp-robot-header .smartnlp-robot-logo img{height:32px;border:0;vertical-align:middle;margin-right:8px}.smartnlp-robot .smartnlp-robot-header .smartnlp-robot-header-nav{float:right}.smartnlp-robot .smartnlp-robot-header a,.smartnlp-robot .smartnlp-robot-header a:visited{display:inline-block;color:#fff;padding:12px 8px;line-height:20px}.smartnlp-robot .smartnlp-robot-header a:hover{color:#fff;color:#eee\9;background-color:rgba(0,0,0,0.1);box-shadow:0 0 5px rgba(0,0,0,0.1) inset}.smartnlp-robot .smartnlp-robot-header em{height:16px;width:16px;line-height:16px;text-shadow:1px 1px 1px rgba(0,0,0,0.1)}.smartnlp-robot .smartnlp-robot-content{position:relative}.smartnlp-robot .smartnlp-robot-content:after{clear:both;content:'';display:block;height:0;overflow:hidden}.smartnlp-robot .smartnlp-robot-fl-area{padding-right:300px;height:530px}.smartnlp-robot .smartnlp-robot-chat{overflow:visible}.smartnlp-robot .smartnlp-robot-nano{height:440px;position:relative;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}.smartnlp-robot .smartnlp-robot-pane{position:absolute;top:0;right:0}.smartnlp-robot .smartnlp-robot-chat-headimg{width:50px;height:50px;position:absolute;border-radius:50%;overflow:hidden;top:0}.smartnlp-robot .smartnlp-robot-edit{position:relative;border-top:1px #dcdee4 solid;background-color:#fff;overflow:hidden;border-radius:0 0 0 5px}.smartnlp-robot .smartnlp-robot-textarea{width:97%;border:0;height:58px;padding:0 6px;line-height:150%;background-color:transparent;resize:none;-webkit-appearance:none}.smartnlp-robot .smartnlp-robot-sub{height:30px;z-index:9}.smartnlp-robot .smartnlp-robot-file{opacity:0;visibility:collapse;overflow:hidden;position:absolute;left:-100px;top:-100px;width:0;height:0}.smartnlp-robot .smartnlp-robot-photo{float:left;padding:3px 5px}.smartnlp-robot .smartnlp-robot-btn-pic{visibility:collapse;display:inline-block;height:16px;width:16px;background:url(robot.png) no-repeat -100px -60px;cursor:pointer}.smartnlp-robot .smartnlp-robot-btn-pic:hover{background-color:#eee}.smartnlp-robot .smartnlp-robot-kefu .smartnlp-robot-btn-pic{visibility:visible}.smartnlp-robot a.smartnlp-robot-btn-send,.smartnlp-robot a.smartnlp-robot-btn-send:visited{display:block;float:right;padding:6px 20px;border-radius:4px;cursor:pointer;line-height:100%;transition:all .4s;color:#fff;margin:0 10px;background-color:#1bbc9b;text-shadow:1px 1px 0 rgba(0,0,0,0.1)}.smartnlp-robot a.smartnlp-robot-btn-send:hover,.smartnlp-robot a.smartnlp-robot-btn-send:visited:hover{color:#fff;background-color:#2bb77d}.smartnlp-robot .smartnlp-robot-fr-content{height:333px;overflow:hidden}.smartnlp-robot .smartnlp-robot-fr-area{background-color:#fff;position:absolute;top:0;right:0;width:300px;height:530px;border-left:1px #dcdee4 solid;z-index:1;margin-left:-24px;border-radius:0 0 5px 0;overflow:hidden}.smartnlp-robot .smartnlp-robot-fr-nav{height:40px;padding:10px 10px 0 10px;border-bottom:1px #dcdee4 solid}.smartnlp-robot .smartnlp-robot-fr-nav a{display:block;line-height:40px;padding:0 30px;float:left;color:#777}.smartnlp-robot .smartnlp-robot-fr-nav a.smartnlp-robot-on{border-right:1px #dcdee4 solid;border-left:1px #dcdee4 solid;margin-left:-3px;background-color:#fff;border-top:4px #f90 solid;height:37px;line-height:36px}.smartnlp-robot .smartnlp-robot-slide{display:none}.smartnlp-robot .smartnlp-robot-fr-footer{padding:5px 10px;width:260px;height:140px;text-align:center;position:relative}.smartnlp-robot .smartnlp-robot-fr-footer li{width:120px;float:left;height:140px;font-size:12px}.smartnlp-robot .smartnlp-robot-fr-footer li.smartnlp-robot-code{float:right;margin-left:-100px}.smartnlp-robot .smartnlp-robot-fr-footer i{display:block;height:80px;width:80px;margin:20px 20px 0 20px;background-size:100% 100%;background-repeat:no-repeat}.smartnlp-robot .smartnlp-robot-fr-footer .smartnlp-robot-big-code{padding:20px;background-color:#fff;border:1px #ddd solid;position:absolute;width:80px;height:80px;bottom:24px;right:10px;display:none}.smartnlp-robot .smartnlp-robot-fr-footer .smartnlp-robot-big-code img{width:100%;height:100%}.smartnlp-robot .smartnlp-robot-fr-footer span{line-height:28px}.smartnlp-robot .smartnlp-robot-chat-ask,.smartnlp-robot .smartnlp-robot-chat-replay{position:relative;*zoom:1;clear:both;margin:5px 18px;min-height:50px}.smartnlp-robot .smartnlp-robot-chat-ask:after,.smartnlp-robot .smartnlp-robot-chat-replay:after{clear:both;display:block;content:''}.smartnlp-robot .bg-msg-lr{background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIsAAAA6CAYAAACAj6ovAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAytpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgRmlyZXdvcmtzIENTNSAxMS4wLjAuNDg0IFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDQyRDIzM0M1QTgyMTFFNUI1NUJERDA1QUZDMDI2MEQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDQyRDIzM0Q1QTgyMTFFNUI1NUJERDA1QUZDMDI2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1HeqB6JhG3GxA0uy0WGzlKKvValURESc5JSFY19+rxu5ArtlySmxAn8vnhOA1OxEoDabA9Rj6ojMqu15fT0BHmXBzkASJMwm7pz+CRRYahXS4hGBNFrjQQNljwsdJWO4r0R6n+TWfBR34ZzQ4iRFFArKEQrwJ7qe+skbc2IJOZFSR8C0KrGWJbFCXH+4TaG1iq8JIH4BWPNydbNfISHe12zvsuUeExCzmVBmnAGvdunURWvdpvrbi4U6Wq4Wp8gW3ee61iHXAEBEty5nSDHm4QlpLMjh6InaK0UTid8oFqQA1U0YBjJZh6VJaHMAM95L4E4wqAlRhTRZMae1KDj5ZMZ6TmoSwciLHKxWwdbjv4mXdUGgSZuPUR6B2Ya50RFmUBzA9Az5G3W8zikhLFnugJkiJdvq707csx9ZlSZ5/Q7l07kLU8VIBR4+F9jB6SE8WXd/aIrkh2rnXT+tyASu6qLyQq3+tmBNegOwrSTI1wpu2+RWF3EccB3mo8xajx0NBiwQ66h2OnkcDsfhMXHnQMEB3dAk3pQD6Y1NGcS826N1vzua8RGs0RkOTrEvTOb4kHXjctzk7el7HHhSynLLZ7C94LlCTC1absOTv1CAxDC1iXzktA7Z9O58byh89UN+2nLKebBbMyk6W4zar/YhT65R1BSN1QeKKg+NDyZJws0MUhlCJWSi1xMBzm9FgkfVCjQZhpcEbIhEYpEn8Ap86YwXutlq7D5g7u2QpFekl/WhnF6vjyBhn2WM0WsBitkp6gaSP9AJLZSUfiQgaWfCu/xs3kwwG8wFaoEb/F+QP6PyOdhOQPvw6WdTPIB06ghHgehKGZpStxWzkr26bo5retU+vUKeXFFLw6225EY23OZ1OIT2mrIeCWYxRoumfxaIiG+qPNHuRMB9au7rLUOjd90Uo9N46bwuNaDX+HZTfwP0ficfZc5koIEtfloSbo6IwhB58nfyUxuauMgQlG2JgZGFgYGRh8DHV/leAAQB3L/BY3aUHdAAAAABJRU5ErkJggg==')}.smartnlp-robot .bg-msg-tb{background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA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UE5MTgwQjkyM0YwMkQ4MCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmL6auQAAABJSURBVHjaYnz08MV/BiyAJWwbVnEGJgYcYNhLsDBiEwQqZ8QViIz//w/vQGR5/OjlDVw+f4RVBxBz4NLxfzgEyZMnr7BKAAQYALsfGsocHQyLAAAAAElFTkSuQmCC')}.smartnlp-robot .smartnlp-robot-msg{table-layout:fixed}.smartnlp-robot .smartnlp-robot-msg .smartnlp-robot-msg-mm{overflow:hidden}.smartnlp-robot .smartnlp-robot-msg-img{max-width:260px}.smartnlp-robot .smartnlp-robot-chat-t{text-align:center;line-height:100%;padding:8px 0}.smartnlp-robot .smartnlp-robot-chat-t span{font-size:12px;display:inline-block;padding:5px 10px;background-color:#ccc;color:#fff;border-radius:3px}.smartnlp-robot .smartnlp-robot-wait span{background-image:url(loading.gif);background-repeat:no-repeat;background-position:5px center;padding-left:22px}.smartnlp-robot .smartnlp-robot-chat-replay .smartnlp-robot-msg{max-width:900px;margin-left:59px;margin-right:40px;margin-top:2px;min-height:30px}.smartnlp-robot .smartnlp-robot-chat-replay .smartnlp-robot-chat-headimg{left:0;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNWWFMmUAAAPgSURBVGhD7ZpLTBNBGMcHAcUHCqgX4uvkQT0YjB68oFGRzlY4qDGK3pVAogejXsR4hsRE0WhM8KSmiULUNFE6M8UHMaZ6MBBld2sDGg0Gg/GBfeCu/y2UNFhwGxe627TJlzZNu53f/r/XfFOi6zrJBssKCEOIHIjd3DG7FSHjjyZdn1Pz6E25yyfvkkTwDGVyM2Vqy8yb3EK5cp4K9WD1Y3nd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l1V1y1X5Pz1zTIHb7V4OZ9WT3Px/M3AG7fSaniN0U+QMwFexQQcRQygAAAABJRU5ErkJggg==');border-radius:50%}.smartnlp-robot .smartnlp-robot-chat-replay .smartnlp-robot-chat-headimg img{height:50px;width:50px}.smartnlp-robot .smartnlp-robot-chat-replay .smartnlp-robot-msg-lt{background-position:0 0;background-repeat:no-repeat;width:26px;height:10px}.smartnlp-robot .smartnlp-robot-chat-replay .smartnlp-robot-msg-mm{background-color:#fff}.smartnlp-robot .smartnlp-robot-chat-replay .smartnlp-robot-msg-tt{background-position:0 -23px;background-repeat:repeat-x;height:10px}.smartnlp-robot .smartnlp-robot-chat-replay .smartnlp-robot-msg-rt{background-position:-35px 0;background-repeat:no-repeat;width:10px;height:10px}.smartnlp-robot .smartnlp-robot-chat-replay .smartnlp-robot-msg-lm{background-position:-94px 0;background-repeat:repeat-y;width:26px;min-width:26px;vertical-align:top;position:relative;*zoom:1}.smartnlp-robot .smartnlp-robot-chat-replay .smartnlp-robot-msg-lm span{background-position:0 -14px;background-repeat:no-repeat;display:inline-block;width:26px;height:16px;position:absolute}.smartnlp-robot .smartnlp-robot-chat-replay .smartnlp-robot-msg-rm{background-position:-113px 0;background-repeat:repeat-y;width:10px;min-width:10px}.smartnlp-robot .smartnlp-robot-chat-replay .smartnlp-robot-msg-lb{background-position:0 -43px;background-repeat:no-repeat;width:10px;height:10px}.smartnlp-robot .smartnlp-robot-chat-replay .smartnlp-robot-msg-bm{background-position:0 -25px;background-repeat:repeat-x;height:10px}.smartnlp-robot .smartnlp-robot-chat-replay .smartnlp-robot-msg-rb{background-position:-35px -43px;background-repeat:no-repeat;width:10px;height:10px}.smartnlp-robot .smartnlp-robot-chat-name{padding-left:59px;margin-bottom:5px;color:#999}.smartnlp-robot .smartnlp-robot-chat-ask .smartnlp-robot-msg{float:right;margin-right:73px;_margin-right:38px;margin-top:2px}.smartnlp-robot .smartnlp-robot-chat-ask div,.smartnlp-robot .smartnlp-robot-chat-ask dl,.smartnlp-robot .smartnlp-robot-chat-ask dt,.smartnlp-robot .smartnlp-robot-chat-ask dd,.smartnlp-robot .smartnlp-robot-chat-ask ul,.smartnlp-robot .smartnlp-robot-chat-ask ol,.smartnlp-robot .smartnlp-robot-chat-ask li,.smartnlp-robot .smartnlp-robot-chat-ask h1,.smartnlp-robot .smartnlp-robot-chat-ask h2,.smartnlp-robot .smartnlp-robot-chat-ask h3,.smartnlp-robot .smartnlp-robot-chat-ask h4,.smartnlp-robot .smartnlp-robot-chat-ask h5,.smartnlp-robot .smartnlp-robot-chat-ask h6,.smartnlp-robot .smartnlp-robot-chat-ask pre,.smartnlp-robot .smartnlp-robot-chat-ask code,.smartnlp-robot .smartnlp-robot-chat-ask form,.smartnlp-robot .smartnlp-robot-chat-ask fieldset,.smartnlp-robot .smartnlp-robot-chat-ask legend,.smartnlp-robot .smartnlp-robot-chat-ask input,.smartnlp-robot .smartnlp-robot-chat-ask textarea,.smartnlp-robot .smartnlp-robot-chat-ask p,.smartnlp-robot .smartnlp-robot-chat-ask blockquote,.smartnlp-robot .smartnlp-robot-chat-ask th,.smartnlp-robot .smartnlp-robot-chat-ask td,.smartnlp-robot .smartnlp-robot-chat-ask hr,.smartnlp-robot .smartnlp-robot-chat-ask button,.smartnlp-robot .smartnlp-robot-chat-ask article,.smartnlp-robot .smartnlp-robot-chat-ask aside,.smartnlp-robot .smartnlp-robot-chat-ask details,.smartnlp-robot .smartnlp-robot-chat-ask figcaption,.smartnlp-robot .smartnlp-robot-chat-ask figure,.smartnlp-robot .smartnlp-robot-chat-ask footer,.smartnlp-robot .smartnlp-robot-chat-ask header,.smartnlp-robot .smartnlp-robot-chat-ask hgroup,.smartnlp-robot .smartnlp-robot-chat-ask menu,.smartnlp-robot .smartnlp-robot-chat-ask nav,.smartnlp-robot .smartnlp-robot-chat-ask section{font-size:14px}.smartnlp-robot .smartnlp-robot-chat-ask .smartnlp-robot-chat-name{padding-right:59px;padding-left:0;text-align:right}.smartnlp-robot .smartnlp-robot-ch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A/wU2ccqnAUFwo3l3IVpS2hBNUk+ihQ4eCdHWSi0Hv378/OdlifgiHmLR9pBNQu98NDob8kFRMWwO0SEyt1jmg10dv5DYZB4+77N031vdp+iBIiClmgCAcxwaYlwBJ3sQBqIKkPJ8ieJ4CHT8M/IbfOnyFXkavpDTZbab35cqTfCEg5taXNqbZ4DO7H/UuU5FbhTeVgZAO+xLvojUnRGcdH8Rz84MNfxh94Xepij3CT84irCk9ThfLfALoELhp8IHBnw0+ig/xc36c3KsisrJW5WRIhWs6VsBsu/Jzwh/ZKKWLECmVT7Jkjan2Oz1fuSiyO+s2+Dm/OUGYffO+XVvShQilIz719jWAOIKfs65/8JuT3fcXqvhrnnTJKLGRUirueRrHEb+PAaK2G2yO68mNBnXxbyBR/PsFFe2+uE5AgsqPZwOlHF1kuWaP2/8FGABZqRtwVxWj3wAAAABJRU5ErkJggg==')}.smartnlp-robot .smartnlp-robot-chat-ask .smartnlp-robot-msg-lt{background-repeat:no-repeat;background-position:-47px 0;width:10px;height:10px}.smartnlp-robot .smartnlp-robot-chat-ask .smartnlp-robot-msg-tt{background-repeat:repeat-x;background-position:0 0;height:10px}.smartnlp-robot .smartnlp-robot-chat-ask .smartnlp-robot-msg-rt{background-repeat:no-repeat;background-position:-63px 0;width:26px;height:10px}.smartnlp-robot .smartnlp-robot-chat-ask .smartnlp-robot-msg-lm{background-repeat:repeat-y;background-position:-126px 0;width:10px}.smartnlp-robot .smartnlp-robot-chat-ask .smartnlp-robot-msg-mm{padding:1px 8px;background-color:#3897e7;line-height:120%;word-break:break-all;word-wrap:break-word;color:#fff}.smartnlp-robot .smartnlp-robot-chat-ask .smartnlp-robot-msg-rm{background-repeat:repeat-y;background-position:-129px 0;width:26px;vertical-align:top;position:relative;*zoom:1}.smartnlp-robot .smartnlp-robot-chat-ask .smartnlp-robot-msg-rm span{background-repeat:no-repeat;background-position:-63px -14px;display:inline-block;width:26px;height:16px;position:absolute;right:0}.smartnlp-robot .smartnlp-robot-chat-ask .smartnlp-robot-msg-lb{background-repeat:no-repeat;background-position:-47px -36px;width:10px;height:10px}.smartnlp-robot .smartnlp-robot-chat-ask .smartnlp-robot-msg-bm{background-repeat:repeat-x;background-position:-106px -4px;height:10px}.smartnlp-robot .smartnlp-robot-chat-ask .smartnlp-robot-msg-rb{background-repeat:no-repeat;background-position:-63px -36px;width:26px;height:10px}.smartnlp-robot .smartnlp-robot-copy{padding:0 8px;height:26px;line-height:26px}.smartnlp-robot a.smartnlp-robot-clink{line-height:24px;padding-left:6px;font-size:12px;color:#999;float:left}.smartnlp-robot a.smartnlp-robot-art{color:#59c88b;float:right}.smartnlp-robot .smartnlp-robot-fr-panel{width:600px}.smartnlp-robot .smartnlp-robot-fr-panel ul,.smartnlp-robot .smartnlp-robot-fr-panel ol{float:left}.smartnlp-robot .smartnlp-robot-fr-panel ul{width:300px}.smartnlp-robot .smartnlp-robot-fr-panel ul li{padding:0 25px 0 10px;height:36px;line-height:36px;border-bottom:1px #eee solid;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative}.smartnlp-robot .smartnlp-robot-fr-panel ul li:after{display:block;content:'>';color:#ddd;position:absolute;right:10px;top:0;font-family:'Georgia'}.smartnlp-robot .smartnlp-robot-fr-panel ol{width:280px;padding:10px 0 10px 15px;margin-right:-20px}.smartnlp-robot .smartnlp-robot-fr-panel ol li{display:inline-block;width:60px;height:80px;margin:10px 15px;text-align:center;*display:inline;*zoom:1}.smartnlp-robot .smartnlp-robot-fr-panel ol i{display:inline-block;height:60px;width:60px;border-radius:100%}.smartnlp-robot .smartnlp-robot-icon-min>em{background-position:-20px 0}.smartnlp-robot .smartnlp-robot-icon-clo>em{background-position:-20px 0}.smartnlp-robot .smartnlp-robot-icon-nor>em{background-position:-40px 0}.smartnlp-robot .smartnlp-robot-htmcont{line-height:150%;overflow:hidden;z-index:9;position:relative}.smartnlp-robot .smartnlp-robot-sug-item{color:#6cf;cursor:pointer;text-decoration:underline}.smartnlp-robot.smartnlp-robot-mini{top:0;left:inherit;right:-280px;height:100%;width:280px;border-left:3px #3598dc solid;border-radius:0;box-shadow:0 0 3px rgba(0,0,0,0.15);position:fixed}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-icon-clo>em{background-position:-60px 0}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-icon-max>em{background-position:-100px 0}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-chat-headimg{display:none}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-htmcont{max-width:200px}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-header{border-radius:0;height:36px}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-header .smartnlp-robot-logo{font-size:14px;line-height:36px}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-header .smartnlp-robot-logo img{height:30px}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-header a{display:inline-block;color:#fff;padding:7px 9px}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-header a:hover{color:#fff;background-color:rgba(0,0,0,0.1);box-shadow:0 0 5px rgba(0,0,0,0.1) inset}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-header span{display:none}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-header em{height:16px;width:16px;line-height:16px;font-size:14px;text-shadow:1px 1px 1px rgba(0,0,0,0.1)}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-fl-area{padding-right:0;float:none;height:inherit}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-fr-area{display:none}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-nano{height:730px}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-sub{position:static}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-clink{display:none}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-textarea{height:89px}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-btn-send{margin:0;float:none;padding:10px 0;text-align:center;border-radius:0}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-chat-replay .smartnlp-robot-msg,.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-chat-ask .smartnlp-robot-msg{margin:0}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-chat-name{padding:0}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-edit{border-radius:0}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-msg-img{cursor:pointer;max-width:160px}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-chat-ask .smartnlp-robot-chat-headimg{text-align:right;color:#328fdf}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-bar{position:absolute;top:45%;left:-36px;height:36px;width:36px;margin-top:-18px;background:#3598dc;text-align:center}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-bar a:before{font-family:'iconfont';content:'\3432';color:#fff;font-size:24px;line-height:36px}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-slide{display:block;position:absolute;top:45%;margin-top:-56px;left:-56px}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-slide>li{height:50px;margin-bottom:2px;width:50px;padding:3px;background:#3598dc;text-align:center;border-radius:3px 0 0 3px}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-slide>li>a{color:#fff;font-size:12px}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-slide>li>a>span{margin:0 6px;width:32px;height:32px;background-position:-40px -20px}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-slide>li.smartnlp-robot-slide-feed{background-color:#20a56e}.smartnlp-robot.smartnlp-robot-mini .smartnlp-robot-slide>li.smartnlp-robot-slide-feed>a>span{background-position:0 -20px}@media (max-width:900px){.smartnlp-robot.smartnlp-robot-mobile{font-size:16px;border-radius:0;box-shadow:none;width:100%;height:inherit;position:static;overflow:hidden;background-color:#fafafa;bottom:0;left:0}.smartnlp-robot.smartnlp-robot-mobile.smartnlp-robot-mini{height:44px;overflow:hidden;top:auto;left:auto;right:0;bottom:0;border:0;width:100%}.smartnlp-robot.smartnlp-robot-mobile.smartnlp-robot-mini .smartnlp-robot-mobile-title{display:block;content:'咨询在线客服';color:#fff;line-height:44px;text-align:center;height:44px}.smartnlp-robot.smartnlp-robot-mobile.smartnlp-robot-mini .smartnlp-robot-mobile-title span{margin-right:10px;height:26px;width:26px;background-size:83px auto;background-position:-26px -13px}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-box{display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-box-flex{-webkit-box-flex:1}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-msg-img{max-width:180px}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-chat-t span{font-size:80%}.smartnlp-robot.smartnlp-robot-mobile *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-icon-max,.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-icon-min,.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-icon-clo,.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-icon-nor{display:none}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-header{position:fixed;top:0;left:0;width:100%;z-index:2;border-radius:0;z-index:99}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-header-nav{display:none}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-content{width:100%;padding:50px 0;-webkit-box-flex:1}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-clink{display:none}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-copy{width:40px}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-art,.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-btn-pic{background-image:url(robot-mobile.png);background-repeat:no-repeat;background-size:64px auto}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-art{height:32px;width:32px;overflow:hidden;text-indent:-99em;background-position:-32px 0}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-photo{padding:0 4px;height:32px;display:none}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-art[rel='0']{background-position:-32px 0}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-textarea{min-height:32px;max-height:108px;height:32px;line-height:24px;padding:5px;width:100%;border:1px #ddd solid;background-color:#fff;box-shadow:none;border-radius:4px}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-edit{position:fixed;bottom:0;left:0;z-index:9;padding:6px;height:auto;width:100%;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-ms-box-orient:horizontal;box-orient:horizontal;border-top:1px #dcdee4 solid;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #f6f6f6), color-stop(1, #ddd));box-shadow:0 2px 1px rgba(255,255,255,0.3);border-radius:0}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-chat-headimg{border-radius:0}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-chat-headimg img{display:none}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-sub{bottom:0;padding:0;position:static}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-kefu .smartnlp-robot-btn-pic{position:relative;display:inline-block;width:32px;height:32px;background-color:rgba(0,0,0,0);background-position:0 -32px}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-kefu .smartnlp-robot-photo{display:block}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-kefu .smartnlp-robot-copy{display:none}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-btn-send{background-position:-32px -32px;padding:8px 14px}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-fl-area{width:100%}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-nano{overflow-y:auto;height:auto}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-chat{height:auto}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-btn-pic{display:none}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-fl-area{padding-right:0;float:none;height:inherit}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-fr-area{display:none}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-chat-headimg{display:none}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-chat-name{font-size:80%;padding:0}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-chat-replay .smartnlp-robot-msg,.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-chat-ask .smartnlp-robot-msg{margin:5px 0}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-chat-replay .smartnlp-robot-msg span,.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-chat-ask .smartnlp-robot-msg span{white-space:normal;word-break:break-all}.smartnlp-robot.smartnlp-robot-mobile .smartnlp-robot-chat-ask .smartnlp-robot-chat-headimg{text-align:right;color:#2d8ef2}} -------------------------------------------------------------------------------- /robot/css/robot.less: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | @fontSize: 14px; 3 | .smartnlp-robot-img-views{ 4 | position: fixed; 5 | background-color: rgba(0,0,0,0.6); 6 | left: 0; 7 | top: 0; 8 | width: 100%; 9 | height: 100%; 10 | z-index: 99999999; 11 | } 12 | .smartnlp-robot-img-views-inner{ 13 | display: table-cell; 14 | width: 1000px; 15 | height: 800px; 16 | text-align: center; 17 | vertical-align: middle; 18 | img{ 19 | vertical-align: middle; 20 | } 21 | } 22 | .smartnlp-robot{ 23 | position: relative; 24 | top: 150px; 25 | //left: 25px; 26 | font-size: @fontSize; 27 | width:940px; 28 | margin:0; 29 | box-shadow:0 2px 2px #777; 30 | border-color: #ccc; 31 | border-style: solid; 32 | border-width: 0; 33 | border-width: 1px ~'\9'; 34 | border-radius:5px; 35 | background-color: #f6f6f6; 36 | color:#333; 37 | -webkit-box-sizing: content-box; 38 | -moz-box-sizing: content-box; 39 | -ms-box-sizing: content-box; 40 | box-sizing: content-box; 41 | a,a:hover,a:visited{ 42 | color: #585858; 43 | } 44 | * { 45 | margin:0; 46 | padding:0; 47 | -webkit-overflow-scrolling : touch; 48 | font-weight:400; 49 | -webkit-box-sizing: content-box; 50 | -moz-box-sizing: content-box; 51 | -ms-box-sizing: content-box; 52 | box-sizing: content-box; 53 | } 54 | table { 55 | border-collapse:collapse; 56 | border-spacing:0 57 | } 58 | th { 59 | text-align:inherit 60 | } 61 | caption,th { 62 | text-align:left 63 | } 64 | img { 65 | border:0 66 | } 67 | img { 68 | -ms-interpolation-mode:bicubic 69 | } 70 | iframe { 71 | display:block 72 | } 73 | ul,ol,li { 74 | list-style:none 75 | } 76 | hr { 77 | -moz-box-sizing:content-box; 78 | box-sizing:content-box; 79 | height:0 80 | } 81 | button,input,select,textarea { 82 | font-family:inherit; 83 | font-size: @fontSize; 84 | vertical-align:middle; 85 | font-weight:400 86 | } 87 | button:focus,input:focus,select:focus,textarea:focus { 88 | outline: 0; 89 | } 90 | textarea { 91 | overflow:auto; 92 | vertical-align:top 93 | } 94 | button,input { 95 | line-height:normal 96 | } 97 | button,input[type=button],input[type=reset],input[type=submit] { 98 | cursor:pointer 99 | } 100 | button[disabled],input[disabled] { 101 | cursor:default 102 | } 103 | input[type=checkbox],input[type=radio] { 104 | box-sizing:border-box; 105 | padding:0; 106 | *background-color:transparent 107 | } 108 | article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary { 109 | display:block 110 | } 111 | audio,canvas,video { 112 | display:inline-block; 113 | *display:inline; 114 | *zoom:1 115 | } 116 | audio:not([controls]) { 117 | display:none; 118 | height:0 119 | } 120 | .chat-block a { 121 | cursor:pointer 122 | } 123 | a { 124 | background:transparent 125 | } 126 | a:focus {} 127 | a:active,a:hover { 128 | outline:0 129 | } 130 | a:link,a:visited,ins { 131 | text-decoration:none 132 | } 133 | a { 134 | color:#005EA7; 135 | text-decoration:none 136 | } 137 | a:hover { 138 | text-decoration: none; 139 | } 140 | h1,h2,h3,h4,h5,h6 { 141 | color:#333 142 | } 143 | .smartnlp-robot-wait{ 144 | } 145 | .smartnlp-robot-icon{ 146 | background-image: url(robot.png); 147 | background-size: 120px auto; 148 | content: ''; 149 | display: inline-block; 150 | width: 16px; 151 | height: 16px; 152 | line-height: 0; 153 | overflow: hidden; 154 | vertical-align: middle; 155 | *display: inline; 156 | *zoom: 1; 157 | } 158 | .smartnlp-robot-header { 159 | position:relative; 160 | height:46px; 161 | background-color:#2d8ef2; 162 | border-radius:3px 3px 0 0; 163 | margin: 0 -1px; 164 | *z-index:1; 165 | white-space: nowrap; 166 | text-overflew: ellipsis; 167 | cursor: default; 168 | .smartnlp-robot-logo{ 169 | float: left; 170 | font-family: 'microsoft yahei'; 171 | color: #fff; 172 | line-height: 46px; 173 | padding: 0 10px; 174 | font-size: 1.2em; 175 | img{ 176 | height: 32px; 177 | border: 0; 178 | vertical-align: middle; 179 | margin-right: 8px; 180 | } 181 | } 182 | .smartnlp-robot-header-nav{ 183 | float: right; 184 | } 185 | a,a:visited{ 186 | display: inline-block; 187 | color: #fff; 188 | padding: 12px 8px; 189 | line-height: 20px; 190 | } 191 | a:hover{ 192 | color: #fff; 193 | color: #eee\9; 194 | background-color: rgba(0,0,0,0.1); 195 | box-shadow: 0 0 5px rgba(0,0,0,0.1) inset; 196 | } 197 | em{ 198 | height: 16px; 199 | width: 16px; 200 | line-height: 16px; 201 | text-shadow: 1px 1px 1px rgba(0,0,0,0.1); 202 | } 203 | } 204 | .smartnlp-robot-content{ 205 | position: relative; 206 | &:after{ 207 | clear: both; 208 | content: ''; 209 | display: block; 210 | height: 0; 211 | overflow: hidden; 212 | } 213 | } 214 | .smartnlp-robot-fl-area{ 215 | padding-right: 300px; 216 | height: 530px; 217 | } 218 | .smartnlp-robot-chat{ 219 | overflow: visible; 220 | } 221 | .smartnlp-robot-nano{ 222 | height: 440px; 223 | position: relative; 224 | overflow-x: hidden; 225 | overflow-y: auto; 226 | -webkit-overflow-scrolling : touch; 227 | } 228 | .smartnlp-robot-pane{ 229 | position: absolute; 230 | top: 0; 231 | right: 0; 232 | } 233 | .smartnlp-robot-chat-headimg{ 234 | width:50px; 235 | height:50px; 236 | position: absolute; 237 | border-radius: 50%; 238 | overflow: hidden; 239 | top: 0; 240 | } 241 | .smartnlp-robot-edit{ 242 | position: relative; 243 | border-top: 1px #dcdee4 solid; 244 | background-color: #fff; 245 | overflow: hidden; 246 | border-radius: 0 0 0 5px; 247 | } 248 | .smartnlp-robot-textarea{ 249 | width: 97%; 250 | border: 0; 251 | height: 58px; 252 | padding: 0 6px; 253 | line-height: 150%; 254 | background-color: transparent; 255 | resize: none; 256 | -webkit-appearance: none; 257 | } 258 | .smartnlp-robot-sub{ 259 | height: 30px; 260 | z-index: 9; 261 | } 262 | .smartnlp-robot-btn{ 263 | } 264 | .smartnlp-robot-file{ 265 | opacity: 0; 266 | visibility: collapse; 267 | overflow: hidden; 268 | position: absolute; 269 | left: -100px; 270 | top: -100px; 271 | width: 0; 272 | height: 0; 273 | } 274 | .smartnlp-robot-photo{ 275 | float: left; 276 | padding: 3px 5px; 277 | } 278 | .smartnlp-robot-btn-pic{ 279 | visibility: collapse; 280 | display: inline-block; 281 | height: 16px; 282 | width: 16px; 283 | background: url(robot.png) no-repeat -100px -60px; 284 | cursor: pointer; 285 | &:hover{ 286 | background-color: #eee; 287 | } 288 | } 289 | .smartnlp-robot-kefu{ 290 | .smartnlp-robot-btn-pic{ 291 | visibility: visible; 292 | } 293 | } 294 | a.smartnlp-robot-btn-send,a.smartnlp-robot-btn-send:visited{ 295 | display: block; 296 | float: right; 297 | padding: 6px 20px; 298 | border-radius: 4px; 299 | cursor: pointer; 300 | line-height: 100%; 301 | transition: all 0.4s; 302 | color: #fff; 303 | margin: 0 10px; 304 | background-color: #1bbc9b; 305 | text-shadow: 1px 1px 0 rgba(0,0,0,0.1); 306 | &:hover{ 307 | color: #fff; 308 | background-color: #2bb77d; 309 | } 310 | } 311 | .smartnlp-robot-fr-content{ 312 | height: 333px; 313 | overflow: hidden; 314 | } 315 | .smartnlp-robot-fr-area{ 316 | background-color: #fff; 317 | position: absolute; 318 | top: 0; 319 | right: 0; 320 | width: 300px; 321 | height: 530px; 322 | border-left: 1px #dcdee4 solid; 323 | z-index: 1; 324 | margin-left: -24px; 325 | border-radius: 0 0 5px 0; 326 | overflow: hidden; 327 | } 328 | .smartnlp-robot-fr-nav{ 329 | height: 40px; 330 | padding: 10px 10px 0 10px; 331 | border-bottom: 1px #dcdee4 solid; 332 | a{ 333 | display: block; 334 | line-height: 40px; 335 | padding: 0 30px; 336 | float: left; 337 | color: #777; 338 | &.smartnlp-robot-on{ 339 | border-right: 1px #dcdee4 solid; 340 | border-left: 1px #dcdee4 solid; 341 | margin-left: -3px; 342 | background-color: #fff; 343 | border-top: 4px #f90 solid; 344 | height: 37px; 345 | line-height: 36px; 346 | } 347 | } 348 | } 349 | .smartnlp-robot-slide{ 350 | display: none; 351 | } 352 | .smartnlp-robot-fr-footer{ 353 | padding: 5px 10px; 354 | width: 260px; 355 | height: 140px; 356 | text-align: center; 357 | position: relative; 358 | li{ 359 | width: 120px; 360 | float: left; 361 | height: 140px; 362 | font-size: 12px; 363 | /* &.smartnlp-robot-call{ 364 | i{ 365 | background-image: url(../images/callcenter.png); 366 | } 367 | } */ 368 | &.smartnlp-robot-code{ 369 | float: right; 370 | margin-left: -100px; 371 | } 372 | } 373 | i{ 374 | display: block; 375 | height: 80px; 376 | width: 80px; 377 | margin: 20px 20px 0 20px; 378 | background-size: 100% 100%; 379 | background-repeat: no-repeat; 380 | } 381 | .smartnlp-robot-big-code{ 382 | padding: 20px; 383 | background-color: #fff; 384 | border: 1px #ddd solid; 385 | position: absolute; 386 | width: 80px; 387 | height: 80px; 388 | bottom: 24px; 389 | right: 10px; 390 | display: none; 391 | img{ 392 | width: 100%; 393 | height: 100%; 394 | } 395 | } 396 | span{ 397 | line-height: 28px; 398 | } 399 | } 400 | .smartnlp-robot-chat-ask, .smartnlp-robot-chat-replay{ 401 | position:relative; 402 | *zoom:1; 403 | clear: both; 404 | margin: 5px 18px; 405 | min-height: 50px; 406 | &:after{ 407 | clear: both; 408 | display: block; 409 | content: ''; 410 | } 411 | } 412 | .bg-msg-lr{ 413 | background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIsAAAA6CAYAAACAj6ovAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAytpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgRmlyZXdvcmtzIENTNSAxMS4wLjAuNDg0IFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDQyRDIzM0M1QTgyMTFFNUI1NUJERDA1QUZDMDI2MEQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDQyRDIzM0Q1QTgyMTFFNUI1NU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wsgTDVIkmaoqo1HeqB6JhG3GxA0uy0WGzlKKvValURESc5JSFY19+rxu5ArtlySmxAn8vnhOA1OxEoDabA9Rj6ojMqu15fT0BHmXBzkASJMwm7pz+CRRYahXS4hGBNFrjQQNljwsdJWO4r0R6n+TWfBR34ZzQ4iRFFArKEQrwJ7qe+skbc2IJOZFSR8C0KrGWJbFCXH+4TaG1iq8JIH4BWPNydbNfISHe12zvsuUeExCzmVBmnAGvdunURWvdpvrbi4U6Wq4Wp8gW3ee61iHXAEBEty5nSDHm4QlpLMjh6InaK0UTid8oFqQA1U0YBjJZh6VJaHMAM95L4E4wqAlRhTRZMae1KDj5ZMZ6TmoSwciLHKxWwdbjv4mXdUGgSZuPUR6B2Ya50RFmUBzA9Az5G3W8zikhLFnugJkiJdvq707csx9ZlSZ5/Q7l07kLU8VIBR4+F9jB6SE8WXd/aIrkh2rnXT+tyASu6qLyQq3+tmBNegOwrSTI1wpu2+RWF3EccB3mo8xajx0NBiwQ66h2OnkcDsfhMXHnQMEB3dAk3pQD6Y1NGcS826N1vzua8RGs0RkOTrEvTOb4kHXjctzk7el7HHhSynLLZ7C94LlCTC1absOTv1CAxDC1iXzktA7Z9O58byh89UN+2nLKebBbMyk6W4zar/YhT65R1BSN1QeKKg+NDyZJws0MUhlCJWSi1xMBzm9FgkfVCjQZhpcEbIhEYpEn8Ap86YwXutlq7D5g7u2QpFekl/WhnF6vjyBhn2WM0WsBitkp6gaSP9AJLZSUfiQgaWfCu/xs3kwwG8wFaoEb/F+QP6PyOdhOQPvw6WdTPIB06ghHgehKGZpStxWzkr26bo5retU+vUKeXFFLw6225EY23OZ1OIT2mrIeCWYxRoumfxaIiG+qPNHuRMB9au7rLUOjd90Uo9N46bwuNaDX+HZTfwP0ficfZc5koIEtfloSbo6IwhB58nfyUxuauMgQlG2JgZGFgYGRh8DHV/leAAQB3L/BY3aUHdAAAAABJRU5ErkJggg=='); 414 | } 415 | .bg-msg-tb{ 416 | background-image: url('data:image/png;base64,iVBOR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A2MUJFMDVBODIxMUU1QUE5MTgwQjkyM0YwMkQ4MCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmL6auQAAABJSURBVHjaYnz08MV/BiyAJWwbVnEGJgYcYNhLsDBiEwQqZ8QViIz//w/vQGR5/OjlDVw+f4RVBxBz4NLxfzgEyZMnr7BKAAQYALsfGsocHQyLAAAAAElFTkSuQmCC'); 417 | } 418 | .smartnlp-robot-msg{ 419 | table-layout: fixed; 420 | .smartnlp-robot-msg-mm{ 421 | overflow: hidden; 422 | } 423 | } 424 | .smartnlp-robot-msg-img{ 425 | max-width: 260px; 426 | } 427 | .smartnlp-robot-chat-t{ 428 | text-align: center; 429 | line-height: 100%; 430 | padding: 8px 0; 431 | span{ 432 | font-size: 12px; 433 | display: inline-block; 434 | padding: 5px 10px; 435 | background-color: #ccc; 436 | color: #fff; 437 | border-radius: 3px; 438 | } 439 | } 440 | .smartnlp-robot-wait{ 441 | span{ 442 | background-image: url(loading.gif); 443 | background-repeat: no-repeat; 444 | background-position: 5px center; 445 | padding-left: 22px; 446 | } 447 | } 448 | .smartnlp-robot-chat-replay{ 449 | .smartnlp-robot-msg{ 450 | max-width: 900px; 451 | margin-left:59px; 452 | margin-right:40px; 453 | margin-top:2px; 454 | //float:left; 455 | min-height: 30px; 456 | } 457 | .smartnlp-robot-chat-headimg{ 458 | left: 0; 459 | background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNWWFMmUAAAPgSURBVGhD7ZpLTBNBGMcHAcUHCqgX4uvkQT0YjB68oFGRzlY4qDGK3pVAogejXsR4hsRE0WhM8KSmiULUNFE6M8UHMaZ6MBBld2sDG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v4GQla9xEodMQ4Ckz76M04FZJ8fVuwB+B2gEHK/orYOV3T8aY4raYxTg4Yo/fHtvMUDkND0w2XZ8MFcUOHKetrNNp5066VXKgqse3EcVeJ2/92M+JGcvuDezJl1V1y1X5Pz1zTIHb7V4OZ9WT3Px/M3AG7fSaniN0U+QMwFexQQcRQygAAAABJRU5ErkJggg=='); 460 | border-radius: 50%; 461 | img{ 462 | height: 50px; 463 | width: 50px; 464 | } 465 | } 466 | .smartnlp-robot-msg-lt { 467 | //background:url(msg_bg_lr.png) no-repeat 0 0; 468 | background-position: 0 0; 469 | background-repeat: no-repeat; 470 | width:26px; 471 | height:10px; 472 | } 473 | .smartnlp-robot-msg-mm{ 474 | background-color: #fff; 475 | } 476 | .smartnlp-robot-msg-tt { 477 | //background:url(msg_bg_tb.png) repeat-x 0 -23px; 478 | background-position: 0 -23px; 479 | background-repeat: repeat-x; 480 | height:10px; 481 | } 482 | .smartnlp-robot-msg-rt { 483 | //background:url(msg_bg_lr.png) no-repeat -35px 0; 484 | background-position: -35px 0; 485 | background-repeat: no-repeat; 486 | width:10px; 487 | height:10px; 488 | } 489 | .smartnlp-robot-msg-lm { 490 | //background:url(msg_bg_lr.png) repeat-y -94px 0; 491 | background-position: -94px 0; 492 | background-repeat: repeat-y; 493 | width:26px; 494 | min-width: 26px; 495 | vertical-align:top; 496 | position:relative; 497 | *zoom:1; 498 | } 499 | .smartnlp-robot-msg-lm span { 500 | //background:url(msg_bg_lr.png) no-repeat 0 -14px; 501 | background-position: 0 -14px; 502 | background-repeat: no-repeat; 503 | display:inline-block; 504 | width:26px; 505 | height:16px; 506 | position:absolute; 507 | //top:5px; 508 | } 509 | .smartnlp-robot-msg-rm { 510 | //background:url(msg_bg_lr.png) repeat-y -113px 0; 511 | background-position: -113px 0; 512 | background-repeat: repeat-y; 513 | width:10px; 514 | min-width: 10px; 515 | } 516 | .smartnlp-robot-msg-lb { 517 | //background:url(msg_bg_lr.png) no-repeat 0 -43px; 518 | background-position: 0 -43px; 519 | background-repeat: no-repeat; 520 | width:10px; 521 | height:10px; 522 | } 523 | .smartnlp-robot-msg-bm { 524 | //background:url(msg_bg_tb.png) repeat-x 0 -25px; 525 | background-position: 0 -25px; 526 | background-repeat: repeat-x; 527 | height:10px; 528 | } 529 | .smartnlp-robot-msg-rb { 530 | //background:url(msg_bg_lr.png) no-repeat -35px -43px; 531 | background-position: -35px -43px; 532 | background-repeat: no-repeat; 533 | width:10px; 534 | height:10px; 535 | } 536 | } 537 | .smartnlp-robot-chat-name{ 538 | padding-left: 59px; 539 | margin-bottom: 5px; 540 | color: #999; 541 | } 542 | .smartnlp-robot-chat-ask{ 543 | .smartnlp-robot-msg{ 544 | float:right; 545 | margin-right:73px; 546 | _margin-right:38px; 547 | margin-top:2px 548 | } 549 | div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { 550 | font-size: @fontSize; 551 | } 552 | .smartnlp-robot-chat-name{ 553 | padding-right: 59px; 554 | padding-left: 0; 555 | text-align: right; 556 | } 557 | .smartnlp-robot-chat-headimg{ 558 | right: 0; 559 | background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAw9pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9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ABZqRtwVxWj3wAAAABJRU5ErkJggg=='); 560 | } 561 | .smartnlp-robot-msg-lt { 562 | //background:url(msg_bg_lr.png) no-repeat -47px -0; 563 | background-repeat: no-repeat; 564 | background-position: -47px -0; 565 | width:10px; 566 | height:10px 567 | } 568 | .smartnlp-robot-msg-tt { 569 | //background:url(msg_bg_tb.png) repeat-x 0 0; 570 | background-repeat: repeat-x; 571 | background-position: 0 0; 572 | height:10px 573 | } 574 | .smartnlp-robot-msg-rt { 575 | //background:url(msg_bg_lr.png) no-repeat -63px 0; 576 | background-repeat: no-repeat; 577 | background-position: -63px 0; 578 | width:26px; 579 | height:10px 580 | } 581 | .smartnlp-robot-msg-lm { 582 | //background:url(msg_bg_lr.png) repeat-y -126px 0; 583 | background-repeat: repeat-y; 584 | background-position: -126px 0; 585 | width:10px 586 | } 587 | .smartnlp-robot-msg-mm { 588 | padding:1px 8px; 589 | background-color:#3897E7; 590 | line-height: 120%; 591 | word-break:break-all; 592 | word-wrap:break-word; 593 | color:#FFF 594 | } 595 | .smartnlp-robot-msg-rm { 596 | //background:url(msg_bg_lr.png) repeat-y -129px 0; 597 | background-repeat: repeat-y; 598 | background-position: -129px 0; 599 | width:26px; 600 | vertical-align:top; 601 | position:relative; 602 | *zoom:1; 603 | span { 604 | //background:url(msg_bg_lr.png) no-repeat -63px -14px; 605 | background-repeat: no-repeat; 606 | background-position: -63px -14px; 607 | display:inline-block; 608 | width:26px; 609 | height:16px; 610 | position:absolute; 611 | //top:5px; 612 | right: 0; 613 | } 614 | } 615 | .smartnlp-robot-msg-lb { 616 | //background:url(msg_bg_lr.png) no-repeat -47px -36px; 617 | background-repeat: no-repeat; 618 | background-position: -47px -36px; 619 | width:10px; 620 | height:10px 621 | } 622 | .smartnlp-robot-msg-bm { 623 | //background:url(msg_bg_tb.png) repeat-x -106px -4px; 624 | background-repeat: repeat-x; 625 | background-position: -106px -4px; 626 | height:10px 627 | } 628 | .smartnlp-robot-msg-rb { 629 | //background:url(msg_bg_lr.png) no-repeat -63px -36px; 630 | background-repeat: no-repeat; 631 | background-position: -63px -36px; 632 | width:26px; 633 | height:10px 634 | } 635 | } 636 | .smartnlp-robot-copy{ 637 | padding: 0 8px; 638 | height: 26px; 639 | line-height: 26px; 640 | } 641 | a.smartnlp-robot-clink{ 642 | line-height: 24px; 643 | padding-left: 6px; 644 | font-size: 12px; 645 | color: #999; 646 | float: left; 647 | } 648 | a.smartnlp-robot-art{ 649 | color: #59c88b; 650 | float: right; 651 | } 652 | .smartnlp-robot-fr-panel{ 653 | width: 600px; 654 | ul,ol{ 655 | float: left; 656 | } 657 | ul{ 658 | width: 300px; 659 | li{ 660 | padding: 0 25px 0 10px; 661 | height: 36px; 662 | line-height: 36px; 663 | border-bottom: 1px #eee solid; 664 | white-space: nowrap; 665 | overflow: hidden; 666 | text-overflow: ellipsis; 667 | position: relative; 668 | &:after{ 669 | display: block; 670 | content: '>'; 671 | color: #ddd; 672 | position: absolute; 673 | right: 10px; 674 | top: 0; 675 | font-family: 'Georgia'; 676 | } 677 | } 678 | } 679 | ol{ 680 | width: 280px; 681 | padding: 10px 0 10px 15px; 682 | margin-right: -20px; 683 | li{ 684 | display: inline-block; 685 | width: 60px; 686 | height: 80px; 687 | margin: 10px 15px; 688 | text-align: center; 689 | *display: inline; 690 | *zoom: 1; 691 | } 692 | i{ 693 | display: inline-block; 694 | height: 60px; 695 | width: 60px; 696 | border-radius: 100%; 697 | } 698 | } 699 | } 700 | .smartnlp-robot-icon-min > em{ 701 | background-position: -20px 0; 702 | } 703 | .smartnlp-robot-icon-clo > em{ 704 | background-position: -20px 0; 705 | } 706 | .smartnlp-robot-icon-nor > em{ 707 | background-position: -40px 0; 708 | } 709 | .smartnlp-robot-htmcont{ 710 | line-height: 150%; 711 | overflow: hidden; 712 | z-index: 9; 713 | position: relative; 714 | } 715 | .smartnlp-robot-msg-sug{ 716 | } 717 | .smartnlp-robot-sug-item{ 718 | color: #6cf; 719 | cursor: pointer; 720 | text-decoration: underline; 721 | } 722 | &.smartnlp-robot-mini{ 723 | top: 0; 724 | left: inherit; 725 | right: -280px; 726 | height: 100%; 727 | width: 280px; 728 | border-left: 3px #3598dc solid; 729 | border-radius: 0; 730 | box-shadow: 0 0 3px rgba(0,0,0,0.15); 731 | position: fixed; 732 | .smartnlp-robot-icon-clo > em{ 733 | background-position: -60px 0; 734 | } 735 | .smartnlp-robot-icon-max > em{ 736 | background-position: -100px 0; 737 | } 738 | .smartnlp-robot-chat-headimg{ 739 | display: none; 740 | } 741 | .smartnlp-robot-htmcont{ 742 | max-width: 200px; 743 | } 744 | .smartnlp-robot-header{ 745 | border-radius: 0; 746 | height: 36px; 747 | .smartnlp-robot-logo{ 748 | font-size: @fontSize; 749 | line-height: 36px; 750 | img{ 751 | height: 30px; 752 | } 753 | } 754 | a{ 755 | display: inline-block; 756 | color: #fff; 757 | padding: 7px 9px; 758 | &:hover{ 759 | color: #fff; 760 | background-color: rgba(0,0,0,0.1); 761 | box-shadow: 0 0 5px rgba(0,0,0,0.1) inset; 762 | } 763 | } 764 | span{ 765 | display: none; 766 | } 767 | em{ 768 | height: 16px; 769 | width: 16px; 770 | line-height: 16px; 771 | font-size: @fontSize; 772 | text-shadow: 1px 1px 1px rgba(0,0,0,0.1); 773 | } 774 | } 775 | .smartnlp-robot-fl-area{ 776 | padding-right: 0; 777 | float: none; 778 | height: inherit; 779 | } 780 | .smartnlp-robot-fr-area{ 781 | display: none; 782 | } 783 | .smartnlp-robot-nano{ 784 | height: 730px; 785 | } 786 | .smartnlp-robot-sub{ 787 | position: static; 788 | } 789 | .smartnlp-robot-clink{ 790 | display: none; 791 | } 792 | .smartnlp-robot-textarea{ 793 | height: 89px; 794 | } 795 | .smartnlp-robot-btn-send{ 796 | margin: 0; 797 | float: none; 798 | padding: 10px 0; 799 | text-align: center; 800 | border-radius: 0; 801 | } 802 | .smartnlp-robot-chat-replay,.smartnlp-robot-chat-ask{ 803 | .smartnlp-robot-msg{ 804 | margin: 0; 805 | } 806 | } 807 | .smartnlp-robot-chat-name{ 808 | padding: 0; 809 | } 810 | .smartnlp-robot-edit{ 811 | border-radius: 0; 812 | } 813 | .smartnlp-robot-msg-img{ 814 | cursor: pointer; 815 | max-width: 160px; 816 | } 817 | .smartnlp-robot-chat-ask{ 818 | .smartnlp-robot-chat-headimg{ 819 | text-align: right; 820 | color: #328fdf; 821 | } 822 | } 823 | .smartnlp-robot-bar{ 824 | position: absolute; 825 | top: 45%; 826 | left: -36px; 827 | height:36px; 828 | width: 36px; 829 | margin-top: -18px; 830 | background: #3598dc; 831 | text-align: center; 832 | a:before{ 833 | font-family: 'iconfont'; 834 | content: '\3432'; 835 | color: #fff; 836 | font-size: 24px; 837 | line-height: 36px; 838 | } 839 | } 840 | .smartnlp-robot-slide{ 841 | display: block; 842 | position: absolute; 843 | top: 45%; 844 | margin-top: -56px; 845 | left: -56px; 846 | & > li{ 847 | height:50px; 848 | margin-bottom: 2px; 849 | width: 50px; 850 | padding: 3px; 851 | background: #3598dc; 852 | text-align: center; 853 | border-radius: 3px 0 0 3px; 854 | & > a{ 855 | color: #fff; 856 | font-size: 12px; 857 | & > span{ 858 | margin: 0 6px; 859 | width: 32px; 860 | height: 32px; 861 | background-position: -40px -20px; 862 | } 863 | } 864 | &.smartnlp-robot-slide-feed{ 865 | background-color: #20A56E; 866 | & > a > span{ 867 | background-position: 0 -20px; 868 | } 869 | } 870 | } 871 | } 872 | } 873 | /* 手机上的样式 */ 874 | @media (max-width: 900px){ 875 | /* .box{ 876 | display: -webkit-box; 877 | display: -moz-box; 878 | display: -ms-box; 879 | display: box; 880 | } 881 | .box-flex{ 882 | -webkit-box-flex: 1; 883 | } */ 884 | &.smartnlp-robot-mobile{ 885 | font-size: 16px; 886 | border-radius: 0; 887 | box-shadow: none; 888 | width: 100%; 889 | height: inherit; 890 | position: static; 891 | overflow: hidden; 892 | background-color: #fafafa; 893 | bottom: 0; 894 | left: 0; 895 | &.smartnlp-robot-mini{ 896 | height: 44px; 897 | overflow: hidden; 898 | top: auto; 899 | left: auto; 900 | right: 0; 901 | bottom: 0; 902 | border: 0; 903 | width: 100%; 904 | .smartnlp-robot-mobile-title{ 905 | display: block; 906 | content: '咨询在线客服'; 907 | color: #fff; 908 | line-height: 44px; 909 | text-align: center; 910 | height: 44px; 911 | span{ 912 | margin-right: 10px; 913 | height: 26px; 914 | width: 26px; 915 | background-size: 83px auto; 916 | background-position: -26px -13px; 917 | } 918 | } 919 | } 920 | .smartnlp-robot-box{ 921 | display: -webkit-box; 922 | display: -moz-box; 923 | display: -ms-box; 924 | display: box; 925 | -webkit-box-orient: vertical; 926 | -moz-box-orient: vertical; 927 | -ms-box-orient: vertical; 928 | box-orient: vertical; 929 | } 930 | .smartnlp-robot-box-flex{ 931 | -webkit-box-flex: 1; 932 | } 933 | .smartnlp-robot-msg-img{ 934 | max-width: 180px; 935 | } 936 | .smartnlp-robot-chat-t{ 937 | span{ 938 | font-size: 80%; 939 | } 940 | } 941 | *{ 942 | -webkit-box-sizing: border-box; 943 | -moz-box-sizing: border-box; 944 | -ms-box-sizing: border-box; 945 | box-sizing: border-box; 946 | } 947 | .smartnlp-robot-icon-max, .smartnlp-robot-icon-min, .smartnlp-robot-icon-clo, .smartnlp-robot-icon-nor{ 948 | display: none; 949 | } 950 | .smartnlp-robot-header{ 951 | position: fixed; 952 | top: 0; 953 | left: 0; 954 | width: 100%; 955 | z-index: 2; 956 | border-radius: 0; 957 | z-index: 99; 958 | } 959 | .smartnlp-robot-header-nav{ 960 | display: none; 961 | } 962 | .smartnlp-robot-content{ 963 | width: 100%; 964 | padding: 50px 0; 965 | -webkit-box-flex: 1; 966 | } 967 | .smartnlp-robot-clink{ 968 | display: none; 969 | } 970 | .smartnlp-robot-copy{ 971 | width: 40px; 972 | } 973 | .smartnlp-robot-art, .smartnlp-robot-btn-pic{ 974 | background-image: url(robot-mobile.png); 975 | background-repeat: no-repeat; 976 | background-size: 64px auto; 977 | } 978 | .smartnlp-robot-art{ 979 | height: 32px; 980 | width: 32px; 981 | overflow: hidden; 982 | text-indent: -99em; 983 | background-position: -32px 0; 984 | } 985 | .smartnlp-robot-photo{ 986 | padding: 0 4px; 987 | height: 32px; 988 | display: none; 989 | } 990 | .smartnlp-robot-art[rel='0']{ 991 | background-position: -32px 0; 992 | } 993 | .smartnlp-robot-textarea{ 994 | min-height: 32px; 995 | max-height: 108px; 996 | height: 32px; 997 | line-height: 24px; 998 | padding: 5px; 999 | width: 100%; 1000 | border: 1px #ddd solid; 1001 | background-color: #fff; 1002 | box-shadow: none; 1003 | border-radius: 4px; 1004 | } 1005 | .smartnlp-robot-edit{ 1006 | position: fixed; 1007 | bottom: 0; 1008 | left: 0; 1009 | z-index: 9; 1010 | padding: 6px; 1011 | height: auto; 1012 | width: 100%; 1013 | -webkit-box-orient: horizontal; 1014 | -moz-box-orient: horizontal; 1015 | -ms-box-orient: horizontal; 1016 | box-orient: horizontal; 1017 | border-top: 1px #dcdee4 solid; 1018 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f6f6f6), color-stop(1, #ddd)); 1019 | box-shadow: 0 2px 1px rgba(255,255,255,0.3); 1020 | border-radius: 0; 1021 | } 1022 | .smartnlp-robot-chat-headimg{ 1023 | border-radius: 0; 1024 | img{ 1025 | display: none; 1026 | } 1027 | } 1028 | .smartnlp-robot-sub{ 1029 | bottom: 0; 1030 | padding: 0; 1031 | position: static; 1032 | } 1033 | .smartnlp-robot-kefu{ 1034 | .smartnlp-robot-btn-pic{ 1035 | position: relative; 1036 | display: inline-block; 1037 | width: 32px; 1038 | height: 32px; 1039 | background-color: rgba(0,0,0,0); 1040 | background-position: 0 -32px; 1041 | } 1042 | .smartnlp-robot-photo{ 1043 | display: block; 1044 | } 1045 | .smartnlp-robot-copy{ 1046 | display: none; 1047 | } 1048 | } 1049 | .smartnlp-robot-btn-send{ 1050 | background-position: -32px -32px; 1051 | padding: 8px 14px; 1052 | } 1053 | /* .smartnlp-robot-btn{ 1054 | display: inline-block; 1055 | vertical-align: top; 1056 | position: relative; 1057 | z-index: 99; 1058 | width: 32px; 1059 | text-align: center; 1060 | position: relative; 1061 | cursor: pointer; 1062 | z-index: 10; 1063 | max-height: 32px; 1064 | margin: 1px 0 0 5px; 1065 | padding: 7px 0; 1066 | overflow: hidden; 1067 | text-indent: -99em; 1068 | border-radius: 0; 1069 | border-radius: 3px; 1070 | } */ 1071 | .smartnlp-robot-fl-area{ 1072 | width: 100%; 1073 | } 1074 | .smartnlp-robot-nano{ 1075 | overflow-y: auto; 1076 | height: auto; 1077 | } 1078 | .smartnlp-robot-chat{ 1079 | height: auto; 1080 | } 1081 | .smartnlp-robot-btn-pic{ 1082 | display: none; 1083 | } 1084 | .smartnlp-robot-fl-area{ 1085 | padding-right: 0; 1086 | float: none; 1087 | height: inherit; 1088 | } 1089 | .smartnlp-robot-fr-area{ 1090 | display: none; 1091 | } 1092 | .smartnlp-robot-chat-headimg{ 1093 | display: none; 1094 | } 1095 | .smartnlp-robot-chat-name{ 1096 | font-size: 80%; 1097 | padding: 0; 1098 | } 1099 | .smartnlp-robot-chat-replay,.smartnlp-robot-chat-ask{ 1100 | .smartnlp-robot-msg{ 1101 | margin: 5px 0; 1102 | span{ 1103 | white-space: normal; 1104 | word-break:break-all; 1105 | } 1106 | } 1107 | } 1108 | .smartnlp-robot-chat-ask{ 1109 | .smartnlp-robot-chat-headimg{ 1110 | text-align: right; 1111 | color: #2d8ef2; 1112 | } 1113 | } 1114 | } 1115 | } 1116 | } -------------------------------------------------------------------------------- /robot/robot.min.js: -------------------------------------------------------------------------------- 1 | !function(win,options,undefined){var hideKefu=!1,hideList=!1,cssfix="smartnlp-robot-",apiUrl="http://api.smartnlp.cn/cloud/robot/",cssUrl="robot/css/robot.css",kfJsUrl="robot/ddp-client.js",kfServerHost="http://kf.smartnlp.cn/",kfTimeout=12e3,imgUpdateUrl="http://res.smartnlp.cn/robot-id/upload",cookieKey="SMARTNLP_USER",imgUpdateType="gif|jpg|jpeg|png|bmp",imgMaxSize=5120,kefuStartWord="向你发起咨询请求",$=function(e,t){function n(e){var t=ht[e]={};return Q.each(e.split(tt),function(e,n){t[n]=!0}),t}function r(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(gt,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:mt.test(r)?Q.parseJSON(r):r}catch(o){}Q.data(e,n,r)}else r=t}return r}function i(e){var t;for(t in e)if(("data"!==t||!Q.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function o(){return!1}function a(){return!0}function s(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function l(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function c(e,t,n){if(t=t||0,Q.isFunction(t))return Q.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return Q.grep(e,function(e){return e===t===n});if("string"==typeof t){var r=Q.grep(e,function(e){return 1===e.nodeType});if(Ht.test(t))return Q.filter(t,r,!n);t=Q.filter(t,r)}return Q.grep(e,function(e){return Q.inArray(e,t)>=0===n})}function u(e){var t=It.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function d(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function f(e,t){if(1===t.nodeType&&Q.hasData(e)){var n,r,i,o=Q._data(e),a=Q._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)Q.event.add(t,n,s[n][r])}a.data&&(a.data=Q.extend({},a.data))}}function p(e,t){var n;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),n=t.nodeName.toLowerCase(),"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),Q.support.html5Clone&&e.innerHTML&&!Q.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Kt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.selected=e.defaultSelected:"input"===n||"textarea"===n?t.defaultValue=e.defaultValue:"script"===n&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(Q.expando))}function h(e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName("*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll("*"):[]}function m(e){Kt.test(e.type)&&(e.defaultChecked=e.checked)}function g(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=vn.length;i--;)if(t=vn[i]+n,t in e)return t;return r}function v(e,t){return e=t||e,"none"===Q.css(e,"display")||!Q.contains(e.ownerDocument,e)}function y(e,t){for(var n,r,i=[],o=0,a=e.length;a>o;o++)n=e[o],n.style&&(i[o]=Q._data(n,"olddisplay"),t?(i[o]||"none"!==n.style.display||(n.style.display=""),""===n.style.display&&v(n)&&(i[o]=Q._data(n,"olddisplay",T(n.nodeName)))):(r=nn(n,"display"),i[o]||"none"===r||Q._data(n,"olddisplay",r)));for(o=0;a>o;o++)n=e[o],n.style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?i[o]||"":"none"));return e}function x(e,t,n){var r=un.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function b(e,t,n,r){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,o=0;4>i;i+=2)"margin"===n&&(o+=Q.css(e,n+gn[i],!0)),r?("content"===n&&(o-=parseFloat(nn(e,"padding"+gn[i]))||0),"margin"!==n&&(o-=parseFloat(nn(e,"border"+gn[i]+"Width"))||0)):(o+=parseFloat(nn(e,"padding"+gn[i]))||0,"padding"!==n&&(o+=parseFloat(nn(e,"border"+gn[i]+"Width"))||0));return o}function w(e,t,n){var r="width"===t?e.offsetWidth:e.offsetHeight,i=!0,o=Q.support.boxSizing&&"border-box"===Q.css(e,"boxSizing");if(0>=r){if(r=nn(e,t),(0>r||null==r)&&(r=e.style[t]),dn.test(r))return r;i=o&&(Q.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+b(e,t,n||(o?"border":"content"),i)+"px"}function T(e){if(pn[e])return pn[e];var t=Q("<"+e+">").appendTo(R.body),n=t.css("display");return t.remove(),("none"===n||""===n)&&(rn=R.body.appendChild(rn||Q.extend(R.createElement("iframe"),{frameBorder:0,width:0,height:0})),on&&rn.createElement||(on=(rn.contentWindow||rn.contentDocument).document,on.write(""),on.close()),t=on.body.appendChild(on.createElement(e)),n=nn(t,"display"),R.body.removeChild(rn)),pn[e]=n,n}function k(e,t,n,r){var i;if(Q.isArray(t))Q.each(t,function(t,i){n||bn.test(e)?r(e,i):k(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==Q.type(t))r(e,t);else for(i in t)k(e+"["+i+"]",t[i],n,r)}function S(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i,o,a=t.toLowerCase().split(tt),s=0,l=a.length;if(Q.isFunction(n))for(;l>s;s++)r=a[s],o=/^\+/.test(r),o&&(r=r.substr(1)||"*"),i=e[r]=e[r]||[],i[o?"unshift":"push"](n)}}function C(e,n,r,i,o,a){o=o||n.dataTypes[0],a=a||{},a[o]=!0;for(var s,l=e[o],c=0,u=l?l.length:0,d=e===Hn;u>c&&(d||!s);c++)s=l[c](n,r,i),"string"==typeof s&&(!d||a[s]?s=t:(n.dataTypes.unshift(s),s=C(e,n,r,i,s,a)));return!d&&s||a["*"]||(s=C(e,n,r,i,"*",a)),s}function E(e,n){var r,i,o=Q.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((o[r]?e:i||(i={}))[r]=n[r]);i&&Q.extend(!0,e,i)}function N(e,n,r){var i,o,a,s,l=e.contents,c=e.dataTypes,u=e.responseFields;for(o in u)o in r&&(n[u[o]]=r[o]);for(;"*"===c[0];)c.shift(),i===t&&(i=e.mimeType||n.getResponseHeader("content-type"));if(i)for(o in l)if(l[o]&&l[o].test(i)){c.unshift(o);break}if(c[0]in r)a=c[0];else{for(o in r){if(!c[0]||e.converters[o+" "+c[0]]){a=o;break}s||(s=o)}a=a||s}return a?(a!==c[0]&&c.unshift(a),r[a]):void 0}function $(e,t){var n,r,i,o,a=e.dataTypes.slice(),s=a[0],l={},c=0;if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a[1])for(n in e.converters)l[n.toLowerCase()]=e.converters[n];for(;i=a[++c];)if("*"!==i){if("*"!==s&&s!==i){if(n=l[s+" "+i]||l["* "+i],!n)for(r in l)if(o=r.split(" "),o[1]===i&&(n=l[s+" "+o[0]]||l["* "+o[0]])){n===!0?n=l[r]:l[r]!==!0&&(i=o[0],a.splice(c--,0,i));break}if(n!==!0)if(n&&e["throws"])t=n(t);else try{t=n(t)}catch(u){return{state:"parsererror",error:n?u:"No conversion from "+s+" to "+i}}}s=i}return{state:"success",data:t}}function D(){try{return new e.XMLHttpRequest}catch(t){}}function _(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function j(){return setTimeout(function(){Jn=t},0),Jn=Q.now()}function A(e,t){Q.each(t,function(t,n){for(var r=(Zn[t]||[]).concat(Zn["*"]),i=0,o=r.length;o>i;i++)if(r[i].call(e,t,n))return})}function L(e,t,n){var r,i=0,o=Qn.length,a=Q.Deferred().always(function(){delete s.elem}),s=function(){for(var t=Jn||j(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),i=0,o=l.tweens.length;o>i;i++)l.tweens[i].run(r);return a.notifyWith(e,[l,r,n]),1>r&&o?n:(a.resolveWith(e,[l]),!1)},l=a.promise({elem:e,props:Q.extend({},t),opts:Q.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Jn||j(),duration:n.duration,tweens:[],createTween:function(t,n){var r=Q.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){for(var n=0,r=t?l.tweens.length:0;r>n;n++)l.tweens[n].run(1);return t?a.resolveWith(e,[l,t]):a.rejectWith(e,[l,t]),this}}),c=l.props;for(M(c,l.opts.specialEasing);o>i;i++)if(r=Qn[i].call(l,e,c,l.opts))return r;return A(l,c),Q.isFunction(l.opts.start)&&l.opts.start.call(e,l),Q.fx.timer(Q.extend(s,{anim:l,queue:l.opts.queue,elem:e})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function M(e,t){var n,r,i,o,a;for(n in e)if(r=Q.camelCase(n),i=t[r],o=e[n],Q.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=Q.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function X(e,t,n){var r,i,o,a,s,l,c,u,d=this,f=e.style,p={},h=[],m=e.nodeType&&v(e);n.queue||(c=Q._queueHooks(e,"fx"),null==c.unqueued&&(c.unqueued=0,u=c.empty.fire,c.empty.fire=function(){c.unqueued||u()}),c.unqueued++,d.always(function(){d.always(function(){c.unqueued--,Q.queue(e,"fx").length||c.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],"inline"===Q.css(e,"display")&&"none"===Q.css(e,"float")&&(Q.support.inlineBlockNeedsLayout&&"inline"!==T(e.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",Q.support.shrinkWrapBlocks||d.done(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(r in t)if(o=t[r],Kn.exec(o)){if(delete t[r],o===(m?"hide":"show"))continue;h.push(r)}if(a=h.length)for(s=Q._data(e,"fxshow")||Q._data(e,"fxshow",{}),m?Q(e).show():d.done(function(){Q(e).hide()}),d.done(function(){var t;Q.removeData(e,"fxshow",!0);for(t in p)Q.style(e,t,p[t])}),r=0;a>r;r++)i=h[r],l=d.createTween(i,m?s[i]:0),p[i]=s[i]||Q.style(e,i),i in s||(s[i]=l.start,m&&(l.end=l.start,l.start="width"===i||"height"===i?1:0))}function H(e,t,n,r,i){return new H.prototype.init(e,t,n,r,i)}function F(e,t){for(var n,r={height:e},i=0;4>i;i+=2-t)n=gn[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function O(e){return Q.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var I,B,R=e.document,P=e.location,q=e.navigator,W=e.jQuery,z=e.$,U=Array.prototype.push,J=Array.prototype.slice,V=Array.prototype.indexOf,K=Object.prototype.toString,Y=Object.prototype.hasOwnProperty,G=String.prototype.trim,Q=function(e,t){return new Q.fn.init(e,t,I)},Z=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,et=/\S/,tt=/\s+/,nt=et.test(" ")?/^[\s\xA0]+|[\s\xA0]+$/g:/^\s+|\s+$/g,rt=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,it=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ot=/^[\],:{}\s]*$/,at=/(?:^|:|,)(?:\s*\[)+/g,st=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,lt=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,ct=/^-ms-/,ut=/-([\da-z])/gi,dt=function(e,t){return(t+"").toUpperCase()},ft=function(){R.addEventListener?(R.removeEventListener("DOMContentLoaded",ft,!1),Q.ready()):"complete"===R.readyState&&(R.detachEvent("onreadystatechange",ft),Q.ready())},pt={};Q.fn=Q.prototype={constructor:Q,init:function(e,n,r){var i,o,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:rt.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1])return n=n instanceof Q?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:R,e=Q.parseHTML(i[1],a,!0),it.test(i[1])&&Q.isPlainObject(n)&&this.attr.call(e,n,!0),Q.merge(this,e);if(o=R.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=R,this.selector=e,this}return Q.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),Q.makeArray(e,this))},selector:"",jquery:"1.8.0",length:0,size:function(){return this.length},toArray:function(){return J.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=Q.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,"find"===t?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return Q.each(this,e,t)},ready:function(e){return Q.ready.promise().done(e),this},eq:function(e){return e=+e,-1===e?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(J.apply(this,arguments),"slice",J.call(arguments).join(","))},map:function(e){return this.pushStack(Q.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:U,sort:[].sort,splice:[].splice},Q.fn.init.prototype=Q.fn,Q.extend=Q.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[1]||{},l=2),"object"==typeof s||Q.isFunction(s)||(s={}),c===l&&(s=this,--l);c>l;l++)if(null!=(e=arguments[l]))for(n in e)r=s[n],i=e[n],s!==i&&(u&&i&&(Q.isPlainObject(i)||(o=Q.isArray(i)))?(o?(o=!1,a=r&&Q.isArray(r)?r:[]):a=r&&Q.isPlainObject(r)?r:{},s[n]=Q.extend(u,a,i)):i!==t&&(s[n]=i));return s},Q.extend({noConflict:function(t){return e.$===Q&&(e.$=z),t&&e.jQuery===Q&&(e.jQuery=W),Q},isReady:!1,readyWait:1,holdReady:function(e){e?Q.readyWait++:Q.ready(!0)},ready:function(e){if(e===!0?!--Q.readyWait:!Q.isReady){if(!R.body)return setTimeout(Q.ready,1);Q.isReady=!0,e!==!0&&--Q.readyWait>0||(B.resolveWith(R,[Q]),Q.fn.trigger&&Q(R).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===Q.type(e)},isArray:Array.isArray||function(e){return"array"===Q.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):pt[K.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==Q.type(e)||e.nodeType||Q.isWindow(e))return!1;try{if(e.constructor&&!Y.call(e,"constructor")&&!Y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||Y.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return e&&"string"==typeof e?("boolean"==typeof t&&(n=t,t=0),t=t||R,(r=it.exec(e))?[t.createElement(r[1])]:(r=Q.buildFragment([e],t,n?null:[]),Q.merge([],(r.cacheable?Q.clone(r.fragment):r.fragment).childNodes))):null},parseJSON:function(t){return t&&"string"==typeof t?(t=Q.trim(t),e.JSON&&e.JSON.parse?e.JSON.parse(t):ot.test(t.replace(st,"@").replace(lt,"]").replace(at,""))?new Function("return "+t)():void Q.error("Invalid JSON: "+t)):null},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||Q.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&et.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(ct,"ms-").replace(ut,dt)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,n,r){var i,o=0,a=e.length,s=a===t||Q.isFunction(e);if(r)if(s){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;a>o&&n.apply(e[o++],r)!==!1;);else if(s){for(i in e)if(n.call(e[i],i,e[i])===!1)break}else for(;a>o&&n.call(e[o],o,e[o++])!==!1;);return e},trim:G?function(e){return null==e?"":G.call(e)}:function(e){return null==e?"":e.toString().replace(nt,"")},makeArray:function(e,t){var n,r=t||[];return null!=e&&(n=Q.type(e),null==e.length||"string"===n||"function"===n||"regexp"===n||Q.isWindow(e)?U.call(r,e):Q.merge(r,e)),r},inArray:function(e,t,n){var r;if(t){if(V)return V.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else for(;n[o]!==t;)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,n,r){var i,o,a=[],s=0,l=e.length,c=e instanceof Q||l!==t&&"number"==typeof l&&(l>0&&e[0]&&e[l-1]||0===l||Q.isArray(e));if(c)for(;l>s;s++)i=n(e[s],s,r),null!=i&&(a[a.length]=i);else for(o in e)i=n(e[o],o,r),null!=i&&(a[a.length]=i);return a.concat.apply([],a)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(r=e[n],n=e,e=r),Q.isFunction(e)?(i=J.call(arguments,2),o=function(){return e.apply(n,i.concat(J.call(arguments)))},o.guid=e.guid=e.guid||o.guid||Q.guid++,o):t},access:function(e,n,r,i,o,a,s){var l,c=null==r,u=0,d=e.length;if(r&&"object"==typeof r){for(u in r)Q.access(e,n,u,r[u],1,a,i);o=1}else if(i!==t){if(l=s===t&&Q.isFunction(i),c&&(l?(l=n,n=function(e,t,n){return l.call(Q(e),n)}):(n.call(e,i),n=null)),n)for(;d>u;u++)n(e[u],r,l?i.call(e[u],u,n(e[u],r)):i,s);o=1}return o?e:c?n.call(e):d?n(e[0],r):a},now:function(){return(new Date).getTime()}}),Q.ready.promise=function(t){if(!B)if(B=Q.Deferred(),"complete"===R.readyState||"loading"!==R.readyState&&R.addEventListener)setTimeout(Q.ready,1);else if(R.addEventListener)R.addEventListener("DOMContentLoaded",ft,!1),e.addEventListener("load",Q.ready,!1);else{R.attachEvent("onreadystatechange",ft),e.attachEvent("onload",Q.ready);var n=!1;try{n=null==e.frameElement&&R.documentElement}catch(r){}n&&n.doScroll&&!function i(){if(!Q.isReady){try{n.doScroll("left")}catch(e){return setTimeout(i,50)}Q.ready()}}()}return B.promise(t)},Q.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){pt["[object "+t+"]"]=t.toLowerCase()}),I=Q(R);var ht={};Q.Callbacks=function(e){e="string"==typeof e?ht[e]||n(e):Q.extend({},e);var r,i,o,a,s,l,c=[],u=!e.once&&[],d=function(t){for(r=e.memory&&t,i=!0,l=a||0,a=0,s=c.length,o=!0;c&&s>l;l++)if(c[l].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}o=!1,c&&(u?u.length&&d(u.shift()):r?c=[]:f.disable())},f={add:function(){if(c){var t=c.length;!function n(t){Q.each(t,function(t,r){!Q.isFunction(r)||e.unique&&f.has(r)?r&&r.length&&n(r):c.push(r)})}(arguments),o?s=c.length:r&&(a=t,d(r))}return this},remove:function(){return c&&Q.each(arguments,function(e,t){for(var n;(n=Q.inArray(t,c,n))>-1;)c.splice(n,1),o&&(s>=n&&s--,l>=n&&l--)}),this},has:function(e){return Q.inArray(e,c)>-1},empty:function(){return c=[],this},disable:function(){return c=u=r=t,this},disabled:function(){return!c},lock:function(){return u=t,r||f.disable(),this},locked:function(){return!u},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!c||i&&!u||(o?u.push(t):d(t)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!i}};return f},Q.extend({Deferred:function(e){var t=[["resolve","done",Q.Callbacks("once memory"),"resolved"],["reject","fail",Q.Callbacks("once memory"),"rejected"],["notify","progress",Q.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return Q.Deferred(function(n){Q.each(t,function(t,r){var o=r[0],a=e[t];i[r[1]](Q.isFunction(a)?function(){var e=a.apply(this,arguments);e&&Q.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o+"With"](this===i?n:this,[e])}:n[o])}),e=null}).promise()},promise:function(e){return"object"==typeof e?Q.extend(e,r):r}},i={};return r.pipe=r.then,Q.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=a.fire,i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=J.call(arguments),a=o.length,s=1!==a||e&&Q.isFunction(e.promise)?a:0,l=1===s?e:Q.Deferred(),c=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?J.call(arguments):i,r===t?l.notifyWith(n,r):--s||l.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);a>i;i++)o[i]&&Q.isFunction(o[i].promise)?o[i].promise().done(c(i,r,o)).fail(l.reject).progress(c(i,n,t)):--s;return s||l.resolveWith(r,o),l.promise()}}),Q.support=function(){var t,n,r,i,o,a,s,l,c,u,d,f=R.createElement("div");if(f.setAttribute("className","t"),f.innerHTML="
a",n=f.getElementsByTagName("*"),r=f.getElementsByTagName("a")[0],r.style.cssText="top:1px;float:left;opacity:.5",!n||!n.length||!r)return{};i=R.createElement("select"),o=i.appendChild(R.createElement("option")),a=f.getElementsByTagName("input")[0],t={leadingWhitespace:3===f.firstChild.nodeType,tbody:!f.getElementsByTagName("tbody").length,htmlSerialize:!!f.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:"/a"===r.getAttribute("href"),opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:"on"===a.value,optSelected:o.selected,getSetAttribute:"t"!==f.className,enctype:!!R.createElement("form").enctype,html5Clone:"<:nav>"!==R.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===R.compatMode,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,i.disabled=!0,t.optDisabled=!o.disabled;try{delete f.test}catch(p){t.deleteExpando=!1}if(!f.addEventListener&&f.attachEvent&&f.fireEvent&&(f.attachEvent("onclick",d=function(){t.noCloneEvent=!1}),f.cloneNode(!0).fireEvent("onclick"),f.detachEvent("onclick",d)),a=R.createElement("input"),a.value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","checked"),a.setAttribute("name","t"),f.appendChild(a),s=R.createDocumentFragment(),s.appendChild(f.lastChild),t.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=a.checked,s.removeChild(a),s.appendChild(f),f.attachEvent)for(c in{submit:!0,change:!0,focusin:!0})l="on"+c,u=l in f,u||(f.setAttribute(l,"return;"),u="function"==typeof f[l]),t[c+"Bubbles"]=u;return Q(function(){var n,r,i,o,a="padding:0;margin:0;border:0;display:block;overflow:hidden;",s=R.getElementsByTagName("body")[0];s&&(n=R.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",s.insertBefore(n,s.firstChild),r=R.createElement("div"),n.appendChild(r),r.innerHTML="
t
",i=r.getElementsByTagName("td"),i[0].style.cssText="padding:0;margin:0;border:0;display:none",u=0===i[0].offsetHeight,i[0].style.display="",i[1].style.display="none",t.reliableHiddenOffsets=u&&0===i[0].offsetHeight,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=4===r.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==s.offsetTop,e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(r,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(r,null)||{width:"4px"}).width,o=R.createElement("div"),o.style.cssText=r.style.cssText=a,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),"undefined"!=typeof r.style.zoom&&(r.innerHTML="",r.style.cssText=a+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===r.offsetWidth,r.style.display="block",r.style.overflow="visible",r.innerHTML="
",r.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==r.offsetWidth,n.style.zoom=1),s.removeChild(n),n=r=i=o=null)}),s.removeChild(f),n=r=i=o=a=s=f=null,t}();var mt=/^(?:\{.*\}|\[.*\])$/,gt=/([A-Z])/g;Q.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(Q.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?Q.cache[e[Q.expando]]:e[Q.expando],!!e&&!i(e)},data:function(e,n,r,i){if(Q.acceptData(e)){var o,a,s=Q.expando,l="string"==typeof n,c=e.nodeType,u=c?Q.cache:e,d=c?e[s]:e[s]&&s;if(d&&u[d]&&(i||u[d].data)||!l||r!==t)return d||(c?e[s]=d=Q.deletedIds.pop()||++Q.uuid:d=s),u[d]||(u[d]={},c||(u[d].toJSON=Q.noop)),("object"==typeof n||"function"==typeof n)&&(i?u[d]=Q.extend(u[d],n):u[d].data=Q.extend(u[d].data,n)),o=u[d],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[Q.camelCase(n)]=r),l?(a=o[n],null==a&&(a=o[Q.camelCase(n)])):a=o,a}},removeData:function(e,t,n){if(Q.acceptData(e)){var r,o,a,s=e.nodeType,l=s?Q.cache:e,c=s?e[Q.expando]:Q.expando;if(l[c]){if(t&&(r=n?l[c]:l[c].data)){Q.isArray(t)||(t in r?t=[t]:(t=Q.camelCase(t),t=t in r?[t]:t.split(" ")));for(o=0,a=t.length;a>o;o++)delete r[t[o]];if(!(n?i:Q.isEmptyObject)(r))return}(n||(delete l[c].data,i(l[c])))&&(s?Q.cleanData([e],!0):Q.support.deleteExpando||l!=l.window?delete l[c]:l[c]=null)}}},_data:function(e,t,n){return Q.data(e,t,n,!0)},acceptData:function(e){var t=e.nodeName&&Q.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),Q.fn.extend({data:function(e,n){var i,o,a,s,l,c=this[0],u=0,d=null;if(e===t){if(this.length&&(d=Q.data(c),1===c.nodeType&&!Q._data(c,"parsedAttrs"))){for(a=c.attributes,l=a.length;l>u;u++)s=a[u].name,0===s.indexOf("data-")&&(s=Q.camelCase(s.substring(5)),r(c,s,d[s]));Q._data(c,"parsedAttrs",!0)}return d}return"object"==typeof e?this.each(function(){Q.data(this,e)}):(i=e.split(".",2),i[1]=i[1]?"."+i[1]:"",o=i[1]+"!",Q.access(this,function(n){return n===t?(d=this.triggerHandler("getData"+o,[i[0]]),d===t&&c&&(d=Q.data(c,e),d=r(c,e,d)),d===t&&i[1]?this.data(i[0]):d):(i[1]=n,void this.each(function(){var t=Q(this);t.triggerHandler("setData"+o,i),Q.data(this,e,n),t.triggerHandler("changeData"+o,i)}))},null,n,arguments.length>1,null,!1))},removeData:function(e){return this.each(function(){Q.removeData(this,e)})}}),Q.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=Q._data(e,t),n&&(!r||Q.isArray(n)?r=Q._data(e,t,Q.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=Q.queue(e,t),r=n.shift(),i=Q._queueHooks(e,t),o=function(){Q.dequeue(e,t)};"inprogress"===r&&(r=n.shift()),r&&("fx"===t&&n.unshift("inprogress"),delete i.stop,r.call(e,o,i)),!n.length&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q._data(e,n)||Q._data(e,n,{empty:Q.Callbacks("once memory").add(function(){Q.removeData(e,t+"queue",!0),Q.removeData(e,n,!0)})})}}),Q.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),arguments.length1)},removeAttr:function(e){return this.each(function(){Q.removeAttr(this,e)})},prop:function(e,t){return Q.access(this,Q.prop,e,t,arguments.length>1)},removeProp:function(e){return e=Q.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a,s;if(Q.isFunction(e))return this.each(function(t){Q(this).addClass(e.call(this,t,this.className))});if(e&&"string"==typeof e)for(t=e.split(tt),n=0,r=this.length;r>n;n++)if(i=this[n],1===i.nodeType)if(i.className||1!==t.length){for(o=" "+i.className+" ",a=0,s=t.length;s>a;a++)~o.indexOf(" "+t[a]+" ")||(o+=t[a]+" ");i.className=Q.trim(o)}else i.className=e;return this},removeClass:function(e){var n,r,i,o,a,s,l;if(Q.isFunction(e))return this.each(function(t){Q(this).removeClass(e.call(this,t,this.className))});if(e&&"string"==typeof e||e===t)for(n=(e||"").split(tt),s=0,l=this.length;l>s;s++)if(i=this[s],1===i.nodeType&&i.className){for(r=(" "+i.className+" ").replace(bt," "),o=0,a=n.length;a>o;o++)for(;r.indexOf(" "+n[o]+" ")>-1;)r=r.replace(" "+n[o]+" "," ");i.className=e?Q.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return this.each(Q.isFunction(e)?function(n){Q(this).toggleClass(e.call(this,n,this.className,t),t)}:function(){if("string"===n)for(var i,o=0,a=Q(this),s=t,l=e.split(tt);i=l[o++];)s=r?s:!a.hasClass(i),a[s?"addClass":"removeClass"](i);else("undefined"===n||"boolean"===n)&&(this.className&&Q._data(this,"__className__",this.className),this.className=this.className||e===!1?"":Q._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(bt," ").indexOf(t)>-1)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=Q.isFunction(e),this.each(function(r){var o,a=Q(this);1===this.nodeType&&(o=i?e.call(this,r,a.val()):e,null==o?o="":"number"==typeof o?o+="":Q.isArray(o)&&(o=Q.map(o,function(e){return null==e?"":e+""})),n=Q.valHooks[this.type]||Q.valHooks[this.nodeName.toLowerCase()],n&&"set"in n&&n.set(this,o,"value")!==t||(this.value=o))});if(o)return n=Q.valHooks[o.type]||Q.valHooks[o.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(o,"value"))!==t?r:(r=o.value,"string"==typeof r?r.replace(wt,""):null==r?"":r)}}}),Q.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r,i,o=e.selectedIndex,a=[],s=e.options,l="select-one"===e.type;if(0>o)return null;for(n=l?o:0,r=l?o+1:s.length;r>n;n++)if(i=s[n],!(!i.selected||(Q.support.optDisabled?i.disabled:null!==i.getAttribute("disabled"))||i.parentNode.disabled&&Q.nodeName(i.parentNode,"optgroup"))){if(t=Q(i).val(),l)return t;a.push(t)}return l&&!a.length&&s.length?Q(s[o]).val():a},set:function(e,t){var n=Q.makeArray(t);return Q(e).find("option").each(function(){this.selected=Q.inArray(Q(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var o,a,s,l=e.nodeType;if(e&&3!==l&&8!==l&&2!==l)return i&&Q.isFunction(Q.fn[n])?Q(e)[n](r):"undefined"==typeof e.getAttribute?Q.prop(e,n,r):(s=1!==l||!Q.isXMLDoc(e),s&&(n=n.toLowerCase(),a=Q.attrHooks[n]||(Ct.test(n)?yt:vt)),r!==t?null===r?void Q.removeAttr(e,n):a&&"set"in a&&s&&(o=a.set(e,r,n))!==t?o:(e.setAttribute(n,""+r),r):a&&"get"in a&&s&&null!==(o=a.get(e,n))?o:(o=e.getAttribute(n),null===o?t:o))},removeAttr:function(e,t){var n,r,i,o,a=0;if(t&&1===e.nodeType)for(r=t.split(tt);a=0:void 0}})});var Nt=/^(?:textarea|input|select)$/i,$t=/^([^\.]*|)(?:\.(.+)|)$/,Dt=/(?:^|\s)hover(\.\S+|)\b/,_t=/^key/,jt=/^(?:mouse|contextmenu)|click/,At=/^(?:focusinfocus|focusoutblur)$/,Lt=function(e){return Q.event.special.hover?e:e.replace(Dt,"mouseenter$1 mouseleave$1")};Q.event={add:function(e,n,r,i,o){var a,s,l,c,u,d,f,p,h,m,g;if(3!==e.nodeType&&8!==e.nodeType&&n&&r&&(a=Q._data(e))){for(r.handler&&(h=r,r=h.handler,o=h.selector),r.guid||(r.guid=Q.guid++),l=a.events,l||(a.events=l={}),s=a.handle,s||(a.handle=s=function(e){return"undefined"==typeof Q||e&&Q.event.triggered===e.type?t:Q.event.dispatch.apply(s.elem,arguments)},s.elem=e),n=Q.trim(Lt(n)).split(" "),c=0;c=0&&(g=g.slice(0,-1),s=!0),g.indexOf(".")>=0&&(v=g.split("."),g=v.shift(),v.sort()),i&&!Q.event.customEvent[g]||Q.event.global[g]))if(n="object"==typeof n?n[Q.expando]?n:new Q.Event(g,n):new Q.Event(g),n.type=g,n.isTrigger=!0,n.exclusive=s,n.namespace=v.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,d=g.indexOf(":")<0?"on"+g:"",i){if(n.result=t,n.target||(n.target=i),r=null!=r?Q.makeArray(r):[],r.unshift(n),f=Q.event.special[g]||{},!f.trigger||f.trigger.apply(i,r)!==!1){if(h=[[i,f.bindType||g]],!o&&!f.noBubble&&!Q.isWindow(i)){for(m=f.delegateType||g,c=At.test(m+g)?i:i.parentNode,u=i;c;c=c.parentNode)h.push([c,m]),u=c;u===(i.ownerDocument||R)&&h.push([u.defaultView||u.parentWindow||e,m])}for(l=0;lr;r++)d=p[r],f=d.selector,l[f]===t&&(l[f]=a.is(f)),l[f]&&u.push(d);u.length&&y.push({elem:o,matches:u})}for(p.length>h&&y.push({elem:this,matches:p.slice(h)}),r=0;r0?this.on(t,null,e,n):this.trigger(t)},_t.test(t)&&(Q.event.fixHooks[t]=Q.event.keyHooks),jt.test(t)&&(Q.event.fixHooks[t]=Q.event.mouseHooks)}),function(e,t){function n(e,t,n,r){for(var i=0,o=t.length;o>i;i++)ot(e,t[i],n,r)}function r(e,t,r,i,o,a){var s,l=at.setFilters[t.toLowerCase()];return l||ot.error(t),(e||!(s=o))&&n(e||"*",i,s=[],o),s.length>0?l(s,r,a):[]}function i(e,i,o,a,s){for(var l,c,u,d,f,p,h,m,g=0,v=s.length,y=W.POS,x=new RegExp("^"+y.source+"(?!"+S+")","i"),b=function(){for(var e=1,n=arguments.length-2;n>e;e++)arguments[e]===t&&(l[e]=t)};v>g;g++){for(y.exec(""),e=s[g],d=[],u=0,f=a;l=y.exec(e);)m=y.lastIndex=l.index+l[0].length,m>u&&(h=e.slice(u,l.index),u=m,p=[i],M.test(h)&&(f&&(p=f),f=a),(c=B.test(h))&&(h=h.slice(0,-5).replace(M,"$&*")),l.length>1&&l[0].replace(x,b),f=r(h,l[1],l[2],p,f,c));f?(d=d.concat(f),(h=e.slice(u))&&")"!==h?M.test(h)?n(h,d,o,a):ot(h,i,o,a?a.concat(f):f):T.apply(o,d)):ot(e,i,o,a)}return 1===v?o:ot.uniqueSort(o)}function o(e,t,n){for(var r,i,o,a=[],s=0,l=H.exec(e),c=!l.pop()&&!l.pop(),u=c&&e.match(X)||[""],d=at.preFilter,f=at.filter,p=!n&&t!==m;null!=(i=u[s])&&c;s++)for(a.push(r=[]),p&&(i=" "+i);i;){c=!1,(l=M.exec(i))&&(i=i.slice(l[0].length),c=r.push({part:l.pop().replace(L," "),captures:l}));for(o in f)!(l=W[o].exec(i))||d[o]&&!(l=d[o](l,t,n))||(i=i.slice(l.shift().length),c=r.push({part:o,captures:l}));if(!c)break}return c||ot.error(e),a}function a(e,t,n){var r=t.dir,i=b++;return e||(e=function(e){return e===n}),t.first?function(t,n){for(;t=t[r];)if(1===t.nodeType)return e(t,n)&&t}:function(t,n){for(var o,a=i+"."+d,s=a+"."+u;t=t[r];)if(1===t.nodeType){if((o=t[k])===s)return t.sizset;if("string"==typeof o&&0===o.indexOf(a)){if(t.sizset)return t}else{if(t[k]=s,e(t,n))return t.sizset=!0,t;t.sizset=!1}}}}function s(e,t){return e?function(n,r){var i=t(n,r);return i&&e(i===!0?n:i,r)}:t}function l(e,t,n){for(var r,i,o=0;r=e[o];o++)at.relative[r.part]?i=a(i,at.relative[r.part],t):(r.captures.push(t,n),i=s(i,at.filter[r.part].apply(null,r.captures)));return i}function c(e){return function(t,n){for(var r,i=0;r=e[i];i++)if(r(t,n))return!0;return!1}}var u,d,f,p,h,m=e.document,g=m.documentElement,v="undefined",y=!1,x=!0,b=0,w=[].slice,T=[].push,k=("sizcache"+Math.random()).replace(".",""),S="[\\x20\\t\\r\\n\\f]",C="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",E=C.replace("w","w#"),N="([*^$|!~]?=)",$="\\["+S+"*("+C+")"+S+"*(?:"+N+S+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+E+")|)|)"+S+"*\\]",D=":("+C+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|((?:[^,]|\\\\,|(?:,(?=[^\\[]*\\]))|(?:,(?=[^\\(]*\\))))*))\\)|)",_=":(nth|eq|gt|lt|first|last|even|odd)(?:\\((\\d*)\\)|)(?=[^-]|$)",j=S+"*([\\x20\\t\\r\\n\\f>+~])"+S+"*",A="(?=[^\\x20\\t\\r\\n\\f])(?:\\\\.|"+$+"|"+D.replace(2,7)+"|[^\\\\(),])+",L=new RegExp("^"+S+"+|((?:^|[^\\\\])(?:\\\\.)*)"+S+"+$","g"),M=new RegExp("^"+j),X=new RegExp(A+"?(?="+S+"*,|$)","g"),H=new RegExp("^(?:(?!,)(?:(?:^|,)"+S+"*"+A+")*?|"+S+"*(.*?))(\\)|$)"),F=new RegExp(A.slice(19,-6)+"\\x20\\t\\r\\n\\f>+~])+|"+j,"g"),O=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,I=/[\x20\t\r\n\f]*[+~]/,B=/:not\($/,R=/h\d/i,P=/input|select|textarea|button/i,q=/\\(?!\\)/g,W={ID:new RegExp("^#("+C+")"),CLASS:new RegExp("^\\.("+C+")"),NAME:new RegExp("^\\[name=['\"]?("+C+")['\"]?\\]"),TAG:new RegExp("^("+C.replace("[-","[-\\*")+")"),ATTR:new RegExp("^"+$),PSEUDO:new RegExp("^"+D),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+S+"*(even|odd|(([+-]|)(\\d*)n|)"+S+"*(?:([+-]|)"+S+"*(\\d+)|))"+S+"*\\)|)","i"),POS:new RegExp(_,"ig"),needsContext:new RegExp("^"+S+"*[>+~]|"+_,"i")},z={},U=[],J={},V=[],K=function(e){return e.sizzleFilter=!0,e},Y=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}},G=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}},Z=function(e){var t=!1,n=m.createElement("div");try{t=e(n)}catch(r){}return n=null,t},et=Z(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),tt=Z(function(e){e.id=k+0,e.innerHTML="
",g.insertBefore(e,g.firstChild);var t=m.getElementsByName&&m.getElementsByName(k).length===2+m.getElementsByName(k+0).length;return h=!m.getElementById(k),g.removeChild(e),t}),nt=Z(function(e){return e.appendChild(m.createComment("")),0===e.getElementsByTagName("*").length}),rt=Z(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==v&&"#"===e.firstChild.getAttribute("href")}),it=Z(function(e){return e.innerHTML="",e.getElementsByClassName&&0!==e.getElementsByClassName("e").length?(e.lastChild.className="e",1!==e.getElementsByClassName("e").length):!1}),ot=function(e,t,n,r){n=n||[],t=t||m;var i,o,a,s,l=t.nodeType;if(1!==l&&9!==l)return[];if(!e||"string"!=typeof e)return n;if(a=lt(t),!a&&!r&&(i=O.exec(e)))if(s=i[1]){if(9===l){if(o=t.getElementById(s),!o||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(s))&&ct(t,o)&&o.id===s)return n.push(o),n}else{if(i[2])return T.apply(n,w.call(t.getElementsByTagName(e),0)),n;if((s=i[3])&&it&&t.getElementsByClassName)return T.apply(n,w.call(t.getElementsByClassName(s),0)),n}return ft(e,t,n,r,a)},at=ot.selectors={cacheLength:50,match:W,order:["ID","TAG"],attrHandle:{},createPseudo:K,find:{ID:h?function(e,t,n){if(typeof t.getElementById!==v&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==v&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==v&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:nt?function(e,t){return typeof t.getElementsByTagName!==v?t.getElementsByTagName(e):void 0}:function(e,t){var n=t.getElementsByTagName(e);if("*"===e){for(var r,i=[],o=0;r=n[o];o++)1===r.nodeType&&i.push(r);return i}return n}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(q,""),e[3]=(e[4]||e[5]||"").replace(q,""),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1]?(e[2]||ot.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*("even"===e[2]||"odd"===e[2])),e[4]=+(e[6]+e[7]||"odd"===e[2])):e[2]&&ot.error(e[0]),e},PSEUDO:function(e){var t,n=e[4];return W.CHILD.test(e[0])?null:(n&&(t=H.exec(n))&&t.pop()&&(e[0]=e[0].slice(0,t[0].length-n.length-1),n=t[0].slice(0,-1)),e.splice(2,3,n||e[3]),e)}},filter:{ID:h?function(e){return e=e.replace(q,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace(q,""),function(t){var n=typeof t.getAttributeNode!==v&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(q,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=z[e];return t||(t=z[e]=new RegExp("(^|"+S+")"+e+"("+S+"|$)"),U.push(e),U.length>at.cacheLength&&delete z[U.shift()]),function(e){return t.test(e.className||typeof e.getAttribute!==v&&e.getAttribute("class")||"")}},ATTR:function(e,t,n){return t?function(r){var i=ot.attr(r,e),o=i+"";if(null==i)return"!="===t;switch(t){case"=":return o===n;case"!=":return o!==n;case"^=":return n&&0===o.indexOf(n);case"*=":return n&&o.indexOf(n)>-1;case"$=":return n&&o.substr(o.length-n.length)===n;case"~=":return(" "+o+" ").indexOf(n)>-1;case"|=":return o===n||o.substr(0,n.length+1)===n+"-"}}:function(t){return null!=ot.attr(t,e)}},CHILD:function(e,t,n,r){if("nth"===e){var i=b++;return function(e){var t,o,a=0,s=e;if(1===n&&0===r)return!0;if(t=e.parentNode,t&&(t[k]!==i||!e.sizset)){for(s=t.firstChild;s&&(1!==s.nodeType||(s.sizset=++a,s!==e));s=s.nextSibling);t[k]=i}return o=e.sizset-r,0===n?0===o:o%n===0&&o/n>=0}}return function(t){var n=t;switch(e){case"only":case"first":for(;n=n.previousSibling;)if(1===n.nodeType)return!1;if("first"===e)return!0;n=t;case"last":for(;n=n.nextSibling;)if(1===n.nodeType)return!1;return!0}}},PSEUDO:function(e,t,n,r){var i=at.pseudos[e]||at.pseudos[e.toLowerCase()];return i||ot.error("unsupported pseudo: "+e),i.sizzleFilter?i(t,n,r):i}},pseudos:{not:K(function(e,t,n){var r=dt(e.replace(L,"$1"),t,n);return function(e){return!r(e)}}),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},parent:function(e){return!at.pseudos.empty(e)},empty:function(e){var t;for(e=e.firstChild;e;){if(e.nodeName>"@"||3===(t=e.nodeType)||4===t)return!1;e=e.nextSibling}return!0},contains:K(function(e){return function(t){return(t.textContent||t.innerText||ut(t)).indexOf(e)>-1}}),has:K(function(e){return function(t){return ot(e,t).length>0}}),header:function(e){return R.test(e.nodeName)},text:function(e){var t,n;return"input"===e.nodeName.toLowerCase()&&"text"===(t=e.type)&&(null==(n=e.getAttribute("type"))||n.toLowerCase()===t)},radio:Y("radio"),checkbox:Y("checkbox"),file:Y("file"),password:Y("password"),image:Y("image"),submit:G("submit"),reset:G("reset"),button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return P.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return!(e!==t.activeElement||t.hasFocus&&!t.hasFocus()||!e.type&&!e.href)},active:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(e,t,n){return n?e.slice(1):[e[0]]},last:function(e,t,n){var r=e.pop();return n?e:[r]},even:function(e,t,n){for(var r=[],i=n?1:0,o=e.length;o>i;i+=2)r.push(e[i]);return r},odd:function(e,t,n){for(var r=[],i=n?0:1,o=e.length;o>i;i+=2)r.push(e[i]);return r},lt:function(e,t,n){return n?e.slice(+t):e.slice(0,+t)},gt:function(e,t,n){return n?e.slice(0,+t+1):e.slice(+t+1)},eq:function(e,t,n){var r=e.splice(+t,1);return n?e:r}}};at.setFilters.nth=at.setFilters.eq,at.filters=at.pseudos,rt||(at.attrHandle={href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}}),tt&&(at.order.push("NAME"),at.find.NAME=function(e,t){return typeof t.getElementsByName!==v?t.getElementsByName(e):void 0}),it&&(at.order.splice(1,0,"CLASS"),at.find.CLASS=function(e,t,n){return typeof t.getElementsByClassName===v||n?void 0:t.getElementsByClassName(e)});try{w.call(g.childNodes,0)[0].nodeType}catch(st){w=function(e){for(var t,n=[];t=this[e];e++)n.push(t);return n}}var lt=ot.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},ct=ot.contains=g.compareDocumentPosition?function(e,t){return!!(16&e.compareDocumentPosition(t))}:g.contains?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t.parentNode;return e===r||!!(r&&1===r.nodeType&&n.contains&&n.contains(r))}:function(e,t){for(;t=t.parentNode;)if(t===e)return!0;return!1},ut=ot.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=ut(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=ut(t);return n};ot.attr=function(e,t){var n,r=lt(e);return r||(t=t.toLowerCase()),at.attrHandle[t]?at.attrHandle[t](e):et||r?e.getAttribute(t):(n=e.getAttributeNode(t),n?"boolean"==typeof e[t]?e[t]?t:null:n.specified?n.value:null:null)},ot.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},[0,0].sort(function(){return x=0}),g.compareDocumentPosition?f=function(e,t){return e===t?(y=!0,0):(e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t):e.compareDocumentPosition)?-1:1}:(f=function(e,t){if(e===t)return y=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,r,i=[],o=[],a=e.parentNode,s=t.parentNode,l=a;if(a===s)return p(e,t);if(!a)return-1;if(!s)return 1;for(;l;)i.unshift(l),l=l.parentNode;for(l=s;l;)o.unshift(l),l=l.parentNode;n=i.length,r=o.length;for(var c=0;n>c&&r>c;c++)if(i[c]!==o[c])return p(i[c],o[c]);return c===n?p(e,o[c],-1):p(i[c],t,1)},p=function(e,t,n){if(e===t)return n;for(var r=e.nextSibling;r;){if(r===t)return-1;r=r.nextSibling}return 1}),ot.uniqueSort=function(e){var t,n=1;if(f&&(y=x,e.sort(f),y))for(;t=e[n];n++)t===e[n-1]&&e.splice(n--,1);return e};var dt=ot.compile=function(e,t,n){var r,i,a,s=J[e];if(s&&s.context===t)return s;for(i=o(e,t,n),a=0;r=i[a];a++)i[a]=l(r,t,n);return s=J[e]=c(i),s.context=t,s.runs=s.dirruns=0,V.push(e),V.length>at.cacheLength&&delete J[V.shift()],s};ot.matches=function(e,t){return ot(e,null,null,t)},ot.matchesSelector=function(e,t){return ot(t,null,null,[e]).length>0};var ft=function(e,t,n,r,o){e=e.replace(L,"$1");var a,s,l,c,f,p,h,m,g,v=e.match(X),y=e.match(F),x=t.nodeType;if(W.POS.test(e))return i(e,t,n,r,v);if(r)a=w.call(r,0);else if(v&&1===v.length){if(y.length>1&&9===x&&!o&&(v=W.ID.exec(y[0]))){if(t=at.find.ID(v[1],t,o)[0],!t)return n;e=e.slice(y.shift().length)}for(m=(v=I.exec(y[0]))&&!v.index&&t.parentNode||t,g=y.pop(),p=g.split(":not")[0],l=0,c=at.order.length;c>l;l++)if(h=at.order[l],v=W[h].exec(p)){if(a=at.find[h]((v[1]||"").replace(q,""),m,o),null==a)continue;p===g&&(e=e.slice(0,e.length-g.length)+p.replace(W[h],""),e||T.apply(n,w.call(a,0)));break}}if(e)for(s=dt(e,t,o),d=s.dirruns++,null==a&&(a=at.find.TAG("*",I.test(e)&&t.parentNode||t)),l=0;f=a[l];l++)u=s.runs++,s(f,t)&&n.push(f);return n};m.querySelectorAll&&!function(){var e,t=ft,n=/'|\\/g,r=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,i=[],o=[":active"],a=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.oMatchesSelector||g.msMatchesSelector;Z(function(e){e.innerHTML="",e.querySelectorAll("[selected]").length||i.push("\\["+S+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),Z(function(e){e.innerHTML="

",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+S+"*(?:\"\"|'')"),e.innerHTML="",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=i.length&&new RegExp(i.join("|")),ft=function(e,r,o,a,s){if(!(a||s||i&&i.test(e)))if(9===r.nodeType)try{return T.apply(o,w.call(r.querySelectorAll(e),0)),o}catch(l){}else if(1===r.nodeType&&"object"!==r.nodeName.toLowerCase()){var c=r.getAttribute("id"),u=c||k,d=I.test(e)&&r.parentNode||r;c?u=u.replace(n,"\\$&"):r.setAttribute("id",u);try{return T.apply(o,w.call(d.querySelectorAll(e.replace(X,"[id='"+u+"'] $&")),0)),o}catch(l){}finally{c||r.removeAttribute("id")}}return t(e,r,o,a,s)},a&&(Z(function(t){e=a.call(t,"div");try{a.call(t,"[test!='']:sizzle"),o.push(at.match.PSEUDO)}catch(n){}}),o=new RegExp(o.join("|")),ot.matchesSelector=function(t,n){if(n=n.replace(r,"='$1']"),!(lt(t)||o.test(n)||i&&i.test(n)))try{var s=a.call(t,n);if(s||e||t.document&&11!==t.document.nodeType)return s}catch(l){}return ot(n,null,null,[t]).length>0})}(),ot.attr=Q.attr,Q.find=ot,Q.expr=ot.selectors,Q.expr[":"]=Q.expr.pseudos,Q.unique=ot.uniqueSort,Q.text=ot.getText,Q.isXMLDoc=ot.isXML,Q.contains=ot.contains}(e);var Mt=/Until$/,Xt=/^(?:parents|prev(?:Until|All))/,Ht=/^.[^:#\[\.,]*$/,Ft=Q.expr.match.needsContext,Ot={children:!0,contents:!0,next:!0,prev:!0};Q.fn.extend({find:function(e){var t,n,r,i,o,a,s=this;if("string"!=typeof e)return Q(e).filter(function(){for(t=0,n=s.length;n>t;t++)if(Q.contains(s[t],this))return!0});for(a=this.pushStack("","find",e),t=0,n=this.length;n>t;t++)if(r=a.length,Q.find(e,this[t],a),t>0)for(i=r;io;o++)if(a[o]===a[i]){a.splice(i--,1);break}return a},has:function(e){var t,n=Q(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(Q.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(c(this,e,!1),"not",e)},filter:function(e){return this.pushStack(c(this,e,!0),"filter",e)},is:function(e){return!!e&&("string"==typeof e?Ft.test(e)?Q(e,this.context).index(this[0])>=0:Q.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=Ft.test(e)||"string"!=typeof e?Q(e,t||this.context):0;i>r;r++)for(n=this[r];n&&n.ownerDocument&&n!==t&&11!==n.nodeType;){if(a?a.index(n)>-1:Q.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}return o=o.length>1?Q.unique(o):o,this.pushStack(o,"closest",e)},index:function(e){return e?"string"==typeof e?Q.inArray(this[0],Q(e)):Q.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n="string"==typeof e?Q(e,t):Q.makeArray(e&&e.nodeType?[e]:e),r=Q.merge(this.get(),n);return this.pushStack(s(n[0])||s(r[0])?r:Q.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Q.fn.andSelf=Q.fn.addBack,Q.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Q.dir(e,"parentNode")},parentsUntil:function(e,t,n){return Q.dir(e,"parentNode",n)},next:function(e){return l(e,"nextSibling")},prev:function(e){return l(e,"previousSibling")},nextAll:function(e){return Q.dir(e,"nextSibling")},prevAll:function(e){return Q.dir(e,"previousSibling")},nextUntil:function(e,t,n){return Q.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return Q.dir(e,"previousSibling",n)},siblings:function(e){return Q.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return Q.sibling(e.firstChild)},contents:function(e){return Q.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:Q.merge([],e.childNodes)}},function(e,t){Q.fn[e]=function(n,r){var i=Q.map(this,t,n);return Mt.test(e)||(r=n),r&&"string"==typeof r&&(i=Q.filter(r,i)),i=this.length>1&&!Ot[e]?Q.unique(i):i,this.length>1&&Xt.test(e)&&(i=i.reverse()),this.pushStack(i,e,J.call(arguments).join(","))}}),Q.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?Q.find.matchesSelector(t[0],e)?[t[0]]:[]:Q.find.matches(e,t)},dir:function(e,n,r){for(var i=[],o=e[n];o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!Q(o).is(r));)1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var It="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Bt=/ jQuery\d+="(?:null|\d+)"/g,Rt=/^\s+/,Pt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,qt=/<([\w:]+)/,Wt=/]","i"),Kt=/^(?:checkbox|radio)$/,Yt=/checked\s*(?:[^=]|=\s*.checked.)/i,Gt=/\/(java|ecma)script/i,Qt=/^\s*\s*$/g,Zt={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},en=u(R),tn=en.appendChild(R.createElement("div")); 3 | Zt.optgroup=Zt.option,Zt.tbody=Zt.tfoot=Zt.colgroup=Zt.caption=Zt.thead,Zt.th=Zt.td,Q.support.htmlSerialize||(Zt._default=[1,"X
","
"]),Q.fn.extend({text:function(e){return Q.access(this,function(e){return e===t?Q.text(this):this.empty().append((this[0]&&this[0].ownerDocument||R).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(Q.isFunction(e))return this.each(function(t){Q(this).wrapAll(e.call(this,t))});if(this[0]){var t=Q(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return this.each(Q.isFunction(e)?function(t){Q(this).wrapInner(e.call(this,t))}:function(){var t=Q(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=Q.isFunction(e);return this.each(function(n){Q(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){Q.nodeName(this,"body")||Q(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!s(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=Q.clean(arguments);return this.pushStack(Q.merge(e,this),"before",this.selector)}},after:function(){if(!s(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=Q.clean(arguments);return this.pushStack(Q.merge(this,e),"after",this.selector)}},remove:function(e,t){for(var n,r=0;null!=(n=this[r]);r++)(!e||Q.filter(e,[n]).length)&&(t||1!==n.nodeType||(Q.cleanData(n.getElementsByTagName("*")),Q.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&Q.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return Q.clone(this,e,t)})},html:function(e){return Q.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(Bt,""):t;if(!("string"!=typeof e||Ut.test(e)||!Q.support.htmlSerialize&&Vt.test(e)||!Q.support.leadingWhitespace&&Rt.test(e)||Zt[(qt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(Pt,"<$1>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(Q.cleanData(n.getElementsByTagName("*")),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){return s(this[0])?this.length?this.pushStack(Q(Q.isFunction(e)?e():e),"replaceWith",e):this:Q.isFunction(e)?this.each(function(t){var n=Q(this),r=n.html();n.replaceWith(e.call(this,t,r))}):("string"!=typeof e&&(e=Q(e).detach()),this.each(function(){var t=this.nextSibling,n=this.parentNode;Q(this).remove(),t?Q(t).before(e):Q(n).append(e)}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=[].concat.apply([],e);var i,o,a,s,l=0,c=e[0],u=[],f=this.length;if(!Q.support.checkClone&&f>1&&"string"==typeof c&&Yt.test(c))return this.each(function(){Q(this).domManip(e,n,r)});if(Q.isFunction(c))return this.each(function(i){var o=Q(this);e[0]=c.call(this,i,n?o.html():t),o.domManip(e,n,r)});if(this[0]){if(i=Q.buildFragment(e,this,u),a=i.fragment,o=a.firstChild,1===a.childNodes.length&&(a=o),o)for(n=n&&Q.nodeName(o,"tr"),s=i.cacheable||f-1;f>l;l++)r.call(n&&Q.nodeName(this[l],"table")?d(this[l],"tbody"):this[l],l===s?a:Q.clone(a,!0,!0));a=o=null,u.length&&Q.each(u,function(e,t){t.src?Q.ajax?Q.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):Q.error("no ajax"):Q.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Qt,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),Q.buildFragment=function(e,n,r){var i,o,a,s=e[0];return n=n||R,n=(n[0]||n).ownerDocument||n[0]||n,"undefined"==typeof n.createDocumentFragment&&(n=R),!(1===e.length&&"string"==typeof s&&s.length<512&&n===R&&"<"===s.charAt(0))||Jt.test(s)||!Q.support.checkClone&&Yt.test(s)||!Q.support.html5Clone&&Vt.test(s)||(o=!0,i=Q.fragments[s],a=i!==t),i||(i=n.createDocumentFragment(),Q.clean(e,n,i,r),o&&(Q.fragments[s]=a&&i)),{fragment:i,cacheable:o}},Q.fragments={},Q.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Q.fn[e]=function(n){var r,i=0,o=[],a=Q(n),s=a.length,l=1===this.length&&this[0].parentNode;if((null==l||l&&11===l.nodeType&&1===l.childNodes.length)&&1===s)return a[t](this[0]),this;for(;s>i;i++)r=(i>0?this.clone(!0):this).get(),Q(a[i])[t](r),o=o.concat(r);return this.pushStack(o,e,a.selector)}}),Q.extend({clone:function(e,t,n){var r,i,o,a;if(Q.support.html5Clone||Q.isXMLDoc(e)||!Vt.test("<"+e.nodeName+">")?a=e.cloneNode(!0):(tn.innerHTML=e.outerHTML,tn.removeChild(a=tn.firstChild)),!(Q.support.noCloneEvent&&Q.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Q.isXMLDoc(e)))for(p(e,a),r=h(e),i=h(a),o=0;r[o];++o)i[o]&&p(r[o],i[o]);if(t&&(f(e,a),n))for(r=h(e),i=h(a),o=0;r[o];++o)f(r[o],i[o]);return r=i=null,a},clean:function(e,t,n,r){var i,o,a,s,l,c,d,f,p,h,g,v=0,y=[];for(t&&"undefined"!=typeof t.createDocumentFragment||(t=R),o=t===R&&en;null!=(a=e[v]);v++)if("number"==typeof a&&(a+=""),a){if("string"==typeof a)if(zt.test(a)){for(o=o||u(t),d=d||o.appendChild(t.createElement("div")),a=a.replace(Pt,"<$1>"),s=(qt.exec(a)||["",""])[1].toLowerCase(),l=Zt[s]||Zt._default,c=l[0],d.innerHTML=l[1]+a+l[2];c--;)d=d.lastChild;if(!Q.support.tbody)for(f=Wt.test(a),p="table"!==s||f?""!==l[1]||f?[]:d.childNodes:d.firstChild&&d.firstChild.childNodes,i=p.length-1;i>=0;--i)Q.nodeName(p[i],"tbody")&&!p[i].childNodes.length&&p[i].parentNode.removeChild(p[i]);!Q.support.leadingWhitespace&&Rt.test(a)&&d.insertBefore(t.createTextNode(Rt.exec(a)[0]),d.firstChild),a=d.childNodes,d=o.lastChild}else a=t.createTextNode(a);a.nodeType?y.push(a):y=Q.merge(y,a)}if(d&&(o.removeChild(d),a=d=o=null),!Q.support.appendChecked)for(v=0;null!=(a=y[v]);v++)Q.nodeName(a,"input")?m(a):"undefined"!=typeof a.getElementsByTagName&&Q.grep(a.getElementsByTagName("input"),m);if(n)for(h=function(e){return!e.type||Gt.test(e.type)?r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e):void 0},v=0;null!=(a=y[v]);v++)Q.nodeName(a,"script")&&h(a)||(n.appendChild(a),"undefined"!=typeof a.getElementsByTagName&&(g=Q.grep(Q.merge([],a.getElementsByTagName("script")),h),y.splice.apply(y,[v+1,0].concat(g)),v+=g.length));return y},cleanData:function(e,t){for(var n,r,i,o,a=0,s=Q.expando,l=Q.cache,c=Q.support.deleteExpando,u=Q.event.special;null!=(i=e[a]);a++)if((t||Q.acceptData(i))&&(r=i[s],n=r&&l[r])){if(n.events)for(o in n.events)u[o]?Q.event.remove(i,o):Q.removeEvent(i,o,n.handle);l[r]&&(delete l[r],c?delete i[s]:i.removeAttribute?i.removeAttribute(s):i[s]=null,Q.deletedIds.push(r))}}}),function(){var e,t;Q.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=Q.uaMatch(q.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.webkit&&(t.safari=!0),Q.browser=t,Q.sub=function(){function e(t,n){return new e.fn.init(t,n)}Q.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(n,r){return r&&r instanceof Q&&!(r instanceof e)&&(r=e(r)),Q.fn.init.call(this,n,r,t)},e.fn.init.prototype=e.fn;var t=e(R);return e}}();var nn,rn,on,an=/alpha\([^)]*\)/i,sn=/opacity=([^)]*)/,ln=/^(top|right|bottom|left)$/,cn=/^margin/,un=new RegExp("^("+Z+")(.*)$","i"),dn=new RegExp("^("+Z+")(?!px)[a-z%]+$","i"),fn=new RegExp("^([-+])=("+Z+")","i"),pn={},hn={position:"absolute",visibility:"hidden",display:"block"},mn={letterSpacing:0,fontWeight:400,lineHeight:1},gn=["Top","Right","Bottom","Left"],vn=["Webkit","O","Moz","ms"],yn=Q.fn.toggle;Q.fn.extend({css:function(e,n){return Q.access(this,function(e,n,r){return r!==t?Q.style(e,n,r):Q.css(e,n)},e,n,arguments.length>1)},show:function(){return y(this,!0)},hide:function(){return y(this)},toggle:function(e,t){var n="boolean"==typeof e;return Q.isFunction(e)&&Q.isFunction(t)?yn.apply(this,arguments):this.each(function(){(n?e:v(this))?Q(this).show():Q(this).hide()})}}),Q.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=nn(e,"opacity");return""===n?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":Q.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=Q.camelCase(n),c=e.style;if(n=Q.cssProps[l]||(Q.cssProps[l]=g(c,l)),s=Q.cssHooks[n]||Q.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:c[n];if(a=typeof r,"string"===a&&(o=fn.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(Q.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||Q.cssNumber[l]||(r+="px"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{c[n]=r}catch(u){}}},css:function(e,n,r,i){var o,a,s,l=Q.camelCase(n);return n=Q.cssProps[l]||(Q.cssProps[l]=g(e.style,l)),s=Q.cssHooks[n]||Q.cssHooks[l],s&&"get"in s&&(o=s.get(e,!0,i)),o===t&&(o=nn(e,n)),"normal"===o&&n in mn&&(o=mn[n]),r||i!==t?(a=parseFloat(o),r||Q.isNumeric(a)?a||0:o):o},swap:function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=o[i];return r}}),e.getComputedStyle?nn=function(e,t){var n,r,i,o,a=getComputedStyle(e,null),s=e.style;return a&&(n=a[t],""!==n||Q.contains(e.ownerDocument.documentElement,e)||(n=Q.style(e,t)),dn.test(n)&&cn.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=n,n=a.width,s.width=r,s.minWidth=i,s.maxWidth=o)),n}:R.documentElement.currentStyle&&(nn=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],o=e.style;return null==i&&o&&o[t]&&(i=o[t]),dn.test(i)&&!ln.test(t)&&(n=o.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),o.left="fontSize"===t?"1em":i,i=o.pixelLeft+"px",o.left=n,r&&(e.runtimeStyle.left=r)),""===i?"auto":i}),Q.each(["height","width"],function(e,t){Q.cssHooks[t]={get:function(e,n,r){return n?0!==e.offsetWidth||"none"!==nn(e,"display")?w(e,t,r):Q.swap(e,hn,function(){return w(e,t,r)}):void 0},set:function(e,n,r){return x(e,n,r?b(e,t,r,Q.support.boxSizing&&"border-box"===Q.css(e,"boxSizing")):0)}}}),Q.support.opacity||(Q.cssHooks.opacity={get:function(e,t){return sn.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=Q.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,t>=1&&""===Q.trim(o.replace(an,""))&&n.removeAttribute&&(n.removeAttribute("filter"),r&&!r.filter)||(n.filter=an.test(o)?o.replace(an,i):o+" "+i)}}),Q(function(){Q.support.reliableMarginRight||(Q.cssHooks.marginRight={get:function(e,t){return Q.swap(e,{display:"inline-block"},function(){return t?nn(e,"marginRight"):void 0})}}),!Q.support.pixelPosition&&Q.fn.position&&Q.each(["top","left"],function(e,t){Q.cssHooks[t]={get:function(e,n){if(n){var r=nn(e,t);return dn.test(r)?Q(e).position()[t]+"px":r}}}})}),Q.expr&&Q.expr.filters&&(Q.expr.filters.hidden=function(e){return 0===e.offsetWidth&&0===e.offsetHeight||!Q.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||nn(e,"display"))},Q.expr.filters.visible=function(e){return!Q.expr.filters.hidden(e)}),Q.each({margin:"",padding:"",border:"Width"},function(e,t){Q.cssHooks[e+t]={expand:function(n){var r,i="string"==typeof n?n.split(" "):[n],o={};for(r=0;4>r;r++)o[e+gn[r]+t]=i[r]||i[r-2]||i[0];return o}},cn.test(e)||(Q.cssHooks[e+t].set=x)});var xn=/%20/g,bn=/\[\]$/,wn=/\r?\n/g,Tn=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,kn=/^(?:select|textarea)/i;Q.fn.extend({serialize:function(){return Q.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?Q.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||kn.test(this.nodeName)||Tn.test(this.type))}).map(function(e,t){var n=Q(this).val();return null==n?null:Q.isArray(n)?Q.map(n,function(e){return{name:t.name,value:e.replace(wn,"\r\n")}}):{name:t.name,value:n.replace(wn,"\r\n")}}).get()}}),Q.param=function(e,n){var r,i=[],o=function(e,t){t=Q.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=Q.ajaxSettings&&Q.ajaxSettings.traditional),Q.isArray(e)||e.jquery&&!Q.isPlainObject(e))Q.each(e,function(){o(this.name,this.value)});else for(r in e)k(r,e[r],n,o);return i.join("&").replace(xn,"+")};var Sn,Cn,En=/#.*$/,Nn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,$n=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,Dn=/^(?:GET|HEAD)$/,_n=/^\/\//,jn=/\?/,An=/)<[^<]*)*<\/script>/gi,Ln=/([?&])_=[^&]*/,Mn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Xn=Q.fn.load,Hn={},Fn={},On=["*/"]+["*"];try{Sn=P.href}catch(In){Sn=R.createElement("a"),Sn.href="",Sn=Sn.href}Cn=Mn.exec(Sn.toLowerCase())||[],Q.fn.load=function(e,n,r){if("string"!=typeof e&&Xn)return Xn.apply(this,arguments);if(!this.length)return this;var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),Q.isFunction(n)?(r=n,n=t):"object"==typeof n&&(o="POST"),Q.ajax({url:e,type:o,dataType:"html",data:n,complete:function(e,t){r&&s.each(r,a||[e.responseText,t,e])}}).done(function(e){a=arguments,s.html(i?Q("
").append(e.replace(An,"")).find(i):e)}),this},Q.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){Q.fn[t]=function(e){return this.on(t,e)}}),Q.each(["get","post"],function(e,n){Q[n]=function(e,r,i,o){return Q.isFunction(r)&&(o=o||i,i=r,r=t),Q.ajax({type:n,url:e,data:r,success:i,dataType:o})}}),Q.extend({getScript:function(e,n){return Q.get(e,t,n,"script")},getJSON:function(e,t,n){return Q.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?E(e,Q.ajaxSettings):(t=e,e=Q.ajaxSettings),E(e,t),e},ajaxSettings:{url:Sn,isLocal:$n.test(Cn[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":On},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":Q.parseJSON,"text xml":Q.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:S(Hn),ajaxTransport:S(Fn),ajax:function(e,n){function r(e,n,r,a){var c,d,y,x,w,k=n;2!==b&&(b=2,l&&clearTimeout(l),s=t,o=a||"",T.readyState=e>0?4:0,r&&(x=N(f,T,r)),e>=200&&300>e||304===e?(f.ifModified&&(w=T.getResponseHeader("Last-Modified"),w&&(Q.lastModified[i]=w),w=T.getResponseHeader("Etag"),w&&(Q.etag[i]=w)),304===e?(k="notmodified",c=!0):(c=$(f,x),k=c.state,d=c.data,y=c.error,c=!y)):(y=k,(!k||e)&&(k="error",0>e&&(e=0))),T.status=e,T.statusText=""+(n||k),c?m.resolveWith(p,[d,k,T]):m.rejectWith(p,[T,k,y]),T.statusCode(v),v=t,u&&h.trigger("ajax"+(c?"Success":"Error"),[T,f,c?d:y]),g.fireWith(p,[T,k]),u&&(h.trigger("ajaxComplete",[T,f]),--Q.active||Q.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=t),n=n||{};var i,o,a,s,l,c,u,d,f=Q.ajaxSetup({},n),p=f.context||f,h=p!==f&&(p.nodeType||p instanceof Q)?Q(p):Q.event,m=Q.Deferred(),g=Q.Callbacks("once memory"),v=f.statusCode||{},y={},x={},b=0,w="canceled",T={readyState:0,setRequestHeader:function(e,t){if(!b){var n=e.toLowerCase();e=x[n]=x[n]||e,y[e]=t}return this},getAllResponseHeaders:function(){return 2===b?o:null},getResponseHeader:function(e){var n;if(2===b){if(!a)for(a={};n=Nn.exec(o);)a[n[1].toLowerCase()]=n[2];n=a[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return b||(f.mimeType=e),this},abort:function(e){return e=e||w,s&&s.abort(e),r(0,e),this}};if(m.promise(T),T.success=T.done,T.error=T.fail,T.complete=g.add,T.statusCode=function(e){if(e){var t;if(2>b)for(t in e)v[t]=[v[t],e[t]];else t=e[T.status],T.always(t)}return this},f.url=((e||f.url)+"").replace(En,"").replace(_n,Cn[1]+"//"),f.dataTypes=Q.trim(f.dataType||"*").toLowerCase().split(tt),null==f.crossDomain&&(c=Mn.exec(f.url.toLowerCase()),f.crossDomain=!(!c||c[1]==Cn[1]&&c[2]==Cn[2]&&(c[3]||("http:"===c[1]?80:443))==(Cn[3]||("http:"===Cn[1]?80:443)))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=Q.param(f.data,f.traditional)),C(Hn,f,n,T),2===b)return T;if(u=f.global,f.type=f.type.toUpperCase(),f.hasContent=!Dn.test(f.type),u&&0===Q.active++&&Q.event.trigger("ajaxStart"),!f.hasContent&&(f.data&&(f.url+=(jn.test(f.url)?"&":"?")+f.data,delete f.data),i=f.url,f.cache===!1)){var k=Q.now(),S=f.url.replace(Ln,"$1_="+k);f.url=S+(S===f.url?(jn.test(f.url)?"&":"?")+"_="+k:"")}(f.data&&f.hasContent&&f.contentType!==!1||n.contentType)&&T.setRequestHeader("Content-Type",f.contentType),f.ifModified&&(i=i||f.url,Q.lastModified[i]&&T.setRequestHeader("If-Modified-Since",Q.lastModified[i]),Q.etag[i]&&T.setRequestHeader("If-None-Match",Q.etag[i])),T.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+On+"; q=0.01":""):f.accepts["*"]);for(d in f.headers)T.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(f.beforeSend.call(p,T,f)===!1||2===b))return T.abort();w="abort";for(d in{success:1,error:1,complete:1})T[d](f[d]);if(s=C(Fn,f,n,T)){T.readyState=1,u&&h.trigger("ajaxSend",[T,f]),f.async&&f.timeout>0&&(l=setTimeout(function(){T.abort("timeout")},f.timeout));try{b=1,s.send(y,r)}catch(E){if(!(2>b))throw E;r(-1,E)}}else r(-1,"No Transport");return T},active:0,lastModified:{},etag:{}});var Bn=[],Rn=/\?/,Pn=/(=)\?(?=&|$)|\?\?/,qn=Q.now();Q.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Bn.pop()||Q.expando+"_"+qn++;return this[e]=!0,e}}),Q.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.data,c=n.url,u=n.jsonp!==!1,d=u&&Pn.test(c),f=u&&!d&&"string"==typeof l&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Pn.test(l);return"jsonp"===n.dataTypes[0]||d||f?(o=n.jsonpCallback=Q.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,a=e[o],d?n.url=c.replace(Pn,"$1"+o):f?n.data=l.replace(Pn,"$1"+o):u&&(n.url+=(Rn.test(c)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||Q.error(o+" was not called"),s[0]},n.dataTypes[0]="json",e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Bn.push(o)),s&&Q.isFunction(a)&&a(s[0]),s=a=t}),"script"):void 0}),Q.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return Q.globalEval(e),e}}}),Q.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),Q.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=R.head||R.getElementsByTagName("head")[0]||R.documentElement;return{send:function(i,o){n=R.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){(i||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Wn,zn=e.ActiveXObject?function(){for(var e in Wn)Wn[e](0,1)}:!1,Un=0;Q.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&D()||_()}:D,function(e){Q.extend(Q.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(Q.ajaxSettings.xhr()),Q.support.ajax&&Q.ajaxTransport(function(n){if(!n.crossDomain||Q.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(c){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,c,u,d,f;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=Q.noop,zn&&delete Wn[a]),i)4!==l.readyState&&l.abort();else{s=l.status,u=l.getAllResponseHeaders(),d={},f=l.responseXML,f&&f.documentElement&&(d.xml=f);try{d.text=l.responseText}catch(e){}try{c=l.statusText}catch(p){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=d.text?200:404}}catch(h){i||o(-1,h)}d&&o(s,c,d,u)},n.async?4===l.readyState?setTimeout(r,0):(a=++Un,zn&&(Wn||(Wn={},Q(e).unload(zn)),Wn[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var Jn,Vn,Kn=/^(?:toggle|show|hide)$/,Yn=new RegExp("^(?:([-+])=|)("+Z+")([a-z%]*)$","i"),Gn=/queueHooks$/,Qn=[X],Zn={"*":[function(e,t){var n,r,i,o=this.createTween(e,t),a=Yn.exec(t),s=o.cur(),l=+s||0,c=1;if(a){if(n=+a[2],r=a[3]||(Q.cssNumber[e]?"":"px"),"px"!==r&&l){l=Q.css(o.elem,e,!0)||n||1;do i=c=c||".5",l/=c,Q.style(o.elem,e,l+r),c=o.cur()/s;while(1!==c&&c!==i)}o.unit=r,o.start=l,o.end=a[1]?l+(a[1]+1)*n:n}return o}]};Q.Animation=Q.extend(L,{tweener:function(e,t){Q.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;i>r;r++)n=e[r],Zn[n]=Zn[n]||[],Zn[n].unshift(t)},prefilter:function(e,t){t?Qn.unshift(e):Qn.push(e)}}),Q.Tween=H,H.prototype={constructor:H,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(Q.cssNumber[n]?"":"px")},cur:function(){var e=H.propHooks[this.prop];return e&&e.get?e.get(this):H.propHooks._default.get(this)},run:function(e){var t,n=H.propHooks[this.prop];return this.pos=t=Q.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration),this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):H.propHooks._default.set(this),this}},H.prototype.init.prototype=H.prototype,H.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=Q.css(e.elem,e.prop,!1,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){Q.fx.step[e.prop]?Q.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[Q.cssProps[e.prop]]||Q.cssHooks[e.prop])?Q.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},H.propHooks.scrollTop=H.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Q.each(["toggle","show","hide"],function(e,t){var n=Q.fn[t];Q.fn[t]=function(r,i,o){return null==r||"boolean"==typeof r||!e&&Q.isFunction(r)&&Q.isFunction(i)?n.apply(this,arguments):this.animate(F(t,!0),r,i,o)}}),Q.fn.extend({fadeTo:function(e,t,n,r){return this.filter(v).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=Q.isEmptyObject(e),o=Q.speed(t,n,r),a=function(){var t=L(this,Q.extend({},e),o);i&&t.stop(!0)};return i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=Q.timers,a=Q._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Gn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&Q.dequeue(this,e)})}}),Q.each({slideDown:F("show"),slideUp:F("hide"),slideToggle:F("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Q.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),Q.speed=function(e,t,n){var r=e&&"object"==typeof e?Q.extend({},e):{complete:n||!n&&t||Q.isFunction(e)&&e,duration:e,easing:n&&t||t&&!Q.isFunction(t)&&t};return r.duration=Q.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in Q.fx.speeds?Q.fx.speeds[r.duration]:Q.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){Q.isFunction(r.old)&&r.old.call(this),r.queue&&Q.dequeue(this,r.queue)},r},Q.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},Q.timers=[],Q.fx=H.prototype.init,Q.fx.tick=function(){for(var e,t=Q.timers,n=0;n-1,d={},f={};u?(f=a.position(),i=f.top,o=f.left):(i=parseFloat(l)||0,o=parseFloat(c)||0),Q.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(d.top=t.top-s.top+i),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):a.css(d)}},Q.fn.extend({position:function(){if(this[0]){var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(Q.css(e,"marginTop"))||0,n.left-=parseFloat(Q.css(e,"marginLeft"))||0,r.top+=parseFloat(Q.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(Q.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||R.body;e&&!er.test(e.nodeName)&&"static"===Q.css(e,"position");)e=e.offsetParent;return e||R.body})}}),Q.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);Q.fn[e]=function(i){return Q.access(this,function(e,i,o){var a=O(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:void(a?a.scrollTo(r?Q(a).scrollLeft():o,r?o:Q(a).scrollTop()):e[i]=o)},e,i,arguments.length,null)}}),Q.each({Height:"height",Width:"width"},function(e,n){Q.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){Q.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return Q.access(this,function(n,r,i){var o;return Q.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?Q.css(n,r,i,s):Q.style(n,r,i,s)},n,a?i:t,a)}})}),Q}(window);$.cookie=function(e,t,n){if("undefined"==typeof t){var r=null;if(document.cookie&&""!=document.cookie)for(var i=document.cookie.split(";"),o=0;o").get(0).files!==undefined,feature.formdata=window.FormData!==undefined,$.fn.attr2=$.fn.attr,$.fieldValue=function(e,t){var n=e.name,r=e.type,i=e.tagName.toLowerCase();if(t===undefined&&(t=!0),t&&(!n||e.disabled||"reset"==r||"button"==r||("checkbox"==r||"radio"==r)&&!e.checked||("submit"==r||"image"==r)&&e.form&&e.form.clk!=e||"select"==i&&-1==e.selectedIndex))return null;if("select"==i){var o=e.selectedIndex;if(0>o)return null;for(var a=[],s=e.options,l="select-one"==r,c=l?o+1:s.length,u=l?o:0;c>u;u++){var d=s[u];if(d.selected){var f=d.value;if(f||(f=d.attributes&&d.attributes.value&&!d.attributes.value.specified?d.text:d.value),l)return f;a.push(f)}}return a}return $(e).val()},$.fn.fieldValue=function(e){for(var t=[],n=0,r=this.length;r>n;n++){var i=this[n],o=$.fieldValue(i,e);null===o||"undefined"==typeof o||o.constructor==Array&&!o.length||(o.constructor==Array?$.merge(t,o):t.push(o))}return t},$.fn.formToArray=function(e,t){var n=[];if(0===this.length)return n;var r,i=this[0],o=this.attr("id"),a=e?i.getElementsByTagName("*"):i.elements;if(a&&!/MSIE [678]/.test(navigator.userAgent)&&(a=$(a).get()),o&&(r=$(':input[form="'+o+'"]').get(),r.length&&(a=(a||[]).concat(r))),!a||!a.length)return n;var s,l,c,u,d,f,p;for(s=0,f=a.length;f>s;s++)if(d=a[s],c=d.name,c&&!d.disabled)if(e&&i.clk&&"image"==d.type)i.clk==d&&(n.push({name:c,value:$(d).val(),type:d.type}),n.push({name:c+".x",value:i.clk_x},{name:c+".y",value:i.clk_y}));else if(u=$.fieldValue(d,!0),u&&u.constructor==Array)for(t&&t.push(d),l=0,p=u.length;p>l;l++)n.push({name:c,value:u[l]});else if(feature.fileapi&&"file"==d.type){t&&t.push(d);var h=d.files;if(h.length)for(l=0;ln;n++)i[n]=i[n].replace(/\+/g," "),r=i[n].split("="),a.push([decodeURIComponent(r[0]),decodeURIComponent(r[1])]);return a}function n(n){for(var r=new FormData,o=0;o').val(c.extraData[d].value).appendTo(b)[0]:$('').val(c.extraData[d]).appendTo(b)[0]);c.iframeTarget||p.appendTo("body"),h.attachEvent?h.attachEvent("onload",o):h.addEventListener("load",o,!1),setTimeout(e,15);try{b.submit()}catch(m){var g=document.createElement("form").submit;g.apply(b)}}finally{b.setAttribute("action",r),b.setAttribute("enctype",l),t?b.setAttribute("target",t):s.removeAttr("target"),$(u).remove()}}function o(e){if(!m.aborted&&!D){if(N=n(h),N||(log("cannot access response document"),e=k),e===T&&m)return m.abort("timeout"),void w.reject(m,"timeout");if(e==k&&m)return m.abort("server abort"),void w.reject(m,"error","server abort");if(N&&N.location.href!=c.iframeSrc||y){h.detachEvent?h.detachEvent("onload",o):h.removeEventListener("load",o,!1);var t,r="success";try{if(y)throw"timeout";var i="xml"==c.dataType||N.XMLDocument||$.isXMLDoc(N);if(log("isXml="+i),!i&&window.opera&&(null===N.body||!N.body.innerHTML)&&--_)return log("requeing onLoad callback, DOM not available"),void setTimeout(o,250);var a=N.body?N.body:N.documentElement;m.responseText=a?a.innerHTML:null,m.responseXML=N.XMLDocument?N.XMLDocument:N,i&&(c.dataType="xml"),m.getResponseHeader=function(e){var t={"content-type":c.dataType};return t[e.toLowerCase()]},a&&(m.status=Number(a.getAttribute("status"))||m.status,m.statusText=a.getAttribute("statusText")||m.statusText);var s=(c.dataType||"").toLowerCase(),l=/(json|script|text)/.test(s);if(l||c.textarea){var d=N.getElementsByTagName("textarea")[0];if(d)m.responseText=d.value,m.status=Number(d.getAttribute("status"))||m.status,m.statusText=d.getAttribute("statusText")||m.statusText;else if(l){var f=N.getElementsByTagName("pre")[0],g=N.getElementsByTagName("body")[0];f?m.responseText=f.textContent?f.textContent:f.innerText:g&&(m.responseText=g.textContent?g.textContent:g.innerText)}}else"xml"==s&&!m.responseXML&&m.responseText&&(m.responseXML=j(m.responseText));try{E=L(m,s,c)}catch(v){r="parsererror",m.error=t=v||r}}catch(v){log("error caught: ",v),r="error",m.error=t=v||r}m.aborted&&(log("upload aborted"),r=null),m.status&&(r=m.status>=200&&m.status<300||304===m.status?"success":"error"),"success"===r?(c.success&&c.success.call(c.context,E,"success",m),w.resolve(m.responseText,"success",m),u&&$.event.trigger("ajaxSuccess",[m,c])):r&&(t===undefined&&(t=m.statusText),c.error&&c.error.call(c.context,m,r,t),w.reject(m,"error",t),u&&$.event.trigger("ajaxError",[m,c,t])),u&&$.event.trigger("ajaxComplete",[m,c]),u&&!--$.active&&$.event.trigger("ajaxStop"),c.complete&&c.complete.call(c.context,m,r),D=!0,c.timeout&&clearTimeout(x),setTimeout(function(){c.iframeTarget?p.attr("src",c.iframeSrc):p.remove(),m.responseXML=null},100)}}}var a,l,c,u,f,p,h,m,g,v,y,x,b=s[0],w=$.Deferred();if(w.abort=function(e){m.abort(e)},t)for(l=0;l'),p.css({position:"absolute",top:"-1000px",left:"-1000px"})),h=p[0],m={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(e){var t="timeout"===e?"timeout":"aborted";log("aborting upload... "+t),this.aborted=1;try{h.contentWindow.document.execCommand&&h.contentWindow.document.execCommand("Stop")}catch(n){}p.attr("src",c.iframeSrc),m.error=t,c.error&&c.error.call(c.context,m,t,e),u&&$.event.trigger("ajaxError",[m,c,t]),c.complete&&c.complete.call(c.context,m,t)}},u=c.global,u&&0===$.active++&&$.event.trigger("ajaxStart"),u&&$.event.trigger("ajaxSend",[m,c]),c.beforeSend&&c.beforeSend.call(c.context,m,c)===!1)return c.global&&$.active--,w.reject(),w;if(m.aborted)return w.reject(),w;g=b.clk,g&&(v=g.name,v&&!g.disabled&&(c.extraData=c.extraData||{},c.extraData[v]=g.value,"image"==g.type&&(c.extraData[v+".x"]=b.clk_x,c.extraData[v+".y"]=b.clk_y)));var T=1,k=2,S=$("meta[name=csrf-token]").attr("content"),C=$("meta[name=csrf-param]").attr("content");C&&S&&(c.extraData=c.extraData||{},c.extraData[C]=S),c.forceSync?r():setTimeout(r,10);var E,N,D,_=50,j=$.parseXML||function(e,t){return window.ActiveXObject?(t=new ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!=t.documentElement.nodeName?t:null},A=$.parseJSON||function(e){return window.eval("("+e+")")},L=function(e,t,n){var r=e.getResponseHeader("content-type")||"",i="xml"===t||!t&&r.indexOf("xml")>=0,o=i?e.responseXML:e.responseText;return i&&"parsererror"===o.documentElement.nodeName&&$.error&&$.error("parsererror"),n&&n.dataFilter&&(o=n.dataFilter(o,t)),"string"==typeof o&&("json"===t||!t&&r.indexOf("json")>=0?o=A(o):("script"===t||!t&&r.indexOf("javascript")>=0)&&$.globalEval(o)),o};return w}if(!this.length)return log("ajaxSubmit: skipping submit process - no element selected"),this;var i,o,a,s=this;"function"==typeof e?e={success:e}:e===undefined&&(e={}),i=e.type||this.attr2("method"),o=e.url||this.attr2("action"),a="string"==typeof o?$.trim(o):"",a=a||window.location.href||"",a&&(a=(a.match(/^([^#]+)/)||[])[1]),e=$.extend(!0,{url:a,iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},e);var l={};if(this.trigger("form-pre-serialize",[this,e,l]),l.veto)return log("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(e.beforeSerialize&&e.beforeSerialize(this,e)===!1)return log("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var c=e.traditional;c===undefined&&(c=!0);var u,d=[],f=this.formToArray(e.semantic,d);if(e.data&&(e.extraData=e.data,u=$.param(e.data,c)),e.beforeSubmit&&e.beforeSubmit(f,this,e)===!1)return log("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[f,this,e,l]),l.veto)return log("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var p=$.param(f,c);u&&(p=p?p+"&"+u:u),"GET"==e.type.toUpperCase()?(e.url+=(e.url.indexOf("?")>=0?"&":"?")+p,e.data=null):e.data=p;var h=[];if(e.resetForm&&h.push(function(){s.resetForm()}),e.clearForm&&h.push(function(){s.clearForm(e.includeHidden)}),!e.dataType&&e.target){var m=e.success||function(){};h.push(function(t){var n=e.replaceTarget?"replaceWith":"html";$(e.target)[n](t).each(m,arguments)})}else e.success&&h.push(e.success);if(e.success=function(t,n,r){for(var i=e.context||this,o=0,a=h.length;a>o;o++)h[o].apply(i,[t,n,r||s,s])},e.error){var g=e.error;e.error=function(t,n,r){var i=e.context||this;g.apply(i,[t,n,r,s])}}if(e.complete){var v=e.complete;e.complete=function(t,n){var r=e.context||this;v.apply(r,[t,n,s])}}var y,x=$("input[type=file]:enabled",this).filter(function(){return""!==$(this).val()}),b=x.length>0,w="multipart/form-data",T=s.attr("enctype")==w||s.attr("encoding")==w,k=feature.fileapi&&feature.formdata,S=(b||T)&&!k;e.iframe!==!1&&(e.iframe||S)?e.closeKeepAlive?$.get(e.closeKeepAlive,function(){y=r(f)}):y=r(f):y=(b||T)&&k?n(f):$.ajax(e),s.removeData("jqxhr").data("jqxhr",y);for(var C=0;C/g,">"),t=t.replace(/\0?"&":"?")+r,function(){},t.error)},_dateFormat=function(e){var t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length)));for(var n in t)new RegExp("("+n+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?t[n]:("00"+t[n]).substr((""+t[n]).length)));return e},_generateHtml=function(e){var t=[],n=navigator.userAgent,r=e.con,i=r.colors;if(n.indexOf("Android")>-1||n.indexOf("Linux")>-1?_isPad=!0:(n.indexOf("iPhone")>-1||n.indexOf("iPad")>-1)&&(_isPad=!0,r.ismax=!0),_isPad&&$(win).width()<600&&(_isMobile=!0,$("head").append('')),t.push('
'),_isMobile&&"mini"===r.mod)return t.push('咨询在线客服 >'),t.push("
"),t.join("");if(t.push('
'),t.push('"),t.push('
'),t.push(''),t.push(''),t.push("
"),t.push("
"),t.push('
'),t.push('"),t.push('
'),t.push('
'),t.push('
'),t.push("
"),t.push('
'),t.push('
"),t.push('
'),t.push('
'),t.push('人工客服
'),t.push('
'),t.push('"),t.push("
"),t.push('
'),r.showCopyright&&t.push('Powered by 奇智机器人'),t.push('发送'),t.push("
"),t.push("
"),t.push("
"),r.showLeftPanel){t.push('
'),t.push('
'),t.push('常见问题'),hideList||t.push('功能列表'),t.push("
"),t.push('
'),t.push('
    ');for(var o=0,a=r.quicks,s=a.length;s>o;o++)t.push('
  • '+a[o]+"
  • ");if(t.push("
"),!hideList){t.push("
    ");for(var o=0,a=r.tools,s=a.length;s>o;o++)t.push('
  1. '+a[o].label+"
  2. ");t.push("
")}t.push("
"),t.push("
"),t.push('"),t.push("
")}return t.push("
"),t.push(""),t.join("")},_getRndId=function(){function e(e){var t,n="0123456789abcdefghigklmnopqrstuvwxyzABCDEFGHIGKLMNOPQRSTUVWXYZ".split(""),r=n.length,i=e,o=[];do t=i%r,i=(i-t)/r,o.unshift(n[t]);while(i);return o.join("")}for(var t=Math.floor((new Date).getTime()/100-1e10).toString(36),n=Math.floor(1296*Math.random()).toString(36),r=n.length,i=0;2-r>i;)n="0"+n,i++;return e(parseInt(n.toString()+t,36))};win.__meteor_runtime_config__={meteorRelease:"METEOR@1.2.1",ROOT_URL_PATH_PREFIX:"/",ROOT_URL:kfServerHost};var _isMobile=!1,_isPad=!1,_isIphone=!1,_isIE=!1,_isLoadChatJs=-1,_isConnChat=-1,_userName=$.cookie(cookieKey),_inited=!1,_timediff=0;_userName&&""!==_userName||(_userName=_getRndId(),$.cookie(cookieKey,_userName,{path:"/",expires:"1000"})),_isIE=function(){var e=$.browser.version;return $.browser.msie&&("6.0"===e||"7.0"===e||"8.0"===e)}();var Robot=function(e){this.con=$.extend({mod:"normal",ismax:!1,kefuOnly:!1,minWidth:940,minHeight:576,title:"竭诚为您服务",quicks:[],tools:[],colors:{header:"",border:"",button:""},zindex:999,showLeftPanel:!0,showSideBtn:!0,showCopyright:!0,placeholder:"请简要描述您的问题,如“退换货运费怎么算”",url:"http://api.smartnlp.cn/cloud/-/",newurl:"#",appid:"",callImg:"http://img.alicdn.com/imgextra/i4/TB1tMo3JpXXXXbwXVXXwu0bFXXX.png",codeImg:null,welcome:"Hi,我是$name",kefuWelcome:"您好,客服 $name 为您服务!",nick:"小智",autoblur:!1,logo:"http://img.alicdn.com/imgextra/i3/TB1UhE3JpXXXXbaXpXXwu0bFXXX.png",feedBtn:{color:"#20a56e"},user:_userName},e),this.init()},_imgViews=function(){var e=$('
');$("body").append(e);var t=function(){var t=$(win).width(),n=$(win).height();$("."+cssfix+"img-views-inner",e).css({width:t,height:n}),$("img",e).css({"max-width":t,"max-height":n})};e.click(function(){$(win).off("resize",t),e.remove()}),$(win).on("resize",t),t()};Robot.prototype={con:{},switchKefu:function(){var e=this;if(e.waiting||0===_isLoadChatJs||0===_isConnChat)return!1;var t=e.con,n=e.wrap,r=(e.chat,$(this),function(t){return t!==!0?!1:(e.iskf=!0,e.scroll(),$("."+cssfix+"edit",n).addClass(cssfix+"kefu"),void $("."+cssfix+"art,."+cssfix+"call",n).hide())}),i=function(){if(-1===_isConnChat){_isConnChat=0;var n,i,o,a=Package.meteor.Meteor,s=Package["ddp-client"].DDP,l=null;a.disconnect(),n=function(n,o,c){var u,d,f,p=s.connect(n),h={robotId:o,name:c};p.call("getTime",function(n,o){_timediff=(new Date).getTime()-o.getTime(),p.call("assignKF",h,function(n,o){return u=o,e.hidewait(),u&&"NO_KF"!==u&&"NO_KF_ONLINE"!==u?(d=u.kfName,f=u.kfNickName,void s.loginWithPassword(p,{username:h.name},u.password,function(n){return n?null:(_isConnChat=1,r(!0),p.call("methodTheRequiresBeingLoggedIn",function(){e.log(f+" 为您服务");var n;p.call("createDirectMessage",d,function(r,o){n=o.rid;var s=new a.Collection("rocketchat_message",p);p.subscribe("messages",n,new Date),l={connection:p,message:s,rid:n,kfInfo:u},i(l,kefuStartWord),s.find({}).observe({added:function(n){var r=(new Date).getTime()-n.ts.getTime()-_timediff,i=0>r?"append":"prepend",o=n.msg,a={time:n.ts},s="";return-2e3>r||r>2e3?!1:(n.u.username===t.user?i="cSendEle":(i="cReplyEle",a.img='',a.nick=f),o===kefuStartWord&&(i="cReplyEle",o=t.kefuWelcome.replace("$name",f),a.img='',a.nick=f),n.attachments&&n.attachments.length>0&&(s=n.attachments[0].image_url,s=s.replace(/^\//i,kfServerHost),o='',a.encode=!1),a.text=o,e.chat.append(e[i](a)),void e.scroll())}})})}),void 0)})):(_isConnChat=-1,e.log("没有客服在线"),e.welcomed||(e.log("连接到客服机器人"),e.welcome()),null)})}),setTimeout(function(){-1===_isConnChat&&e.iskf===!0&&(e.hidewait(),e.log("没有客服在线"))},kfTimeout)},i=function(e,t){return null!==e?void e.connection.call("sendMessage",{rid:e.rid,msg:t}):void 0},l=n(kfServerHost,t.appid,t.user),e.sendMsg=function(e){i(l,e)},o=function(e,t,n){return null!==e?void e.connection.call("sendImgMessage",{rid:e.rid,msg:t,img:n}):void 0},e.sendPic=function(e){o(l,"",e)},r(!1)}else 1===_isConnChat&&r(!1)};-1===_isLoadChatJs?(_isLoadChatJs=0,_loadJs(kfJsUrl,function(){_isLoadChatJs=1,i()},function(){e.log("无法连接人工客服")})):1===_isLoadChatJs&&i(),e.showwait("请求人工客服…")},iskf:!1,welcomed:!1,waiting:!1,showwait:function(e){var t=this;t.waiting=!0,t.log(e,!0)},hidewait:function(){var e=this;e.waiting=!1,$("."+cssfix+"wait",e.wrap).remove()},sendMsg:function(){},sendPic:function(){},upload:function($ele,settings){var _this=this,options=$.extend({fileType:imgUpdateType,uploadUrl:imgUpdateUrl,deleteUrl:imgUpdateUrl,width:"",height:100,imgSelector:".imgdiv",uploadData:{},deleteData:{},deleteFn:function(e,t){methods.deleteImage(e,t)},beforeSubmitFn:"beforeUpload",successFn:function(){},errorFn:"uploadError"},settings),methods={checkFile:function(e){var t=e.lastIndexOf("."),n=e.substring(t,e.length),r=n.toLowerCase();"string"!=typeof options.fileType&&(options.fileType="gif|jpg|jpeg|png|bmp");var i=new RegExp(".("+options.fileType+")$");return i.test(r)},createForm:function(){var e=document.createElement("form");return e.action=options.uploadUrl,e.method="post",e.enctype="multipart/form-data",e.style.display="none",document.body.appendChild(e),$(e)},createImage:function(){var e=$(document.createElement("img"));return e.attr({title:"双击图片可删除图片!"}),""!==options.width&&e.attr({width:options.width}),""!==options.height&&e.attr({height:options.height}),e},showImage:function(e,t){var n=methods.createImage();t.find(options.imgSelector).find("img").remove(),n.appendTo(t.find(options.imgSelector)),n.attr("src",e),this.bindDelete(t)},bindDelete:function(e){e.find(options.imgSelector).find("img").bind("dblclick",function(){options.deleteFn(e,!0)})},deleteImage:function(e,t){var n=e.find('[type="hidden"]');if(""!==n.val()){var r=$.extend(options.deleteData,{filePath:n.val(),t:Math.random()});$.post(options.deleteUrl,r,function(r){t&&alert(r.MessageContent),1==r.MessageType&&(n.val(""),e.find(options.imgSelector).find("img").remove())},"JSON")}},onload:function(e){var t=e.find('[type="hidden"]');if("undefined"!=typeof t&&""!==t.val()){var n=methods.createImage();e.find(options.imgSelector).find("img").length>0&&e.find(options.imgSelector).find("img").remove(),n.appendTo(e.find(options.imgSelector)),n.attr("src",t.val()),methods.bindDelete(e)}}};$ele.each(function(){var $this=$(this),$fileInput=$(this).parent().find('[type="file"]');methods.onload($this.parent()),$this.click(function(){return _this.waiting?!1:void $fileInput.trigger("click")}),$fileInput.change(function(){var fileBox=$fileInput.parent();if(""===$fileInput.val())return!1;if(!_isMobile&&!methods.checkFile($fileInput.val()))return alert("图片格式错误,只支持"+options.fileType.replace(/\|/,",")+"格式。"),$fileInput.val(""),!1;try{if($fileInput.get(0).files[0].size>=1024*imgMaxSize)return alert("请上传小于 "+(imgMaxSize>1024?Math.floor(imgMaxSize/1024)+"M":imgMaxSize+"K")+" 的图片"),$fileInput.val(""),!1}catch(e){}_this.showwait("图片上传中…"),""!==$fileInput.val();var $form=methods.createForm();$fileInput.appendTo($form),$this.attr("disabled",!0);var data={};data.data=options.uploadData,data.type="POST",data.dataType="JSON",data.beforeSubmit=function(arr,$form,options){var beforeSubmitFn;try{beforeSubmitFn=eval(options.beforeSubmitFn)}catch(err){}if(beforeSubmitFn){var $result=beforeSubmitFn(arr,$form,options);if("boolean"==typeof $result)return $result}},data.error=function(){_this.hidewait(),_this.log("图片上传失败"),$this.attr("disabled",!1),$fileInput.val("")},data.success=function(e){var t=options.successFn;t(e),_this.hidewait(),$this.attr("disabled",!1),$fileInput.val("")},$form.ajaxSubmit(data)})})},init:function(){{var e=this,t=e.con,n=e.wrap=$(_generateHtml(e));e.chat=$("."+cssfix+"chat",n)}e.input=$("textarea",n),e.view=$("."+cssfix+"nano",n);var r=($("."+cssfix+"edit",n),$("."+cssfix+"big-code",n));$("."+cssfix+"fr-nav a",n).on("click",$.proxy(e.tab,e)),$("."+cssfix+"icon-max,."+cssfix+"slide-btn",n).on("click",$.proxy(e.zoom,e)),$("."+cssfix+"btn-send",n).on("click",$.proxy(e.submit,e)),$("."+cssfix+"fr-panel ul a",n).on("click",function(){e.send($(this).text())}),$("."+cssfix+"code a",n).on("click",function(){r.show().stop().animate({width:220,height:220})}),$("."+cssfix+"icon-clo",n).on("click",$.proxy(e.remod,e)),$("."+cssfix+"art,."+cssfix+"call",n).on("click",$.proxy(e.switchKefu,e)),r.click(function(){r.stop().animate({width:80,height:80},function(){r.hide()})}),n.on("load","."+cssfix+"msg-img",$.proxy(e.scroll,e)),e.input.on("keyup",function(t){t=t||win.event;var n=t.keyCode||t.which||t.charCode;return"13"==n?e.submit():void 0}).on("input",function(){if(_isMobile){var e=this,t=$(e);e.scrollTop>0&&t.outerHeight(e.scrollTop+e.scrollHeight)}}).on("blur",function(){_isIE&&(this.value===t.placeholder||""===this.value)&&(this.value=t.placeholder,this.style.color="#999"),_isPad&&n.css({top:0,bottom:"inherit"})}).on("focus",function(){_isIE?(this.value===t.placeholder&&(this.value=""),this.style.color="inherit"):_isPad&&(n.css({top:"inherit",bottom:0}),$("body").scrollTop(1e4))}),_addEvent(e.view.get(0),"mousewheel",function(e){var t=this;t.scrollTop+=e.delta<0?60:-60,e.preventDefault&&e.preventDefault()}),_addEvent(n.get(0),"mousewheel",function(e){e.preventDefault&&e.preventDefault()}),_isMobile&&"mini"!==t.mod&&$("body").css({overflow:"auto",height:"auto","background-color":"#fafafa"}).html(""),$("body").append(n),e.upload($("."+cssfix+"btn-pic"),{uploadData:{id:"12233"},successFn:function(t){e.sendPic(t.url)},deleteData:{id:function(){return"asdfasdf"}}}),t.kefuOnly||e.welcome(),e.resize(),e.move("."+cssfix+"header"),$(win).resize($.proxy(e.resize,this))},welcome:function(){var e=this,t=e.con;return e.welcomed?!1:(e.welcomed=!0,e.chat.append(e.cReplyEle({text:t.welcome.replace("$name",t.nick)})),void e.scroll())},tab:function(e){var t=this,n=$(e.target),r=n.data("index");return n.hasClass(cssfix+"on")?!1:(n.addClass(cssfix+"on").siblings("a").removeClass(cssfix+"on"),void $("."+cssfix+"fr-content",t.wrap).stop().animate({marginLeft:0-300*parseInt(r)}))},log:function(e,t){var n=this;n.chat.append('
'+e+"
"),n.scroll()},submit:function(){var e=this,t=e.input,n=_trim.call(t.val());""!==n&&n!==e.con.placeholder&&(e.iskf?e.sendMsg(n):e.send(n),t.val(""),_isMobile?t.outerHeight(32).trigger("focus"):e.con.autoblur&&t.trigger("blur"))},remod:function(e){var t=this,n=t.con,r=($(e.target),t.wrap);return _inited||(n.kefuOnly&&t.switchKefu(),_inited=!0),"mini"===n.mod?(n.mod="normal",t.ecss||(t.ecss={left:0,top:0,width:"100%"}),r.css(t.ecss).removeClass(cssfix+"mini")):(n.mod="mini",t.ecss={left:r.css("left"),width:r.css("width"),top:r.css("top")},r.addClass(cssfix+"mini").css({left:"inherit",width:280,top:0,right:0})),t.resize()},zoom:function(e){var t=this,n=t.con,r=$(e.target);_inited||(n.kefuOnly&&t.switchKefu(),_inited=!0),n.ismax=!n.ismax,"mini"===n.mod?t.wrap.animate({right:n.ismax?0:n.showSideBtn?-280:-284}):r.toggleClass(cssfix+"icon-nor"),t.resize()},scroll:function(){var e=this;if(_isMobile){if("mini"===e.con.mod)return!1;$("body").scrollTop(1e5)}else e.view.scrollTop(e.chat.height()-e.view.height()+20)},send:function(e){var t=this;if(t.waiting)return!1;if(e&&"string"==typeof e){if(""===e)return!1;var n=t.con,r=t.cSendEle({text:e}),i=t.cReplyEle({text:''});t.chat.append(r),t.chat.append(i),t.scroll(),_jsonp({url:apiUrl+n.appid+"/answer",data:{q:encodeURIComponent(e)},success:function(e){if(e.answer.indexOf("#转人工#")>=0)return i.remove(),t.switchKefu();e.answer.length>150&&$("."+cssfix+"msg",i).css("min-width","75%");var r;if(e.suggestion&&e.suggestion.length>0){r=e.answer+'
',r+="我猜您可能关心以下问题,点击或回复序列号即可:
";for(var o=0,a=e.suggestion,s=a.length;s>o;o++)r+='
 '+a[o]+"
";r+="
"}else r=e.answer?e.answer:" ";$("."+cssfix+"msg-mm ."+cssfix+"htmcont",i).html(r).on("click","."+cssfix+"sug-item",function(){t.send($(this).attr("rel").replace(/^[\d]+\./,""))}),$("."+cssfix+"chat-headimg span",i).text(n.nick+" "+_dateFormat.call(new Date,"hh:mm:ss")),t.scroll()},error:function(){$("."+cssfix+"msg-mm ."+cssfix+"htmcont",i).html("会话丢失")}})}},resize:function(){var e=$(win),t=this,n=t.con,r=e.width(),i=e.height(),o=n.minWidth,a=n.minHeight,s=n.ismax,l=s?i>a?i:a:i>a?a:i,c=s&&r>o?r:o;_isMobile?"mini"===n.mod&&t.wrap.css({height:"44px"}):"mini"===n.mod?(t.wrap.height(i),t.view.height(i-182)):(t.view.height(l-162),t.wrap.css({height:l,width:c,top:s?0:i>a?parseInt((i-a)/2):0,left:s?0:r>o?parseInt((r-o)/2):0}),$("."+cssfix+"fr-content",t.wrap).height(l-240),$("."+cssfix+"fr-area",t.wrap).height(l-46),$("body").css("overflow",s?"hidden":"auto")),$("."+cssfix+"icon-max",t.wrap)[(n.ismax?"add":"remove")+"Class"](cssfix+"icon-nor"),t.scroll()},move:function(e){var t,n,r,i,o,a,s=top.document,l=s.body,c=$(s),u=this,d=u.con,f=u.wrap,p=$(e,f),h=function(e){return e.pageX||e.pageY?{x:e.pageX,y:e.pageY}:{x:e.clientX+l.scrollLeft-l.clientLeft,y:e.clientY+l.scrollTop-l.clientTop}},m=function(e){e=e||event;var s=h(e),c=l.clientWidth,u=l.clientHeight;u=0===u?win.innerHeight:u;var d=r+s.x-t,p=i+s.y-n;p=p>u-a?u-a:p,p=0>p?0:p,d=d>c-o?c-o:d,d=0>d?0:d,f.css({left:d,top:p}),e.preventDefault&&e.preventDefault()};c.on("mouseup",function(){c.off("mousemove",m),f.css("opacity",1),p.css("cursor","default")}),p.on("mousedown",function(e){if("normal"===d.mod&&!d.ismax){e=e||event;var s=h(e);t=s.x,n=s.y,r=parseInt(f.css("left")),i=parseInt(f.css("top")),c.on("mousemove",m),f.css("opacity",.9),o=f.width(),a=f.height(),p.css("cursor","move")}e.preventDefault&&e.preventDefault()})},cSendEle:function(e){var t=this,n=(t.con,$.extend({text:" ",time:new Date,nick:"我",encode:!0,img:""},e));n.text=n.encode?_htmlEncode(n.text):n.text;var r=$('
'+n.nick+" "+_dateFormat.call(n.time,"hh:mm:ss")+'
'+n.text+'
');return r.find(".smartnlp-robot-msg-img").each(function(){this.onload=function(){t.scroll()},$(this).click(_imgViews)}),r},cReplyEle:function(e){var t=this,n=t.con,r=$.extend({text:" ",time:new Date,nick:n.nick,img:n.headImg?'':""},e),i=$('
'+r.img+'
'+r.nick+" "+_dateFormat.call(r.time,"hh:mm:ss")+'
'+r.text+'
');return i.find("img").each(function(){this.onload=function(){t.scroll()},$(this).click(_imgViews)}),i}},function(){var e=document.createElement("link"),t=document.getElementsByTagName("head")[0],n=!1;e.type="text/css",e.rel="stylesheet",e.href=cssUrl;var r=function(){var e=new Robot(options),t=e.con;n=!0,win._smartnlpRobotShow=function(n){return"mini"===t.mod&&"normal"===n?void e.wrap.find("."+cssfix+"icon-clo").trigger("click"):void("mini"!==t.mod||"normal"===n||t.ismax||e.wrap.find("."+cssfix+"slide-btn").trigger("click"))},win._smartnlpRobotHide=function(){"mini"!==t.mod&&e.wrap.find("."+cssfix+"icon-clo").trigger("click"),t.ismax&&e.wrap.find("."+cssfix+"slide-btn").trigger("click")}};e.onreadystatechange=function(){var t=e.readyState;n||"loaded"!==t&&"complete"!==t&&"interactive"!==t||r()},e.onload=function(){!n&&r()},setTimeout(function(){!n&&r()},1e3),t.appendChild(e)}()}(window,{mod:window.location.href.indexOf("mobile")>0?"normal":"mini",appid:"55d28d61d3a93df500131c24",kefuOnly:!1,minWidth:800,colors:{header:"#2d8ef2",border:"#2d8ef2",button:"#2d8ef2"},quicks:["我买的商品售后政策是怎样","订单提交成功后商品降价了,可以退给我差价吗?","订单提交成功后,还能修改吗?","怎么取消订单","货到哪里了,怎么不更新物流啊","我退货了运费怎么算","取消订单怎么退款","退款到哪儿","拒收有什么后果"],tools:[{label:"天气预报",icon:"http://img.alicdn.com/imgextra/i3/TB16M.kJpXXXXXAXVXXwu0bFXXX.png",href:"#"},{label:"听首歌",icon:"http://img.alicdn.com/imgextra/i3/TB17xcEJpXXXXXfXXXXwu0bFXXX.png",href:"#"},{label:"指南针",icon:"http://img.alicdn.com/imgextra/i1/TB10VUAJpXXXXczXXXXwu0bFXXX.png",href:"#"},{label:"常用帮助",icon:"http://img.alicdn.com/imgextra/i2/TB1FX7tJpXXXXccXpXXwu0bFXXX.png",href:"#"}],showLeftPanel:!0,showSideBtn:!0,showCopyright:!0,placeholder:"文本框提示文本",callImg:"http://img.alicdn.com/imgextra/i4/TB1tMo3JpXXXXbwXVXXwu0bFXXX.png",codeImg:"http://img.alicdn.com/imgextra/i1/TB197MVJpXXXXXuXVXXSutbFXXX.jpg",codeBigImg:"http://img.alicdn.com/imgextra/i1/TB197MVJpXXXXXuXVXXSutbFXXX.jpg",welcome:"Hi,我是$name",kefuWelcome:"多一些润滑,少一些摩擦: 统一润滑油
您好,$name 为您服务!",nick:"哆啦A梦",newurl:"?mobile",logo:"https://cloud.smartnlp.cn/cloud/res/win-logo/55d28d61d3a93df500131c24.png",feedBtn:{url:"#",color:"#20a56e"}}); 5 | --------------------------------------------------------------------------------