.
8 | .list-group {
9 | // No need to set list-style: none; since .list-group-item is block level
10 | margin-bottom: 20px;
11 | padding-left: 0; // reset padding because ul and ol
12 | }
13 |
14 | // Individual list items
15 | // -------------------------
16 |
17 | .list-group-item {
18 | position: relative;
19 | display: block;
20 | padding: 10px 15px;
21 | // Place the border on the list items and negative margin up for better styling
22 | margin-bottom: -1px;
23 | background-color: @list-group-bg;
24 | border: 1px solid @list-group-border;
25 |
26 | // Round the first and last items
27 | &:first-child {
28 | .border-top-radius(@list-group-border-radius);
29 | }
30 | &:last-child {
31 | margin-bottom: 0;
32 | .border-bottom-radius(@list-group-border-radius);
33 | }
34 |
35 | // Align badges within list items
36 | > .badge {
37 | float: right;
38 | }
39 | > .badge + .badge {
40 | margin-right: 5px;
41 | }
42 | }
43 |
44 | // Linked list items
45 | a.list-group-item {
46 | color: @list-group-link-color;
47 |
48 | .list-group-item-heading {
49 | color: @list-group-link-heading-color;
50 | }
51 |
52 | // Hover state
53 | &:hover,
54 | &:focus {
55 | text-decoration: none;
56 | background-color: @list-group-hover-bg;
57 | }
58 |
59 | // Active class on item itself, not parent
60 | &.active,
61 | &.active:hover,
62 | &.active:focus {
63 | z-index: 2; // Place active items above their siblings for proper border styling
64 | color: @list-group-active-color;
65 | background-color: @list-group-active-bg;
66 | border-color: @list-group-active-border;
67 |
68 | // Force color to inherit for custom content
69 | .list-group-item-heading {
70 | color: inherit;
71 | }
72 | .list-group-item-text {
73 | color: lighten(@list-group-active-bg, 40%);
74 | }
75 | }
76 | }
77 |
78 | // Custom content options
79 | // -------------------------
80 |
81 | .list-group-item-heading {
82 | margin-top: 0;
83 | margin-bottom: 5px;
84 | }
85 | .list-group-item-text {
86 | margin-bottom: 0;
87 | line-height: 1.3;
88 | }
89 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/bootstrap/less/media.less:
--------------------------------------------------------------------------------
1 | // Media objects
2 | // Source: http://stubbornella.org/content/?p=497
3 | // --------------------------------------------------
4 |
5 |
6 | // Common styles
7 | // -------------------------
8 |
9 | // Clear the floats
10 | .media,
11 | .media-body {
12 | overflow: hidden;
13 | zoom: 1;
14 | }
15 |
16 | // Proper spacing between instances of .media
17 | .media,
18 | .media .media {
19 | margin-top: 15px;
20 | }
21 | .media:first-child {
22 | margin-top: 0;
23 | }
24 |
25 | // For images and videos, set to block
26 | .media-object {
27 | display: block;
28 | }
29 |
30 | // Reset margins on headings for tighter default spacing
31 | .media-heading {
32 | margin: 0 0 5px;
33 | }
34 |
35 |
36 | // Media image alignment
37 | // -------------------------
38 |
39 | .media {
40 | > .pull-left {
41 | margin-right: 10px;
42 | }
43 | > .pull-right {
44 | margin-left: 10px;
45 | }
46 | }
47 |
48 |
49 | // Media list variation
50 | // -------------------------
51 |
52 | // Undo default ul/ol styles
53 | .media-list {
54 | padding-left: 0;
55 | list-style: none;
56 | }
57 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/bootstrap/less/pager.less:
--------------------------------------------------------------------------------
1 | //
2 | // Pager pagination
3 | // --------------------------------------------------
4 |
5 |
6 | .pager {
7 | padding-left: 0;
8 | margin: @line-height-computed 0;
9 | list-style: none;
10 | text-align: center;
11 | .clearfix();
12 | li {
13 | display: inline;
14 | > a,
15 | > span {
16 | display: inline-block;
17 | padding: 5px 14px;
18 | background-color: @pagination-bg;
19 | border: 1px solid @pagination-border;
20 | border-radius: @pager-border-radius;
21 | }
22 |
23 | > a:hover,
24 | > a:focus {
25 | text-decoration: none;
26 | background-color: @pagination-hover-bg;
27 | }
28 | }
29 |
30 | .next {
31 | > a,
32 | > span {
33 | float: right;
34 | }
35 | }
36 |
37 | .previous {
38 | > a,
39 | > span {
40 | float: left;
41 | }
42 | }
43 |
44 | .disabled {
45 | > a,
46 | > a:hover,
47 | > a:focus,
48 | > span {
49 | color: @pager-disabled-color;
50 | background-color: @pagination-bg;
51 | cursor: not-allowed;
52 | }
53 | }
54 |
55 | }
56 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/bootstrap/less/pagination.less:
--------------------------------------------------------------------------------
1 | //
2 | // Pagination (multiple pages)
3 | // --------------------------------------------------
4 | .pagination {
5 | display: inline-block;
6 | padding-left: 0;
7 | margin: @line-height-computed 0;
8 | border-radius: @border-radius-base;
9 |
10 | > li {
11 | display: inline; // Remove list-style and block-level defaults
12 | > a,
13 | > span {
14 | position: relative;
15 | float: left; // Collapse white-space
16 | padding: @padding-base-vertical @padding-base-horizontal;
17 | line-height: @line-height-base;
18 | text-decoration: none;
19 | background-color: @pagination-bg;
20 | border: 1px solid @pagination-border;
21 | margin-left: -1px;
22 | }
23 | &:first-child {
24 | > a,
25 | > span {
26 | margin-left: 0;
27 | .border-left-radius(@border-radius-base);
28 | }
29 | }
30 | &:last-child {
31 | > a,
32 | > span {
33 | .border-right-radius(@border-radius-base);
34 | }
35 | }
36 | }
37 |
38 | > li > a,
39 | > li > span {
40 | &:hover,
41 | &:focus {
42 | background-color: @pagination-hover-bg;
43 | }
44 | }
45 |
46 | > .active > a,
47 | > .active > span {
48 | &,
49 | &:hover,
50 | &:focus {
51 | z-index: 2;
52 | color: @pagination-active-color;
53 | background-color: @pagination-active-bg;
54 | border-color: @pagination-active-bg;
55 | cursor: default;
56 | }
57 | }
58 |
59 | > .disabled {
60 | > span,
61 | > span:hover,
62 | > span:focus,
63 | > a,
64 | > a:hover,
65 | > a:focus {
66 | color: @pagination-disabled-color;
67 | background-color: @pagination-bg;
68 | border-color: @pagination-border;
69 | cursor: not-allowed;
70 | }
71 | }
72 | }
73 |
74 | // Sizing
75 | // --------------------------------------------------
76 |
77 | // Large
78 | .pagination-lg {
79 | .pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large);
80 | }
81 |
82 | // Small
83 | .pagination-sm {
84 | .pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small);
85 | }
86 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/bootstrap/less/print.less:
--------------------------------------------------------------------------------
1 | //
2 | // Basic print styles
3 | // --------------------------------------------------
4 | // Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
5 |
6 | @media print {
7 |
8 | * {
9 | text-shadow: none !important;
10 | color: #000 !important; // Black prints faster: h5bp.com/s
11 | background: transparent !important;
12 | box-shadow: none !important;
13 | }
14 |
15 | a,
16 | a:visited {
17 | text-decoration: underline;
18 | }
19 |
20 | a[href]:after {
21 | content: " (" attr(href) ")";
22 | }
23 |
24 | abbr[title]:after {
25 | content: " (" attr(title) ")";
26 | }
27 |
28 | // Don't show links for images, or javascript/internal links
29 | a[href^="javascript:"]:after,
30 | a[href^="#"]:after {
31 | content: "";
32 | }
33 |
34 | pre,
35 | blockquote {
36 | border: 1px solid #999;
37 | page-break-inside: avoid;
38 | }
39 |
40 | thead {
41 | display: table-header-group; // h5bp.com/t
42 | }
43 |
44 | tr,
45 | img {
46 | page-break-inside: avoid;
47 | }
48 |
49 | img {
50 | max-width: 100% !important;
51 | }
52 |
53 | @page {
54 | margin: 2cm .5cm;
55 | }
56 |
57 | p,
58 | h2,
59 | h3 {
60 | orphans: 3;
61 | widows: 3;
62 | }
63 |
64 | h2,
65 | h3 {
66 | page-break-after: avoid;
67 | }
68 |
69 | // Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245
70 | // Once fixed, we can just straight up remove this.
71 | select {
72 | background: #fff !important;
73 | }
74 |
75 | // Bootstrap components
76 | .navbar {
77 | display: none;
78 | }
79 | .table {
80 | td,
81 | th {
82 | background-color: #fff !important;
83 | }
84 | }
85 | .btn,
86 | .dropup > .btn {
87 | > .caret {
88 | border-top-color: #000 !important;
89 | }
90 | }
91 | .label {
92 | border: 1px solid #000;
93 | }
94 |
95 | .table {
96 | border-collapse: collapse !important;
97 | }
98 | .table-bordered {
99 | th,
100 | td {
101 | border: 1px solid #ddd !important;
102 | }
103 | }
104 |
105 | }
106 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/bootstrap/less/progress-bars.less:
--------------------------------------------------------------------------------
1 | //
2 | // Progress bars
3 | // --------------------------------------------------
4 |
5 |
6 | // Bar animations
7 | // -------------------------
8 |
9 | // WebKit
10 | @-webkit-keyframes progress-bar-stripes {
11 | from { background-position: 40px 0; }
12 | to { background-position: 0 0; }
13 | }
14 |
15 | // Spec and IE10+
16 | @keyframes progress-bar-stripes {
17 | from { background-position: 40px 0; }
18 | to { background-position: 0 0; }
19 | }
20 |
21 |
22 |
23 | // Bar itself
24 | // -------------------------
25 |
26 | // Outer container
27 | .progress {
28 | overflow: hidden;
29 | height: @line-height-computed;
30 | margin-bottom: @line-height-computed;
31 | background-color: @progress-bg;
32 | border-radius: @border-radius-base;
33 | .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
34 | }
35 |
36 | // Bar of progress
37 | .progress-bar {
38 | float: left;
39 | width: 0%;
40 | height: 100%;
41 | font-size: @font-size-small;
42 | line-height: @line-height-computed;
43 | color: @progress-bar-color;
44 | text-align: center;
45 | background-color: @progress-bar-bg;
46 | .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
47 | .transition(width .6s ease);
48 | }
49 |
50 | // Striped bars
51 | .progress-striped .progress-bar {
52 | #gradient > .striped();
53 | background-size: 40px 40px;
54 | }
55 |
56 | // Call animation for the active one
57 | .progress.active .progress-bar {
58 | .animation(progress-bar-stripes 2s linear infinite);
59 | }
60 |
61 |
62 |
63 | // Variations
64 | // -------------------------
65 |
66 | .progress-bar-success {
67 | .progress-bar-variant(@progress-bar-success-bg);
68 | }
69 |
70 | .progress-bar-info {
71 | .progress-bar-variant(@progress-bar-info-bg);
72 | }
73 |
74 | .progress-bar-warning {
75 | .progress-bar-variant(@progress-bar-warning-bg);
76 | }
77 |
78 | .progress-bar-danger {
79 | .progress-bar-variant(@progress-bar-danger-bg);
80 | }
81 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/bootstrap/less/scaffolding.less:
--------------------------------------------------------------------------------
1 | //
2 | // Scaffolding
3 | // --------------------------------------------------
4 |
5 |
6 | // Reset the box-sizing
7 |
8 | *,
9 | *:before,
10 | *:after {
11 | .box-sizing(border-box);
12 | }
13 |
14 |
15 | // Body reset
16 |
17 | html {
18 | font-size: 62.5%;
19 | -webkit-tap-highlight-color: rgba(0,0,0,0);
20 | }
21 |
22 | body {
23 | font-family: @font-family-base;
24 | font-size: @font-size-base;
25 | line-height: @line-height-base;
26 | color: @text-color;
27 | background-color: @body-bg;
28 | }
29 |
30 | // Reset fonts for relevant elements
31 | input,
32 | button,
33 | select,
34 | textarea {
35 | font-family: inherit;
36 | font-size: inherit;
37 | line-height: inherit;
38 | }
39 |
40 |
41 | // Links
42 |
43 | a {
44 | color: @link-color;
45 | text-decoration: none;
46 |
47 | &:hover,
48 | &:focus {
49 | color: @link-hover-color;
50 | text-decoration: underline;
51 | }
52 |
53 | &:focus {
54 | .tab-focus();
55 | }
56 | }
57 |
58 |
59 | // Images
60 |
61 | img {
62 | vertical-align: middle;
63 | }
64 |
65 | // Responsive images (ensure images don't scale beyond their parents)
66 | .img-responsive {
67 | .img-responsive();
68 | }
69 |
70 | // Rounded corners
71 | .img-rounded {
72 | border-radius: @border-radius-large;
73 | }
74 |
75 | // Image thumbnails
76 | //
77 | // Heads up! This is mixin-ed into thumbnails.less for `.thumbnail`.
78 | .img-thumbnail {
79 | padding: @thumbnail-padding;
80 | line-height: @line-height-base;
81 | background-color: @thumbnail-bg;
82 | border: 1px solid @thumbnail-border;
83 | border-radius: @thumbnail-border-radius;
84 | .transition(all .2s ease-in-out);
85 |
86 | // Keep them at most 100% wide
87 | .img-responsive(inline-block);
88 | }
89 |
90 | // Perfect circle
91 | .img-circle {
92 | border-radius: 50%; // set radius in percents
93 | }
94 |
95 |
96 | // Horizontal rules
97 |
98 | hr {
99 | margin-top: @line-height-computed;
100 | margin-bottom: @line-height-computed;
101 | border: 0;
102 | border-top: 1px solid @hr-border;
103 | }
104 |
105 |
106 | // Only display content to screen readers
107 | //
108 | // See: http://a11yproject.com/posts/how-to-hide-content/
109 |
110 | .sr-only {
111 | position: absolute;
112 | width: 1px;
113 | height: 1px;
114 | margin: -1px;
115 | padding: 0;
116 | overflow: hidden;
117 | clip: rect(0,0,0,0);
118 | border: 0;
119 | }
120 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/bootstrap/less/thumbnails.less:
--------------------------------------------------------------------------------
1 | //
2 | // Thumbnails
3 | // --------------------------------------------------
4 |
5 |
6 | // Mixin and adjust the regular image class
7 | .thumbnail {
8 | display: block;
9 | padding: @thumbnail-padding;
10 | margin-bottom: @line-height-computed;
11 | line-height: @line-height-base;
12 | background-color: @thumbnail-bg;
13 | border: 1px solid @thumbnail-border;
14 | border-radius: @thumbnail-border-radius;
15 | .transition(all .2s ease-in-out);
16 |
17 | > img,
18 | a > img {
19 | .img-responsive();
20 | margin-left: auto;
21 | margin-right: auto;
22 | }
23 |
24 | // Add a hover state for linked versions only
25 | a&:hover,
26 | a&:focus,
27 | a&.active {
28 | border-color: @link-color;
29 | }
30 |
31 | // Image captions
32 | .caption {
33 | padding: @thumbnail-caption-padding;
34 | color: @thumbnail-caption-color;
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/bootstrap/less/utilities.less:
--------------------------------------------------------------------------------
1 | //
2 | // Utility classes
3 | // --------------------------------------------------
4 |
5 |
6 | // Floats
7 | // -------------------------
8 |
9 | .clearfix {
10 | .clearfix();
11 | }
12 | .center-block {
13 | .center-block();
14 | }
15 | .pull-right {
16 | float: right !important;
17 | }
18 | .pull-left {
19 | float: left !important;
20 | }
21 |
22 |
23 | // Toggling content
24 | // -------------------------
25 |
26 | // Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
27 | .hide {
28 | display: none !important;
29 | }
30 | .show {
31 | display: block !important;
32 | }
33 | .invisible {
34 | visibility: hidden;
35 | }
36 | .text-hide {
37 | .text-hide();
38 | }
39 |
40 |
41 | // Hide from screenreaders and browsers
42 | //
43 | // Credit: HTML5 Boilerplate
44 |
45 | .hidden {
46 | display: none !important;
47 | visibility: hidden !important;
48 | }
49 |
50 |
51 | // For Affix plugin
52 | // -------------------------
53 |
54 | .affix {
55 | position: fixed;
56 | }
57 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/bootstrap/less/wells.less:
--------------------------------------------------------------------------------
1 | //
2 | // Wells
3 | // --------------------------------------------------
4 |
5 |
6 | // Base class
7 | .well {
8 | min-height: 20px;
9 | padding: 19px;
10 | margin-bottom: 20px;
11 | background-color: @well-bg;
12 | border: 1px solid darken(@well-bg, 7%);
13 | border-radius: @border-radius-base;
14 | .box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
15 | blockquote {
16 | border-color: #ddd;
17 | border-color: rgba(0,0,0,.15);
18 | }
19 | }
20 |
21 | // Sizes
22 | .well-lg {
23 | padding: 24px;
24 | border-radius: @border-radius-large;
25 | }
26 | .well-sm {
27 | padding: 9px;
28 | border-radius: @border-radius-small;
29 | }
30 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/jquery/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jquery",
3 | "version": "2.0.3",
4 | "description": "jQuery component",
5 | "keywords": [
6 | "jquery",
7 | "component"
8 | ],
9 | "main": "jquery.js",
10 | "license": "MIT",
11 | "homepage": "https://github.com/components/jquery",
12 | "_release": "2.0.3",
13 | "_resolution": {
14 | "type": "version",
15 | "tag": "2.0.3",
16 | "commit": "452a56b52b8f4a032256cdb8b6838f25f0bdb3d2"
17 | },
18 | "_source": "git://github.com/components/jquery.git",
19 | "_target": ">= 1.9.0",
20 | "_originalSource": "jquery"
21 | }
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/jquery/.gitignore:
--------------------------------------------------------------------------------
1 | build
2 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/jquery/README.md:
--------------------------------------------------------------------------------
1 | jQuery Component
2 | ================
3 |
4 | Shim repository for the [jQuery](http://jquery.com).
5 |
6 | Package Managers
7 | ----------------
8 |
9 | * [Bower](http://bower.io/): `jquery`
10 | * [Component](https://github.com/component/component): `components/jquery`
11 | * [Composer](http://packagist.org/packages/components/jquery): `components/jquery`
12 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/jquery/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jquery",
3 | "version": "2.0.3",
4 | "description": "jQuery component",
5 | "keywords": [
6 | "jquery",
7 | "component"
8 | ],
9 | "main": "jquery.js",
10 | "license": "MIT"
11 | }
12 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/jquery/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jquery",
3 | "repo": "components/jquery",
4 | "version": "2.0.3",
5 | "description": "jQuery component",
6 | "keywords": [
7 | "jquery",
8 | "component"
9 | ],
10 | "main": "jquery.js",
11 | "scripts": [
12 | "jquery.js"
13 | ],
14 | "license": "MIT"
15 | }
16 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/jquery/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "components/jquery",
3 | "description": "jQuery JavaScript Library",
4 | "type": "component",
5 | "homepage": "http://jquery.com",
6 | "license": "MIT",
7 | "support": {
8 | "irc": "irc://irc.freenode.org/jquery",
9 | "issues": "http://bugs.jquery.com",
10 | "forum": "http://forum.jquery.com",
11 | "wiki": "http://docs.jquery.com/",
12 | "source": "https://github.com/jquery/jquery"
13 | },
14 | "authors": [
15 | {
16 | "name": "John Resig",
17 | "email": "jeresig@gmail.com"
18 | }
19 | ],
20 | "require": {
21 | "robloach/component-installer": "*"
22 | },
23 | "extra": {
24 | "component": {
25 | "scripts": [
26 | "jquery.js"
27 | ],
28 | "files": [
29 | "jquery.min.js",
30 | "jquery-migrate.js",
31 | "jquery-migrate.min.js"
32 | ]
33 | }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/jquery/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "components-jquery",
3 | "version": "2.0.3",
4 | "description": "jQuery component",
5 | "keywords": ["jquery"],
6 | "main": "./jquery.js"
7 | }
8 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "moment",
3 | "version": "2.5.1",
4 | "main": "moment.js",
5 | "ignore": [
6 | "**/.*",
7 | "node_modules",
8 | "bower_components",
9 | "test",
10 | "tests",
11 | "tasks",
12 | "component.json",
13 | "composer.json",
14 | "CONTRIBUTING.md",
15 | "ender.js",
16 | "Gruntfile.js",
17 | "package.js",
18 | "package.json"
19 | ],
20 | "homepage": "https://github.com/moment/moment",
21 | "_release": "2.5.1",
22 | "_resolution": {
23 | "type": "version",
24 | "tag": "2.5.1",
25 | "commit": "5da8066ec789fe5b139ba087650c53e33f39da50"
26 | },
27 | "_source": "git://github.com/moment/moment.git",
28 | "_target": "~2.5.1",
29 | "_originalSource": "moment",
30 | "_direct": true
31 | }
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2011-2013 Tim Wood, Iskren Chernev, Moment.js contributors
2 |
3 | Permission is hereby granted, free of charge, to any person
4 | obtaining a copy of this software and associated documentation
5 | files (the "Software"), to deal in the Software without
6 | restriction, including without limitation the rights to use,
7 | copy, modify, merge, publish, distribute, sublicense, and/or sell
8 | copies of the Software, and to permit persons to whom the
9 | Software is furnished to do so, subject to the following
10 | conditions:
11 |
12 | The above copyright notice and this permission notice shall be
13 | included in all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22 | OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "moment",
3 | "version": "2.5.1",
4 | "main": "moment.js",
5 | "ignore": [
6 | "**/.*",
7 | "node_modules",
8 | "bower_components",
9 | "test",
10 | "tests",
11 | "tasks",
12 | "component.json",
13 | "composer.json",
14 | "CONTRIBUTING.md",
15 | "ender.js",
16 | "Gruntfile.js",
17 | "package.js",
18 | "package.json"
19 | ]
20 | }
21 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/ar-ma.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : Moroccan Arabic (ar-ma)
3 | // author : ElFadili Yassine : https://github.com/ElFadiliY
4 | // author : Abdel Said : https://github.com/abdelsaid
5 |
6 | (function (factory) {
7 | if (typeof define === 'function' && define.amd) {
8 | define(['moment'], factory); // AMD
9 | } else if (typeof exports === 'object') {
10 | module.exports = factory(require('../moment')); // Node
11 | } else {
12 | factory(window.moment); // Browser global
13 | }
14 | }(function (moment) {
15 | return moment.lang('ar-ma', {
16 | months : "يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),
17 | monthsShort : "يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),
18 | weekdays : "الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),
19 | weekdaysShort : "احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),
20 | weekdaysMin : "ح_ن_ث_ر_خ_ج_س".split("_"),
21 | longDateFormat : {
22 | LT : "HH:mm",
23 | L : "DD/MM/YYYY",
24 | LL : "D MMMM YYYY",
25 | LLL : "D MMMM YYYY LT",
26 | LLLL : "dddd D MMMM YYYY LT"
27 | },
28 | calendar : {
29 | sameDay: "[اليوم على الساعة] LT",
30 | nextDay: '[غدا على الساعة] LT',
31 | nextWeek: 'dddd [على الساعة] LT',
32 | lastDay: '[أمس على الساعة] LT',
33 | lastWeek: 'dddd [على الساعة] LT',
34 | sameElse: 'L'
35 | },
36 | relativeTime : {
37 | future : "في %s",
38 | past : "منذ %s",
39 | s : "ثوان",
40 | m : "دقيقة",
41 | mm : "%d دقائق",
42 | h : "ساعة",
43 | hh : "%d ساعات",
44 | d : "يوم",
45 | dd : "%d أيام",
46 | M : "شهر",
47 | MM : "%d أشهر",
48 | y : "سنة",
49 | yy : "%d سنوات"
50 | },
51 | week : {
52 | dow : 6, // Saturday is the first day of the week.
53 | doy : 12 // The week that contains Jan 1st is the first week of the year.
54 | }
55 | });
56 | }));
57 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/ar.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : Arabic (ar)
3 | // author : Abdel Said : https://github.com/abdelsaid
4 | // changes in months, weekdays : Ahmed Elkhatib
5 |
6 | (function (factory) {
7 | if (typeof define === 'function' && define.amd) {
8 | define(['moment'], factory); // AMD
9 | } else if (typeof exports === 'object') {
10 | module.exports = factory(require('../moment')); // Node
11 | } else {
12 | factory(window.moment); // Browser global
13 | }
14 | }(function (moment) {
15 | return moment.lang('ar', {
16 | months : "يناير/ كانون الثاني_فبراير/ شباط_مارس/ آذار_أبريل/ نيسان_مايو/ أيار_يونيو/ حزيران_يوليو/ تموز_أغسطس/ آب_سبتمبر/ أيلول_أكتوبر/ تشرين الأول_نوفمبر/ تشرين الثاني_ديسمبر/ كانون الأول".split("_"),
17 | monthsShort : "يناير/ كانون الثاني_فبراير/ شباط_مارس/ آذار_أبريل/ نيسان_مايو/ أيار_يونيو/ حزيران_يوليو/ تموز_أغسطس/ آب_سبتمبر/ أيلول_أكتوبر/ تشرين الأول_نوفمبر/ تشرين الثاني_ديسمبر/ كانون الأول".split("_"),
18 | weekdays : "الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),
19 | weekdaysShort : "الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),
20 | weekdaysMin : "ح_ن_ث_ر_خ_ج_س".split("_"),
21 | longDateFormat : {
22 | LT : "HH:mm",
23 | L : "DD/MM/YYYY",
24 | LL : "D MMMM YYYY",
25 | LLL : "D MMMM YYYY LT",
26 | LLLL : "dddd D MMMM YYYY LT"
27 | },
28 | calendar : {
29 | sameDay: "[اليوم على الساعة] LT",
30 | nextDay: '[غدا على الساعة] LT',
31 | nextWeek: 'dddd [على الساعة] LT',
32 | lastDay: '[أمس على الساعة] LT',
33 | lastWeek: 'dddd [على الساعة] LT',
34 | sameElse: 'L'
35 | },
36 | relativeTime : {
37 | future : "في %s",
38 | past : "منذ %s",
39 | s : "ثوان",
40 | m : "دقيقة",
41 | mm : "%d دقائق",
42 | h : "ساعة",
43 | hh : "%d ساعات",
44 | d : "يوم",
45 | dd : "%d أيام",
46 | M : "شهر",
47 | MM : "%d أشهر",
48 | y : "سنة",
49 | yy : "%d سنوات"
50 | },
51 | week : {
52 | dow : 6, // Saturday is the first day of the week.
53 | doy : 12 // The week that contains Jan 1st is the first week of the year.
54 | }
55 | });
56 | }));
57 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/cv.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : chuvash (cv)
3 | // author : Anatoly Mironov : https://github.com/mirontoli
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('cv', {
15 | months : "кăрлач_нарăс_пуш_ака_май_çĕртме_утă_çурла_авăн_юпа_чӳк_раштав".split("_"),
16 | monthsShort : "кăр_нар_пуш_ака_май_çĕр_утă_çур_ав_юпа_чӳк_раш".split("_"),
17 | weekdays : "вырсарникун_тунтикун_ытларикун_юнкун_кĕçнерникун_эрнекун_шăматкун".split("_"),
18 | weekdaysShort : "выр_тун_ытл_юн_кĕç_эрн_шăм".split("_"),
19 | weekdaysMin : "вр_тн_ыт_юн_кç_эр_шм".split("_"),
20 | longDateFormat : {
21 | LT : "HH:mm",
22 | L : "DD-MM-YYYY",
23 | LL : "YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ]",
24 | LLL : "YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ], LT",
25 | LLLL : "dddd, YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ], LT"
26 | },
27 | calendar : {
28 | sameDay: '[Паян] LT [сехетре]',
29 | nextDay: '[Ыран] LT [сехетре]',
30 | lastDay: '[Ĕнер] LT [сехетре]',
31 | nextWeek: '[Çитес] dddd LT [сехетре]',
32 | lastWeek: '[Иртнĕ] dddd LT [сехетре]',
33 | sameElse: 'L'
34 | },
35 | relativeTime : {
36 | future : function (output) {
37 | var affix = /сехет$/i.exec(output) ? "рен" : /çул$/i.exec(output) ? "тан" : "ран";
38 | return output + affix;
39 | },
40 | past : "%s каялла",
41 | s : "пĕр-ик çеккунт",
42 | m : "пĕр минут",
43 | mm : "%d минут",
44 | h : "пĕр сехет",
45 | hh : "%d сехет",
46 | d : "пĕр кун",
47 | dd : "%d кун",
48 | M : "пĕр уйăх",
49 | MM : "%d уйăх",
50 | y : "пĕр çул",
51 | yy : "%d çул"
52 | },
53 | ordinal : '%d-мĕш',
54 | week : {
55 | dow : 1, // Monday is the first day of the week.
56 | doy : 7 // The week that contains Jan 1st is the first week of the year.
57 | }
58 | });
59 | }));
60 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/da.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : danish (da)
3 | // author : Ulrik Nielsen : https://github.com/mrbase
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('da', {
15 | months : "januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),
16 | monthsShort : "jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),
17 | weekdays : "søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),
18 | weekdaysShort : "søn_man_tir_ons_tor_fre_lør".split("_"),
19 | weekdaysMin : "sø_ma_ti_on_to_fr_lø".split("_"),
20 | longDateFormat : {
21 | LT : "HH:mm",
22 | L : "DD/MM/YYYY",
23 | LL : "D MMMM YYYY",
24 | LLL : "D MMMM YYYY LT",
25 | LLLL : "dddd D. MMMM, YYYY LT"
26 | },
27 | calendar : {
28 | sameDay : '[I dag kl.] LT',
29 | nextDay : '[I morgen kl.] LT',
30 | nextWeek : 'dddd [kl.] LT',
31 | lastDay : '[I går kl.] LT',
32 | lastWeek : '[sidste] dddd [kl] LT',
33 | sameElse : 'L'
34 | },
35 | relativeTime : {
36 | future : "om %s",
37 | past : "%s siden",
38 | s : "få sekunder",
39 | m : "et minut",
40 | mm : "%d minutter",
41 | h : "en time",
42 | hh : "%d timer",
43 | d : "en dag",
44 | dd : "%d dage",
45 | M : "en måned",
46 | MM : "%d måneder",
47 | y : "et år",
48 | yy : "%d år"
49 | },
50 | ordinal : '%d.',
51 | week : {
52 | dow : 1, // Monday is the first day of the week.
53 | doy : 4 // The week that contains Jan 4th is the first week of the year.
54 | }
55 | });
56 | }));
57 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/en-au.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : australian english (en-au)
3 |
4 | (function (factory) {
5 | if (typeof define === 'function' && define.amd) {
6 | define(['moment'], factory); // AMD
7 | } else if (typeof exports === 'object') {
8 | module.exports = factory(require('../moment')); // Node
9 | } else {
10 | factory(window.moment); // Browser global
11 | }
12 | }(function (moment) {
13 | return moment.lang('en-au', {
14 | months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
15 | monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
16 | weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
17 | weekdaysShort : "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
18 | weekdaysMin : "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
19 | longDateFormat : {
20 | LT : "h:mm A",
21 | L : "DD/MM/YYYY",
22 | LL : "D MMMM YYYY",
23 | LLL : "D MMMM YYYY LT",
24 | LLLL : "dddd, D MMMM YYYY LT"
25 | },
26 | calendar : {
27 | sameDay : '[Today at] LT',
28 | nextDay : '[Tomorrow at] LT',
29 | nextWeek : 'dddd [at] LT',
30 | lastDay : '[Yesterday at] LT',
31 | lastWeek : '[Last] dddd [at] LT',
32 | sameElse : 'L'
33 | },
34 | relativeTime : {
35 | future : "in %s",
36 | past : "%s ago",
37 | s : "a few seconds",
38 | m : "a minute",
39 | mm : "%d minutes",
40 | h : "an hour",
41 | hh : "%d hours",
42 | d : "a day",
43 | dd : "%d days",
44 | M : "a month",
45 | MM : "%d months",
46 | y : "a year",
47 | yy : "%d years"
48 | },
49 | ordinal : function (number) {
50 | var b = number % 10,
51 | output = (~~ (number % 100 / 10) === 1) ? 'th' :
52 | (b === 1) ? 'st' :
53 | (b === 2) ? 'nd' :
54 | (b === 3) ? 'rd' : 'th';
55 | return number + output;
56 | },
57 | week : {
58 | dow : 1, // Monday is the first day of the week.
59 | doy : 4 // The week that contains Jan 4th is the first week of the year.
60 | }
61 | });
62 | }));
63 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/en-ca.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : canadian english (en-ca)
3 | // author : Jonathan Abourbih : https://github.com/jonbca
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('en-ca', {
15 | months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
16 | monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
17 | weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
18 | weekdaysShort : "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
19 | weekdaysMin : "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
20 | longDateFormat : {
21 | LT : "h:mm A",
22 | L : "YYYY-MM-DD",
23 | LL : "D MMMM, YYYY",
24 | LLL : "D MMMM, YYYY LT",
25 | LLLL : "dddd, D MMMM, YYYY LT"
26 | },
27 | calendar : {
28 | sameDay : '[Today at] LT',
29 | nextDay : '[Tomorrow at] LT',
30 | nextWeek : 'dddd [at] LT',
31 | lastDay : '[Yesterday at] LT',
32 | lastWeek : '[Last] dddd [at] LT',
33 | sameElse : 'L'
34 | },
35 | relativeTime : {
36 | future : "in %s",
37 | past : "%s ago",
38 | s : "a few seconds",
39 | m : "a minute",
40 | mm : "%d minutes",
41 | h : "an hour",
42 | hh : "%d hours",
43 | d : "a day",
44 | dd : "%d days",
45 | M : "a month",
46 | MM : "%d months",
47 | y : "a year",
48 | yy : "%d years"
49 | },
50 | ordinal : function (number) {
51 | var b = number % 10,
52 | output = (~~ (number % 100 / 10) === 1) ? 'th' :
53 | (b === 1) ? 'st' :
54 | (b === 2) ? 'nd' :
55 | (b === 3) ? 'rd' : 'th';
56 | return number + output;
57 | }
58 | });
59 | }));
60 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/en-gb.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : great britain english (en-gb)
3 | // author : Chris Gedrim : https://github.com/chrisgedrim
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('en-gb', {
15 | months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
16 | monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
17 | weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
18 | weekdaysShort : "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
19 | weekdaysMin : "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
20 | longDateFormat : {
21 | LT : "HH:mm",
22 | L : "DD/MM/YYYY",
23 | LL : "D MMMM YYYY",
24 | LLL : "D MMMM YYYY LT",
25 | LLLL : "dddd, D MMMM YYYY LT"
26 | },
27 | calendar : {
28 | sameDay : '[Today at] LT',
29 | nextDay : '[Tomorrow at] LT',
30 | nextWeek : 'dddd [at] LT',
31 | lastDay : '[Yesterday at] LT',
32 | lastWeek : '[Last] dddd [at] LT',
33 | sameElse : 'L'
34 | },
35 | relativeTime : {
36 | future : "in %s",
37 | past : "%s ago",
38 | s : "a few seconds",
39 | m : "a minute",
40 | mm : "%d minutes",
41 | h : "an hour",
42 | hh : "%d hours",
43 | d : "a day",
44 | dd : "%d days",
45 | M : "a month",
46 | MM : "%d months",
47 | y : "a year",
48 | yy : "%d years"
49 | },
50 | ordinal : function (number) {
51 | var b = number % 10,
52 | output = (~~ (number % 100 / 10) === 1) ? 'th' :
53 | (b === 1) ? 'st' :
54 | (b === 2) ? 'nd' :
55 | (b === 3) ? 'rd' : 'th';
56 | return number + output;
57 | },
58 | week : {
59 | dow : 1, // Monday is the first day of the week.
60 | doy : 4 // The week that contains Jan 4th is the first week of the year.
61 | }
62 | });
63 | }));
64 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/eu.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : euskara (eu)
3 | // author : Eneko Illarramendi : https://github.com/eillarra
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('eu', {
15 | months : "urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),
16 | monthsShort : "urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),
17 | weekdays : "igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),
18 | weekdaysShort : "ig._al._ar._az._og._ol._lr.".split("_"),
19 | weekdaysMin : "ig_al_ar_az_og_ol_lr".split("_"),
20 | longDateFormat : {
21 | LT : "HH:mm",
22 | L : "YYYY-MM-DD",
23 | LL : "YYYY[ko] MMMM[ren] D[a]",
24 | LLL : "YYYY[ko] MMMM[ren] D[a] LT",
25 | LLLL : "dddd, YYYY[ko] MMMM[ren] D[a] LT",
26 | l : "YYYY-M-D",
27 | ll : "YYYY[ko] MMM D[a]",
28 | lll : "YYYY[ko] MMM D[a] LT",
29 | llll : "ddd, YYYY[ko] MMM D[a] LT"
30 | },
31 | calendar : {
32 | sameDay : '[gaur] LT[etan]',
33 | nextDay : '[bihar] LT[etan]',
34 | nextWeek : 'dddd LT[etan]',
35 | lastDay : '[atzo] LT[etan]',
36 | lastWeek : '[aurreko] dddd LT[etan]',
37 | sameElse : 'L'
38 | },
39 | relativeTime : {
40 | future : "%s barru",
41 | past : "duela %s",
42 | s : "segundo batzuk",
43 | m : "minutu bat",
44 | mm : "%d minutu",
45 | h : "ordu bat",
46 | hh : "%d ordu",
47 | d : "egun bat",
48 | dd : "%d egun",
49 | M : "hilabete bat",
50 | MM : "%d hilabete",
51 | y : "urte bat",
52 | yy : "%d urte"
53 | },
54 | ordinal : '%d.',
55 | week : {
56 | dow : 1, // Monday is the first day of the week.
57 | doy : 7 // The week that contains Jan 1st is the first week of the year.
58 | }
59 | });
60 | }));
61 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/fo.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : faroese (fo)
3 | // author : Ragnar Johannesen : https://github.com/ragnar123
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('fo', {
15 | months : "januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),
16 | monthsShort : "jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),
17 | weekdays : "sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),
18 | weekdaysShort : "sun_mán_týs_mik_hós_frí_ley".split("_"),
19 | weekdaysMin : "su_má_tý_mi_hó_fr_le".split("_"),
20 | longDateFormat : {
21 | LT : "HH:mm",
22 | L : "DD/MM/YYYY",
23 | LL : "D MMMM YYYY",
24 | LLL : "D MMMM YYYY LT",
25 | LLLL : "dddd D. MMMM, YYYY LT"
26 | },
27 | calendar : {
28 | sameDay : '[Í dag kl.] LT',
29 | nextDay : '[Í morgin kl.] LT',
30 | nextWeek : 'dddd [kl.] LT',
31 | lastDay : '[Í gjár kl.] LT',
32 | lastWeek : '[síðstu] dddd [kl] LT',
33 | sameElse : 'L'
34 | },
35 | relativeTime : {
36 | future : "um %s",
37 | past : "%s síðani",
38 | s : "fá sekund",
39 | m : "ein minutt",
40 | mm : "%d minuttir",
41 | h : "ein tími",
42 | hh : "%d tímar",
43 | d : "ein dagur",
44 | dd : "%d dagar",
45 | M : "ein mánaði",
46 | MM : "%d mánaðir",
47 | y : "eitt ár",
48 | yy : "%d ár"
49 | },
50 | ordinal : '%d.',
51 | week : {
52 | dow : 1, // Monday is the first day of the week.
53 | doy : 4 // The week that contains Jan 4th is the first week of the year.
54 | }
55 | });
56 | }));
57 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/fr-ca.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : canadian french (fr-ca)
3 | // author : Jonathan Abourbih : https://github.com/jonbca
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('fr-ca', {
15 | months : "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),
16 | monthsShort : "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
17 | weekdays : "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
18 | weekdaysShort : "dim._lun._mar._mer._jeu._ven._sam.".split("_"),
19 | weekdaysMin : "Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),
20 | longDateFormat : {
21 | LT : "HH:mm",
22 | L : "YYYY-MM-DD",
23 | LL : "D MMMM YYYY",
24 | LLL : "D MMMM YYYY LT",
25 | LLLL : "dddd D MMMM YYYY LT"
26 | },
27 | calendar : {
28 | sameDay: "[Aujourd'hui à] LT",
29 | nextDay: '[Demain à] LT',
30 | nextWeek: 'dddd [à] LT',
31 | lastDay: '[Hier à] LT',
32 | lastWeek: 'dddd [dernier à] LT',
33 | sameElse: 'L'
34 | },
35 | relativeTime : {
36 | future : "dans %s",
37 | past : "il y a %s",
38 | s : "quelques secondes",
39 | m : "une minute",
40 | mm : "%d minutes",
41 | h : "une heure",
42 | hh : "%d heures",
43 | d : "un jour",
44 | dd : "%d jours",
45 | M : "un mois",
46 | MM : "%d mois",
47 | y : "un an",
48 | yy : "%d ans"
49 | },
50 | ordinal : function (number) {
51 | return number + (number === 1 ? 'er' : '');
52 | }
53 | });
54 | }));
55 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/fr.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : french (fr)
3 | // author : John Fischer : https://github.com/jfroffice
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('fr', {
15 | months : "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),
16 | monthsShort : "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
17 | weekdays : "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
18 | weekdaysShort : "dim._lun._mar._mer._jeu._ven._sam.".split("_"),
19 | weekdaysMin : "Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),
20 | longDateFormat : {
21 | LT : "HH:mm",
22 | L : "DD/MM/YYYY",
23 | LL : "D MMMM YYYY",
24 | LLL : "D MMMM YYYY LT",
25 | LLLL : "dddd D MMMM YYYY LT"
26 | },
27 | calendar : {
28 | sameDay: "[Aujourd'hui à] LT",
29 | nextDay: '[Demain à] LT',
30 | nextWeek: 'dddd [à] LT',
31 | lastDay: '[Hier à] LT',
32 | lastWeek: 'dddd [dernier à] LT',
33 | sameElse: 'L'
34 | },
35 | relativeTime : {
36 | future : "dans %s",
37 | past : "il y a %s",
38 | s : "quelques secondes",
39 | m : "une minute",
40 | mm : "%d minutes",
41 | h : "une heure",
42 | hh : "%d heures",
43 | d : "un jour",
44 | dd : "%d jours",
45 | M : "un mois",
46 | MM : "%d mois",
47 | y : "un an",
48 | yy : "%d ans"
49 | },
50 | ordinal : function (number) {
51 | return number + (number === 1 ? 'er' : '');
52 | },
53 | week : {
54 | dow : 1, // Monday is the first day of the week.
55 | doy : 4 // The week that contains Jan 4th is the first week of the year.
56 | }
57 | });
58 | }));
59 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/it.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : italian (it)
3 | // author : Lorenzo : https://github.com/aliem
4 | // author: Mattia Larentis: https://github.com/nostalgiaz
5 |
6 | (function (factory) {
7 | if (typeof define === 'function' && define.amd) {
8 | define(['moment'], factory); // AMD
9 | } else if (typeof exports === 'object') {
10 | module.exports = factory(require('../moment')); // Node
11 | } else {
12 | factory(window.moment); // Browser global
13 | }
14 | }(function (moment) {
15 | return moment.lang('it', {
16 | months : "Gennaio_Febbraio_Marzo_Aprile_Maggio_Giugno_Luglio_Agosto_Settembre_Ottobre_Novembre_Dicembre".split("_"),
17 | monthsShort : "Gen_Feb_Mar_Apr_Mag_Giu_Lug_Ago_Set_Ott_Nov_Dic".split("_"),
18 | weekdays : "Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),
19 | weekdaysShort : "Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),
20 | weekdaysMin : "D_L_Ma_Me_G_V_S".split("_"),
21 | longDateFormat : {
22 | LT : "HH:mm",
23 | L : "DD/MM/YYYY",
24 | LL : "D MMMM YYYY",
25 | LLL : "D MMMM YYYY LT",
26 | LLLL : "dddd, D MMMM YYYY LT"
27 | },
28 | calendar : {
29 | sameDay: '[Oggi alle] LT',
30 | nextDay: '[Domani alle] LT',
31 | nextWeek: 'dddd [alle] LT',
32 | lastDay: '[Ieri alle] LT',
33 | lastWeek: '[lo scorso] dddd [alle] LT',
34 | sameElse: 'L'
35 | },
36 | relativeTime : {
37 | future : function (s) {
38 | return ((/^[0-9].+$/).test(s) ? "tra" : "in") + " " + s;
39 | },
40 | past : "%s fa",
41 | s : "alcuni secondi",
42 | m : "un minuto",
43 | mm : "%d minuti",
44 | h : "un'ora",
45 | hh : "%d ore",
46 | d : "un giorno",
47 | dd : "%d giorni",
48 | M : "un mese",
49 | MM : "%d mesi",
50 | y : "un anno",
51 | yy : "%d anni"
52 | },
53 | ordinal: '%dº',
54 | week : {
55 | dow : 1, // Monday is the first day of the week.
56 | doy : 4 // The week that contains Jan 4th is the first week of the year.
57 | }
58 | });
59 | }));
60 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/ja.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : japanese (ja)
3 | // author : LI Long : https://github.com/baryon
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('ja', {
15 | months : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
16 | monthsShort : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
17 | weekdays : "日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),
18 | weekdaysShort : "日_月_火_水_木_金_土".split("_"),
19 | weekdaysMin : "日_月_火_水_木_金_土".split("_"),
20 | longDateFormat : {
21 | LT : "Ah時m分",
22 | L : "YYYY/MM/DD",
23 | LL : "YYYY年M月D日",
24 | LLL : "YYYY年M月D日LT",
25 | LLLL : "YYYY年M月D日LT dddd"
26 | },
27 | meridiem : function (hour, minute, isLower) {
28 | if (hour < 12) {
29 | return "午前";
30 | } else {
31 | return "午後";
32 | }
33 | },
34 | calendar : {
35 | sameDay : '[今日] LT',
36 | nextDay : '[明日] LT',
37 | nextWeek : '[来週]dddd LT',
38 | lastDay : '[昨日] LT',
39 | lastWeek : '[前週]dddd LT',
40 | sameElse : 'L'
41 | },
42 | relativeTime : {
43 | future : "%s後",
44 | past : "%s前",
45 | s : "数秒",
46 | m : "1分",
47 | mm : "%d分",
48 | h : "1時間",
49 | hh : "%d時間",
50 | d : "1日",
51 | dd : "%d日",
52 | M : "1ヶ月",
53 | MM : "%dヶ月",
54 | y : "1年",
55 | yy : "%d年"
56 | }
57 | });
58 | }));
59 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/ko.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : korean (ko)
3 | //
4 | // authors
5 | //
6 | // - Kyungwook, Park : https://github.com/kyungw00k
7 | // - Jeeeyul Lee
8 | (function (factory) {
9 | if (typeof define === 'function' && define.amd) {
10 | define(['moment'], factory); // AMD
11 | } else if (typeof exports === 'object') {
12 | module.exports = factory(require('../moment')); // Node
13 | } else {
14 | factory(window.moment); // Browser global
15 | }
16 | }(function (moment) {
17 | return moment.lang('ko', {
18 | months : "1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),
19 | monthsShort : "1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),
20 | weekdays : "일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),
21 | weekdaysShort : "일_월_화_수_목_금_토".split("_"),
22 | weekdaysMin : "일_월_화_수_목_금_토".split("_"),
23 | longDateFormat : {
24 | LT : "A h시 mm분",
25 | L : "YYYY.MM.DD",
26 | LL : "YYYY년 MMMM D일",
27 | LLL : "YYYY년 MMMM D일 LT",
28 | LLLL : "YYYY년 MMMM D일 dddd LT"
29 | },
30 | meridiem : function (hour, minute, isUpper) {
31 | return hour < 12 ? '오전' : '오후';
32 | },
33 | calendar : {
34 | sameDay : '오늘 LT',
35 | nextDay : '내일 LT',
36 | nextWeek : 'dddd LT',
37 | lastDay : '어제 LT',
38 | lastWeek : '지난주 dddd LT',
39 | sameElse : 'L'
40 | },
41 | relativeTime : {
42 | future : "%s 후",
43 | past : "%s 전",
44 | s : "몇초",
45 | ss : "%d초",
46 | m : "일분",
47 | mm : "%d분",
48 | h : "한시간",
49 | hh : "%d시간",
50 | d : "하루",
51 | dd : "%d일",
52 | M : "한달",
53 | MM : "%d달",
54 | y : "일년",
55 | yy : "%d년"
56 | },
57 | ordinal : '%d일',
58 | meridiemParse : /(오전|오후)/,
59 | isPM : function (token) {
60 | return token === "오후";
61 | }
62 | });
63 | }));
64 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/ml.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : malayalam (ml)
3 | // author : Floyd Pink : https://github.com/floydpink
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('ml', {
15 | months : 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split("_"),
16 | monthsShort : 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split("_"),
17 | weekdays : 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split("_"),
18 | weekdaysShort : 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split("_"),
19 | weekdaysMin : 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split("_"),
20 | longDateFormat : {
21 | LT : "A h:mm -നു",
22 | L : "DD/MM/YYYY",
23 | LL : "D MMMM YYYY",
24 | LLL : "D MMMM YYYY, LT",
25 | LLLL : "dddd, D MMMM YYYY, LT"
26 | },
27 | calendar : {
28 | sameDay : '[ഇന്ന്] LT',
29 | nextDay : '[നാളെ] LT',
30 | nextWeek : 'dddd, LT',
31 | lastDay : '[ഇന്നലെ] LT',
32 | lastWeek : '[കഴിഞ്ഞ] dddd, LT',
33 | sameElse : 'L'
34 | },
35 | relativeTime : {
36 | future : "%s കഴിഞ്ഞ്",
37 | past : "%s മുൻപ്",
38 | s : "അൽപ നിമിഷങ്ങൾ",
39 | m : "ഒരു മിനിറ്റ്",
40 | mm : "%d മിനിറ്റ്",
41 | h : "ഒരു മണിക്കൂർ",
42 | hh : "%d മണിക്കൂർ",
43 | d : "ഒരു ദിവസം",
44 | dd : "%d ദിവസം",
45 | M : "ഒരു മാസം",
46 | MM : "%d മാസം",
47 | y : "ഒരു വർഷം",
48 | yy : "%d വർഷം"
49 | },
50 | meridiem : function (hour, minute, isLower) {
51 | if (hour < 4) {
52 | return "രാത്രി";
53 | } else if (hour < 12) {
54 | return "രാവിലെ";
55 | } else if (hour < 17) {
56 | return "ഉച്ച കഴിഞ്ഞ്";
57 | } else if (hour < 20) {
58 | return "വൈകുന്നേരം";
59 | } else {
60 | return "രാത്രി";
61 | }
62 | }
63 | });
64 | }));
65 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/nb.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : norwegian bokmål (nb)
3 | // authors : Espen Hovlandsdal : https://github.com/rexxars
4 | // Sigurd Gartmann : https://github.com/sigurdga
5 |
6 | (function (factory) {
7 | if (typeof define === 'function' && define.amd) {
8 | define(['moment'], factory); // AMD
9 | } else if (typeof exports === 'object') {
10 | module.exports = factory(require('../moment')); // Node
11 | } else {
12 | factory(window.moment); // Browser global
13 | }
14 | }(function (moment) {
15 | return moment.lang('nb', {
16 | months : "januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),
17 | monthsShort : "jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),
18 | weekdays : "søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),
19 | weekdaysShort : "sø._ma._ti._on._to._fr._lø.".split("_"),
20 | weekdaysMin : "sø_ma_ti_on_to_fr_lø".split("_"),
21 | longDateFormat : {
22 | LT : "H.mm",
23 | L : "DD.MM.YYYY",
24 | LL : "D. MMMM YYYY",
25 | LLL : "D. MMMM YYYY [kl.] LT",
26 | LLLL : "dddd D. MMMM YYYY [kl.] LT"
27 | },
28 | calendar : {
29 | sameDay: '[i dag kl.] LT',
30 | nextDay: '[i morgen kl.] LT',
31 | nextWeek: 'dddd [kl.] LT',
32 | lastDay: '[i går kl.] LT',
33 | lastWeek: '[forrige] dddd [kl.] LT',
34 | sameElse: 'L'
35 | },
36 | relativeTime : {
37 | future : "om %s",
38 | past : "for %s siden",
39 | s : "noen sekunder",
40 | m : "ett minutt",
41 | mm : "%d minutter",
42 | h : "en time",
43 | hh : "%d timer",
44 | d : "en dag",
45 | dd : "%d dager",
46 | M : "en måned",
47 | MM : "%d måneder",
48 | y : "ett år",
49 | yy : "%d år"
50 | },
51 | ordinal : '%d.',
52 | week : {
53 | dow : 1, // Monday is the first day of the week.
54 | doy : 4 // The week that contains Jan 4th is the first week of the year.
55 | }
56 | });
57 | }));
58 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/nn.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : norwegian nynorsk (nn)
3 | // author : https://github.com/mechuwind
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('nn', {
15 | months : "januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),
16 | monthsShort : "jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),
17 | weekdays : "sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),
18 | weekdaysShort : "sun_mån_tys_ons_tor_fre_lau".split("_"),
19 | weekdaysMin : "su_må_ty_on_to_fr_lø".split("_"),
20 | longDateFormat : {
21 | LT : "HH:mm",
22 | L : "DD.MM.YYYY",
23 | LL : "D MMMM YYYY",
24 | LLL : "D MMMM YYYY LT",
25 | LLLL : "dddd D MMMM YYYY LT"
26 | },
27 | calendar : {
28 | sameDay: '[I dag klokka] LT',
29 | nextDay: '[I morgon klokka] LT',
30 | nextWeek: 'dddd [klokka] LT',
31 | lastDay: '[I går klokka] LT',
32 | lastWeek: '[Føregående] dddd [klokka] LT',
33 | sameElse: 'L'
34 | },
35 | relativeTime : {
36 | future : "om %s",
37 | past : "for %s siden",
38 | s : "noen sekund",
39 | m : "ett minutt",
40 | mm : "%d minutt",
41 | h : "en time",
42 | hh : "%d timar",
43 | d : "en dag",
44 | dd : "%d dagar",
45 | M : "en månad",
46 | MM : "%d månader",
47 | y : "ett år",
48 | yy : "%d år"
49 | },
50 | ordinal : '%d.',
51 | week : {
52 | dow : 1, // Monday is the first day of the week.
53 | doy : 4 // The week that contains Jan 4th is the first week of the year.
54 | }
55 | });
56 | }));
57 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/pt-br.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : brazilian portuguese (pt-br)
3 | // author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('pt-br', {
15 | months : "Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),
16 | monthsShort : "Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),
17 | weekdays : "Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),
18 | weekdaysShort : "Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),
19 | weekdaysMin : "Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),
20 | longDateFormat : {
21 | LT : "HH:mm",
22 | L : "DD/MM/YYYY",
23 | LL : "D [de] MMMM [de] YYYY",
24 | LLL : "D [de] MMMM [de] YYYY LT",
25 | LLLL : "dddd, D [de] MMMM [de] YYYY LT"
26 | },
27 | calendar : {
28 | sameDay: '[Hoje às] LT',
29 | nextDay: '[Amanhã às] LT',
30 | nextWeek: 'dddd [às] LT',
31 | lastDay: '[Ontem às] LT',
32 | lastWeek: function () {
33 | return (this.day() === 0 || this.day() === 6) ?
34 | '[Último] dddd [às] LT' : // Saturday + Sunday
35 | '[Última] dddd [às] LT'; // Monday - Friday
36 | },
37 | sameElse: 'L'
38 | },
39 | relativeTime : {
40 | future : "em %s",
41 | past : "%s atrás",
42 | s : "segundos",
43 | m : "um minuto",
44 | mm : "%d minutos",
45 | h : "uma hora",
46 | hh : "%d horas",
47 | d : "um dia",
48 | dd : "%d dias",
49 | M : "um mês",
50 | MM : "%d meses",
51 | y : "um ano",
52 | yy : "%d anos"
53 | },
54 | ordinal : '%dº'
55 | });
56 | }));
57 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/pt.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : portuguese (pt)
3 | // author : Jefferson : https://github.com/jalex79
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('pt', {
15 | months : "Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),
16 | monthsShort : "Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),
17 | weekdays : "Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),
18 | weekdaysShort : "Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),
19 | weekdaysMin : "Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),
20 | longDateFormat : {
21 | LT : "HH:mm",
22 | L : "DD/MM/YYYY",
23 | LL : "D [de] MMMM [de] YYYY",
24 | LLL : "D [de] MMMM [de] YYYY LT",
25 | LLLL : "dddd, D [de] MMMM [de] YYYY LT"
26 | },
27 | calendar : {
28 | sameDay: '[Hoje às] LT',
29 | nextDay: '[Amanhã às] LT',
30 | nextWeek: 'dddd [às] LT',
31 | lastDay: '[Ontem às] LT',
32 | lastWeek: function () {
33 | return (this.day() === 0 || this.day() === 6) ?
34 | '[Último] dddd [às] LT' : // Saturday + Sunday
35 | '[Última] dddd [às] LT'; // Monday - Friday
36 | },
37 | sameElse: 'L'
38 | },
39 | relativeTime : {
40 | future : "em %s",
41 | past : "%s atrás",
42 | s : "segundos",
43 | m : "um minuto",
44 | mm : "%d minutos",
45 | h : "uma hora",
46 | hh : "%d horas",
47 | d : "um dia",
48 | dd : "%d dias",
49 | M : "um mês",
50 | MM : "%d meses",
51 | y : "um ano",
52 | yy : "%d anos"
53 | },
54 | ordinal : '%dº',
55 | week : {
56 | dow : 1, // Monday is the first day of the week.
57 | doy : 4 // The week that contains Jan 4th is the first week of the year.
58 | }
59 | });
60 | }));
61 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/sq.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : Albanian (sq)
3 | // author : Flakërim Ismani : https://github.com/flakerimi
4 | // author: Menelion Elensúle: https://github.com/Oire (tests)
5 |
6 | (function (factory) {
7 | if (typeof define === 'function' && define.amd) {
8 | define(['moment'], factory); // AMD
9 | } else if (typeof exports === 'object') {
10 | module.exports = factory(require('../moment')); // Node
11 | } else {
12 | factory(window.moment); // Browser global
13 | }
14 | }(function (moment) {
15 | return moment.lang('sq', {
16 | months : "Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),
17 | monthsShort : "Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),
18 | weekdays : "E Diel_E Hënë_E Marte_E Mërkure_E Enjte_E Premte_E Shtunë".split("_"),
19 | weekdaysShort : "Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),
20 | weekdaysMin : "D_H_Ma_Më_E_P_Sh".split("_"),
21 | longDateFormat : {
22 | LT : "HH:mm",
23 | L : "DD/MM/YYYY",
24 | LL : "D MMMM YYYY",
25 | LLL : "D MMMM YYYY LT",
26 | LLLL : "dddd, D MMMM YYYY LT"
27 | },
28 | calendar : {
29 | sameDay : '[Sot në] LT',
30 | nextDay : '[Neser në] LT',
31 | nextWeek : 'dddd [në] LT',
32 | lastDay : '[Dje në] LT',
33 | lastWeek : 'dddd [e kaluar në] LT',
34 | sameElse : 'L'
35 | },
36 | relativeTime : {
37 | future : "në %s",
38 | past : "%s me parë",
39 | s : "disa sekonda",
40 | m : "një minut",
41 | mm : "%d minuta",
42 | h : "një orë",
43 | hh : "%d orë",
44 | d : "një ditë",
45 | dd : "%d ditë",
46 | M : "një muaj",
47 | MM : "%d muaj",
48 | y : "një vit",
49 | yy : "%d vite"
50 | },
51 | ordinal : '%d.',
52 | week : {
53 | dow : 1, // Monday is the first day of the week.
54 | doy : 4 // The week that contains Jan 4th is the first week of the year.
55 | }
56 | });
57 | }));
58 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/sv.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : swedish (sv)
3 | // author : Jens Alm : https://github.com/ulmus
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('sv', {
15 | months : "januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),
16 | monthsShort : "jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),
17 | weekdays : "söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),
18 | weekdaysShort : "sön_mån_tis_ons_tor_fre_lör".split("_"),
19 | weekdaysMin : "sö_må_ti_on_to_fr_lö".split("_"),
20 | longDateFormat : {
21 | LT : "HH:mm",
22 | L : "YYYY-MM-DD",
23 | LL : "D MMMM YYYY",
24 | LLL : "D MMMM YYYY LT",
25 | LLLL : "dddd D MMMM YYYY LT"
26 | },
27 | calendar : {
28 | sameDay: '[Idag] LT',
29 | nextDay: '[Imorgon] LT',
30 | lastDay: '[Igår] LT',
31 | nextWeek: 'dddd LT',
32 | lastWeek: '[Förra] dddd[en] LT',
33 | sameElse: 'L'
34 | },
35 | relativeTime : {
36 | future : "om %s",
37 | past : "för %s sedan",
38 | s : "några sekunder",
39 | m : "en minut",
40 | mm : "%d minuter",
41 | h : "en timme",
42 | hh : "%d timmar",
43 | d : "en dag",
44 | dd : "%d dagar",
45 | M : "en månad",
46 | MM : "%d månader",
47 | y : "ett år",
48 | yy : "%d år"
49 | },
50 | ordinal : function (number) {
51 | var b = number % 10,
52 | output = (~~ (number % 100 / 10) === 1) ? 'e' :
53 | (b === 1) ? 'a' :
54 | (b === 2) ? 'a' :
55 | (b === 3) ? 'e' : 'e';
56 | return number + output;
57 | },
58 | week : {
59 | dow : 1, // Monday is the first day of the week.
60 | doy : 4 // The week that contains Jan 4th is the first week of the year.
61 | }
62 | });
63 | }));
64 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/th.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : thai (th)
3 | // author : Kridsada Thanabulpong : https://github.com/sirn
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('th', {
15 | months : "มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),
16 | monthsShort : "มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา".split("_"),
17 | weekdays : "อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),
18 | weekdaysShort : "อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"), // yes, three characters difference
19 | weekdaysMin : "อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),
20 | longDateFormat : {
21 | LT : "H นาฬิกา m นาที",
22 | L : "YYYY/MM/DD",
23 | LL : "D MMMM YYYY",
24 | LLL : "D MMMM YYYY เวลา LT",
25 | LLLL : "วันddddที่ D MMMM YYYY เวลา LT"
26 | },
27 | meridiem : function (hour, minute, isLower) {
28 | if (hour < 12) {
29 | return "ก่อนเที่ยง";
30 | } else {
31 | return "หลังเที่ยง";
32 | }
33 | },
34 | calendar : {
35 | sameDay : '[วันนี้ เวลา] LT',
36 | nextDay : '[พรุ่งนี้ เวลา] LT',
37 | nextWeek : 'dddd[หน้า เวลา] LT',
38 | lastDay : '[เมื่อวานนี้ เวลา] LT',
39 | lastWeek : '[วัน]dddd[ที่แล้ว เวลา] LT',
40 | sameElse : 'L'
41 | },
42 | relativeTime : {
43 | future : "อีก %s",
44 | past : "%sที่แล้ว",
45 | s : "ไม่กี่วินาที",
46 | m : "1 นาที",
47 | mm : "%d นาที",
48 | h : "1 ชั่วโมง",
49 | hh : "%d ชั่วโมง",
50 | d : "1 วัน",
51 | dd : "%d วัน",
52 | M : "1 เดือน",
53 | MM : "%d เดือน",
54 | y : "1 ปี",
55 | yy : "%d ปี"
56 | }
57 | });
58 | }));
59 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/tl-ph.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : Tagalog/Filipino (tl-ph)
3 | // author : Dan Hagman
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('tl-ph', {
15 | months : "Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),
16 | monthsShort : "Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),
17 | weekdays : "Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),
18 | weekdaysShort : "Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),
19 | weekdaysMin : "Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),
20 | longDateFormat : {
21 | LT : "HH:mm",
22 | L : "MM/D/YYYY",
23 | LL : "MMMM D, YYYY",
24 | LLL : "MMMM D, YYYY LT",
25 | LLLL : "dddd, MMMM DD, YYYY LT"
26 | },
27 | calendar : {
28 | sameDay: "[Ngayon sa] LT",
29 | nextDay: '[Bukas sa] LT',
30 | nextWeek: 'dddd [sa] LT',
31 | lastDay: '[Kahapon sa] LT',
32 | lastWeek: 'dddd [huling linggo] LT',
33 | sameElse: 'L'
34 | },
35 | relativeTime : {
36 | future : "sa loob ng %s",
37 | past : "%s ang nakalipas",
38 | s : "ilang segundo",
39 | m : "isang minuto",
40 | mm : "%d minuto",
41 | h : "isang oras",
42 | hh : "%d oras",
43 | d : "isang araw",
44 | dd : "%d araw",
45 | M : "isang buwan",
46 | MM : "%d buwan",
47 | y : "isang taon",
48 | yy : "%d taon"
49 | },
50 | ordinal : function (number) {
51 | return number;
52 | },
53 | week : {
54 | dow : 1, // Monday is the first day of the week.
55 | doy : 4 // The week that contains Jan 4th is the first week of the year.
56 | }
57 | });
58 | }));
59 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/tzm-la.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : Morocco Central Atlas Tamaziɣt in Latin (tzm-la)
3 | // author : Abdel Said : https://github.com/abdelsaid
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('tzm-la', {
15 | months : "innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),
16 | monthsShort : "innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),
17 | weekdays : "asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),
18 | weekdaysShort : "asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),
19 | weekdaysMin : "asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),
20 | longDateFormat : {
21 | LT : "HH:mm",
22 | L : "DD/MM/YYYY",
23 | LL : "D MMMM YYYY",
24 | LLL : "D MMMM YYYY LT",
25 | LLLL : "dddd D MMMM YYYY LT"
26 | },
27 | calendar : {
28 | sameDay: "[asdkh g] LT",
29 | nextDay: '[aska g] LT',
30 | nextWeek: 'dddd [g] LT',
31 | lastDay: '[assant g] LT',
32 | lastWeek: 'dddd [g] LT',
33 | sameElse: 'L'
34 | },
35 | relativeTime : {
36 | future : "dadkh s yan %s",
37 | past : "yan %s",
38 | s : "imik",
39 | m : "minuḍ",
40 | mm : "%d minuḍ",
41 | h : "saɛa",
42 | hh : "%d tassaɛin",
43 | d : "ass",
44 | dd : "%d ossan",
45 | M : "ayowr",
46 | MM : "%d iyyirn",
47 | y : "asgas",
48 | yy : "%d isgasn"
49 | },
50 | week : {
51 | dow : 6, // Saturday is the first day of the week.
52 | doy : 12 // The week that contains Jan 1st is the first week of the year.
53 | }
54 | });
55 | }));
56 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/tzm.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : Morocco Central Atlas Tamaziɣt (tzm)
3 | // author : Abdel Said : https://github.com/abdelsaid
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('tzm', {
15 | months : "ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),
16 | monthsShort : "ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),
17 | weekdays : "ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),
18 | weekdaysShort : "ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),
19 | weekdaysMin : "ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),
20 | longDateFormat : {
21 | LT : "HH:mm",
22 | L : "DD/MM/YYYY",
23 | LL : "D MMMM YYYY",
24 | LLL : "D MMMM YYYY LT",
25 | LLLL : "dddd D MMMM YYYY LT"
26 | },
27 | calendar : {
28 | sameDay: "[ⴰⵙⴷⵅ ⴴ] LT",
29 | nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
30 | nextWeek: 'dddd [ⴴ] LT',
31 | lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
32 | lastWeek: 'dddd [ⴴ] LT',
33 | sameElse: 'L'
34 | },
35 | relativeTime : {
36 | future : "ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",
37 | past : "ⵢⴰⵏ %s",
38 | s : "ⵉⵎⵉⴽ",
39 | m : "ⵎⵉⵏⵓⴺ",
40 | mm : "%d ⵎⵉⵏⵓⴺ",
41 | h : "ⵙⴰⵄⴰ",
42 | hh : "%d ⵜⴰⵙⵙⴰⵄⵉⵏ",
43 | d : "ⴰⵙⵙ",
44 | dd : "%d oⵙⵙⴰⵏ",
45 | M : "ⴰⵢoⵓⵔ",
46 | MM : "%d ⵉⵢⵢⵉⵔⵏ",
47 | y : "ⴰⵙⴳⴰⵙ",
48 | yy : "%d ⵉⵙⴳⴰⵙⵏ"
49 | },
50 | week : {
51 | dow : 6, // Saturday is the first day of the week.
52 | doy : 12 // The week that contains Jan 1st is the first week of the year.
53 | }
54 | });
55 | }));
56 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/uz.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : uzbek
3 | // author : Sardor Muminov : https://github.com/muminoff
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('uz', {
15 | months : "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),
16 | monthsShort : "янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),
17 | weekdays : "Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),
18 | weekdaysShort : "Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),
19 | weekdaysMin : "Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),
20 | longDateFormat : {
21 | LT : "HH:mm",
22 | L : "DD/MM/YYYY",
23 | LL : "D MMMM YYYY",
24 | LLL : "D MMMM YYYY LT",
25 | LLLL : "D MMMM YYYY, dddd LT"
26 | },
27 | calendar : {
28 | sameDay : '[Бугун соат] LT [да]',
29 | nextDay : '[Эртага] LT [да]',
30 | nextWeek : 'dddd [куни соат] LT [да]',
31 | lastDay : '[Кеча соат] LT [да]',
32 | lastWeek : '[Утган] dddd [куни соат] LT [да]',
33 | sameElse : 'L'
34 | },
35 | relativeTime : {
36 | future : "Якин %s ичида",
37 | past : "Бир неча %s олдин",
38 | s : "фурсат",
39 | m : "бир дакика",
40 | mm : "%d дакика",
41 | h : "бир соат",
42 | hh : "%d соат",
43 | d : "бир кун",
44 | dd : "%d кун",
45 | M : "бир ой",
46 | MM : "%d ой",
47 | y : "бир йил",
48 | yy : "%d йил"
49 | },
50 | week : {
51 | dow : 1, // Monday is the first day of the week.
52 | doy : 7 // The week that contains Jan 4th is the first week of the year.
53 | }
54 | });
55 | }));
56 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/components/moment/lang/vn.js:
--------------------------------------------------------------------------------
1 | // moment.js language configuration
2 | // language : vietnamese (vn)
3 | // author : Bang Nguyen : https://github.com/bangnk
4 |
5 | (function (factory) {
6 | if (typeof define === 'function' && define.amd) {
7 | define(['moment'], factory); // AMD
8 | } else if (typeof exports === 'object') {
9 | module.exports = factory(require('../moment')); // Node
10 | } else {
11 | factory(window.moment); // Browser global
12 | }
13 | }(function (moment) {
14 | return moment.lang('vn', {
15 | months : "tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),
16 | monthsShort : "Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),
17 | weekdays : "chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),
18 | weekdaysShort : "CN_T2_T3_T4_T5_T6_T7".split("_"),
19 | weekdaysMin : "CN_T2_T3_T4_T5_T6_T7".split("_"),
20 | longDateFormat : {
21 | LT : "HH:mm",
22 | L : "DD/MM/YYYY",
23 | LL : "D MMMM [năm] YYYY",
24 | LLL : "D MMMM [năm] YYYY LT",
25 | LLLL : "dddd, D MMMM [năm] YYYY LT",
26 | l : "DD/M/YYYY",
27 | ll : "D MMM YYYY",
28 | lll : "D MMM YYYY LT",
29 | llll : "ddd, D MMM YYYY LT"
30 | },
31 | calendar : {
32 | sameDay: "[Hôm nay lúc] LT",
33 | nextDay: '[Ngày mai lúc] LT',
34 | nextWeek: 'dddd [tuần tới lúc] LT',
35 | lastDay: '[Hôm qua lúc] LT',
36 | lastWeek: 'dddd [tuần rồi lúc] LT',
37 | sameElse: 'L'
38 | },
39 | relativeTime : {
40 | future : "%s tới",
41 | past : "%s trước",
42 | s : "vài giây",
43 | m : "một phút",
44 | mm : "%d phút",
45 | h : "một giờ",
46 | hh : "%d giờ",
47 | d : "một ngày",
48 | dd : "%d ngày",
49 | M : "một tháng",
50 | MM : "%d tháng",
51 | y : "một năm",
52 | yy : "%d năm"
53 | },
54 | ordinal : function (number) {
55 | return number;
56 | },
57 | week : {
58 | dow : 1, // Monday is the first day of the week.
59 | doy : 4 // The week that contains Jan 4th is the first week of the year.
60 | }
61 | });
62 | }));
63 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/css/form-demo.css:
--------------------------------------------------------------------------------
1 | body {
2 | background: url("/images/form-demo-bg.jpg") no-repeat top center fixed;
3 | background-size: cover;
4 | }
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/css/index.css:
--------------------------------------------------------------------------------
1 | .banner {
2 | position: relative;
3 | background-color: rgb(65,65,60);
4 | color: #eeeeee;
5 | }
6 |
7 | #phantomjs-logo {
8 | background-image: url(/images/phantomjs-logo.png);
9 | width: 240px;
10 | height: 80px;
11 | position: absolute;
12 | bottom: 4px;
13 | right: 4px;
14 | }
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/images/152824439_ffcc1b2aa4_b.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/founddrama/phantomjs-cookbook/d7121cea1169f60313a2b1d871504908c8ddedc0/phantomjs-sandbox/static/images/152824439_ffcc1b2aa4_b.jpg
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/images/357292530_f225d7e306_b.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/founddrama/phantomjs-cookbook/d7121cea1169f60313a2b1d871504908c8ddedc0/phantomjs-sandbox/static/images/357292530_f225d7e306_b.jpg
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/images/391560246_f2ac936f6d_b.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/founddrama/phantomjs-cookbook/d7121cea1169f60313a2b1d871504908c8ddedc0/phantomjs-sandbox/static/images/391560246_f2ac936f6d_b.jpg
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/images/583519989_1116956980_b.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/founddrama/phantomjs-cookbook/d7121cea1169f60313a2b1d871504908c8ddedc0/phantomjs-sandbox/static/images/583519989_1116956980_b.jpg
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/images/872027465_2519a358b9_b.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/founddrama/phantomjs-cookbook/d7121cea1169f60313a2b1d871504908c8ddedc0/phantomjs-sandbox/static/images/872027465_2519a358b9_b.jpg
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/images/form-demo-bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/founddrama/phantomjs-cookbook/d7121cea1169f60313a2b1d871504908c8ddedc0/phantomjs-sandbox/static/images/form-demo-bg.jpg
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/images/phantomjs-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/founddrama/phantomjs-cookbook/d7121cea1169f60313a2b1d871504908c8ddedc0/phantomjs-sandbox/static/images/phantomjs-logo.png
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/js/appcache-demo.js:
--------------------------------------------------------------------------------
1 | (function(d) {
2 | var clock = document.getElementById('clock');
3 |
4 | setInterval(function() {
5 | clock.innerHTML = moment().format('MMMM Do YYYY [at] h:mm:ss a');
6 | }, 1000);
7 | }(document));
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/js/form-demo-validators.js:
--------------------------------------------------------------------------------
1 | var validators = (function() {
2 |
3 | var EMAIL_RX = /^[\w!#$%&'*+/=?`{|}~^-]+(?:\.[\w!#$%&'*+/=?`{|}~^-]+)*@(?:[A-Z0-9-]+\.)+[A-Z]{2,6}$/i,
4 | PASS_LEN_RX = /^.{6,20}$/,
5 | PASS_NUM_RX = /\d/,
6 | PASS_SYM_RX = /[\W_]/;
7 |
8 |
9 | function isEmailValid(s) {
10 | return EMAIL_RX.test(s);
11 | }
12 |
13 | function isPasswordValid(p) {
14 | return PASS_LEN_RX.test(p) &&
15 | PASS_NUM_RX.test(p) &&
16 | PASS_SYM_RX.test(p);
17 | }
18 |
19 | function isFormValid(e, p) {
20 | return isEmailValid(e) && isPasswordValid(p);
21 | }
22 |
23 | return {
24 | EMAIL_RX: EMAIL_RX,
25 | PASS_LEN_RX: PASS_LEN_RX,
26 | PASS_NUM_RX: PASS_NUM_RX,
27 | PASS_SYM_RX: PASS_SYM_RX,
28 |
29 | isEmailValid: isEmailValid,
30 | isPasswordValid: isPasswordValid,
31 | isFormValid: isFormValid
32 | };
33 | }());
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/js/form-demo.js:
--------------------------------------------------------------------------------
1 | var formDemo = (function(v) {
2 | var emailField = document.querySelector('#email'),
3 | emailAlert = emailField.parentNode.querySelector('.alert'),
4 | passwordField = document.querySelector('#password'),
5 | passwordAlert = passwordField.parentNode.querySelector('.alert'),
6 | passwordText = passwordField.parentNode.querySelector('#password-suggestions'),
7 | submitBtn = document.querySelector('.btn-primary'),
8 |
9 | HIDDEN_CLS = 'hidden',
10 | DISABLED_ATTR = 'disabled';
11 |
12 |
13 | function validateEmail() {
14 | emailAlert.classList[!v.isEmailValid(emailField.value) ? 'remove' : 'add'](HIDDEN_CLS);
15 | }
16 |
17 | function getPasswordErrors(p) {
18 | var errors = [];
19 |
20 | if (!v.PASS_LEN_RX.test(p)) {
21 | errors.push('be at least 6 characters, and no more than 20');
22 | }
23 |
24 | if (!v.PASS_NUM_RX.test(p)) {
25 | errors.push('contain at least one number');
26 | }
27 |
28 | if (!v.PASS_SYM_RX.test(p)) {
29 | errors.push('contain at least one symbol')
30 | }
31 |
32 | return 'Passwords must: ' + errors.join('; ') + '.';
33 | }
34 |
35 | function validatePassword() {
36 | var password = passwordField.value;
37 |
38 | if (!v.isPasswordValid(password)) {
39 | passwordText.innerText = getPasswordErrors(passwordField.value);
40 | passwordAlert.classList.remove(HIDDEN_CLS);
41 | } else {
42 | passwordAlert.classList.add(HIDDEN_CLS);
43 | }
44 | }
45 |
46 | function enableSubmit() {
47 | if (v.isFormValid(emailField.value, passwordField.value)) {
48 | submitBtn.removeAttribute(DISABLED_ATTR);
49 | } else {
50 | submitBtn.setAttribute(DISABLED_ATTR, DISABLED_ATTR);
51 | }
52 | }
53 |
54 | emailField.addEventListener('blur', validateEmail);
55 | passwordField.addEventListener('keyup', validatePassword);
56 | passwordField.addEventListener('blur', validatePassword);
57 |
58 | emailField.addEventListener('blur', enableSubmit);
59 | passwordField.addEventListener('keyup', enableSubmit);
60 | passwordField.addEventListener('blur', enableSubmit);
61 | }(validators));
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/js/svg-demo.js:
--------------------------------------------------------------------------------
1 | /**
2 | * The PhantomJS Cookbook (Chapter 7, Recipe 3)
3 | *
4 | * Snap.svg script to generate the SVG used for the demo.
5 | */
6 | var s = Snap('#svg-demo'),
7 | c = s.circle(200, 200, 180),
8 | eyes = s.group(
9 | s.ellipse(134, 160, 64, 90).attr({transform: 'rotate(-10, 140, 160)'}),
10 | s.ellipse(264, 160, 64, 90).attr({transform: 'rotate(10, 260, 160)'})
11 | );
12 |
13 | c.attr({
14 | fill: 'r(0.25, 0.1, 1.2)#00B5BF-#006d73',
15 | stroke: '#41413C',
16 | strokeWidth: 8
17 | });
18 |
19 | eyes.attr({
20 | stroke: '#fff',
21 | strokeWidth: 4,
22 | 'stroke-opacity': 0.5,
23 | fill: 'R(200, 270, 180)#aaa-#fff',
24 | 'fill-opacity': 0.5
25 | });
--------------------------------------------------------------------------------
/phantomjs-sandbox/static/svg/eyes.svg:
--------------------------------------------------------------------------------
1 |
2 | Created with Snap
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/tests/test-wrapper.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | cd phantomjs-sandbox
3 | node app.js > /dev/null 2>&1 &
4 | NODE_PID=$!
5 |
6 | cd ..
7 |
8 | # e2e tests
9 | casperjs test --xunit="test-reports/TEST-casperjs-e2e.xml" --no-colors phantomjs-sandbox/tests/e2e/chapter08-recipe05-spec.js
10 | E2E_STATUS=$?
11 |
12 | # performance tests
13 | echo "Running performance test with YSlow..."
14 | phantomjs lib/yslow.js -i grade -f junit http://localhost:3000/form-demo > test-reports/TEST-form-demo-yslow.xml
15 | PERF_STATUS=$?
16 | echo "Performance test results stored in test-reports/TEST-form-demo-yslow.xml"
17 |
18 | kill $NODE_PID
19 |
20 | [ $E2E_STATUS = 0 -a $PERF_STATUS = 0 ]; exit $?
--------------------------------------------------------------------------------
/phantomjs-sandbox/tests/unit/form-demo-validators-runner.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | The PhantomJS Cookbook - Chapter Four - Recipe #4
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
23 |
24 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/tests/unit/form-demo-validators-spec.js:
--------------------------------------------------------------------------------
1 | describe('form-demo', function() {
2 | describe('isEmailValid', function() {
3 | it('returns false when the @ symbol is missing', function() {
4 | expect(validators.isEmailValid('foo')).toBe(false);
5 | });
6 | it('returns false when the TLD is less than 2 characters', function() {
7 | expect(validators.isEmailValid('foo@bar.a')).toBe(false);
8 | });
9 | it('returns false when the TLD is greater than 6 characters', function() {
10 | // intentionally failing...
11 | expect(validators.isEmailValid('foo@bar.abcdefg')).toBe(true);
12 | });
13 | it('returns false if there are any leading/trailing spaces', function() {
14 | expect(validators.isEmailValid(' foo@bar.com')).toBe(false);
15 | // intentionally failing...
16 | expect(validators.isEmailValid('foo@bar.com ')).toBe(true);
17 | });
18 | it('returns false if there are any consecutive dots', function() {
19 | expect(validators.isEmailValid('foo..foo@bar.com')).toBe(false);
20 | });
21 | // and many more
22 | });
23 |
24 | describe('isPasswordValid', function() {
25 | it('return false if password is less than 6 characters', function() {
26 | // intentionally failing...
27 | expect(validators.isPasswordValid('123')).toBe(true);
28 | });
29 | it('return false if password is greater than 20 characters', function() {
30 | expect(validators.isPasswordValid('abcdefghijklmnopqrstuvwxyz')).toBe(false);
31 | });
32 | it('return false if password does not contain a number', function() {
33 | // intentionally failing...
34 | expect(validators.isPasswordValid('abcdef')).toBe(true);
35 | });
36 | it('return false if password does not contain a symbol', function() {
37 | expect(validators.isPasswordValid('abcdef')).toBe(false);
38 | });
39 | });
40 |
41 | describe('isFormValid', function() {
42 | it('return false if email is invalid', function() {
43 | // intentionally failing...
44 | expect(validators.isFormValid('invalid', 'aA23_)o0%')).toBe(true);
45 | });
46 | it('return false if password is invalid', function() {
47 | expect(validators.isFormValid('foo@bar.com', 'invalid')).toBe(false);
48 | });
49 | it('return true if both email and password are valid', function() {
50 | expect(validators.isFormValid('foo@bar.com', 'aA23_)o0%')).toBe(true);
51 | });
52 | });
53 | });
--------------------------------------------------------------------------------
/phantomjs-sandbox/views-list.js:
--------------------------------------------------------------------------------
1 | /*jshint node:true */
2 | exports.views = require('fs').readdirSync('views').map(function(it) {
3 | return it.replace(/\.ejs$/, '');
4 | });
--------------------------------------------------------------------------------
/phantomjs-sandbox/views/appcache-demo.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <%= title %>
5 |
6 |
7 |
8 |
9 |
<%= title %>
10 |
11 |
12 |
getting time...
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/views/cache-demo.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <%= title %>
5 |
6 |
7 |
8 |
9 |
<%= title %>
10 |
We are dealing with large, cacheable assets here.
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/views/cdn-demo.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <%= title %>
5 |
6 |
7 |
8 |
9 |
10 |
<%= title %>
11 |
<%= intro %>
12 |
13 |
14 |
<%= col1 %>
15 |
<%= col2 %>
16 |
<%= col3 %>
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/views/cookie-demo.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <%= title %>
5 |
6 |
7 |
8 |
9 |
<%= title %>
10 |
We are dealing with cookies here.
11 |
12 |
13 |
14 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/views/css-demo.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <%= title %>
5 |
6 |
7 |
8 |
9 |
10 |
<%= title %>
11 |
<%= intro %>
12 |
13 |
14 |
<%= col1 %>
15 |
<%= col2 %>
16 |
<%= col3 %>
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/views/form-demo.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <%= title %>
5 |
6 |
7 |
8 |
9 |
10 | <% if(isPost) { %>
11 |
12 |
Thank you.
13 |
Your entry was received and your work here is done.
14 |
15 |
19 | <% } else { %>
20 |
Register (an end-to-end demo)
21 |
36 | <% } %>
37 |
38 |
39 | <% if(!isPost) { %>
40 |
41 |
42 | <% } %>
43 |
44 |
45 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/views/hover-demo.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <%= title %>
5 |
6 |
19 |
20 |
21 |
22 |
<%= title %>
23 |
24 |
25 |
26 |
32 |
33 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/views/index.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <%= title %>
5 |
6 |
7 |
8 |
9 |
10 |
11 |
<%= title %>
12 |
13 | This is the demo site that goes along with The PhantomJS Cookbook .
14 | The pages on this site are used in several of the recipes in the cookbook,
15 | and several of them are used several times. It's not supposed to be
16 | especially glamorous; it's just supposed to get the point across.
17 |
18 |
19 |
20 |
21 |
22 | <% links.forEach(function(link) { %>
23 | <%= link %>
24 | <% }) %>
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/views/input-demo.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <%= title %>
5 |
6 |
11 |
12 |
13 |
14 |
<%= title %>
15 |
16 |
17 |
18 |
19 |
28 |
29 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/views/precision-click.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <%= title %>
5 |
6 |
22 |
23 |
24 |
25 |
<%= title %>
26 |
27 |
28 |
29 |
35 |
36 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/views/responsive-demo.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <%= title %>
5 |
6 |
7 |
8 |
9 |
10 |
11 |
<%= title %>
12 |
<%= intro %>
13 |
14 |
15 |
<%= col1 %>
16 |
<%= col2 %>
17 |
<%= col3 %>
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/phantomjs-sandbox/views/svg-demo.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <%= title %>
5 |
6 |
9 |
10 |
11 |
12 |
<%= title %>
13 |
14 |
15 |
Yes, the SVG is on here twice.
16 | Yes, it's the same both times; we're just illustrating the different ways
17 | to get the SVG content onto the page.
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------