├── info.png ├── composer.json ├── js ├── title_bar.min.js ├── src │ ├── title_bar.js │ ├── progress.js │ └── get_tweet.js ├── lib │ ├── googbase_min.js │ ├── gwdbezierpath_min.js │ ├── gwdoval_min.js │ ├── gwdrectangle_min.js │ ├── gwd_webcomponents_min.js │ ├── dynamics.min.js │ └── jquery-ui.min.js ├── progress.min.js └── get_tweet.min.js ├── css ├── lib │ ├── jquery-ui.structure.min.css │ ├── jquery-ui.min.css │ └── oztter_gwd.css ├── progress.min.css ├── login.min.css ├── title_bar.min.css ├── src │ ├── progress.css │ ├── login.css │ ├── title_bar.css │ └── get_tweet.css └── get_tweet.min.css ├── reset.php ├── .gitattributes ├── bootstrap.php ├── .gitignore ├── README.md ├── index.php ├── login-twitter.php ├── push.php ├── login.php ├── composer.lock └── LICENSE /info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/come25136/OZtter/HEAD/info.png -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "mpyw/cowitter": "*" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /js/title_bar.min.js: -------------------------------------------------------------------------------- 1 | $(document).on("mousedown",".tweet",function(){$("#"+$(this).attr("id")).css("z-index",++z_count)});$(document).on("click",".close",function(){$("#"+$(this).parent().parent().attr("id")).remove()}); -------------------------------------------------------------------------------- /css/lib/jquery-ui.structure.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.12.1 - 2016-10-24 2 | * http://jqueryui.com 3 | * Copyright jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-draggable-handle{-ms-touch-action:none;touch-action:none} -------------------------------------------------------------------------------- /reset.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /css/lib/jquery-ui.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.12.1 - 2016-10-24 2 | * http://jqueryui.com 3 | * Includes: draggable.css 4 | * Copyright jQuery Foundation and other contributors; Licensed MIT */ 5 | 6 | .ui-draggable-handle{-ms-touch-action:none;touch-action:none} -------------------------------------------------------------------------------- /js/src/title_bar.js: -------------------------------------------------------------------------------- 1 | $(document).on('mousedown', '.tweet', function () { 2 | $('#' + $(this).attr('id')).css('z-index', ++z_count); 3 | }); 4 | 5 | $(document).on('click', '.close', function () { 6 | $('#' + $(this).parent().parent().attr('id')).remove(); 7 | }); -------------------------------------------------------------------------------- /js/lib/googbase_min.js: -------------------------------------------------------------------------------- 1 | +function(){(window.goog=window.goog||{}).inherits=function(a,d){function b(){}b.prototype=d.prototype;a.b=d.prototype;a.prototype=new b;a.prototype.constructor=a;a.a=function(a,b,f){for(var e=Array(arguments.length-2),c=2;c.cross:before,.close:hover>.cross:after{background-color:#d7d7d7}.cross:before,.cross:after{display:block;content:"";position:absolute;top:50%;left:0;width:17px;height:2px;background:#fff;border-radius:1px}.cross:before{transform:rotate(45deg);-webkit-transform:rotate(45deg)}.cross:after{transform:rotate(-45deg);-webkit-transform:rotate(-45deg)} -------------------------------------------------------------------------------- /css/src/progress.css: -------------------------------------------------------------------------------- 1 | #progressbar { 2 | display: none; 3 | border: 4px solid #ff00a2; 4 | background-color: #ff00a2; 5 | margin-left: 7px; 6 | width: 100%; 7 | height: 20px; 8 | border-radius: 3px; 9 | } 10 | 11 | #progress { 12 | left: 10px; 13 | width: 100%; 14 | } 15 | 16 | #progress-t { 17 | position: absolute; 18 | left: 11px; 19 | top: 3px; 20 | width: 100%; 21 | height: 22px; 22 | background-color: #ffffff; 23 | animation-fill-mode: both; 24 | } 25 | 26 | #auth { 27 | margin: 16px; 28 | text-align: center; 29 | color: #ff00a2; 30 | font-family: "MS Pゴシック"; 31 | font-size: 50px; 32 | } 33 | 34 | #welcome { 35 | display: none; 36 | margin: 10px; 37 | text-align: center; 38 | font-family: "MS Pゴシック"; 39 | font-size: 50px; 40 | } -------------------------------------------------------------------------------- /css/get_tweet.min.css: -------------------------------------------------------------------------------- 1 | body{overflow:hidden}.tweet{position:absolute;height:104px;width:0;background-color:rgba(255,255,255,0.9);border:1px #ccc solid;box-shadow:0 2px 3px 0 #ddd;-moz-box-shadow:0 2px 3px 0 #ddd;-webkit-box-shadow:0 2px 3px 0 #ddd;animation:Tweet_Animation .06s linear 0 forwards}.icon{margin:10px;width:0;height:64px;overflow:hidden;animation:Icon_Animation .06s linear 0 forwards}.value{margin:6px;width:0;height:72px;overflow:hidden;animation:Value_Animation .06s linear 0 forwards;font-family:メイリオ;font-size:12px}@keyframes Tweet_Animation{from{margin-left:150px}to{margin-right:0;width:300px}}@keyframes Icon_Animation{to{width:64px}}@keyframes Value_Animation{from{margin-left:28%}to{margin-left:74px;width:69%}}.tweet:hover .value{overflow-y:auto}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-thumb{border-radius:6px;background:#bbb} -------------------------------------------------------------------------------- /css/src/login.css: -------------------------------------------------------------------------------- 1 | #oztter { 2 | position: absolute; 3 | margin: -100px 0px 0px -325px; 4 | left: 50%; 5 | top: 40%; 6 | } 7 | 8 | #form { 9 | position: absolute; 10 | margin: 10px 0px 0px -170px; 11 | left: 50%; 12 | top: 50%; 13 | width: 340px; 14 | } 15 | 16 | .form { 17 | margin: 16px 0px 0px 0px; 18 | height: 35px; 19 | width: 100%; 20 | border-radius: 50px; 21 | color: #575757; 22 | background: #fff9f0; 23 | border: none; 24 | border-right: solid 4px #eae7e2; 25 | border-bottom: solid 4px #eae7e2; 26 | font-size: 25px; 27 | padding: 5px; 28 | bottom: -5px; 29 | position: relative; 30 | } 31 | 32 | .label { 33 | padding-left: 5px; 34 | margin: 0px 0px 0px 6px; 35 | 36 | } 37 | 38 | .input { 39 | height: 20px; 40 | width: 150px; 41 | font-size: 22px; 42 | font-family: Montserrat; 43 | margin: 10px 0px 0px 0px; 44 | border: none; 45 | background-color: rgba(0, 0, 0, 0); 46 | } 47 | -------------------------------------------------------------------------------- /bootstrap.php: -------------------------------------------------------------------------------- 1 | 11 | ``` 12 | 13 | ## License 14 | Mozilla Public License (MPL) 15 | 16 | ## Library license 17 | ### [jQuery](https://jquery.com/) 18 | 19 | >Copyright jQuery Foundation and other contributors 20 | >Released under the MIT license 21 | >[https://js.foundation/pdf/ip-policy.pdf](https://js.foundation/pdf/ip-policy.pdf) 22 | 23 | ### [jQuery UI](https://jqueryui.com/) 24 | 25 | >Copyright jQuery Foundation and other contributors 26 | >Released under the MIT license 27 | >[https://js.foundation/pdf/ip-policy.pdf](https://js.foundation/pdf/ip-policy.pdf) 28 | 29 | ### [Google Web Designer](https://www.google.co.jp/webdesigner/) 30 | 31 | >Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 32 | >This code may only be used under the BSD style license found at [http://polymer.github.io/LICENSE.txt](http://polymer.github.io/LICENSE.txt) 33 | > [https://github.com/come25136/OZtter/blob/master/js/lib/gwd_webcomponents_min.js](https://github.com/come25136/OZtter/blob/master/js/lib/gwd_webcomponents_min.js) -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 14 | 15 | 16 | 17 | 18 | 19 | OZtter 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 36 | 37 | 38 |
39 | 40 | 41 | -------------------------------------------------------------------------------- /js/progress.min.js: -------------------------------------------------------------------------------- 1 | var progressbar="#progressbar";var welcome_count=3;var size=12;var density=26;$(function(){var g=[];var e=document.querySelector("#progress");var c=e.getContext("2d");c.globalAlpha=0.9;var a=function(j,h,i){this.scale=j;this.color=h;this.speed=i;this.position={x:null,y:null}};a.prototype.draw=function(){c.beginPath();c.arc(this.position.x,this.position.y,this.scale,0,20/2*Math.PI,false);c.fillStyle=this.color;c.fill()};for(var f=0;f .cross:before, .close:hover > .cross:after { 40 | background-color: #d7d7d7; 41 | } 42 | 43 | .cross:before, .cross:after { 44 | display: block; 45 | content: ""; 46 | position: absolute; 47 | top: 50%; 48 | left: 0; 49 | width: 17px; 50 | height: 2px; 51 | background: #ffffff; 52 | 53 | border-radius: 1px; 54 | } 55 | 56 | .cross:before { 57 | transform: rotate(45deg); 58 | -webkit-transform: rotate(45deg); 59 | } 60 | 61 | .cross:after { 62 | transform: rotate(-45deg); 63 | -webkit-transform: rotate(-45deg); 64 | } -------------------------------------------------------------------------------- /css/src/get_tweet.css: -------------------------------------------------------------------------------- 1 | body { 2 | overflow: hidden; 3 | } 4 | 5 | .tweet { 6 | position: absolute; 7 | height: 104px; 8 | width: 0px; 9 | background-color: rgba(255, 255, 255, 0.9); 10 | border: 1px #ccc solid; 11 | box-shadow: 0 2px 3px 0 #ddd; 12 | -moz-box-shadow: 0 2px 3px 0 #ddd; 13 | -webkit-box-shadow: 0 2px 3px 0 #ddd; 14 | animation: Tweet_Animation 0.06s linear 0s forwards; 15 | } 16 | 17 | .icon { 18 | margin: 10px; 19 | width: 0px; 20 | height: 64px; 21 | overflow: hidden; 22 | animation: Icon_Animation 0.06s linear 0s forwards; 23 | } 24 | 25 | .value { 26 | margin: 6px; 27 | width: 0px; 28 | height: 72px; 29 | overflow: hidden; 30 | animation: Value_Animation 0.06s linear 0s forwards; 31 | font-family: メイリオ; 32 | font-size: 12px; 33 | } 34 | 35 | @keyframes Tweet_Animation { 36 | from { 37 | margin-left: 150px; 38 | } 39 | to { 40 | margin-right: 0px; 41 | width: 300px; 42 | } 43 | } 44 | 45 | @keyframes Icon_Animation { 46 | to { 47 | width: 64px; 48 | } 49 | } 50 | 51 | @keyframes Value_Animation { 52 | from { 53 | margin-left: 28%; 54 | } 55 | to { 56 | margin-left: 74px; 57 | width: 69%; 58 | } 59 | } 60 | 61 | .tweet:hover .value { 62 | overflow-y: auto; 63 | } 64 | 65 | ::-webkit-scrollbar { 66 | width: 6px; 67 | } 68 | 69 | ::-webkit-scrollbar-thumb { 70 | border-radius: 6px; 71 | background: #BBBBBB; 72 | } -------------------------------------------------------------------------------- /login-twitter.php: -------------------------------------------------------------------------------- 1 | oauthForRequestToken((empty($_SERVER["HTTPS"]) ? "http://" : "https://") . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]); 22 | 23 | // Change state 24 | $_SESSION['state'] = 'pending'; 25 | 26 | // Redirect to Twitter 27 | header("Location: {$_SESSION['client']->getAuthorizeUrl()}"); 28 | exit; 29 | } else { 30 | /* User is unlogined, but pending access_token */ 31 | 32 | // Update it with access_token (Using $_GET['oauth_verifier'] returned from Twitter) 33 | $_SESSION['client'] = $_SESSION['client']->oauthForAccessToken(filter_input(INPUT_GET, 'oauth_verifier')); 34 | 35 | // Change state 36 | $_SESSION['state'] = 'logined'; 37 | 38 | // Redirect to index page 39 | header('Location: login.php'); 40 | exit; 41 | } 42 | 43 | } catch (RuntimeException $e) { 44 | require __DIR__ . '/reset.php'; 45 | } 46 | -------------------------------------------------------------------------------- /push.php: -------------------------------------------------------------------------------- 1 | streaming('user', function ($status) { 27 | if (isset($status->text)) { 28 | push('Tweet', str_replace('normal', 'bigger', $status->user->profile_image_url_https), $status->text, $status->id_str); 29 | } 30 | }); 31 | } catch (HttpException $e) { 32 | if ($e->getCode() == 89) { 33 | $_SESSION = array(); 34 | session_destroy(); 35 | } 36 | 37 | push('Error', null, $e->getCode()); 38 | } 39 | */ 40 | function push($event, $icon, $value, $id = null) 41 | { 42 | echo "event: $event\n"; 43 | echo "data: " . json_encode(['icon_url' => $icon, 'value' => $value, 'id' => $id], JSON_UNESCAPED_UNICODE) . "\n\n"; 44 | 45 | ob_flush(); 46 | flush(); 47 | } 48 | 49 | 50 | while (true) { 51 | push("Info", "info.png", "OZtter

push test"); 52 | 53 | usleep(1000000); 54 | } 55 | 56 | ?> 57 | -------------------------------------------------------------------------------- /js/get_tweet.min.js: -------------------------------------------------------------------------------- 1 | var TweetDisplay="#tweets";function main(a,c,b){if(window.EventSource){connect(a,c,b)}else{alert("EventSourceに対応していません")}}function connect(a,c,b){var d=new EventSource("push.php?at="+a+"&ats="+c);d.addEventListener("Info",function(g){var f=Init(b,g);add_tweet(m_random(18),f.icon_url,f.value)},false);d.addEventListener("Tweet",function(g){var f=Init(b,g);add_tweet(f.id,f.icon_url,f.value)},false);d.addEventListener("Error",function(g){var f=Init(b,g);if(f.value=="89"){location.href="reset.php"}else{if(f.value=="88"){d.close();setTimeout(function(){connect(a,c,b)},300000)}}},false)}function Init(a,b){while($(TweetDisplay).find("div").length>=a){$(TweetDisplay+" div")[0].remove()}return validateJSON(b.data)}var z_count=0;var w_size=48;function add_tweet(e,b,c){var a=window.innerHeight-104;var d=window.innerWidth-300;$(TweetDisplay).append('
OZtter Message

'+tweet_value(c)+"

");$(".tweet").draggable({handle:".title_bar"});if(0$1").replace(/@(\w+)/g,'@$1').replace(/\r\n?/g,"
")}function calculation(c,a,b){return Math.random()*((a-c)-c)+c}function m_random(b){var d="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";var a="";while(a.lengthMath.abs(Math.tan(.5*Math.PI-.001)-f))h=0<=Math.sin(b)?1:-1,a=.5*(a[2][1]-a[0][1]),e=[g[0],g[1]-h*a],h=[g[0],g[1]+h*a];else{b=0<=Math.cos(b)?1:-1;b=[b,b*f];for(var k=Infinity,l=-Infinity,m=0;4>m;m++){var n,p=[a[m][0]-g[0],a[m][1]-g[1]],p=f*p[1]+p[0],p=p/(1+f*f);n=[p,p*f];p=(0l&&(h=n,l=p)}}a=c.createLinearGradient(e[0],e[1],h[0],h[1]);u(a,d.color);d=a}return d}return"rgba("+Math.floor(255*d[0])+","+Math.floor(255*d[1])+","+Math.floor(255*d[2])+","+d[3]+")"},u=function(c,d){if(c)for(var e=d.length,g=0;gMath.abs(Math.tan(.5*Math.PI-.001)-g))h=0<=Math.sin(b)?1:-1,a=.5*(a[2][1]-a[0][1]),e=[f[0],f[1]-h*a],h=[f[0],f[1]+h*a];else{b=0<=Math.cos(b)?1:-1;b=[b,b*g];for(var k=Infinity,n=-Infinity,p=0;4>p;p++){var l,m=[a[p][0]-f[0],a[p][1]-f[1]],m=g*m[1]+m[0],m=m/(1+g*g);l=[m,m*g];m=(0n&&(h=l,n=m)}}a=c.createLinearGradient(e[0],e[1],h[0],h[1]);x(a,d.color);d=a}return d}return"rgba("+Math.floor(255*d[0])+","+Math.floor(255*d[1])+","+Math.floor(255*d[2])+","+d[3]+")"},x=function(c,d){if(c)for(var e=d.length,f=0;fMath.abs(Math.tan(.5*Math.PI-.001)-e))h=0<=Math.sin(c)?1:-1,d=.5*(d[2][1]-d[0][1]),g=[a[0],a[1]-h*d],h=[a[0],a[1]+h*d];else{c=0<=Math.cos(c)?1:-1;c=[c,c*e];for(var k=Infinity,l=-Infinity,p=0;4>p;p++){var m,n=[d[p][0]-a[0],d[p][1]-a[1]],n=e*n[1]+n[0],n=n/(1+e*e);m=[n,n*e];n=(0l&&(h=m,l=n)}}d=f.createLinearGradient(g[0],g[1],h[0],h[1]);v(d,b.color);b=d}return b}return"rgba("+Math.floor(255*b[0])+","+Math.floor(255*b[1])+","+Math.floor(255*b[2])+","+b[3]+")"},v=function(f,b){if(f)for(var g=b.length,a=0;ac&&(k=c);p>c&&(p=c);f>c&&(f=c);l>c&&(l=c);c=a-b;h=d-b;0>=k&&0>=p&&0>=f&&0>=l?g.rect(e[0],e[1],a-2*b,d-2*b):(a=k-b,0>a&&(a=0),e[1]+=a,.001>Math.abs(a)&&(e[1]=b),g.moveTo(e[0],e[1]),e=[b,h],a=p-b,0>a&&(a=0),e[1]-=a,g.lineTo(e[0],e[1]),.001a&&(a=0),e[0]-=a,g.lineTo(e[0],e[1]),.001a&&(a=0),e[1]+=a,g.lineTo(e[0],e[1]),.001a&&(a=0),e[0]+=a,g.lineTo(e[0],e[1]),.001= limit) { 43 | $(TweetDisplay + ' div')[0].remove(); 44 | } 45 | 46 | return validateJSON(data.data); 47 | } 48 | 49 | var z_count = 0; 50 | var w_size = 48; 51 | 52 | function add_tweet(id, icon_url, value) { 53 | var wh = window.innerHeight - 104; 54 | var ww = window.innerWidth - 300; 55 | 56 | $(TweetDisplay).append('
' 57 | + '
' 58 | + 'OZtter Message' 59 | + '' 62 | + '
' 63 | + '' 64 | + '

' + tweet_value(value) + '

' 65 | + '
'); 66 | 67 | $('.tweet').draggable({handle: '.title_bar'}); 68 | 69 | if (0 < w_size) { 70 | w_size--; 71 | } 72 | } 73 | 74 | // JSON の評価を行う、JSON.parseでエラーになる場合は、jsとしてevalする 75 | function validateJSON(text) { 76 | var obj = null; 77 | 78 | try { 79 | obj = JSON.parse(text); 80 | return obj; 81 | } catch (O_o) { 82 | ; 83 | } 84 | 85 | // try eval(text) 86 | try { 87 | obj = eval("(" + text + ")"); 88 | } catch (o_O) { 89 | console.log("ERROR. JSON.parse failed"); 90 | return null; 91 | } 92 | 93 | console.log("WARN. As a result of JSON.parse, a trivial problem has occurred"); 94 | return obj; // repaired 95 | } 96 | 97 | function tweet_value(value) { 98 | return value 99 | .replace(/(https?:\/\/[\x21-\x7e]+)/gi, "$1") // メンションのURLと干渉するため、必ず一番最初にこの処理を書くこと 100 | .replace(/@(\w+)/g, '@$1') 101 | .replace(/\r\n?/g, "
"); 102 | } 103 | 104 | function calculation(min, max, size) { 105 | return Math.random() * ((max - min) - min) + min; 106 | } 107 | 108 | function m_random(length) { 109 | var c = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; // 生成する文字列に含める文字セット 110 | var r = ""; // 初期化 111 | 112 | while (r.length < length) { 113 | r += c[Math.floor(Math.random() * c.length)]; 114 | } 115 | 116 | return r; 117 | } 118 | -------------------------------------------------------------------------------- /login.php: -------------------------------------------------------------------------------- 1 | get('account/verify_credentials')->screen_name; 10 | } catch (RuntimeException $e) { 11 | if ($e->getCode() == 88) { 12 | $screen_name = "API limit"; 13 | } elseif ($e->getCode() == 89) { 14 | require __DIR__ . '/reset.php'; 15 | } 16 | } 17 | ?> 18 | 19 | 20 | 21 | 22 | 23 | 24 | OZtter - Login 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 35 | 37 | 39 | 41 | 43 | 44 | 45 | 46 | 47 | 48 | 49 |
50 | 54 | 57 | 60 | 63 | 66 |

tter

67 |
68 | 69 |
70 |
71 | 72 |
73 |

認証中

74 |
75 | 76 |

Welcome!

77 | 78 |
79 | 80 | 81 |
82 | 83 |
84 | 85 | 86 |
87 |
88 | 89 | 90 | -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- 1 | { 2 | "_readme": [ 3 | "This file locks the dependencies of your project to a known state", 4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", 5 | "This file is @generated automatically" 6 | ], 7 | "hash": "1a271abe3369d997a80629d5bc301e71", 8 | "content-hash": "0f678a53d3d04e384f8894dec91d71fd", 9 | "packages": [ 10 | { 11 | "name": "mpyw/co", 12 | "version": "v1.5.4", 13 | "source": { 14 | "type": "git", 15 | "url": "https://github.com/mpyw/co.git", 16 | "reference": "e61114ca578dbe78476cc6768300001a5b9eb0fb" 17 | }, 18 | "dist": { 19 | "type": "zip", 20 | "url": "https://api.github.com/repos/mpyw/co/zipball/e61114ca578dbe78476cc6768300001a5b9eb0fb", 21 | "reference": "e61114ca578dbe78476cc6768300001a5b9eb0fb", 22 | "shasum": "" 23 | }, 24 | "require": { 25 | "ext-reflection": "*", 26 | "lib-curl": ">=7.20.0", 27 | "php": ">=5.5.0", 28 | "react/promise": "^2.4" 29 | }, 30 | "require-dev": { 31 | "codeception/aspect-mock": "^2.0", 32 | "codeception/codeception": "^2.2", 33 | "codeception/specify": "*", 34 | "mpyw/privator": "^2.0", 35 | "php": ">=7.0.0", 36 | "satooshi/php-coveralls": "^1.0" 37 | }, 38 | "type": "library", 39 | "autoload": { 40 | "psr-4": { 41 | "mpyw\\Co\\": "src/" 42 | } 43 | }, 44 | "notification-url": "https://packagist.org/downloads/", 45 | "license": [ 46 | "MIT" 47 | ], 48 | "authors": [ 49 | { 50 | "name": "mpyw", 51 | "email": "ryosuke_i_628@yahoo.co.jp" 52 | } 53 | ], 54 | "description": "Asynchronous cURL executor simply based on resource and Generator", 55 | "keywords": [ 56 | "asynchronous", 57 | "curl", 58 | "generator", 59 | "http", 60 | "parallel" 61 | ], 62 | "time": "2016-08-28 14:02:56" 63 | }, 64 | { 65 | "name": "mpyw/cowitter", 66 | "version": "v1.0.2", 67 | "source": { 68 | "type": "git", 69 | "url": "https://github.com/mpyw/cowitter.git", 70 | "reference": "0b491f6371b4e4769ea8de7b563997e7354c8860" 71 | }, 72 | "dist": { 73 | "type": "zip", 74 | "url": "https://api.github.com/repos/mpyw/cowitter/zipball/0b491f6371b4e4769ea8de7b563997e7354c8860", 75 | "reference": "0b491f6371b4e4769ea8de7b563997e7354c8860", 76 | "shasum": "" 77 | }, 78 | "require": { 79 | "ext-hash": "*", 80 | "ext-json": "*", 81 | "ext-openssl": "*", 82 | "lib-curl": ">=7.20.0", 83 | "mpyw/co": "^1.5", 84 | "php": ">=5.5.0" 85 | }, 86 | "require-dev": { 87 | "codeception/aspect-mock": "^2.0", 88 | "codeception/codeception": "^2.2", 89 | "codeception/specify": "*", 90 | "mpyw/privator": "^2.0", 91 | "php": ">=7.0.0", 92 | "satooshi/php-coveralls": "^1.0" 93 | }, 94 | "type": "library", 95 | "autoload": { 96 | "psr-4": { 97 | "mpyw\\Cowitter\\": "src/" 98 | } 99 | }, 100 | "notification-url": "https://packagist.org/downloads/", 101 | "license": [ 102 | "MIT" 103 | ], 104 | "authors": [ 105 | { 106 | "name": "mpyw", 107 | "email": "ryosuke_i_628@yahoo.co.jp" 108 | } 109 | ], 110 | "description": "Asynchronous Twitter client compatible with mpyw/co Generator-based flows.", 111 | "keywords": [ 112 | "api", 113 | "async", 114 | "asynchronous", 115 | "image", 116 | "oauth", 117 | "paralell", 118 | "streaming", 119 | "twitter", 120 | "upload", 121 | "video" 122 | ], 123 | "time": "2016-09-13 03:11:10" 124 | }, 125 | { 126 | "name": "react/promise", 127 | "version": "v2.4.1", 128 | "source": { 129 | "type": "git", 130 | "url": "https://github.com/reactphp/promise.git", 131 | "reference": "8025426794f1944de806618671d4fa476dc7626f" 132 | }, 133 | "dist": { 134 | "type": "zip", 135 | "url": "https://api.github.com/repos/reactphp/promise/zipball/8025426794f1944de806618671d4fa476dc7626f", 136 | "reference": "8025426794f1944de806618671d4fa476dc7626f", 137 | "shasum": "" 138 | }, 139 | "require": { 140 | "php": ">=5.4.0" 141 | }, 142 | "type": "library", 143 | "extra": { 144 | "branch-alias": { 145 | "dev-master": "2.0-dev" 146 | } 147 | }, 148 | "autoload": { 149 | "psr-4": { 150 | "React\\Promise\\": "src/" 151 | }, 152 | "files": [ 153 | "src/functions_include.php" 154 | ] 155 | }, 156 | "notification-url": "https://packagist.org/downloads/", 157 | "license": [ 158 | "MIT" 159 | ], 160 | "authors": [ 161 | { 162 | "name": "Jan Sorgalla", 163 | "email": "jsorgalla@gmail.com" 164 | } 165 | ], 166 | "description": "A lightweight implementation of CommonJS Promises/A for PHP", 167 | "time": "2016-05-03 17:50:52" 168 | } 169 | ], 170 | "packages-dev": [], 171 | "aliases": [], 172 | "minimum-stability": "stable", 173 | "stability-flags": [], 174 | "prefer-stable": false, 175 | "prefer-lowest": false, 176 | "platform": [], 177 | "platform-dev": [] 178 | } 179 | -------------------------------------------------------------------------------- /js/lib/gwd_webcomponents_min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @license 3 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 4 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 5 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 6 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 7 | * Code distributed by Google as part of the polymer project is also 8 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 9 | */ 10 | // @version 0.7.22 11 | "undefined"==typeof WeakMap&&!function(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){this.name="__st"+(1e9*Math.random()>>>0)+(t++ +"__")};n.prototype={set:function(t,n){var o=t[this.name];return o&&o[0]===t?o[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},"delete":function(e){var t=e[this.name];return t&&t[0]===e?(t[0]=t[1]=void 0,!0):!1},has:function(e){var t=e[this.name];return t?t[0]===e:!1}},window.WeakMap=n}(),function(e){function t(e){E.push(e),b||(b=!0,w(o))}function n(e){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(e)||e}function o(){b=!1;var e=E;E=[],e.sort(function(e,t){return e.uid_-t.uid_});var t=!1;e.forEach(function(e){var n=e.takeRecords();r(e),n.length&&(e.callback_(n,e),t=!0)}),t&&o()}function r(e){e.nodes_.forEach(function(t){var n=v.get(t);n&&n.forEach(function(t){t.observer===e&&t.removeTransientObservers()})})}function i(e,t){for(var n=e;n;n=n.parentNode){var o=v.get(n);if(o)for(var r=0;r0){var r=n[o-1],i=p(r,e);if(i)return void(n[o-1]=i)}else t(this.observer);n[o]=e},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(e){var t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(e){var t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){this.addListeners_(e),this.transientObservedNodes.push(e);var t=v.get(e);t||v.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.removeListeners_(e);for(var t=v.get(e),n=0;n=0)){n.push(e);for(var o,r=e.querySelectorAll("link[rel="+a+"]"),d=0,s=r.length;s>d&&(o=r[d]);d++)o["import"]&&i(o["import"],t,n);t(e)}}var a=window.HTMLImports?window.HTMLImports.IMPORT_LINK_TYPE:"none";e.forDocumentTree=r,e.forSubtree=t}),window.CustomElements.addModule(function(e){function t(e,t){return n(e,t)||o(e,t)}function n(t,n){return e.upgrade(t,n)?!0:void(n&&a(t))}function o(e,t){b(e,function(e){return n(e,t)?!0:void 0})}function r(e){N.push(e),y||(y=!0,setTimeout(i))}function i(){y=!1;for(var e,t=N,n=0,o=t.length;o>n&&(e=t[n]);n++)e();N=[]}function a(e){_?r(function(){d(e)}):d(e)}function d(e){e.__upgraded__&&!e.__attached&&(e.__attached=!0,e.attachedCallback&&e.attachedCallback())}function s(e){u(e),b(e,function(e){u(e)})}function u(e){_?r(function(){c(e)}):c(e)}function c(e){e.__upgraded__&&e.__attached&&(e.__attached=!1,e.detachedCallback&&e.detachedCallback())}function l(e){for(var t=e,n=window.wrap(document);t;){if(t==n)return!0;t=t.parentNode||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&t.host}}function f(e){if(e.shadowRoot&&!e.shadowRoot.__watched){g.dom&&console.log("watching shadow-root for: ",e.localName);for(var t=e.shadowRoot;t;)w(t),t=t.olderShadowRoot}}function p(e,n){if(g.dom){var o=n[0];if(o&&"childList"===o.type&&o.addedNodes&&o.addedNodes){for(var r=o.addedNodes[0];r&&r!==document&&!r.host;)r=r.parentNode;var i=r&&(r.URL||r._URL||r.host&&r.host.localName)||"";i=i.split("/?").shift().split("/").pop()}console.group("mutations (%d) [%s]",n.length,i||"")}var a=l(e);n.forEach(function(e){"childList"===e.type&&(M(e.addedNodes,function(e){e.localName&&t(e,a)}),M(e.removedNodes,function(e){e.localName&&s(e)}))}),g.dom&&console.groupEnd()}function m(e){for(e=window.wrap(e),e||(e=window.wrap(document));e.parentNode;)e=e.parentNode;var t=e.__observer;t&&(p(e,t.takeRecords()),i())}function w(e){if(!e.__observer){var t=new MutationObserver(p.bind(this,e));t.observe(e,{childList:!0,subtree:!0}),e.__observer=t}}function v(e){e=window.wrap(e),g.dom&&console.group("upgradeDocument: ",e.baseURI.split("/").pop());var n=e===window.wrap(document);t(e,n),w(e),g.dom&&console.groupEnd()}function h(e){E(e,v)}var g=e.flags,b=e.forSubtree,E=e.forDocumentTree,_=window.MutationObserver._isPolyfilled&&g["throttle-attached"];e.hasPolyfillMutations=_,e.hasThrottledAttached=_;var y=!1,N=[],M=Array.prototype.forEach.call.bind(Array.prototype.forEach),O=Element.prototype.createShadowRoot;O&&(Element.prototype.createShadowRoot=function(){var e=O.call(this);return window.CustomElements.watchShadow(this),e}),e.watchShadow=f,e.upgradeDocumentTree=h,e.upgradeDocument=v,e.upgradeSubtree=o,e.upgradeAll=t,e.attached=a,e.takeRecords=m}),window.CustomElements.addModule(function(e){function t(t,o){if("template"===t.localName&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t),!t.__upgraded__&&t.nodeType===Node.ELEMENT_NODE){var r=t.getAttribute("is"),i=e.getRegisteredDefinition(t.localName)||e.getRegisteredDefinition(r);if(i&&(r&&i.tag==t.localName||!r&&!i["extends"]))return n(t,i,o)}}function n(t,n,r){return a.upgrade&&console.group("upgrade:",t.localName),n.is&&t.setAttribute("is",n.is),o(t,n),t.__upgraded__=!0,i(t),r&&e.attached(t),e.upgradeSubtree(t,r),a.upgrade&&console.groupEnd(),t}function o(e,t){Object.__proto__?e.__proto__=t.prototype:(r(e,t.prototype,t["native"]),e.__proto__=t.prototype)}function r(e,t,n){for(var o={},r=t;r!==n&&r!==HTMLElement.prototype;){for(var i,a=Object.getOwnPropertyNames(r),d=0;i=a[d];d++)o[i]||(Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i)),o[i]=1);r=Object.getPrototypeOf(r)}}function i(e){e.createdCallback&&e.createdCallback()}var a=e.flags;e.upgrade=t,e.upgradeWithDefinition=n,e.implementPrototype=o}),window.CustomElements.addModule(function(e){function t(t,o){var s=o||{};if(!t)throw new Error("document.registerElement: first argument `name` must not be empty");if(t.indexOf("-")<0)throw new Error("document.registerElement: first argument ('name') must contain a dash ('-'). Argument provided was '"+String(t)+"'.");if(r(t))throw new Error("Failed to execute 'registerElement' on 'Document': Registration failed for type '"+String(t)+"'. The type name is invalid.");if(u(t))throw new Error("DuplicateDefinitionError: a type with name '"+String(t)+"' is already registered");return s.prototype||(s.prototype=Object.create(HTMLElement.prototype)),s.__name=t.toLowerCase(),s["extends"]&&(s["extends"]=s["extends"].toLowerCase()),s.lifecycle=s.lifecycle||{},s.ancestry=i(s["extends"]),a(s),d(s),n(s.prototype),c(s.__name,s),s.ctor=l(s),s.ctor.prototype=s.prototype,s.prototype.constructor=s.ctor,e.ready&&v(document),s.ctor}function n(e){if(!e.setAttribute._polyfilled){var t=e.setAttribute;e.setAttribute=function(e,n){o.call(this,e,n,t)};var n=e.removeAttribute;e.removeAttribute=function(e){o.call(this,e,null,n)},e.setAttribute._polyfilled=!0}}function o(e,t,n){e=e.toLowerCase();var o=this.getAttribute(e);n.apply(this,arguments);var r=this.getAttribute(e);this.attributeChangedCallback&&r!==o&&this.attributeChangedCallback(e,o,r)}function r(e){for(var t=0;t<_.length;t++)if(e===_[t])return!0}function i(e){var t=u(e);return t?i(t["extends"]).concat([t]):[]}function a(e){for(var t,n=e["extends"],o=0;t=e.ancestry[o];o++)n=t.is&&t.tag;e.tag=n||e.__name,n&&(e.is=e.__name)}function d(e){if(!Object.__proto__){var t=HTMLElement.prototype;if(e.is){var n=document.createElement(e.tag);t=Object.getPrototypeOf(n)}for(var o,r=e.prototype,i=!1;r;)r==t&&(i=!0),o=Object.getPrototypeOf(r),o&&(r.__proto__=o),r=o;i||console.warn(e.tag+" prototype not found in prototype chain for "+e.is),e["native"]=t}}function s(e){return g(M(e.tag),e)}function u(e){return e?y[e.toLowerCase()]:void 0}function c(e,t){y[e]=t}function l(e){return function(){return s(e)}}function f(e,t,n){return e===N?p(t,n):O(e,t)}function p(e,t){e&&(e=e.toLowerCase()),t&&(t=t.toLowerCase());var n=u(t||e);if(n){if(e==n.tag&&t==n.is)return new n.ctor;if(!t&&!n.is)return new n.ctor}var o;return t?(o=p(e),o.setAttribute("is",t),o):(o=M(e),e.indexOf("-")>=0&&b(o,HTMLElement),o)}function m(e,t){var n=e[t];e[t]=function(){var e=n.apply(this,arguments);return h(e),e}}var w,v=(e.isIE,e.upgradeDocumentTree),h=e.upgradeAll,g=e.upgradeWithDefinition,b=e.implementPrototype,E=e.useNative,_=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"],y={},N="http://www.w3.org/1999/xhtml",M=document.createElement.bind(document),O=document.createElementNS.bind(document);w=Object.__proto__||E?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;for(var n=e;n;){if(n===t.prototype)return!0;n=n.__proto__}return!1},m(Node.prototype,"cloneNode"),m(document,"importNode"),document.registerElement=t,document.createElement=p,document.createElementNS=f,e.registry=y,e["instanceof"]=w,e.reservedTagList=_,e.getRegisteredDefinition=u,document.register=document.registerElement}),function(e){function t(){i(window.wrap(document)),window.CustomElements.ready=!0;var e=window.requestAnimationFrame||function(e){setTimeout(e,16)};e(function(){setTimeout(function(){window.CustomElements.readyTime=Date.now(),window.HTMLImports&&(window.CustomElements.elapsed=window.CustomElements.readyTime-window.HTMLImports.readyTime),document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})}var n=e.useNative,o=e.initializeModules;e.isIE;if(n){var r=function(){};e.watchShadow=r,e.upgrade=r,e.upgradeAll=r,e.upgradeDocumentTree=r,e.upgradeSubtree=r,e.takeRecords=r,e["instanceof"]=function(e,t){return e instanceof t}}else o();var i=e.upgradeDocumentTree,a=e.upgradeDocument;if(window.wrap||(window.ShadowDOMPolyfill?(window.wrap=window.ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=window.ShadowDOMPolyfill.unwrapIfNeeded):window.wrap=window.unwrap=function(e){return e}),window.HTMLImports&&(window.HTMLImports.__importsParsingHook=function(e){e["import"]&&a(wrap(e["import"]))}),"complete"===document.readyState||e.flags.eager)t();else if("interactive"!==document.readyState||window.attachEvent||window.HTMLImports&&!window.HTMLImports.ready){var d=window.HTMLImports&&!window.HTMLImports.ready?"HTMLImportsLoaded":"DOMContentLoaded";window.addEventListener(d,t)}else t()}(window.CustomElements); 12 | "undefined"==typeof document.register&&(document.register=function(a){return document.registerElement.apply(document,arguments)}); 13 | 14 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Mozilla Public License Version 2.0 2 | ================================== 3 | 4 | 1. Definitions 5 | -------------- 6 | 7 | 1.1. "Contributor" 8 | means each individual or legal entity that creates, contributes to 9 | the creation of, or owns Covered Software. 10 | 11 | 1.2. "Contributor Version" 12 | means the combination of the Contributions of others (if any) used 13 | by a Contributor and that particular Contributor's Contribution. 14 | 15 | 1.3. "Contribution" 16 | means Covered Software of a particular Contributor. 17 | 18 | 1.4. "Covered Software" 19 | means Source Code Form to which the initial Contributor has attached 20 | the notice in Exhibit A, the Executable Form of such Source Code 21 | Form, and Modifications of such Source Code Form, in each case 22 | including portions thereof. 23 | 24 | 1.5. "Incompatible With Secondary Licenses" 25 | means 26 | 27 | (a) that the initial Contributor has attached the notice described 28 | in Exhibit B to the Covered Software; or 29 | 30 | (b) that the Covered Software was made available under the terms of 31 | version 1.1 or earlier of the License, but not also under the 32 | terms of a Secondary License. 33 | 34 | 1.6. "Executable Form" 35 | means any form of the work other than Source Code Form. 36 | 37 | 1.7. "Larger Work" 38 | means a work that combines Covered Software with other material, in 39 | a separate file or files, that is not Covered Software. 40 | 41 | 1.8. "License" 42 | means this document. 43 | 44 | 1.9. "Licensable" 45 | means having the right to grant, to the maximum extent possible, 46 | whether at the time of the initial grant or subsequently, any and 47 | all of the rights conveyed by this License. 48 | 49 | 1.10. "Modifications" 50 | means any of the following: 51 | 52 | (a) any file in Source Code Form that results from an addition to, 53 | deletion from, or modification of the contents of Covered 54 | Software; or 55 | 56 | (b) any new file in Source Code Form that contains any Covered 57 | Software. 58 | 59 | 1.11. "Patent Claims" of a Contributor 60 | means any patent claim(s), including without limitation, method, 61 | process, and apparatus claims, in any patent Licensable by such 62 | Contributor that would be infringed, but for the grant of the 63 | License, by the making, using, selling, offering for sale, having 64 | made, import, or transfer of either its Contributions or its 65 | Contributor Version. 66 | 67 | 1.12. "Secondary License" 68 | means either the GNU General Public License, Version 2.0, the GNU 69 | Lesser General Public License, Version 2.1, the GNU Affero General 70 | Public License, Version 3.0, or any later versions of those 71 | licenses. 72 | 73 | 1.13. "Source Code Form" 74 | means the form of the work preferred for making modifications. 75 | 76 | 1.14. "You" (or "Your") 77 | means an individual or a legal entity exercising rights under this 78 | License. For legal entities, "You" includes any entity that 79 | controls, is controlled by, or is under common control with You. For 80 | purposes of this definition, "control" means (a) the power, direct 81 | or indirect, to cause the direction or management of such entity, 82 | whether by contract or otherwise, or (b) ownership of more than 83 | fifty percent (50%) of the outstanding shares or beneficial 84 | ownership of such entity. 85 | 86 | 2. License Grants and Conditions 87 | -------------------------------- 88 | 89 | 2.1. Grants 90 | 91 | Each Contributor hereby grants You a world-wide, royalty-free, 92 | non-exclusive license: 93 | 94 | (a) under intellectual property rights (other than patent or trademark) 95 | Licensable by such Contributor to use, reproduce, make available, 96 | modify, display, perform, distribute, and otherwise exploit its 97 | Contributions, either on an unmodified basis, with Modifications, or 98 | as part of a Larger Work; and 99 | 100 | (b) under Patent Claims of such Contributor to make, use, sell, offer 101 | for sale, have made, import, and otherwise transfer either its 102 | Contributions or its Contributor Version. 103 | 104 | 2.2. Effective Date 105 | 106 | The licenses granted in Section 2.1 with respect to any Contribution 107 | become effective for each Contribution on the date the Contributor first 108 | distributes such Contribution. 109 | 110 | 2.3. Limitations on Grant Scope 111 | 112 | The licenses granted in this Section 2 are the only rights granted under 113 | this License. No additional rights or licenses will be implied from the 114 | distribution or licensing of Covered Software under this License. 115 | Notwithstanding Section 2.1(b) above, no patent license is granted by a 116 | Contributor: 117 | 118 | (a) for any code that a Contributor has removed from Covered Software; 119 | or 120 | 121 | (b) for infringements caused by: (i) Your and any other third party's 122 | modifications of Covered Software, or (ii) the combination of its 123 | Contributions with other software (except as part of its Contributor 124 | Version); or 125 | 126 | (c) under Patent Claims infringed by Covered Software in the absence of 127 | its Contributions. 128 | 129 | This License does not grant any rights in the trademarks, service marks, 130 | or logos of any Contributor (except as may be necessary to comply with 131 | the notice requirements in Section 3.4). 132 | 133 | 2.4. Subsequent Licenses 134 | 135 | No Contributor makes additional grants as a result of Your choice to 136 | distribute the Covered Software under a subsequent version of this 137 | License (see Section 10.2) or under the terms of a Secondary License (if 138 | permitted under the terms of Section 3.3). 139 | 140 | 2.5. Representation 141 | 142 | Each Contributor represents that the Contributor believes its 143 | Contributions are its original creation(s) or it has sufficient rights 144 | to grant the rights to its Contributions conveyed by this License. 145 | 146 | 2.6. Fair Use 147 | 148 | This License is not intended to limit any rights You have under 149 | applicable copyright doctrines of fair use, fair dealing, or other 150 | equivalents. 151 | 152 | 2.7. Conditions 153 | 154 | Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted 155 | in Section 2.1. 156 | 157 | 3. Responsibilities 158 | ------------------- 159 | 160 | 3.1. Distribution of Source Form 161 | 162 | All distribution of Covered Software in Source Code Form, including any 163 | Modifications that You create or to which You contribute, must be under 164 | the terms of this License. You must inform recipients that the Source 165 | Code Form of the Covered Software is governed by the terms of this 166 | License, and how they can obtain a copy of this License. You may not 167 | attempt to alter or restrict the recipients' rights in the Source Code 168 | Form. 169 | 170 | 3.2. Distribution of Executable Form 171 | 172 | If You distribute Covered Software in Executable Form then: 173 | 174 | (a) such Covered Software must also be made available in Source Code 175 | Form, as described in Section 3.1, and You must inform recipients of 176 | the Executable Form how they can obtain a copy of such Source Code 177 | Form by reasonable means in a timely manner, at a charge no more 178 | than the cost of distribution to the recipient; and 179 | 180 | (b) You may distribute such Executable Form under the terms of this 181 | License, or sublicense it under different terms, provided that the 182 | license for the Executable Form does not attempt to limit or alter 183 | the recipients' rights in the Source Code Form under this License. 184 | 185 | 3.3. Distribution of a Larger Work 186 | 187 | You may create and distribute a Larger Work under terms of Your choice, 188 | provided that You also comply with the requirements of this License for 189 | the Covered Software. If the Larger Work is a combination of Covered 190 | Software with a work governed by one or more Secondary Licenses, and the 191 | Covered Software is not Incompatible With Secondary Licenses, this 192 | License permits You to additionally distribute such Covered Software 193 | under the terms of such Secondary License(s), so that the recipient of 194 | the Larger Work may, at their option, further distribute the Covered 195 | Software under the terms of either this License or such Secondary 196 | License(s). 197 | 198 | 3.4. Notices 199 | 200 | You may not remove or alter the substance of any license notices 201 | (including copyright notices, patent notices, disclaimers of warranty, 202 | or limitations of liability) contained within the Source Code Form of 203 | the Covered Software, except that You may alter any license notices to 204 | the extent required to remedy known factual inaccuracies. 205 | 206 | 3.5. Application of Additional Terms 207 | 208 | You may choose to offer, and to charge a fee for, warranty, support, 209 | indemnity or liability obligations to one or more recipients of Covered 210 | Software. However, You may do so only on Your own behalf, and not on 211 | behalf of any Contributor. You must make it absolutely clear that any 212 | such warranty, support, indemnity, or liability obligation is offered by 213 | You alone, and You hereby agree to indemnify every Contributor for any 214 | liability incurred by such Contributor as a result of warranty, support, 215 | indemnity or liability terms You offer. You may include additional 216 | disclaimers of warranty and limitations of liability specific to any 217 | jurisdiction. 218 | 219 | 4. Inability to Comply Due to Statute or Regulation 220 | --------------------------------------------------- 221 | 222 | If it is impossible for You to comply with any of the terms of this 223 | License with respect to some or all of the Covered Software due to 224 | statute, judicial order, or regulation then You must: (a) comply with 225 | the terms of this License to the maximum extent possible; and (b) 226 | describe the limitations and the code they affect. Such description must 227 | be placed in a text file included with all distributions of the Covered 228 | Software under this License. Except to the extent prohibited by statute 229 | or regulation, such description must be sufficiently detailed for a 230 | recipient of ordinary skill to be able to understand it. 231 | 232 | 5. Termination 233 | -------------- 234 | 235 | 5.1. The rights granted under this License will terminate automatically 236 | if You fail to comply with any of its terms. However, if You become 237 | compliant, then the rights granted under this License from a particular 238 | Contributor are reinstated (a) provisionally, unless and until such 239 | Contributor explicitly and finally terminates Your grants, and (b) on an 240 | ongoing basis, if such Contributor fails to notify You of the 241 | non-compliance by some reasonable means prior to 60 days after You have 242 | come back into compliance. Moreover, Your grants from a particular 243 | Contributor are reinstated on an ongoing basis if such Contributor 244 | notifies You of the non-compliance by some reasonable means, this is the 245 | first time You have received notice of non-compliance with this License 246 | from such Contributor, and You become compliant prior to 30 days after 247 | Your receipt of the notice. 248 | 249 | 5.2. If You initiate litigation against any entity by asserting a patent 250 | infringement claim (excluding declaratory judgment actions, 251 | counter-claims, and cross-claims) alleging that a Contributor Version 252 | directly or indirectly infringes any patent, then the rights granted to 253 | You by any and all Contributors for the Covered Software under Section 254 | 2.1 of this License shall terminate. 255 | 256 | 5.3. In the event of termination under Sections 5.1 or 5.2 above, all 257 | end user license agreements (excluding distributors and resellers) which 258 | have been validly granted by You or Your distributors under this License 259 | prior to termination shall survive termination. 260 | 261 | ************************************************************************ 262 | * * 263 | * 6. Disclaimer of Warranty * 264 | * ------------------------- * 265 | * * 266 | * Covered Software is provided under this License on an "as is" * 267 | * basis, without warranty of any kind, either expressed, implied, or * 268 | * statutory, including, without limitation, warranties that the * 269 | * Covered Software is free of defects, merchantable, fit for a * 270 | * particular purpose or non-infringing. The entire risk as to the * 271 | * quality and performance of the Covered Software is with You. * 272 | * Should any Covered Software prove defective in any respect, You * 273 | * (not any Contributor) assume the cost of any necessary servicing, * 274 | * repair, or correction. This disclaimer of warranty constitutes an * 275 | * essential part of this License. No use of any Covered Software is * 276 | * authorized under this License except under this disclaimer. * 277 | * * 278 | ************************************************************************ 279 | 280 | ************************************************************************ 281 | * * 282 | * 7. Limitation of Liability * 283 | * -------------------------- * 284 | * * 285 | * Under no circumstances and under no legal theory, whether tort * 286 | * (including negligence), contract, or otherwise, shall any * 287 | * Contributor, or anyone who distributes Covered Software as * 288 | * permitted above, be liable to You for any direct, indirect, * 289 | * special, incidental, or consequential damages of any character * 290 | * including, without limitation, damages for lost profits, loss of * 291 | * goodwill, work stoppage, computer failure or malfunction, or any * 292 | * and all other commercial damages or losses, even if such party * 293 | * shall have been informed of the possibility of such damages. This * 294 | * limitation of liability shall not apply to liability for death or * 295 | * personal injury resulting from such party's negligence to the * 296 | * extent applicable law prohibits such limitation. Some * 297 | * jurisdictions do not allow the exclusion or limitation of * 298 | * incidental or consequential damages, so this exclusion and * 299 | * limitation may not apply to You. * 300 | * * 301 | ************************************************************************ 302 | 303 | 8. Litigation 304 | ------------- 305 | 306 | Any litigation relating to this License may be brought only in the 307 | courts of a jurisdiction where the defendant maintains its principal 308 | place of business and such litigation shall be governed by laws of that 309 | jurisdiction, without reference to its conflict-of-law provisions. 310 | Nothing in this Section shall prevent a party's ability to bring 311 | cross-claims or counter-claims. 312 | 313 | 9. Miscellaneous 314 | ---------------- 315 | 316 | This License represents the complete agreement concerning the subject 317 | matter hereof. If any provision of this License is held to be 318 | unenforceable, such provision shall be reformed only to the extent 319 | necessary to make it enforceable. Any law or regulation which provides 320 | that the language of a contract shall be construed against the drafter 321 | shall not be used to construe this License against a Contributor. 322 | 323 | 10. Versions of the License 324 | --------------------------- 325 | 326 | 10.1. New Versions 327 | 328 | Mozilla Foundation is the license steward. Except as provided in Section 329 | 10.3, no one other than the license steward has the right to modify or 330 | publish new versions of this License. Each version will be given a 331 | distinguishing version number. 332 | 333 | 10.2. Effect of New Versions 334 | 335 | You may distribute the Covered Software under the terms of the version 336 | of the License under which You originally received the Covered Software, 337 | or under the terms of any subsequent version published by the license 338 | steward. 339 | 340 | 10.3. Modified Versions 341 | 342 | If you create software not governed by this License, and you want to 343 | create a new license for such software, you may create and use a 344 | modified version of this License if you rename the license and remove 345 | any references to the name of the license steward (except to note that 346 | such modified license differs from this License). 347 | 348 | 10.4. Distributing Source Code Form that is Incompatible With Secondary 349 | Licenses 350 | 351 | If You choose to distribute Source Code Form that is Incompatible With 352 | Secondary Licenses under the terms of this version of the License, the 353 | notice described in Exhibit B of this License must be attached. 354 | 355 | Exhibit A - Source Code Form License Notice 356 | ------------------------------------------- 357 | 358 | This Source Code Form is subject to the terms of the Mozilla Public 359 | License, v. 2.0. If a copy of the MPL was not distributed with this 360 | file, You can obtain one at http://mozilla.org/MPL/2.0/. 361 | 362 | If it is not possible or desirable to put the notice in a particular 363 | file, then You may include the notice in a location (such as a LICENSE 364 | file in a relevant directory) where a recipient would be likely to look 365 | for such a notice. 366 | 367 | You may add additional accurate notices of copyright ownership. 368 | 369 | Exhibit B - "Incompatible With Secondary Licenses" Notice 370 | --------------------------------------------------------- 371 | 372 | This Source Code Form is "Incompatible With Secondary Licenses", as 373 | defined by the Mozilla Public License, v. 2.0. -------------------------------------------------------------------------------- /js/lib/dynamics.min.js: -------------------------------------------------------------------------------- 1 | (function(){var t,e,n,r,o,i,s,a,u,l,f,h,p,c,m,d,g,y,v,b,w,x,M,S,k,T,C,H,R,q,I,X,Y,A,j,z,F,G,O,V,Z,E,L,D,P,W,N,U,$,B,K,J,Q,_,te,ee,ne,re,oe=function(t,e){return function(){return t.apply(e,arguments)}};I=function(){return"visible"===document.visibilityState||null!=H.tests},z=function(){var t;return t=[],"undefined"!=typeof document&&null!==document&&document.addEventListener("visibilitychange",function(){var e,n,r,o;for(o=[],n=0,r=t.length;r>n;n++)e=t[n],o.push(e(I()));return o}),function(e){return t.push(e)}}(),S=function(t){var e,n,r;n={};for(e in t)r=t[e],n[e]=r;return n},x=function(t){var e;return e={},function(){var n,r,o,i,s;for(r="",i=0,s=arguments.length;s>i;i++)n=arguments[i],r+=n.toString()+",";return o=e[r],o||(e[r]=o=t.apply(this,arguments)),o}},j=function(t){return function(e){var n,r,o;return e instanceof Array||e instanceof NodeList||e instanceof HTMLCollection?o=function(){var o,i,s;for(s=[],r=o=0,i=e.length;i>=0?i>o:o>i;r=i>=0?++o:--o)n=Array.prototype.slice.call(arguments,1),n.splice(0,0,e[r]),s.push(t.apply(this,n));return s}.apply(this,arguments):t.apply(this,arguments)}},y=function(t,e){var n,r,o;o=[];for(n in e)r=e[n],o.push(null!=t[n]?t[n]:t[n]=r);return o},v=function(t,e){var n,r,o;if(null!=t.style)return b(t,e);o=[];for(n in e)r=e[n],o.push(t[n]=r.format());return o},b=function(t,e){var n,r,o,i,s;e=F(e),i=[],n=X(t);for(r in e)s=e[r],ee.contains(r)?i.push([r,s]):(null!=s.format&&(s=s.format()),"number"==typeof s&&(s=""+s+re(r,s)),null!=t.hasAttribute&&t.hasAttribute(r)?t.setAttribute(r,s):null!=t.style&&(t.style[O(r)]=s),r in t&&(t[r]=s));return i.length>0?n?(o=new l,o.applyProperties(i),t.setAttribute("transform",o.decompose().format())):(s=i.map(function(t){return ne(t[0],t[1])}).join(" "),t.style[O("transform")]=s):void 0},X=function(t){var e,n;return"undefined"!=typeof SVGElement&&null!==SVGElement&&"undefined"!=typeof SVGSVGElement&&null!==SVGSVGElement?t instanceof SVGElement&&!(t instanceof SVGSVGElement):null!=(e=null!=(n=H.tests)&&"function"==typeof n.isSVG?n.isSVG(t):void 0)?e:!1},E=function(t,e){var n;return n=Math.pow(10,e),Math.round(t*n)/n},f=function(){function t(t){var e,n,r;for(this.obj={},n=0,r=t.length;r>n;n++)e=t[n],this.obj[e]=1}return t.prototype.contains=function(t){return 1===this.obj[t]},t}(),te=function(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})},V=new f("marginTop,marginLeft,marginBottom,marginRight,paddingTop,paddingLeft,paddingBottom,paddingRight,top,left,bottom,right,translateX,translateY,translateZ,perspectiveX,perspectiveY,perspectiveZ,width,height,maxWidth,maxHeight,minWidth,minHeight,borderRadius".split(",")),C=new f("rotate,rotateX,rotateY,rotateZ,skew,skewX,skewY,skewZ".split(",")),ee=new f("translate,translateX,translateY,translateZ,scale,scaleX,scaleY,scaleZ,rotate,rotateX,rotateY,rotateZ,rotateC,rotateCX,rotateCY,skew,skewX,skewY,skewZ,perspective".split(",")),K=new f("accent-height,ascent,azimuth,baseFrequency,baseline-shift,bias,cx,cy,d,diffuseConstant,divisor,dx,dy,elevation,filterRes,fx,fy,gradientTransform,height,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,letter-spacing,limitingConeAngle,markerHeight,markerWidth,numOctaves,order,overline-position,overline-thickness,pathLength,points,pointsAtX,pointsAtY,pointsAtZ,r,radius,rx,ry,seed,specularConstant,specularExponent,stdDeviation,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,surfaceScale,target,targetX,targetY,transform,underline-position,underline-thickness,viewBox,width,x,x1,x2,y,y1,y2,z".split(",")),re=function(t,e){return"number"!=typeof e?"":V.contains(t)?"px":C.contains(t)?"deg":""},ne=function(t,e){var n,r;return n=(""+e).match(/^([0-9.-]*)([^0-9]*)$/),null!=n?(e=n[1],r=n[2]):e=parseFloat(e),e=E(parseFloat(e),10),(null==r||""===r)&&(r=re(t,e)),""+t+"("+e+r+")"},F=function(t){var e,n,r,o,i,s,a,u;r={};for(o in t)if(i=t[o],ee.contains(o))if(n=o.match(/(translate|rotateC|rotate|skew|scale|perspective)(X|Y|Z|)/),n&&n[2].length>0)r[o]=i;else for(u=["X","Y","Z"],s=0,a=u.length;a>s;s++)e=u[s],r[n[1]+e]=i;else r[o]=i;return r},T=function(t){var e;return e="opacity"===t?1:0,""+e+re(t,e)},R=function(t,e){var n,r,o,i,s,a,f,h,p,m,d;if(i={},n=X(t),null!=t.style)for(s=window.getComputedStyle(t,null),f=0,p=e.length;p>f;f++)r=e[f],ee.contains(r)?null==i.transform&&(o=n?new l(null!=(d=t.transform.baseVal.consolidate())?d.matrix:void 0):u.fromTransform(s[O("transform")]),i.transform=o.decompose()):(a=null!=t.hasAttribute&&t.hasAttribute(r)?t.getAttribute(r):r in t?t[r]:s[r],null!=a&&"d"!==r||!K.contains(r)||(a=t.getAttribute(r)),(""===a||null==a)&&(a=T(r)),i[r]=k(a));else for(h=0,m=e.length;m>h;h++)r=e[h],i[r]=k(t[r]);return c(t,i),i},c=function(t,e){var n,r;for(r in e)n=e[r],n instanceof i&&null!=t.style&&r in t.style&&(n=new a([n,re(r,0)])),e[r]=n;return e},k=function(t){var e,n,o,u,l;for(o=[r,s,i,a],u=0,l=o.length;l>u;u++)if(n=o[u],e=n.create(t),null!=e)return e;return null},a=function(){function t(t){this.parts=t,this.format=oe(this.format,this),this.interpolate=oe(this.interpolate,this)}return t.prototype.interpolate=function(e,n){var r,o,i,s,a,u;for(s=this.parts,r=e.parts,i=[],o=a=0,u=Math.min(s.length,r.length);u>=0?u>a:a>u;o=u>=0?++a:--a)i.push(null!=s[o].interpolate?s[o].interpolate(r[o],n):s[o]);return new t(i)},t.prototype.format=function(){var t;return t=this.parts.map(function(t){return null!=t.format?t.format():t}),t.join("")},t.create=function(e){var n,r,s,a,u,l,f,h,p,c,m;for(e=""+e,s=[],f=[{re:/(#[a-f\d]{3,6})/gi,klass:o,parse:function(t){return t}},{re:/(rgba?\([0-9.]*, ?[0-9.]*, ?[0-9.]*(?:, ?[0-9.]*)?\))/gi,klass:o,parse:function(t){return t}},{re:/([-+]?[\d.]+)/gi,klass:i,parse:parseFloat}],h=0,c=f.length;c>h;h++)for(l=f[h],u=l.re;r=u.exec(e);)s.push({index:r.index,length:r[1].length,interpolable:l.klass.create(l.parse(r[1]))});for(s=s.sort(function(t,e){return t.index>e.index?1:-1}),a=[],n=0,p=0,m=s.length;m>p;p++)r=s[p],r.indexn&&a.push(e.substring(n,r.index)),a.push(r.interpolable),n=r.index+r.length);return n=0?u>a:a>u;o=u>=0?++a:--a)i.push(null!=s[o].interpolate?s[o].interpolate(r[o],n):s[o]);return new t(i)},t.prototype.format=function(){return this.values.map(function(t){return null!=t.format?t.format():t})},t.createFromArray=function(e){var n;return n=e.map(function(t){return k(t)||t}),n=n.filter(function(t){return null!=t}),new t(n)},t.create=function(e){return e instanceof Array?t.createFromArray(e):null},t}(),t=function(){function t(t,e){this.rgb=null!=t?t:{},this.format=e,this.toRgba=oe(this.toRgba,this),this.toRgb=oe(this.toRgb,this),this.toHex=oe(this.toHex,this)}return t.fromHex=function(e){var n,r;return n=e.match(/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$/i),null!=n&&(e="#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),r=e.match(/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i),null!=r?new t({r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16),a:1},"hex"):null},t.fromRgb=function(e){var n,r;return n=e.match(/^rgba?\(([0-9.]*), ?([0-9.]*), ?([0-9.]*)(?:, ?([0-9.]*))?\)$/),null!=n?new t({r:parseFloat(n[1]),g:parseFloat(n[2]),b:parseFloat(n[3]),a:parseFloat(null!=(r=n[4])?r:1)},null!=n[4]?"rgba":"rgb"):null},t.componentToHex=function(t){var e;return e=t.toString(16),1===e.length?"0"+e:e},t.prototype.toHex=function(){return"#"+t.componentToHex(this.rgb.r)+t.componentToHex(this.rgb.g)+t.componentToHex(this.rgb.b)},t.prototype.toRgb=function(){return"rgb("+this.rgb.r+", "+this.rgb.g+", "+this.rgb.b+")"},t.prototype.toRgba=function(){return"rgba("+this.rgb.r+", "+this.rgb.g+", "+this.rgb.b+", "+this.rgb.a+")"},t}(),o=function(){function e(t){this.color=t,this.format=oe(this.format,this),this.interpolate=oe(this.interpolate,this)}return e.prototype.interpolate=function(n,r){var o,i,s,a,u,l,f,h;for(a=this.color,o=n.color,s={},h=["r","g","b"],l=0,f=h.length;f>l;l++)i=h[l],u=Math.round((o.rgb[i]-a.rgb[i])*r+a.rgb[i]),s[i]=Math.min(255,Math.max(0,u));return i="a",u=E((o.rgb[i]-a.rgb[i])*r+a.rgb[i],5),s[i]=Math.min(1,Math.max(0,u)),new e(new t(s,o.format))},e.prototype.format=function(){return"hex"===this.color.format?this.color.toHex():"rgb"===this.color.format?this.color.toRgb():"rgba"===this.color.format?this.color.toRgba():void 0},e.create=function(n){var r;if("string"==typeof n)return r=t.fromHex(n)||t.fromRgb(n),null!=r?new e(r):null},e}(),n=function(){function t(t){this.props=t,this.applyRotateCenter=oe(this.applyRotateCenter,this),this.format=oe(this.format,this),this.interpolate=oe(this.interpolate,this)}return t.prototype.interpolate=function(e,n){var r,o,i,s,a,u,l,f,h,p,c,m;for(i={},p=["translate","scale","rotate"],s=0,f=p.length;f>s;s++)for(o=p[s],i[o]=[],r=a=0,c=this.props[o].length;c>=0?c>a:a>c;r=c>=0?++a:--a)i[o][r]=(e.props[o][r]-this.props[o][r])*n+this.props[o][r];for(r=u=1;2>=u;r=++u)i.rotate[r]=e.props.rotate[r];for(m=["skew"],l=0,h=m.length;h>l;l++)o=m[l],i[o]=(e.props[o]-this.props[o])*n+this.props[o];return new t(i)},t.prototype.format=function(){return"translate("+this.props.translate.join(",")+") rotate("+this.props.rotate.join(",")+") skewX("+this.props.skew+") scale("+this.props.scale.join(",")+")"},t.prototype.applyRotateCenter=function(t){var e,n,r,o,i,s;for(n=w.createSVGMatrix(),n=n.translate(t[0],t[1]),n=n.rotate(this.props.rotate[0]),n=n.translate(-t[0],-t[1]),r=new l(n),o=r.decompose().props.translate,s=[],e=i=0;1>=i;e=++i)s.push(this.props.translate[e]-=o[e]);return s},t}(),w="undefined"!=typeof document&&null!==document?document.createElementNS("http://www.w3.org/2000/svg","svg"):void 0,l=function(){function t(t){this.m=t,this.applyProperties=oe(this.applyProperties,this),this.decompose=oe(this.decompose,this),this.m||(this.m=w.createSVGMatrix())}return t.prototype.decompose=function(){var t,e,r,o,i;return o=new h([this.m.a,this.m.b]),i=new h([this.m.c,this.m.d]),t=o.length(),r=o.dot(i),o=o.normalize(),e=i.combine(o,1,-r).length(),new n({translate:[this.m.e,this.m.f],rotate:[180*Math.atan2(this.m.b,this.m.a)/Math.PI,this.rotateCX,this.rotateCY],scale:[t,e],skew:r/e*180/Math.PI})},t.prototype.applyProperties=function(t){var e,n,r,o,i,s,a,u;for(e={},i=0,s=t.length;s>i;i++)r=t[i],e[r[0]]=r[1];for(n in e)o=e[n],"translateX"===n?this.m=this.m.translate(o,0):"translateY"===n?this.m=this.m.translate(0,o):"scaleX"===n?this.m=this.m.scaleNonUniform(o,1):"scaleY"===n?this.m=this.m.scaleNonUniform(1,o):"rotateZ"===n?this.m=this.m.rotate(o):"skewX"===n?this.m=this.m.skewX(o):"skewY"===n&&(this.m=this.m.skewY(o));return this.rotateCX=null!=(a=e.rotateCX)?a:0,this.rotateCY=null!=(u=e.rotateCY)?u:0},t}(),h=function(){function t(t){this.els=t,this.combine=oe(this.combine,this),this.normalize=oe(this.normalize,this),this.length=oe(this.length,this),this.cross=oe(this.cross,this),this.dot=oe(this.dot,this),this.e=oe(this.e,this)}return t.prototype.e=function(t){return 1>t||t>this.els.length?null:this.els[t-1]},t.prototype.dot=function(t){var e,n,r;if(e=t.els||t,r=0,n=this.els.length,n!==e.length)return null;for(n+=1;--n;)r+=this.els[n-1]*e[n-1];return r},t.prototype.cross=function(e){var n,r;return r=e.els||e,3!==this.els.length||3!==r.length?null:(n=this.els,new t([n[1]*r[2]-n[2]*r[1],n[2]*r[0]-n[0]*r[2],n[0]*r[1]-n[1]*r[0]]))},t.prototype.length=function(){var t,e,n,r,o;for(t=0,o=this.els,n=0,r=o.length;r>n;n++)e=o[n],t+=Math.pow(e,2);return Math.sqrt(t)},t.prototype.normalize=function(){var e,n,r,o,i;r=this.length(),o=[],i=this.els;for(n in i)e=i[n],o[n]=e/r;return new t(o)},t.prototype.combine=function(e,n,r){var o,i,s,a;for(i=[],o=s=0,a=this.els.length;a>=0?a>s:s>a;o=a>=0?++s:--s)i[o]=n*this.els[o]+r*e.els[o];return new t(i)},t}(),e=function(){function t(){this.toMatrix=oe(this.toMatrix,this),this.format=oe(this.format,this),this.interpolate=oe(this.interpolate,this)}return t.prototype.interpolate=function(e,n,r){var o,i,s,a,u,l,f,h,p,c,m,d,g,y,v,b,w,x;for(null==r&&(r=null),s=this,i=new t,w=["translate","scale","skew","perspective"],d=0,b=w.length;b>d;d++)for(f=w[d],i[f]=[],a=g=0,x=s[f].length-1;x>=0?x>=g:g>=x;a=x>=0?++g:--g)i[f][a]=null==r||r.indexOf(f)>-1||r.indexOf(""+f+["x","y","z"][a])>-1?(e[f][a]-s[f][a])*n+s[f][a]:s[f][a];if(null==r||-1!==r.indexOf("rotate")){if(h=s.quaternion,p=e.quaternion,o=h[0]*p[0]+h[1]*p[1]+h[2]*p[2]+h[3]*p[3],0>o){for(a=y=0;3>=y;a=++y)h[a]=-h[a];o=-o}for(o+1>.05?1-o>=.05?(m=Math.acos(o),l=1/Math.sin(m),c=Math.sin(m*(1-n))*l,u=Math.sin(m*n)*l):(c=1-n,u=n):(p[0]=-h[1],p[1]=h[0],p[2]=-h[3],p[3]=h[2],c=Math.sin(piDouble*(.5-n)),u=Math.sin(piDouble*n)),i.quaternion=[],a=v=0;3>=v;a=++v)i.quaternion[a]=h[a]*c+p[a]*u}else i.quaternion=s.quaternion;return i},t.prototype.format=function(){return this.toMatrix().toString()},t.prototype.toMatrix=function(){var t,e,n,r,o,i,s,a,l,f,h,p,c,m,d,g;for(t=this,o=u.I(4),e=c=0;3>=c;e=++c)o.els[e][3]=t.perspective[e];for(i=t.quaternion,f=i[0],h=i[1],p=i[2],l=i[3],s=t.skew,r=[[1,0],[2,0],[2,1]],e=m=2;m>=0;e=--m)s[e]&&(a=u.I(4),a.els[r[e][0]][r[e][1]]=s[e],o=o.multiply(a));for(o=o.multiply(new u([[1-2*(h*h+p*p),2*(f*h-p*l),2*(f*p+h*l),0],[2*(f*h+p*l),1-2*(f*f+p*p),2*(h*p-f*l),0],[2*(f*p-h*l),2*(h*p+f*l),1-2*(f*f+h*h),0],[0,0,0,1]])),e=d=0;2>=d;e=++d){for(n=g=0;2>=g;n=++g)o.els[e][n]*=t.scale[e];o.els[3][e]=t.translate[e]}return o},t}(),u=function(){function t(t){this.els=t,this.toString=oe(this.toString,this),this.decompose=oe(this.decompose,this),this.inverse=oe(this.inverse,this),this.augment=oe(this.augment,this),this.toRightTriangular=oe(this.toRightTriangular,this),this.transpose=oe(this.transpose,this),this.multiply=oe(this.multiply,this),this.dup=oe(this.dup,this),this.e=oe(this.e,this)}return t.prototype.e=function(t,e){return 1>t||t>this.els.length||1>e||e>this.els[0].length?null:this.els[t-1][e-1]},t.prototype.dup=function(){return new t(this.els)},t.prototype.multiply=function(e){var n,r,o,i,s,a,u,l,f,h,p,c,m;for(c=e.modulus?!0:!1,n=e.els||e,"undefined"==typeof n[0][0]&&(n=new t(n).els),h=this.els.length,u=h,l=n[0].length,o=this.els[0].length,i=[],h+=1;--h;)for(s=u-h,i[s]=[],p=l,p+=1;--p;){for(a=l-p,m=0,f=o,f+=1;--f;)r=o-f,m+=this.els[s][r]*n[r][a];i[s][a]=m}return n=new t(i),c?n.col(1):n},t.prototype.transpose=function(){var e,n,r,o,i,s,a;for(a=this.els.length,e=this.els[0].length,n=[],i=e,i+=1;--i;)for(r=e-i,n[r]=[],s=a,s+=1;--s;)o=a-s,n[r][o]=this.els[o][r];return new t(n)},t.prototype.toRightTriangular=function(){var t,e,n,r,o,i,s,a,u,l,f,h,p,c;for(t=this.dup(),a=this.els.length,o=a,i=this.els[0].length;--a;){if(n=o-a,0===t.els[n][n])for(r=f=p=n+1;o>=p?o>f:f>o;r=o>=p?++f:--f)if(0!==t.els[r][n]){for(e=[],u=i,u+=1;--u;)l=i-u,e.push(t.els[n][l]+t.els[r][l]);t.els[n]=e;break}if(0!==t.els[n][n])for(r=h=c=n+1;o>=c?o>h:h>o;r=o>=c?++h:--h){for(s=t.els[r][n]/t.els[n][n],e=[],u=i,u+=1;--u;)l=i-u,e.push(n>=l?0:t.els[r][l]-t.els[n][l]*s);t.els[r]=e}}return t},t.prototype.augment=function(e){var n,r,o,i,s,a,u,l,f;if(n=e.els||e,"undefined"==typeof n[0][0]&&(n=new t(n).els),r=this.dup(),o=r.els[0].length,l=r.els.length,a=l,u=n[0].length,l!==n.length)return null;for(l+=1;--l;)for(i=a-l,f=u,f+=1;--f;)s=u-f,r.els[i][o+s]=n[i][s];return r},t.prototype.inverse=function(){var e,n,r,o,i,s,a,u,l,f,h,p,c;for(f=this.els.length,a=f,e=this.augment(t.I(f)).toRightTriangular(),u=e.els[0].length,i=[],f+=1;--f;){for(o=f-1,r=[],h=u,i[o]=[],n=e.els[o][o],h+=1;--h;)p=u-h,l=e.els[o][p]/n,r.push(l),p>=a&&i[o].push(l);for(e.els[o]=r,s=c=0;o>=0?o>c:c>o;s=o>=0?++c:--c){for(r=[],h=u,h+=1;--h;)p=u-h,r.push(e.els[s][p]-e.els[o][p]*e.els[s][o]);e.els[s]=r}}return new t(i)},t.I=function(e){var n,r,o,i,s;for(n=[],i=e,e+=1;--e;)for(r=i-e,n[r]=[],s=i,s+=1;--s;)o=i-s,n[r][o]=r===o?1:0;return new t(n)},t.prototype.decompose=function(){var t,n,r,o,i,s,a,u,l,f,p,c,m,d,g,y,v,b,w,x,M,S,k,T,C,H,R,q,I,X,Y,A,j,z,F,G,O,V;for(s=this,x=[],v=[],b=[],f=[],u=[],t=[],n=I=0;3>=I;n=++I)for(t[n]=[],o=X=0;3>=X;o=++X)t[n][o]=s.els[n][o];if(0===t[3][3])return!1;for(n=Y=0;3>=Y;n=++Y)for(o=A=0;3>=A;o=++A)t[n][o]/=t[3][3];for(l=s.dup(),n=j=0;2>=j;n=++j)l.els[n][3]=0;if(l.els[3][3]=1,0!==t[0][3]||0!==t[1][3]||0!==t[2][3]){for(c=new h(t.slice(0,4)[3]),r=l.inverse(),M=r.transpose(),u=M.multiply(c).els,n=z=0;2>=z;n=++z)t[n][3]=0;t[3][3]=1}else u=[0,0,0,1];for(n=F=0;2>=F;n=++F)x[n]=t[3][n],t[3][n]=0;for(d=[],n=G=0;2>=G;n=++G)d[n]=new h(t[n].slice(0,3));if(v[0]=d[0].length(),d[0]=d[0].normalize(),b[0]=d[0].dot(d[1]),d[1]=d[1].combine(d[0],1,-b[0]),v[1]=d[1].length(),d[1]=d[1].normalize(),b[0]/=v[1],b[1]=d[0].dot(d[2]),d[2]=d[2].combine(d[0],1,-b[1]),b[2]=d[1].dot(d[2]),d[2]=d[2].combine(d[1],1,-b[2]),v[2]=d[2].length(),d[2]=d[2].normalize(),b[1]/=v[2],b[2]/=v[2],a=d[1].cross(d[2]),d[0].dot(a)<0)for(n=O=0;2>=O;n=++O)for(v[n]*=-1,o=V=0;2>=V;o=++V)d[n].els[o]*=-1;g=function(t,e){return d[t].els[e]},m=[],m[1]=Math.asin(-g(0,2)),0!==Math.cos(m[1])?(m[0]=Math.atan2(g(1,2),g(2,2)),m[2]=Math.atan2(g(0,1),g(0,0))):(m[0]=Math.atan2(-g(2,0),g(1,1)),m[1]=0),w=g(0,0)+g(1,1)+g(2,2)+1,w>1e-4?(y=.5/Math.sqrt(w),C=.25/y,H=(g(2,1)-g(1,2))*y,R=(g(0,2)-g(2,0))*y,q=(g(1,0)-g(0,1))*y):g(0,0)>g(1,1)&&g(0,0)>g(2,2)?(y=2*Math.sqrt(1+g(0,0)-g(1,1)-g(2,2)),H=.25*y,R=(g(0,1)+g(1,0))/y,q=(g(0,2)+g(2,0))/y,C=(g(2,1)-g(1,2))/y):g(1,1)>g(2,2)?(y=2*Math.sqrt(1+g(1,1)-g(0,0)-g(2,2)),H=(g(0,1)+g(1,0))/y,R=.25*y,q=(g(1,2)+g(2,1))/y,C=(g(0,2)-g(2,0))/y):(y=2*Math.sqrt(1+g(2,2)-g(0,0)-g(1,1)),H=(g(0,2)+g(2,0))/y,R=(g(1,2)+g(2,1))/y,q=.25*y,C=(g(1,0)-g(0,1))/y),f=[H,R,q,C],p=new e,p.translate=x,p.scale=v,p.skew=b,p.quaternion=f,p.perspective=u,p.rotate=m;for(k in p){S=p[k];for(i in S)T=S[i],isNaN(T)&&(S[i]=0)}return p},t.prototype.toString=function(){var t,e,n,r,o;for(n="matrix3d(",t=r=0;3>=r;t=++r)for(e=o=0;3>=o;e=++o)n+=E(this.els[t][e],10),(3!==t||3!==e)&&(n+=",");return n+=")"},t.matrixForTransform=x(function(t){var e,n,r,o,i,s;return e=document.createElement("div"),e.style.position="absolute",e.style.visibility="hidden",e.style[O("transform")]=t,document.body.appendChild(e),r=window.getComputedStyle(e,null),n=null!=(o=null!=(i=r.transform)?i:r[O("transform")])?o:null!=(s=H.tests)?s.matrixForTransform(t):void 0,document.body.removeChild(e),n}),t.fromTransform=function(e){var n,r,o,i,s,a;for(i=null!=e?e.match(/matrix3?d?\(([-0-9,e \.]*)\)/):void 0,i?(n=i[1].split(","),n=n.map(parseFloat),r=6===n.length?[n[0],n[1],0,0,n[2],n[3],0,0,0,0,1,0,n[4],n[5],0,1]:n):r=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],s=[],o=a=0;3>=a;o=++a)s.push(r.slice(4*o,4*o+4));return new t(s)},t}(),G=x(function(t){var e,n,r,o,i,s,a,u,l,f;if(void 0!==document.body.style[t])return"";for(o=t.split("-"),i="",s=0,u=o.length;u>s;s++)r=o[s],i+=r.substring(0,1).toUpperCase()+r.substring(1);for(f=["Webkit","Moz","ms"],a=0,l=f.length;l>a;a++)if(n=f[a],e=n+i,void 0!==document.body.style[e])return n;return""}),O=x(function(t){var e;return e=G(t),"Moz"===e?""+e+(t.substring(0,1).toUpperCase()+t.substring(1)):""!==e?"-"+e.toLowerCase()+"-"+te(t):te(t)}),Z="undefined"!=typeof window&&null!==window?window.requestAnimationFrame:void 0,d=[],g=[],N=!1,U=1,"undefined"!=typeof window&&null!==window&&window.addEventListener("keyup",function(t){return 68===t.keyCode&&t.shiftKey&&t.ctrlKey?H.toggleSlow():void 0}),null==Z&&(Y=0,Z=function(t){var e,n,r;return e=Date.now(),r=Math.max(0,16-(e-Y)),n=window.setTimeout(function(){return t(e+r)},r),Y=e+r,n}),D=!1,L=!1,B=function(){return D?void 0:(D=!0,Z(P))},P=function(t){var e,n,r,o;if(L)return void Z(P);for(n=[],r=0,o=d.length;o>r;r++)e=d[r],m(t,e)||n.push(e);return d=d.filter(function(t){return-1===n.indexOf(t)}),0===d.length?D=!1:Z(P)},m=function(t,e){var n,r,o,i,s,a,u,l;if(null==e.tStart&&(e.tStart=t),i=(t-e.tStart)/e.options.duration,s=e.curve(i),r={},i>=1)r=e.curve.returnsToSelf?e.properties.start:e.properties.end;else{l=e.properties.start;for(n in l)o=l[n],r[n]=q(o,e.properties.end[n],s)}return v(e.el,r),"function"==typeof(a=e.options).change&&a.change(e.el,Math.min(1,i)),i>=1&&"function"==typeof(u=e.options).complete&&u.complete(e.el),1>i},q=function(t,e,n){return null!=t&&null!=t.interpolate?t.interpolate(e,n):null},$=function(t,e,n,r){var o,i,s,a,f,h,p;if(null!=r&&(g=g.filter(function(t){return t.id!==r})),H.stop(t,{timeout:!1}),!n.animated)return H.css(t,e),void("function"==typeof n.complete&&n.complete(this));f=R(t,Object.keys(e)),e=F(e),o={},h=[];for(s in e)p=e[s],null!=t.style&&ee.contains(s)?h.push([s,p]):o[s]=k(p);return h.length>0&&(i=X(t),i?(a=new l,a.applyProperties(h)):(p=h.map(function(t){return ne(t[0],t[1])}).join(" "),a=u.fromTransform(u.matrixForTransform(p))),o.transform=a.decompose(),i&&f.transform.applyRotateCenter([o.transform.props.rotate[1],o.transform.props.rotate[2]])),c(t,o),d.push({el:t,properties:{start:f,end:o},options:n,curve:n.type.call(n.type,n)}),B()},_=[],Q=0,W=function(t){return I()?Z(function(){return-1!==_.indexOf(t)?t.realTimeoutId=setTimeout(function(){return t.fn(),M(t.id)},t.delay):void 0}):void 0},p=function(t,e){var n;return Q+=1,n={id:Q,tStart:Date.now(),fn:t,delay:e,originalDelay:e},W(n),_.push(n),Q},M=function(t){return _=_.filter(function(e){return e.id===t&&e.realTimeoutId&&clearTimeout(e.realTimeoutId),e.id!==t})},A=function(t,e){var n;return null!=t?(n=t-e.tStart,e.originalDelay-n):e.originalDelay},"undefined"!=typeof window&&null!==window&&window.addEventListener("unload",function(){}),J=null,z(function(t){var e,n,r,o,i,s,a,u,l,f;if(L=!t,t){if(D)for(n=Date.now()-J,i=0,u=d.length;u>i;i++)e=d[i],null!=e.tStart&&(e.tStart+=n);for(s=0,l=_.length;l>s;s++)r=_[s],r.delay=A(J,r),W(r);return J=null}for(J=Date.now(),f=[],o=0,a=_.length;a>o;o++)r=_[o],f.push(clearTimeout(r.realTimeoutId));return f}),H={},H.linear=function(){return function(t){return t}},H.spring=function(t){var e,n,r,o,i,s;return null==t&&(t={}),y(t,H.spring.defaults),o=Math.max(1,t.frequency/20),i=Math.pow(20,t.friction/100),s=t.anticipationSize/1e3,r=Math.max(0,s),e=function(e){var n,r,o,i,a;return n=.8,i=s/(1-s),a=0,o=(i-n*a)/(i-a),r=(n-o)/i,r*e*t.anticipationStrength/100+o},n=function(t){return Math.pow(i/10,-t)*(1-t)},function(t){var r,i,a,u,l,f,h,p;return f=t/(1-s)-s/(1-s),s>t?(p=s/(1-s)-s/(1-s),h=0/(1-s)-s/(1-s),l=Math.acos(1/e(p)),a=(Math.acos(1/e(h))-l)/(o*-s),r=e):(r=n,l=0,a=1),i=r(f),u=o*(t-s)*a+l,1-i*Math.cos(u)}},H.bounce=function(t){var e,n,r,o;return null==t&&(t={}),y(t,H.bounce.defaults),r=Math.max(1,t.frequency/20),o=Math.pow(20,t.friction/100),e=function(t){return Math.pow(o/10,-t)*(1-t)},n=function(t){var n,o,i,s;return s=-1.57,o=1,n=e(t),i=r*t*o+s,n*Math.cos(i)},n.returnsToSelf=!0,n},H.gravity=function(t){var e,n,r,o,i,s,a;return null==t&&(t={}),y(t,H.gravity.defaults),n=Math.min(t.bounciness/1250,.8),o=t.elasticity/1e3,a=100,r=[],e=function(){var r,o;for(r=Math.sqrt(2/a),o={a:-r,b:r,H:1},t.returnsToSelf&&(o.a=0,o.b=2*o.b);o.H>.001;)e=o.b-o.a,o={a:o.b,b:o.b+e*n,H:o.H*n*n};return o.b}(),s=function(n,r,o,i){var s,a;return e=r-n,a=2/e*i-1-2*n/e,s=a*a*o-o+1,t.returnsToSelf&&(s=1-s),s},function(){var i,s,u,l;for(s=Math.sqrt(2/(a*e*e)),u={a:-s,b:s,H:1},t.returnsToSelf&&(u.a=0,u.b=2*u.b),r.push(u),i=e,l=[];u.b<1&&u.H>.001;)i=u.b-u.a,u={a:u.b,b:u.b+i*n,H:u.H*o},l.push(r.push(u));return l}(),i=function(e){var n,o,i;for(o=0,n=r[o];!(e>=n.a&&e<=n.b)&&(o+=1,n=r[o]););return i=n?s(n.a,n.b,n.H,e):t.returnsToSelf?0:1},i.returnsToSelf=t.returnsToSelf,i},H.forceWithGravity=function(t){return null==t&&(t={}),y(t,H.forceWithGravity.defaults),t.returnsToSelf=!0,H.gravity(t)},H.bezier=function(){var t,e,n;return e=function(t,e,n,r,o){return Math.pow(1-t,3)*e+3*Math.pow(1-t,2)*t*n+3*(1-t)*Math.pow(t,2)*r+Math.pow(t,3)*o},t=function(t,n,r,o,i){return{x:e(t,n.x,r.x,o.x,i.x),y:e(t,n.y,r.y,o.y,i.y)}},n=function(t,e,n){var r,o,i,s,a,u,l,f,h,p;for(r=null,h=0,p=e.length;p>h&&(o=e[h],t>=o(0).x&&t<=o(1).x&&(r=o),null===r);h++);if(!r)return n?0:1;for(f=1e-4,s=0,u=1,a=(u+s)/2,l=r(a).x,i=0;Math.abs(t-l)>f&&100>i;)t>l?s=a:u=a,a=(u+s)/2,l=r(a).x,i+=1;return r(a).y},function(e){var r,o,i;return null==e&&(e={}),i=e.points,r=function(){var e,n,o;r=[],o=function(e,n){var o;return o=function(r){return t(r,e,e.cp[e.cp.length-1],n.cp[0],n)},r.push(o)};for(e in i){if(n=parseInt(e),n>=i.length-1)break;o(i[n],i[n+1])}return r}(),o=function(t){return 0===t?0:1===t?1:n(t,r,this.returnsToSelf)},o.returnsToSelf=0===i[i.length-1].y,o}}(),H.easeInOut=function(t){var e,n;return null==t&&(t={}),e=null!=(n=t.friction)?n:H.easeInOut.defaults.friction,H.bezier({points:[{x:0,y:0,cp:[{x:.92-e/1e3,y:0}]},{x:1,y:1,cp:[{x:.08+e/1e3,y:1}]}]})},H.easeIn=function(t){var e,n;return null==t&&(t={}),e=null!=(n=t.friction)?n:H.easeIn.defaults.friction,H.bezier({points:[{x:0,y:0,cp:[{x:.92-e/1e3,y:0}]},{x:1,y:1,cp:[{x:1,y:1}]}]})},H.easeOut=function(t){var e,n;return null==t&&(t={}),e=null!=(n=t.friction)?n:H.easeOut.defaults.friction,H.bezier({points:[{x:0,y:0,cp:[{x:0,y:0}]},{x:1,y:1,cp:[{x:.08+e/1e3,y:1}]}]})},H.spring.defaults={frequency:300,friction:200,anticipationSize:0,anticipationStrength:0},H.bounce.defaults={frequency:300,friction:200},H.forceWithGravity.defaults=H.gravity.defaults={bounciness:400,elasticity:200},H.easeInOut.defaults=H.easeIn.defaults=H.easeOut.defaults={friction:500},H.css=j(function(t,e){return b(t,e,!0)}),H.animate=j(function(t,e,n){var r;return null==n&&(n={}),n=S(n),y(n,{type:H.easeInOut,duration:1e3,delay:0,animated:!0}),n.duration=Math.max(0,n.duration*U),n.delay=Math.max(0,n.delay),0===n.delay?$(t,e,n):(r=H.setTimeout(function(){return $(t,e,n,r)},n.delay),g.push({id:r,el:t}))}),H.stop=j(function(t,e){return null==e&&(e={}),null==e.timeout&&(e.timeout=!0),e.timeout&&(g=g.filter(function(n){return n.el!==t||null!=e.filter&&!e.filter(n)?!0:(H.clearTimeout(n.id),!1)})),d=d.filter(function(e){return e.el!==t})}),H.setTimeout=function(t,e){return p(t,e*U)},H.clearTimeout=function(t){return M(t)},H.toggleSlow=function(){return N=!N,U=N?3:1,"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log("dynamics.js: slow animations "+(N?"enabled":"disabled")):void 0},"object"==typeof module&&"object"==typeof module.exports?module.exports=H:"function"==typeof define?define("dynamics",function(){return H}):window.dynamics=H}).call(this); -------------------------------------------------------------------------------- /js/lib/jquery-ui.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.12.1 - 2016-10-24 2 | * http://jqueryui.com 3 | * Includes: widget.js, data.js, scroll-parent.js, widgets/draggable.js, widgets/mouse.js 4 | * Copyright jQuery Foundation and other contributors; Licensed MIT */ 5 | 6 | (function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){t.ui=t.ui||{},t.ui.version="1.12.1";var e=0,i=Array.prototype.slice;t.cleanData=function(e){return function(i){var s,n,o;for(o=0;null!=(n=i[o]);o++)try{s=t._data(n,"events"),s&&s.remove&&t(n).triggerHandler("remove")}catch(a){}e(i)}}(t.cleanData),t.widget=function(e,i,s){var n,o,a,r={},l=e.split(".")[0];e=e.split(".")[1];var h=l+"-"+e;return s||(s=i,i=t.Widget),t.isArray(s)&&(s=t.extend.apply(null,[{}].concat(s))),t.expr[":"][h.toLowerCase()]=function(e){return!!t.data(e,h)},t[l]=t[l]||{},n=t[l][e],o=t[l][e]=function(t,e){return this._createWidget?(arguments.length&&this._createWidget(t,e),void 0):new o(t,e)},t.extend(o,n,{version:s.version,_proto:t.extend({},s),_childConstructors:[]}),a=new i,a.options=t.widget.extend({},a.options),t.each(s,function(e,s){return t.isFunction(s)?(r[e]=function(){function t(){return i.prototype[e].apply(this,arguments)}function n(t){return i.prototype[e].apply(this,t)}return function(){var e,i=this._super,o=this._superApply;return this._super=t,this._superApply=n,e=s.apply(this,arguments),this._super=i,this._superApply=o,e}}(),void 0):(r[e]=s,void 0)}),o.prototype=t.widget.extend(a,{widgetEventPrefix:n?a.widgetEventPrefix||e:e},r,{constructor:o,namespace:l,widgetName:e,widgetFullName:h}),n?(t.each(n._childConstructors,function(e,i){var s=i.prototype;t.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete n._childConstructors):i._childConstructors.push(o),t.widget.bridge(e,o),o},t.widget.extend=function(e){for(var s,n,o=i.call(arguments,1),a=0,r=o.length;r>a;a++)for(s in o[a])n=o[a][s],o[a].hasOwnProperty(s)&&void 0!==n&&(e[s]=t.isPlainObject(n)?t.isPlainObject(e[s])?t.widget.extend({},e[s],n):t.widget.extend({},n):n);return e},t.widget.bridge=function(e,s){var n=s.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=i.call(arguments,1),l=this;return a?this.length||"instance"!==o?this.each(function(){var i,s=t.data(this,n);return"instance"===o?(l=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=s[o].apply(s,r),i!==s&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+o+"'")}):l=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new s(o,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
",options:{classes:{},disabled:!1,create:null},_createWidget:function(i,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),i),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var l=s.match(/^([\w:-]*)\s*(.*)$/),h=l[1]+o.eventNamespace,c=l[2];c?n.on(h,c,r):i.on(h,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])}}),t.fn.scrollParent=function(e){var i=this.css("position"),s="absolute"===i,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var e=t(this);return s&&"static"===e.css("position")?!1:n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:t(this[0].ownerDocument||document)},t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var s=!1;t(document).on("mouseup",function(){s=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!s){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var i=this,n=1===e.which,o="string"==typeof this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return n&&!o&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),s=!0,!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,s=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;o.length>n;n++)t.options[o[n][0]]&&o[n][1].apply(t.element,i)}},t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(i){e=t.body}return e||(e=t.body),e.nodeName||(e=t.body),e},t.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&t(e).trigger("blur")},t.widget("ui.draggable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){return(this.helper||this.element).is(".ui-draggable-dragging")?(this.destroyOnClear=!0,void 0):(this._removeHandleClassName(),this._mouseDestroy(),void 0)},_mouseCapture:function(e){var i=this.options;return this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(e),this.handle?(this._blurActiveElement(e),this._blockFrames(i.iframeFix===!0?"iframe":i.iframeFix),!0):!1)},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=t(this);return t("
").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var i=t.ui.safeActiveElement(this.document[0]),s=t(e.target);s.closest(i).length||t.ui.safeBlur(i)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===t(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),this._trigger("start",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(e,i){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!i){var s=this._uiHash();if(this._trigger("drag",e,s)===!1)return this._mouseUp(new t.Event("mouseup",e)),!1;this.position=s.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,s=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(s=t.ui.ddmanager.drop(this,e)),this.dropped&&(s=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!s||"valid"===this.options.revert&&s||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){i._trigger("stop",e)!==!1&&i._clear()}):this._trigger("stop",e)!==!1&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new t.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return this.options.handle?!!t(e.target).closest(this.element.find(this.options.handle)).length:!0},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper),n=s?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return n.parents("body").length||n.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),s&&n[0]===this.element[0]&&this._setPositionRelative(),n[0]===this.element[0]||/(fixed|absolute)/.test(n.css("position"))||n.css("position","absolute"),n},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==i&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options,o=this.document[0];return this.relativeContainer=null,n.containment?"window"===n.containment?(this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],void 0):"document"===n.containment?(this.containment=[0,0,t(o).width()-this.helperProportions.width-this.margins.left,(t(o).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],void 0):n.containment.constructor===Array?(this.containment=n.containment,void 0):("parent"===n.containment&&(n.containment=this.helper[0].parentNode),i=t(n.containment),s=i[0],s&&(e=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i),void 0):(this.containment=null,void 0)},_convertPositionTo:function(t,e){e||(e=this.position);var i="absolute"===t?1:-1,s=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top)*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)*i}},_generatePosition:function(t,e){var i,s,n,o,a=this.options,r=this._isRootNode(this.scrollParent[0]),l=t.pageX,h=t.pageY;return r&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(s=this.relativeContainer.offset(),i=[this.containment[0]+s.left,this.containment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):i=this.containment,t.pageX-this.offset.click.lefti[2]&&(l=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(h=i[3]+this.offset.click.top)),a.grid&&(n=a.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,h=i?n-this.offset.click.top>=i[1]||n-this.offset.click.top>i[3]?n:n-this.offset.click.top>=i[1]?n-a.grid[1]:n+a.grid[1]:n,o=a.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/a.grid[0])*a.grid[0]:this.originalPageX,l=i?o-this.offset.click.left>=i[0]||o-this.offset.click.left>i[2]?o:o-this.offset.click.left>=i[0]?o-a.grid[0]:o+a.grid[0]:o),"y"===a.axis&&(l=this.originalPageX),"x"===a.axis&&(h=this.originalPageY)),{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:r?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:r?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,i,s){return s=s||this._uiHash(),t.ui.plugin.call(this,e,[i,s,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),s.offset=this.positionAbs),t.Widget.prototype._trigger.call(this,e,i,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i,s){var n=t.extend({},i,{item:s.element});s.sortables=[],t(s.options.connectToSortable).each(function(){var i=t(this).sortable("instance");i&&!i.options.disabled&&(s.sortables.push(i),i.refreshPositions(),i._trigger("activate",e,n))})},stop:function(e,i,s){var n=t.extend({},i,{item:s.element});s.cancelHelperRemoval=!1,t.each(s.sortables,function(){var t=this;t.isOver?(t.isOver=0,s.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,n))})},drag:function(e,i,s){t.each(s.sortables,function(){var n=!1,o=this;o.positionAbs=s.positionAbs,o.helperProportions=s.helperProportions,o.offset.click=s.offset.click,o._intersectsWith(o.containerCache)&&(n=!0,t.each(s.sortables,function(){return this.positionAbs=s.positionAbs,this.helperProportions=s.helperProportions,this.offset.click=s.offset.click,this!==o&&this._intersectsWith(this.containerCache)&&t.contains(o.element[0],this.element[0])&&(n=!1),n})),n?(o.isOver||(o.isOver=1,s._parent=i.helper.parent(),o.currentItem=i.helper.appendTo(o.element).data("ui-sortable-item",!0),o.options._helper=o.options.helper,o.options.helper=function(){return i.helper[0]},e.target=o.currentItem[0],o._mouseCapture(e,!0),o._mouseStart(e,!0,!0),o.offset.click.top=s.offset.click.top,o.offset.click.left=s.offset.click.left,o.offset.parent.left-=s.offset.parent.left-o.offset.parent.left,o.offset.parent.top-=s.offset.parent.top-o.offset.parent.top,s._trigger("toSortable",e),s.dropped=o.element,t.each(s.sortables,function(){this.refreshPositions()}),s.currentItem=s.element,o.fromOutside=s),o.currentItem&&(o._mouseDrag(e),i.position=o.position)):o.isOver&&(o.isOver=0,o.cancelHelperRemoval=!0,o.options._revert=o.options.revert,o.options.revert=!1,o._trigger("out",e,o._uiHash(o)),o._mouseStop(e,!0),o.options.revert=o.options._revert,o.options.helper=o.options._helper,o.placeholder&&o.placeholder.remove(),i.helper.appendTo(s._parent),s._refreshOffsets(e),i.position=s._generatePosition(e,!0),s._trigger("fromSortable",e),s.dropped=!1,t.each(s.sortables,function(){this.refreshPositions()}))})}}),t.ui.plugin.add("draggable","cursor",{start:function(e,i,s){var n=t("body"),o=s.options;n.css("cursor")&&(o._cursor=n.css("cursor")),n.css("cursor",o.cursor)},stop:function(e,i,s){var n=s.options;n._cursor&&t("body").css("cursor",n._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i,s){var n=t(i.helper),o=s.options;n.css("opacity")&&(o._opacity=n.css("opacity")),n.css("opacity",o.opacity)},stop:function(e,i,s){var n=s.options;n._opacity&&t(i.helper).css("opacity",n._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(e,i,s){var n=s.options,o=!1,a=s.scrollParentNotHidden[0],r=s.document[0];a!==r&&"HTML"!==a.tagName?(n.axis&&"x"===n.axis||(s.overflowOffset.top+a.offsetHeight-e.pageY=0;d--)l=s.snapElements[d].left-s.margins.left,h=l+s.snapElements[d].width,c=s.snapElements[d].top-s.margins.top,u=c+s.snapElements[d].height,l-g>_||m>h+g||c-g>b||v>u+g||!t.contains(s.snapElements[d].item.ownerDocument,s.snapElements[d].item)?(s.snapElements[d].snapping&&s.options.snap.release&&s.options.snap.release.call(s.element,e,t.extend(s._uiHash(),{snapItem:s.snapElements[d].item})),s.snapElements[d].snapping=!1):("inner"!==f.snapMode&&(n=g>=Math.abs(c-b),o=g>=Math.abs(u-v),a=g>=Math.abs(l-_),r=g>=Math.abs(h-m),n&&(i.position.top=s._convertPositionTo("relative",{top:c-s.helperProportions.height,left:0}).top),o&&(i.position.top=s._convertPositionTo("relative",{top:u,left:0}).top),a&&(i.position.left=s._convertPositionTo("relative",{top:0,left:l-s.helperProportions.width}).left),r&&(i.position.left=s._convertPositionTo("relative",{top:0,left:h}).left)),p=n||o||a||r,"outer"!==f.snapMode&&(n=g>=Math.abs(c-v),o=g>=Math.abs(u-b),a=g>=Math.abs(l-m),r=g>=Math.abs(h-_),n&&(i.position.top=s._convertPositionTo("relative",{top:c,left:0}).top),o&&(i.position.top=s._convertPositionTo("relative",{top:u-s.helperProportions.height,left:0}).top),a&&(i.position.left=s._convertPositionTo("relative",{top:0,left:l}).left),r&&(i.position.left=s._convertPositionTo("relative",{top:0,left:h-s.helperProportions.width}).left)),!s.snapElements[d].snapping&&(n||o||a||r||p)&&s.options.snap.snap&&s.options.snap.snap.call(s.element,e,t.extend(s._uiHash(),{snapItem:s.snapElements[d].item})),s.snapElements[d].snapping=n||o||a||r||p)}}),t.ui.plugin.add("draggable","stack",{start:function(e,i,s){var n,o=s.options,a=t.makeArray(t(o.stack)).sort(function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)});a.length&&(n=parseInt(t(a[0]).css("zIndex"),10)||0,t(a).each(function(e){t(this).css("zIndex",n+e)}),this.css("zIndex",n+a.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i,s){var n=t(i.helper),o=s.options;n.css("zIndex")&&(o._zIndex=n.css("zIndex")),n.css("zIndex",o.zIndex)},stop:function(e,i,s){var n=s.options;n._zIndex&&t(i.helper).css("zIndex",n._zIndex)}}),t.ui.draggable}); -------------------------------------------------------------------------------- /css/lib/oztter_gwd.css: -------------------------------------------------------------------------------- 1 | p { 2 | margin: 0px; 3 | } 4 | 5 | h1 { 6 | margin: 0px; 7 | } 8 | 9 | h2 { 10 | margin: 0px; 11 | } 12 | 13 | h3 { 14 | margin: 0px; 15 | } 16 | 17 | html, 18 | body { 19 | width: 100%; 20 | height: 100%; 21 | margin: 0px; 22 | } 23 | 24 | body { 25 | transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); 26 | -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); 27 | -moz-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); 28 | perspective: 1400px; 29 | -webkit-perspective: 1400px; 30 | -moz-perspective: 1400px; 31 | transform-style: preserve-3d; 32 | -webkit-transform-style: preserve-3d; 33 | -moz-transform-style: preserve-3d; 34 | background-color: transparent; 35 | } 36 | 37 | .gwd-canvas-1yo9 { 38 | position: absolute; 39 | opacity: 0; 40 | height: 150px; 41 | width: 300px; 42 | left: 105px; 43 | top: 25px; 44 | } 45 | 46 | .gwd-canvas-1o2e { 47 | position: absolute; 48 | transform-style: preserve-3d; 49 | -webkit-transform-style: preserve-3d; 50 | -moz-transform-style: preserve-3d; 51 | opacity: 1; 52 | width: 1px; 53 | height: 1px; 54 | left: 325px; 55 | top: 100px; 56 | } 57 | 58 | .gwd-canvas-1pho { 59 | position: absolute; 60 | transform-style: preserve-3d; 61 | -webkit-transform-style: preserve-3d; 62 | -moz-transform-style: preserve-3d; 63 | opacity: 1; 64 | left: 325px; 65 | width: 1px; 66 | height: 1px; 67 | top: 100px; 68 | } 69 | 70 | @keyframes gwd-gen-ozd6gwdanimation_gwd-keyframes { 71 | 0% { 72 | left: 325px; 73 | top: 100px; 74 | width: 0px; 75 | height: 0px; 76 | opacity: 1; 77 | animation-timing-function: linear; 78 | -webkit-animation-timing-function: linear; 79 | -moz-animation-timing-function: linear; 80 | } 81 | 5.41% { 82 | left: 224.93px; 83 | top: 0px; 84 | width: 200px; 85 | height: 200px; 86 | opacity: 1; 87 | animation-timing-function: linear; 88 | -webkit-animation-timing-function: linear; 89 | -moz-animation-timing-function: linear; 90 | } 91 | 8.11% { 92 | left: 225px; 93 | top: 0px; 94 | width: 200px; 95 | height: 200px; 96 | opacity: 1; 97 | animation-timing-function: linear; 98 | -webkit-animation-timing-function: linear; 99 | -moz-animation-timing-function: linear; 100 | } 101 | 10.81% { 102 | left: 255px; 103 | top: 30px; 104 | width: 140px; 105 | height: 140px; 106 | opacity: 1; 107 | animation-timing-function: linear; 108 | -webkit-animation-timing-function: linear; 109 | -moz-animation-timing-function: linear; 110 | } 111 | 16.22% { 112 | left: 235px; 113 | top: 10px; 114 | width: 180px; 115 | height: 180px; 116 | opacity: 1; 117 | animation-timing-function: linear; 118 | -webkit-animation-timing-function: linear; 119 | -moz-animation-timing-function: linear; 120 | } 121 | 18.92% { 122 | left: 253px; 123 | top: 26px; 124 | width: 145px; 125 | height: 145px; 126 | opacity: 1; 127 | animation-timing-function: linear; 128 | -webkit-animation-timing-function: linear; 129 | -moz-animation-timing-function: linear; 130 | } 131 | 24.32% { 132 | left: 245px; 133 | top: 20px; 134 | width: 160px; 135 | height: 160px; 136 | opacity: 1; 137 | animation-timing-function: linear; 138 | -webkit-animation-timing-function: linear; 139 | -moz-animation-timing-function: linear; 140 | } 141 | 27.03% { 142 | left: 253px; 143 | top: 26px; 144 | width: 145px; 145 | height: 145px; 146 | opacity: 1; 147 | animation-timing-function: linear; 148 | -webkit-animation-timing-function: linear; 149 | -moz-animation-timing-function: linear; 150 | } 151 | 32.43% { 152 | left: 245px; 153 | top: 20px; 154 | width: 160px; 155 | height: 160px; 156 | opacity: 1; 157 | animation-timing-function: linear; 158 | -webkit-animation-timing-function: linear; 159 | -moz-animation-timing-function: linear; 160 | } 161 | 72.97% { 162 | left: 245px; 163 | top: 20px; 164 | width: 160px; 165 | height: 160px; 166 | opacity: 1; 167 | animation-timing-function: linear; 168 | -webkit-animation-timing-function: linear; 169 | -moz-animation-timing-function: linear; 170 | } 171 | 100% { 172 | left: 25.02px; 173 | top: 25px; 174 | width: 150.14px; 175 | height: 150px; 176 | opacity: 1; 177 | animation-timing-function: linear; 178 | -webkit-animation-timing-function: linear; 179 | -moz-animation-timing-function: linear; 180 | } 181 | } 182 | 183 | @-webkit-keyframes gwd-gen-ozd6gwdanimation_gwd-keyframes { 184 | 0% { 185 | left: 325px; 186 | top: 100px; 187 | width: 0px; 188 | height: 0px; 189 | opacity: 1; 190 | -webkit-animation-timing-function: linear; 191 | } 192 | 5.41% { 193 | left: 224.93px; 194 | top: 0px; 195 | width: 200px; 196 | height: 200px; 197 | opacity: 1; 198 | -webkit-animation-timing-function: linear; 199 | } 200 | 8.11% { 201 | left: 225px; 202 | top: 0px; 203 | width: 200px; 204 | height: 200px; 205 | opacity: 1; 206 | -webkit-animation-timing-function: linear; 207 | } 208 | 10.81% { 209 | left: 255px; 210 | top: 30px; 211 | width: 140px; 212 | height: 140px; 213 | opacity: 1; 214 | -webkit-animation-timing-function: linear; 215 | } 216 | 16.22% { 217 | left: 235px; 218 | top: 10px; 219 | width: 180px; 220 | height: 180px; 221 | opacity: 1; 222 | -webkit-animation-timing-function: linear; 223 | } 224 | 18.92% { 225 | left: 253px; 226 | top: 26px; 227 | width: 145px; 228 | height: 145px; 229 | opacity: 1; 230 | -webkit-animation-timing-function: linear; 231 | } 232 | 24.32% { 233 | left: 245px; 234 | top: 20px; 235 | width: 160px; 236 | height: 160px; 237 | opacity: 1; 238 | -webkit-animation-timing-function: linear; 239 | } 240 | 27.03% { 241 | left: 253px; 242 | top: 26px; 243 | width: 145px; 244 | height: 145px; 245 | opacity: 1; 246 | -webkit-animation-timing-function: linear; 247 | } 248 | 32.43% { 249 | left: 245px; 250 | top: 20px; 251 | width: 160px; 252 | height: 160px; 253 | opacity: 1; 254 | -webkit-animation-timing-function: linear; 255 | } 256 | 72.97% { 257 | left: 245px; 258 | top: 20px; 259 | width: 160px; 260 | height: 160px; 261 | opacity: 1; 262 | -webkit-animation-timing-function: linear; 263 | } 264 | 100% { 265 | left: 25.02px; 266 | top: 25px; 267 | width: 150.14px; 268 | height: 150px; 269 | opacity: 1; 270 | -webkit-animation-timing-function: linear; 271 | } 272 | } 273 | 274 | @-moz-keyframes gwd-gen-ozd6gwdanimation_gwd-keyframes { 275 | 0% { 276 | left: 325px; 277 | top: 100px; 278 | width: 0px; 279 | height: 0px; 280 | opacity: 1; 281 | -moz-animation-timing-function: linear; 282 | } 283 | 5.41% { 284 | left: 224.93px; 285 | top: 0px; 286 | width: 200px; 287 | height: 200px; 288 | opacity: 1; 289 | -moz-animation-timing-function: linear; 290 | } 291 | 8.11% { 292 | left: 225px; 293 | top: 0px; 294 | width: 200px; 295 | height: 200px; 296 | opacity: 1; 297 | -moz-animation-timing-function: linear; 298 | } 299 | 10.81% { 300 | left: 255px; 301 | top: 30px; 302 | width: 140px; 303 | height: 140px; 304 | opacity: 1; 305 | -moz-animation-timing-function: linear; 306 | } 307 | 16.22% { 308 | left: 235px; 309 | top: 10px; 310 | width: 180px; 311 | height: 180px; 312 | opacity: 1; 313 | -moz-animation-timing-function: linear; 314 | } 315 | 18.92% { 316 | left: 253px; 317 | top: 26px; 318 | width: 145px; 319 | height: 145px; 320 | opacity: 1; 321 | -moz-animation-timing-function: linear; 322 | } 323 | 24.32% { 324 | left: 245px; 325 | top: 20px; 326 | width: 160px; 327 | height: 160px; 328 | opacity: 1; 329 | -moz-animation-timing-function: linear; 330 | } 331 | 27.03% { 332 | left: 253px; 333 | top: 26px; 334 | width: 145px; 335 | height: 145px; 336 | opacity: 1; 337 | -moz-animation-timing-function: linear; 338 | } 339 | 32.43% { 340 | left: 245px; 341 | top: 20px; 342 | width: 160px; 343 | height: 160px; 344 | opacity: 1; 345 | -moz-animation-timing-function: linear; 346 | } 347 | 72.97% { 348 | left: 245px; 349 | top: 20px; 350 | width: 160px; 351 | height: 160px; 352 | opacity: 1; 353 | -moz-animation-timing-function: linear; 354 | } 355 | 100% { 356 | left: 25.02px; 357 | top: 25px; 358 | width: 150.14px; 359 | height: 150px; 360 | opacity: 1; 361 | -moz-animation-timing-function: linear; 362 | } 363 | } 364 | 365 | body .gwd-gen-ozd6gwdanimation { 366 | animation: gwd-gen-ozd6gwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 367 | -webkit-animation: gwd-gen-ozd6gwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 368 | -moz-animation: gwd-gen-ozd6gwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 369 | } 370 | 371 | @keyframes gwd-gen-1ivcgwdanimation_gwd-keyframes { 372 | 0% { 373 | left: 325px; 374 | top: 100px; 375 | width: 0px; 376 | height: 0px; 377 | animation-timing-function: linear; 378 | -webkit-animation-timing-function: linear; 379 | -moz-animation-timing-function: linear; 380 | } 381 | 5.41% { 382 | left: 250px; 383 | top: 25px; 384 | width: 150px; 385 | height: 150px; 386 | animation-timing-function: linear; 387 | -webkit-animation-timing-function: linear; 388 | -moz-animation-timing-function: linear; 389 | } 390 | 8.11% { 391 | left: 250px; 392 | top: 25px; 393 | width: 150px; 394 | height: 150px; 395 | animation-timing-function: linear; 396 | -webkit-animation-timing-function: linear; 397 | -moz-animation-timing-function: linear; 398 | } 399 | 10.81% { 400 | left: 280px; 401 | top: 55px; 402 | width: 90px; 403 | height: 90px; 404 | animation-timing-function: linear; 405 | -webkit-animation-timing-function: linear; 406 | -moz-animation-timing-function: linear; 407 | } 408 | 16.22% { 409 | left: 260px; 410 | top: 35px; 411 | width: 130px; 412 | height: 130px; 413 | animation-timing-function: linear; 414 | -webkit-animation-timing-function: linear; 415 | -moz-animation-timing-function: linear; 416 | } 417 | 18.92% { 418 | left: 278px; 419 | top: 51px; 420 | width: 95px; 421 | height: 95px; 422 | animation-timing-function: linear; 423 | -webkit-animation-timing-function: linear; 424 | -moz-animation-timing-function: linear; 425 | } 426 | 24.32% { 427 | left: 270px; 428 | top: 45px; 429 | width: 110px; 430 | height: 110px; 431 | animation-timing-function: linear; 432 | -webkit-animation-timing-function: linear; 433 | -moz-animation-timing-function: linear; 434 | } 435 | 27.03% { 436 | left: 278px; 437 | top: 50px; 438 | width: 95px; 439 | height: 95px; 440 | animation-timing-function: linear; 441 | -webkit-animation-timing-function: linear; 442 | -moz-animation-timing-function: linear; 443 | } 444 | 32.43% { 445 | left: 270px; 446 | top: 45px; 447 | width: 110px; 448 | height: 110px; 449 | animation-timing-function: linear; 450 | -webkit-animation-timing-function: linear; 451 | -moz-animation-timing-function: linear; 452 | } 453 | 72.97% { 454 | left: 270px; 455 | top: 45px; 456 | width: 110px; 457 | height: 110px; 458 | animation-timing-function: linear; 459 | -webkit-animation-timing-function: linear; 460 | -moz-animation-timing-function: linear; 461 | } 462 | 100% { 463 | left: 45px; 464 | top: 45px; 465 | width: 110px; 466 | height: 110px; 467 | animation-timing-function: linear; 468 | -webkit-animation-timing-function: linear; 469 | -moz-animation-timing-function: linear; 470 | } 471 | } 472 | 473 | @-webkit-keyframes gwd-gen-1ivcgwdanimation_gwd-keyframes { 474 | 0% { 475 | left: 325px; 476 | top: 100px; 477 | width: 0px; 478 | height: 0px; 479 | -webkit-animation-timing-function: linear; 480 | } 481 | 5.41% { 482 | left: 250px; 483 | top: 25px; 484 | width: 150px; 485 | height: 150px; 486 | -webkit-animation-timing-function: linear; 487 | } 488 | 8.11% { 489 | left: 250px; 490 | top: 25px; 491 | width: 150px; 492 | height: 150px; 493 | -webkit-animation-timing-function: linear; 494 | } 495 | 10.81% { 496 | left: 280px; 497 | top: 55px; 498 | width: 90px; 499 | height: 90px; 500 | -webkit-animation-timing-function: linear; 501 | } 502 | 16.22% { 503 | left: 260px; 504 | top: 35px; 505 | width: 130px; 506 | height: 130px; 507 | -webkit-animation-timing-function: linear; 508 | } 509 | 18.92% { 510 | left: 278px; 511 | top: 51px; 512 | width: 95px; 513 | height: 95px; 514 | -webkit-animation-timing-function: linear; 515 | } 516 | 24.32% { 517 | left: 270px; 518 | top: 45px; 519 | width: 110px; 520 | height: 110px; 521 | -webkit-animation-timing-function: linear; 522 | } 523 | 27.03% { 524 | left: 278px; 525 | top: 50px; 526 | width: 95px; 527 | height: 95px; 528 | -webkit-animation-timing-function: linear; 529 | } 530 | 32.43% { 531 | left: 270px; 532 | top: 45px; 533 | width: 110px; 534 | height: 110px; 535 | -webkit-animation-timing-function: linear; 536 | } 537 | 72.97% { 538 | left: 270px; 539 | top: 45px; 540 | width: 110px; 541 | height: 110px; 542 | -webkit-animation-timing-function: linear; 543 | } 544 | 100% { 545 | left: 45px; 546 | top: 45px; 547 | width: 110px; 548 | height: 110px; 549 | -webkit-animation-timing-function: linear; 550 | } 551 | } 552 | 553 | @-moz-keyframes gwd-gen-1ivcgwdanimation_gwd-keyframes { 554 | 0% { 555 | left: 325px; 556 | top: 100px; 557 | width: 0px; 558 | height: 0px; 559 | -moz-animation-timing-function: linear; 560 | } 561 | 5.41% { 562 | left: 250px; 563 | top: 25px; 564 | width: 150px; 565 | height: 150px; 566 | -moz-animation-timing-function: linear; 567 | } 568 | 8.11% { 569 | left: 250px; 570 | top: 25px; 571 | width: 150px; 572 | height: 150px; 573 | -moz-animation-timing-function: linear; 574 | } 575 | 10.81% { 576 | left: 280px; 577 | top: 55px; 578 | width: 90px; 579 | height: 90px; 580 | -moz-animation-timing-function: linear; 581 | } 582 | 16.22% { 583 | left: 260px; 584 | top: 35px; 585 | width: 130px; 586 | height: 130px; 587 | -moz-animation-timing-function: linear; 588 | } 589 | 18.92% { 590 | left: 278px; 591 | top: 51px; 592 | width: 95px; 593 | height: 95px; 594 | -moz-animation-timing-function: linear; 595 | } 596 | 24.32% { 597 | left: 270px; 598 | top: 45px; 599 | width: 110px; 600 | height: 110px; 601 | -moz-animation-timing-function: linear; 602 | } 603 | 27.03% { 604 | left: 278px; 605 | top: 50px; 606 | width: 95px; 607 | height: 95px; 608 | -moz-animation-timing-function: linear; 609 | } 610 | 32.43% { 611 | left: 270px; 612 | top: 45px; 613 | width: 110px; 614 | height: 110px; 615 | -moz-animation-timing-function: linear; 616 | } 617 | 72.97% { 618 | left: 270px; 619 | top: 45px; 620 | width: 110px; 621 | height: 110px; 622 | -moz-animation-timing-function: linear; 623 | } 624 | 100% { 625 | left: 45px; 626 | top: 45px; 627 | width: 110px; 628 | height: 110px; 629 | -moz-animation-timing-function: linear; 630 | } 631 | } 632 | 633 | body .gwd-gen-1ivcgwdanimation { 634 | animation: gwd-gen-1ivcgwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 635 | -webkit-animation: gwd-gen-1ivcgwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 636 | -moz-animation: gwd-gen-1ivcgwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 637 | } 638 | 639 | @keyframes gwd-gen-1kekgwdanimation_gwd-keyframes { 640 | 0% { 641 | opacity: 0; 642 | transform: translate3d(0px, 0px, 0px); 643 | -webkit-transform: translate3d(0px, 0px, 0px); 644 | -moz-transform: translate3d(0px, 0px, 0px); 645 | left: 105px; 646 | top: 25px; 647 | width: 300px; 648 | height: 150px; 649 | animation-timing-function: linear; 650 | -webkit-animation-timing-function: linear; 651 | -moz-animation-timing-function: linear; 652 | } 653 | 51.35% { 654 | opacity: 0; 655 | transform: translate3d(0px, 0px, 0px); 656 | -webkit-transform: translate3d(0px, 0px, 0px); 657 | -moz-transform: translate3d(0px, 0px, 0px); 658 | left: 105px; 659 | top: 25px; 660 | width: 300px; 661 | height: 150px; 662 | animation-timing-function: linear; 663 | -webkit-animation-timing-function: linear; 664 | -moz-animation-timing-function: linear; 665 | } 666 | 72.97% { 667 | opacity: 0.375; 668 | transform: translate3d(0px, 0px, 0px); 669 | -webkit-transform: translate3d(0px, 0px, 0px); 670 | -moz-transform: translate3d(0px, 0px, 0px); 671 | left: 105px; 672 | top: 25px; 673 | width: 300px; 674 | height: 150px; 675 | animation-timing-function: linear; 676 | -webkit-animation-timing-function: linear; 677 | -moz-animation-timing-function: linear; 678 | } 679 | 100% { 680 | opacity: 1; 681 | transform: translate3d(0px, 0px, 0px); 682 | -webkit-transform: translate3d(0px, 0px, 0px); 683 | -moz-transform: translate3d(0px, 0px, 0px); 684 | left: 25.02px; 685 | top: 25px; 686 | width: 300.28px; 687 | height: 150px; 688 | animation-timing-function: linear; 689 | -webkit-animation-timing-function: linear; 690 | -moz-animation-timing-function: linear; 691 | } 692 | } 693 | 694 | @-webkit-keyframes gwd-gen-1kekgwdanimation_gwd-keyframes { 695 | 0% { 696 | opacity: 0; 697 | -webkit-transform: translate3d(0px, 0px, 0px); 698 | left: 105px; 699 | top: 25px; 700 | width: 300px; 701 | height: 150px; 702 | -webkit-animation-timing-function: linear; 703 | } 704 | 51.35% { 705 | opacity: 0; 706 | -webkit-transform: translate3d(0px, 0px, 0px); 707 | left: 105px; 708 | top: 25px; 709 | width: 300px; 710 | height: 150px; 711 | -webkit-animation-timing-function: linear; 712 | } 713 | 72.97% { 714 | opacity: 0.375; 715 | -webkit-transform: translate3d(0px, 0px, 0px); 716 | left: 105px; 717 | top: 25px; 718 | width: 300px; 719 | height: 150px; 720 | -webkit-animation-timing-function: linear; 721 | } 722 | 100% { 723 | opacity: 1; 724 | -webkit-transform: translate3d(0px, 0px, 0px); 725 | left: 25.02px; 726 | top: 25px; 727 | width: 300.28px; 728 | height: 150px; 729 | -webkit-animation-timing-function: linear; 730 | } 731 | } 732 | 733 | @-moz-keyframes gwd-gen-1kekgwdanimation_gwd-keyframes { 734 | 0% { 735 | opacity: 0; 736 | -moz-transform: translate3d(0px, 0px, 0px); 737 | left: 105px; 738 | top: 25px; 739 | width: 300px; 740 | height: 150px; 741 | -moz-animation-timing-function: linear; 742 | } 743 | 51.35% { 744 | opacity: 0; 745 | -moz-transform: translate3d(0px, 0px, 0px); 746 | left: 105px; 747 | top: 25px; 748 | width: 300px; 749 | height: 150px; 750 | -moz-animation-timing-function: linear; 751 | } 752 | 72.97% { 753 | opacity: 0.375; 754 | -moz-transform: translate3d(0px, 0px, 0px); 755 | left: 105px; 756 | top: 25px; 757 | width: 300px; 758 | height: 150px; 759 | -moz-animation-timing-function: linear; 760 | } 761 | 100% { 762 | opacity: 1; 763 | -moz-transform: translate3d(0px, 0px, 0px); 764 | left: 25.02px; 765 | top: 25px; 766 | width: 300.28px; 767 | height: 150px; 768 | -moz-animation-timing-function: linear; 769 | } 770 | } 771 | 772 | body .gwd-gen-1kekgwdanimation { 773 | animation: gwd-gen-1kekgwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 774 | -webkit-animation: gwd-gen-1kekgwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 775 | -moz-animation: gwd-gen-1kekgwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 776 | } 777 | 778 | .gwd-canvas-ry3d { 779 | position: absolute; 780 | left: 0px; 781 | transform-style: preserve-3d; 782 | -webkit-transform-style: preserve-3d; 783 | -moz-transform-style: preserve-3d; 784 | height: 150px; 785 | width: 325px; 786 | top: 25px; 787 | } 788 | 789 | @keyframes gwd-gen-3szrgwdanimation_gwd-keyframes { 790 | 0% { 791 | width: 325px; 792 | left: 0px; 793 | height: 150px; 794 | top: 25px; 795 | animation-timing-function: linear; 796 | -webkit-animation-timing-function: linear; 797 | -moz-animation-timing-function: linear; 798 | } 799 | 72.97% { 800 | width: 324.5px; 801 | left: 0px; 802 | height: 150px; 803 | top: 25px; 804 | animation-timing-function: linear; 805 | -webkit-animation-timing-function: linear; 806 | -moz-animation-timing-function: linear; 807 | } 808 | 100% { 809 | width: 99.59px; 810 | left: 0px; 811 | height: 150px; 812 | top: 25px; 813 | animation-timing-function: linear; 814 | -webkit-animation-timing-function: linear; 815 | -moz-animation-timing-function: linear; 816 | } 817 | } 818 | 819 | @-webkit-keyframes gwd-gen-3szrgwdanimation_gwd-keyframes { 820 | 0% { 821 | width: 325px; 822 | left: 0px; 823 | height: 150px; 824 | top: 25px; 825 | -webkit-animation-timing-function: linear; 826 | } 827 | 72.97% { 828 | width: 324.5px; 829 | left: 0px; 830 | height: 150px; 831 | top: 25px; 832 | -webkit-animation-timing-function: linear; 833 | } 834 | 100% { 835 | width: 99.59px; 836 | left: 0px; 837 | height: 150px; 838 | top: 25px; 839 | -webkit-animation-timing-function: linear; 840 | } 841 | } 842 | 843 | @-moz-keyframes gwd-gen-3szrgwdanimation_gwd-keyframes { 844 | 0% { 845 | width: 325px; 846 | left: 0px; 847 | height: 150px; 848 | top: 25px; 849 | -moz-animation-timing-function: linear; 850 | } 851 | 72.97% { 852 | width: 324.5px; 853 | left: 0px; 854 | height: 150px; 855 | top: 25px; 856 | -moz-animation-timing-function: linear; 857 | } 858 | 100% { 859 | width: 99.59px; 860 | left: 0px; 861 | height: 150px; 862 | top: 25px; 863 | -moz-animation-timing-function: linear; 864 | } 865 | } 866 | 867 | body .gwd-gen-3szrgwdanimation { 868 | animation: gwd-gen-3szrgwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 869 | -webkit-animation: gwd-gen-3szrgwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 870 | -moz-animation: gwd-gen-3szrgwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 871 | } 872 | 873 | .gwd-canvas-bcax { 874 | position: absolute; 875 | transform: translate3d(0px, 0px, 0px); 876 | -webkit-transform: translate3d(0px, 0px, 0px); 877 | -moz-transform: translate3d(0px, 0px, 0px); 878 | opacity: 0; 879 | left: 202.5px; 880 | top: 40.5px; 881 | width: 131px; 882 | height: 91px; 883 | } 884 | 885 | @keyframes gwd-gen-1hgtgwdanimation_gwd-keyframes { 886 | 0% { 887 | transform: translate3d(0px, 0px, 0px); 888 | -webkit-transform: translate3d(0px, 0px, 0px); 889 | -moz-transform: translate3d(0px, 0px, 0px); 890 | left: 202.5px; 891 | top: 40.5px; 892 | width: 131px; 893 | opacity: 0; 894 | height: 91px; 895 | animation-timing-function: linear; 896 | -webkit-animation-timing-function: linear; 897 | -moz-animation-timing-function: linear; 898 | } 899 | 72.97% { 900 | transform: translate3d(0px, 0px, 0px); 901 | -webkit-transform: translate3d(0px, 0px, 0px); 902 | -moz-transform: translate3d(0px, 0px, 0px); 903 | left: 202.54px; 904 | top: 40.5px; 905 | width: 130.96px; 906 | opacity: 0; 907 | height: 91.4px; 908 | animation-timing-function: linear; 909 | -webkit-animation-timing-function: linear; 910 | -moz-animation-timing-function: linear; 911 | } 912 | 100% { 913 | transform: translate3d(0px, 0px, 0px); 914 | -webkit-transform: translate3d(0px, 0px, 0px); 915 | -moz-transform: translate3d(0px, 0px, 0px); 916 | left: 177.7px; 917 | top: 48.5px; 918 | width: 131.09px; 919 | opacity: 1; 920 | height: 101.04px; 921 | animation-timing-function: linear; 922 | -webkit-animation-timing-function: linear; 923 | -moz-animation-timing-function: linear; 924 | } 925 | } 926 | 927 | @-webkit-keyframes gwd-gen-1hgtgwdanimation_gwd-keyframes { 928 | 0% { 929 | -webkit-transform: translate3d(0px, 0px, 0px); 930 | left: 202.5px; 931 | top: 40.5px; 932 | width: 131px; 933 | opacity: 0; 934 | height: 91px; 935 | -webkit-animation-timing-function: linear; 936 | } 937 | 72.97% { 938 | -webkit-transform: translate3d(0px, 0px, 0px); 939 | left: 202.54px; 940 | top: 40.5px; 941 | width: 130.96px; 942 | opacity: 0; 943 | height: 91.4px; 944 | -webkit-animation-timing-function: linear; 945 | } 946 | 100% { 947 | -webkit-transform: translate3d(0px, 0px, 0px); 948 | left: 177.7px; 949 | top: 48.5px; 950 | width: 131.09px; 951 | opacity: 1; 952 | height: 101.04px; 953 | -webkit-animation-timing-function: linear; 954 | } 955 | } 956 | 957 | @-moz-keyframes gwd-gen-1hgtgwdanimation_gwd-keyframes { 958 | 0% { 959 | -moz-transform: translate3d(0px, 0px, 0px); 960 | left: 202.5px; 961 | top: 40.5px; 962 | width: 131px; 963 | opacity: 0; 964 | height: 91px; 965 | -moz-animation-timing-function: linear; 966 | } 967 | 72.97% { 968 | -moz-transform: translate3d(0px, 0px, 0px); 969 | left: 202.54px; 970 | top: 40.5px; 971 | width: 130.96px; 972 | opacity: 0; 973 | height: 91.4px; 974 | -moz-animation-timing-function: linear; 975 | } 976 | 100% { 977 | -moz-transform: translate3d(0px, 0px, 0px); 978 | left: 177.7px; 979 | top: 48.5px; 980 | width: 131.09px; 981 | opacity: 1; 982 | height: 101.04px; 983 | -moz-animation-timing-function: linear; 984 | } 985 | } 986 | 987 | body .gwd-gen-1hgtgwdanimation { 988 | animation: gwd-gen-1hgtgwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 989 | -webkit-animation: gwd-gen-1hgtgwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 990 | -moz-animation: gwd-gen-1hgtgwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 991 | } 992 | 993 | .gwd-p-1o7d { 994 | position: absolute; 995 | color: rgb(255, 0, 162); 996 | text-align: center; 997 | transform-origin: 174px 106.25px 0px; 998 | -webkit-transform-origin: 174px 106.25px 0px; 999 | -moz-transform-origin: 174px 106.25px 0px; 1000 | opacity: 0; 1001 | font-size: 118px; 1002 | height: 130px; 1003 | left: 344px; 1004 | width: 185px; 1005 | top: 66px; 1006 | } 1007 | 1008 | @keyframes gwd-gen-1vzogwdanimation_gwd-keyframes { 1009 | 0% { 1010 | height: 130px; 1011 | width: 185px; 1012 | opacity: 0; 1013 | top: 66px; 1014 | left: 344px; 1015 | animation-timing-function: linear; 1016 | -webkit-animation-timing-function: linear; 1017 | -moz-animation-timing-function: linear; 1018 | } 1019 | 72.97% { 1020 | height: 130px; 1021 | width: 185px; 1022 | opacity: 0; 1023 | top: 66px; 1024 | left: 344px; 1025 | animation-timing-function: linear; 1026 | -webkit-animation-timing-function: linear; 1027 | -moz-animation-timing-function: linear; 1028 | } 1029 | 100% { 1030 | height: 130px; 1031 | width: 184.67px; 1032 | opacity: 1; 1033 | top: 38px; 1034 | left: 344.33px; 1035 | animation-timing-function: linear; 1036 | -webkit-animation-timing-function: linear; 1037 | -moz-animation-timing-function: linear; 1038 | } 1039 | } 1040 | 1041 | @-webkit-keyframes gwd-gen-1vzogwdanimation_gwd-keyframes { 1042 | 0% { 1043 | height: 130px; 1044 | width: 185px; 1045 | opacity: 0; 1046 | top: 66px; 1047 | left: 344px; 1048 | -webkit-animation-timing-function: linear; 1049 | } 1050 | 72.97% { 1051 | height: 130px; 1052 | width: 185px; 1053 | opacity: 0; 1054 | top: 66px; 1055 | left: 344px; 1056 | -webkit-animation-timing-function: linear; 1057 | } 1058 | 100% { 1059 | height: 130px; 1060 | width: 184.67px; 1061 | opacity: 1; 1062 | top: 38px; 1063 | left: 344.33px; 1064 | -webkit-animation-timing-function: linear; 1065 | } 1066 | } 1067 | 1068 | @-moz-keyframes gwd-gen-1vzogwdanimation_gwd-keyframes { 1069 | 0% { 1070 | height: 130px; 1071 | width: 185px; 1072 | opacity: 0; 1073 | top: 66px; 1074 | left: 344px; 1075 | -moz-animation-timing-function: linear; 1076 | } 1077 | 72.97% { 1078 | height: 130px; 1079 | width: 185px; 1080 | opacity: 0; 1081 | top: 66px; 1082 | left: 344px; 1083 | -moz-animation-timing-function: linear; 1084 | } 1085 | 100% { 1086 | height: 130px; 1087 | width: 184.67px; 1088 | opacity: 1; 1089 | top: 38px; 1090 | left: 344.33px; 1091 | -moz-animation-timing-function: linear; 1092 | } 1093 | } 1094 | 1095 | body .gwd-gen-1vzogwdanimation { 1096 | animation: gwd-gen-1vzogwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 1097 | -webkit-animation: gwd-gen-1vzogwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 1098 | -moz-animation: gwd-gen-1vzogwdanimation_gwd-keyframes 3.7s linear 0s 1 normal forwards; 1099 | } 1100 | --------------------------------------------------------------------------------