diff --git a/.gitattributes b/.gitattributes index e5b5961d385b4642f81fdd06cfdadc25d2293d30..fc40bf86ef5b8b03e0f2d207df68b14f6ded763b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -46,3 +46,4 @@ static/videos/shiba.mp4 filter=lfs diff=lfs merge=lfs -text static/videos/steve.mp4 filter=lfs diff=lfs merge=lfs -text static/videos/teaser.mp4 filter=lfs diff=lfs merge=lfs -text static/videos/toby.mp4 filter=lfs diff=lfs merge=lfs -text +static/images/one_sample.png filter=lfs diff=lfs merge=lfs -text diff --git a/index.html b/index.html index 88951116f7ed81764f0d75616b9f4c60892b9a30..5d85555898eb5d69129336c85a7fc329b4e67ef9 100644 --- a/index.html +++ b/index.html @@ -1,435 +1,402 @@ + + content="Deformable Neural Radiance Fields creates free-viewpoint portraits (nerfies) from casually captured videos."> - Nerfies: Deformable Neural Radiance Fields + GroUSE: A Benchmark to Evaluate Evaluators in Grounded Question + Answering - + - - + + - + + + + -
-
-
-
-
-

Nerfies: Deformable Neural Radiance Fields

- +
+
+
+
+
+

GroUSE: A Benchmark to Evaluate Evaluators in Grounded Question + Answering

+ -
- 1University of Washington, - 2Google Research -
+
+ Illuin Technology +
-
-
-
- -
-
-
- -

- Nerfies turns selfie videos from your phone into - free-viewpoint - portraits. -

-
-
-
+
+
+
+ +
+
+
+

Context

+

+ Grounded Question Answering (QA) is usually the last step of a RAG pipeline: given a question and a set of + documents retrieved from the corpus, an LLM must generate an answer. We expect the LLM to cite which + document each piece of information is coming from, as depicted below. When no precise answer is in the + documents, the LLM should indicate it in its answer. In that case, if some related information is + available in the documents, the LLM can add it to the answer to show the corpus is not completely + off-topic with respect to the question. +

+

+ Schema showing an example depending on whether the references contain a precise answer, only related information or no information. For each case there is an example of references and ground truth answer. The question is common to the three cases : What is the relationship between Pluto and Neptune. Case 1 : the references contain a precise answer. Reference 1 :  More than 200 objects in 2:3 resonance are known (meaning they complete exactly 2 revolutions around the Sun when Neptune completes 3), among which are Pluto and its moons. Reference 2 : Pluto’s axis of rotation is tilted at 57.5 degrees relative to its orbital plane, which is quite high and unusual in the Solar System. Reference 3 : On the left: view of a cardiac cycle, of a systolic-diastolic oscillating flow, characteristic of circulatory arrest. Ground truth answer : The 3:2 orbital resonance relationship between Pluto and Neptune means that for every 3 revolutions of Neptune around the Sun, Pluto completes 2 [reference 1 citation]. Case 2 : References only contain related information. The reference 1 containing a precise information was removed, the two others are left. Ground truth answer : No document seems to precisely answer your question. However, the documents indicate that : Pluto’s axis of rotation is tilted at 57.5 degrees [reference 2 citation]. Case 3 : References contain no answer nor related information. Reference 1 and 2 were removed, only reference 3 which is off topic if left. Ground truth answer : No document seems to precisely answer your question. +

+

+ This task is difficult to evaluate due to the wide variety of errors an answer can contain, such as + superfluous information, missing relevant details from references, incorrect claims that no document + answers the question, citation mistakes and so on. Some attempts to define metrics and automatize the + evaluation of this task have been made (RAGAS, DeepEval), however, these approaches didn't cover all the + failure modes we were interested in. +

+

+ Most of these approaches rely heavily on the LLM-as-a-Judge method. While this technique can be + powerful, it is crucial to first assess the ability of an LLM to accurately evaluate this Grounded QA task + with respect to our metrics. +

+

+ It is tempting to consider using an LLM to verify the evaluations generated by an evaluator LLM (which was + assessing LLM's answers). However, this could quickly lead down a rabbit hole of endless AI-on-AI + evaluations. This is why we developed GroUSE: a unit testing suite designed to evaluate the + evaluators + (pronounced "graouse"). -

-
-
-
-
-
-
- + -
+
+
+
+
+
+

The GroUSE dataset

+

+ GroUSE (Grounded QA Unitary Scoring of Evaluators) is a dataset of unitary tests used to check if a + Grounded QA evaluator is giving the scores we expect. Each test contains: +

+
    +
  • a Grounded QA sample (consisting of a question and references),
  • +
  • a ground truth answer to the question,
  • +
  • an answer to evaluate (which may or may not contain an error),
  • +
  • a list of expected grades.
  • +
+ +

+ This image is titled 'A simplified sample of GroUSE' and showcases an example of how to evaluate the accuracy and relevance of an answer. The structure is divided into five main sections: 1) Question: 'What is the relationship between Pluto and Neptune?'. 2) A list of two references. Reference 1: 'More than 200 objects in 2:3 resonance are known (meaning they complete exactly 2 revolutions around the Sun when Neptune completes 3), among which are Pluto and its moons.' Reference 2:  'Pluto rotates on its axis every 6.387 days, which is 6 days, 9 hours, and 17 minutes. Its axis of rotation is tilted at 57.5 degrees relative to its orbital plane, which is quite high and unusual in the Solar System.' 3) Ground Truth Answer: 'The 3:2 orbital resonance relationship between Pluto and Neptune means that for every 3 revolutions of Neptune around the Sun, Pluto completes 2 [reference 1 citation].' 4) Answer to Evaluate: 'The 3:2 orbital resonance relationship between Pluto and Neptune means that for every 3 revolutions of Neptune around the Sun, Pluto completes 2 [reference 1 citation]. Pluto’s axis of rotation is tilted at 57.5 degrees [reference 2 citation].' 5) Expected Notes: A rating system different evaluation criteria: Answer Relevancy: less than 4 (indicated in orange). Completeness: 5 (green). Useful: undefined (grey). Faithfulness: 1 (green). Positive Acceptance: undefined (grey). Negative Rejection: undefined (grey). +

+

+ In our framework, judge LLMs evaluate the quality of a grounded QA answer according to 6 metrics intended + to capture all the failure modes of the task: +

+

+

    +
  • Answer relevancy assesses the relevance of the information provided in the answer + regarding the question, using a Likert scale (1 to 5).
  • +
  • Completeness also uses a Likert scale to evaluate whether all relevant information + from + the documents is present in the answer.
  • +
  • Faithfulness is a binary score that checks if all facts in the answer are accurate + and + correctly attributed to the corresponding document.
  • +
  • Usefulness is only evaluated when the answer states there is no precise answer in the + references and provides related information. It is a binary score that determines if the additional + information is indeed useful and relevant to the question.
  • +
  • Positive Acceptance and Negative Rejection are binary scores + indicating a true positive and a true negative respectively in identifying whether the question is + answerable.
  • +
+

+

+ The GroUSE dataset comprises 144 samples organized into 9 sets. Each set addresses the + same question + and draws from largely similar references, with slight variations in the answers. These small + modifications are tailored to fit a predefined typology of 16 test types, which are designed to assess + whether an evaluator correctly penalizes all failure modes and rewards accurate answers across a diverse + range of scenarios. The image below displays four samples along with their corresponding test types. For + instance, test type 14 assesses whether the faithfulness score is set to 0 when there is a citation + mistake. +

+

+ Schema showing four type of tests. Type 1: A perfect answer should get the highest notes. Type 2: Related information is not mandatory to get the highest notes. Type 9: Answering in an adversarial situation should result in low negative rejection. Type 14: An error in the citations leads to minimal faithfulness. +

+

+ GroUSE includes an additional set of tests meant to help users engineer their prompts and try to obtain + the best evaluator possible before checking its performances on the 9 other sets. Using this "train set", + we iterated on the prompts, making our best effort to craft the best prompts possible for each of the + tested models before measuring how many tests they passed. The "train set" is kept small to imitate the + real-world scenario where the user has a limited number of samples to optimize its prompts. +

+
+
+
+
-
-

Abstract

+

Benchmarking the evaluation abilities of models

- We present the first method capable of photorealistically reconstructing a non-rigidly - deforming scene using photos/videos captured casually from mobile phones. + The structure of the GroUSE dataset allows for presenting a model's results in a matrix format, where each + row represents the model's performance on a specific test type, and each column corresponds to its + performance on a particular question. This format reveals, for example, that GPT-4 struggles with test type + 16, which involves an answer containing information that distorts one of the references, leading to a low + expected faithfulness but good relevancy and good completeness. Moreover, Llama-3 70B struggles the most + with test type 7, a test in which we include an *absurd* fact in the references and mention this fact in the + answer. Despite the fact seeming incorrect, since it's present in the references, high scores are expected. + Test type 7 allows to check that the model doesn't use its internal knowledge and refers solely to the + references to evaluate the metrics.

-

- Our approach augments neural radiance fields - (NeRF) by optimizing an - additional continuous volumetric deformation field that warps each observed point into a - canonical 5D NeRF. - We observe that these NeRF-like deformation fields are prone to local minima, and - propose a coarse-to-fine optimization method for coordinate-based models that allows for - more robust optimization. - By adapting principles from geometry processing and physical simulation to NeRF-like - models, we propose an elastic regularization of the deformation field that further - improves robustness. +

+ 12 matrices arranged in two rows of six. The two rows correspond to GPT-4 and LLama-3 70b, the six columns represent the six metrics: answer relevancy, completeness, usefulness, faithfulness, positive acceptance and negative rejection. Each matrix contains 144 small squares, blue if the test passed, red if the test failed, orange if the output was not parsable. We can see that there are more red squares on Llama-3 70b row, especially in the completeness column.

- We show that Nerfies can turn casually captured selfie - photos/videos into deformable NeRF - models that allow for photorealistic renderings of the subject from arbitrary - viewpoints, which we dub "nerfies". We evaluate our method by collecting data - using a - rig with two mobile phones that take time-synchronized photos, yielding train/validation - images of the same pose at different viewpoints. We show that our method faithfully - reconstructs non-rigidly deforming scenes and reproduces unseen views with high - fidelity. + For a more compact view, we can also calculate the percentage of tests each model passes for each metric: +

+

+ A table with the agreement rate of each metric, for a list of models.

-
-
-
- - - -
-
-

Video

-
- -
-
-
- -
-
- - -
-
- -
- - -
-
-

Visual Effects

- Using nerfies you can create fun visual effects. This Dolly zoom effect - would be impossible without nerfies since it would require going through a wall. + The strongest evaluator models are GPT-4 for closed-weights models, with a pass rate of 95%, and Llama-3 70b + for open-weights with 79%. The human performance on this dataset is 98%. The hardest metric to evaluate is + completeness, for LLMs and humans alike.

- -
-
- - - -
-

Matting

-
-
-

- As a byproduct of our method, we can also solve the matting problem by ignoring - samples that fall outside of a bounding box during rendering. -

- -
-
- - - -
-
-

Animation

- - -

Interpolating states

-
-

- We can also animate the scene by interpolating the deformation latent codes of two input - frames. Use the slider here to linearly interpolate between the left frame and the right - frame. -

-
-
-
- Interpolate start reference image. -

Start Frame

-
-
-
- Loading... +
+ +
+
+
+
+
+

Improving an open source model

+

+ To demonstrate the gap between open-weights and closed-weights models can be narrowed, we finetuned a + Llama-3 8b model on traces of evaluations by GPT-4. Aiming to develop a model capable of solving the + task in a single call, we concatenated the metric-specific responses from GPT-4 into a single output and + followed a similar process for the input, resulting in a dataset of 1200 samples. We finetuned the + Llama-3 8b on 1k samples of this dataset, and used the rest as a test set. We measured the model's + progression both on GroUSE and by measuring the correlation between GPT-4's grades and the finetuned + model's grades on the test set. +

+

+ A table with the correlation between a list of models and GPT-4's evaluation. +

+ +

+ Finetuning significantly enhances the evaluation capabilities of Llama-3, as evidenced by the + substantial improvement in pass rates, going from a 40% to a 83% test pass rate. A similar progress can + be seen on the correlation measures, however it is worth noting that the finetuned model has similar + correlation levels than the 0-shot Llama-3 8b with evaluating one metric per prompt. Although this + approach demonstrated significant improvements, it would be beneficial to explore the effects of + finetuning larger models, which could potentially yield even better performance. +

- -
-
- Interpolation end reference image. -

End Frame

-
- - - -

Re-rendering the input video

-
-

- Using Nerfies, you can re-render a video from a novel - viewpoint such as a stabilized camera by playing back the training deformations. -

+
+ +
+
+
+
+
+

Improving an open source model

+

+ Our results reveal a discrepancy between GroUSE pass rates and correlation with GPT-4's grades. While + Prometheus 2 7b and finetuned Llama-3 8b show similar correlations with GPT-4 on answer relevancy, their + GroUSE pass rates differ significantly, with Llama-3 8b outperforming Prometheus 2 7b. + Confusion matrices reveal that Prometheus 2 has better overall agreement with GPT-4 but struggles with + extreme cases (1, 5 and NaN cases), while finetuned Llama-3 excels in extreme cases but lacks + correlation in intermediate ones. +

+

+ +

+

+ This finding suggests that a high correlation with GPT-4's judgments does not necessarily equate to a + high unit test pass rate. A judge model can share the same relative preferences as GPT-4 (indicated by + strong rank correlation) but still lack the same calibration on precise reference cases (very good + answers, subtle mistakes, etc.), resulting in poor performance on judgment unit tests. +

+
+
-
- +
+ +
+
+
+
+
+

Conclusion

+

+ To conclude briefly: +

+
    +
  • GroUSE is a dataset that allows to check if a model attributes the expected score on a wide range of + cases.
  • +
  • Using the LLM-as-a-Judge approach, GPT-4 was the strongest closed weights evaluator and Llama-3 70B + the best open weights evaluator.
  • +
  • We demonstrated that a model evaluation abilities can improve with finetuning on a stronger model's + evaluations.
  • +
  • We showed that correlation with a strong evaluator does not necessarily imply a good score on the + unit tests. These measures are complementary: correlation with GPT-4 indicates agreement in relative + preference, while GroUSE pass rate measures precise calibration on practical reference cases.
  • +
+

+ If you want to evaluate your RAG pipeline with our GPT-4 prompts, or even meta-evaluate your RAG + evaluator on GroUSE, a python package is available at + github.com/illuin-tech/grouse ! +

+
+
- - +
+ + +
+
+

BibTeX

+
@misc{muller2024grouse,
+          title={GroUSE: A Benchmark to Evaluate Evaluators in Grounded Question Answering}, 
+          author={Sacha Muller and António Loison and Bilel Omrani and Gautier Viaud},
+          year={2024},
+          eprint={2409.06595},
+          archivePrefix={arXiv},
+          primaryClass={cs.CL},
+          url={https://arxiv.org/abs/2409.06595},
+}
- - +
- - -
-
-

Related Links

- -
-

- There's a lot of excellent work that was introduced around the same time as ours. -

-

- Progressive Encoding for Neural Optimization introduces an idea similar to our windowed position encoding for coarse-to-fine optimization. -

-

- D-NeRF and NR-NeRF - both use deformation fields to model non-rigid scenes. -

-

- Some works model videos with a NeRF by directly modulating the density, such as Video-NeRF, NSFF, and DyNeRF -

-

- There are probably many more by the time you are reading this. Check out Frank Dellart's survey on recent NeRF papers, and Yen-Chen Lin's curated list of NeRF papers. -

+ + --> -
- - -
-
-

BibTeX

-
@article{park2021nerfies,
-  author    = {Park, Keunhong and Sinha, Utkarsh and Barron, Jonathan T. and Bouaziz, Sofien and Goldman, Dan B and Seitz, Steven M. and Martin-Brualla, Ricardo},
-  title     = {Nerfies: Deformable Neural Radiance Fields},
-  journal   = {ICCV},
-  year      = {2021},
-}
-
-
- - - +
+
- + + \ No newline at end of file diff --git a/static/images/confusion_matrixes.png b/static/images/confusion_matrixes.png new file mode 100644 index 0000000000000000000000000000000000000000..11649a5f5bc905393a94c711de0daafb46fb5be7 Binary files /dev/null and b/static/images/confusion_matrixes.png differ diff --git a/static/images/correlation_table.png b/static/images/correlation_table.png new file mode 100644 index 0000000000000000000000000000000000000000..4f242be5ccabb496cb54a346c9fda49a3ef60afc Binary files /dev/null and b/static/images/correlation_table.png differ diff --git a/static/images/favicon.svg b/static/images/favicon.svg deleted file mode 100644 index ec23dce9ded30c86f21113410724d543c101e0fd..0000000000000000000000000000000000000000 --- a/static/images/favicon.svg +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/static/images/grounded_qa_cases.png b/static/images/grounded_qa_cases.png new file mode 100644 index 0000000000000000000000000000000000000000..8fb562cb52df3a0625ac1ef03d60025d021c00b0 Binary files /dev/null and b/static/images/grounded_qa_cases.png differ diff --git a/static/images/interpolate_end.jpg b/static/images/interpolate_end.jpg deleted file mode 100644 index 7792aabe657ab1ca6ef26ef08b075f0d7661a273..0000000000000000000000000000000000000000 Binary files a/static/images/interpolate_end.jpg and /dev/null differ diff --git a/static/images/interpolate_start.jpg b/static/images/interpolate_start.jpg deleted file mode 100644 index 1180958ecb2013f05a512ba2808abd405d5fe856..0000000000000000000000000000000000000000 Binary files a/static/images/interpolate_start.jpg and /dev/null differ diff --git a/static/images/matrices.png b/static/images/matrices.png new file mode 100644 index 0000000000000000000000000000000000000000..dd036753c4398e1de5f5aa1ce6a37299adc1da65 Binary files /dev/null and b/static/images/matrices.png differ diff --git a/static/images/meme.jpeg b/static/images/meme.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..408535e9ef433f770fd734bd394a53c276f3d6a0 Binary files /dev/null and b/static/images/meme.jpeg differ diff --git a/static/images/one_sample.png b/static/images/one_sample.png new file mode 100644 index 0000000000000000000000000000000000000000..146588b37eb72857538a92d65c1cbe78007bd0d5 --- /dev/null +++ b/static/images/one_sample.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f74b53a19a9e14a33795ac8b849ee34b978afe161ae4c405f4ee6eb8fe5adba +size 1023222 diff --git a/static/images/result_table.png b/static/images/result_table.png new file mode 100644 index 0000000000000000000000000000000000000000..85b8882a46fd0ed5c18d8961a4f850721ba61286 Binary files /dev/null and b/static/images/result_table.png differ diff --git a/static/images/schema_unit_test.png b/static/images/schema_unit_test.png new file mode 100644 index 0000000000000000000000000000000000000000..1ac2273ee292fafe2478497b43720c02f3cd2aff Binary files /dev/null and b/static/images/schema_unit_test.png differ diff --git a/static/images/schema_unit_test_blog.png b/static/images/schema_unit_test_blog.png new file mode 100644 index 0000000000000000000000000000000000000000..572d61c0223765a97804a46011a5a8f70eaadcd8 Binary files /dev/null and b/static/images/schema_unit_test_blog.png differ diff --git a/static/images/steve.webm b/static/images/steve.webm deleted file mode 100644 index 1fe6c507b6d82759bef4a2b5e1ca96cc233338c9..0000000000000000000000000000000000000000 --- a/static/images/steve.webm +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:95c9528dadfebb0cef5b88012f1b11a7789364d66f48513203fdb8f0794ad0df -size 1090546 diff --git a/static/interpolation/stacked/000000.jpg b/static/interpolation/stacked/000000.jpg deleted file mode 100644 index 0f7edac6e570a2c66ae02f8f9a0d9bef2bf341f3..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000000.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000001.jpg b/static/interpolation/stacked/000001.jpg deleted file mode 100644 index c8479a67f4b4de6e0f3c375aad8446cd6b7d7850..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000001.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000002.jpg b/static/interpolation/stacked/000002.jpg deleted file mode 100644 index fdae3281fce67ef8a25697d609cc5f9d71da1a7c..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000002.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000003.jpg b/static/interpolation/stacked/000003.jpg deleted file mode 100644 index 25e690691fe66366846a2a2f9ec731eec97ada04..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000003.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000004.jpg b/static/interpolation/stacked/000004.jpg deleted file mode 100644 index 0ffbd81f3cbec0c7110420a3833d9b23090ffb14..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000004.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000005.jpg b/static/interpolation/stacked/000005.jpg deleted file mode 100644 index cef3a2b6df9056e1bd13205c74e5b1528d302ea6..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000005.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000006.jpg b/static/interpolation/stacked/000006.jpg deleted file mode 100644 index ba846f6eb83a7976c6cf1df5e5e5c1c464ba35d7..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000006.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000007.jpg b/static/interpolation/stacked/000007.jpg deleted file mode 100644 index 55ece12c2e684adb1fa23aa563738fa58f9de7eb..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000007.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000008.jpg b/static/interpolation/stacked/000008.jpg deleted file mode 100644 index e40df6c3e257269bf0922511a8130ea07369ee75..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000008.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000009.jpg b/static/interpolation/stacked/000009.jpg deleted file mode 100644 index 7d20288cbd0a62b5b89b0fc3d0a4726c84348a85..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000009.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000010.jpg b/static/interpolation/stacked/000010.jpg deleted file mode 100644 index 1b7c089a540f6a6ebd0c7519b41508144545f72a..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000010.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000011.jpg b/static/interpolation/stacked/000011.jpg deleted file mode 100644 index bf8a42146f7618f5238eed50df18775fc20cd4d8..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000011.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000012.jpg b/static/interpolation/stacked/000012.jpg deleted file mode 100644 index a2ae9a06b92715c421e0b08fe7120158f08f9070..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000012.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000013.jpg b/static/interpolation/stacked/000013.jpg deleted file mode 100644 index 2a992e234fd8d6fb40a1682b06e95cb7877e4e5c..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000013.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000014.jpg b/static/interpolation/stacked/000014.jpg deleted file mode 100644 index aeb8ddf890f2b8f6f64b45a0d4200a648031d63d..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000014.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000015.jpg b/static/interpolation/stacked/000015.jpg deleted file mode 100644 index 61f0c5b5c64861c82478242115516c8ccebe23d8..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000015.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000016.jpg b/static/interpolation/stacked/000016.jpg deleted file mode 100644 index a29f9a7da29c1f10b74aef28a9c1f997c1d287d0..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000016.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000017.jpg b/static/interpolation/stacked/000017.jpg deleted file mode 100644 index 2a30b770aec1fc3497eefafe6f9080207eb69ff1..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000017.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000018.jpg b/static/interpolation/stacked/000018.jpg deleted file mode 100644 index 608a4638c38ec15618ee269a285bdd453ca82b7e..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000018.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000019.jpg b/static/interpolation/stacked/000019.jpg deleted file mode 100644 index 99808b3e644dd5dd5c084d6e17755af09bb50643..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000019.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000020.jpg b/static/interpolation/stacked/000020.jpg deleted file mode 100644 index 626b949cb11c1166dde6e992c05dc53a3f2de2e8..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000020.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000021.jpg b/static/interpolation/stacked/000021.jpg deleted file mode 100644 index 0a805c2a93cf70c6db7d46cf535620abf6f0bdc0..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000021.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000022.jpg b/static/interpolation/stacked/000022.jpg deleted file mode 100644 index 44c4aad8408c119cdeb95c6707b91e0e8d4f4f03..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000022.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000023.jpg b/static/interpolation/stacked/000023.jpg deleted file mode 100644 index fa262170eae5f11aeb8bf1c1c6a051774dcf931a..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000023.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000024.jpg b/static/interpolation/stacked/000024.jpg deleted file mode 100644 index c7be2d5630a7ef4a9b4316eb63a920632c51f521..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000024.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000025.jpg b/static/interpolation/stacked/000025.jpg deleted file mode 100644 index fd9cf0d8e0321675093404ccd6de65f036cf9d6e..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000025.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000026.jpg b/static/interpolation/stacked/000026.jpg deleted file mode 100644 index 6f8e91e072c7c6720dfae908bff2e14a2474b83f..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000026.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000027.jpg b/static/interpolation/stacked/000027.jpg deleted file mode 100644 index 0fd39501c0cf0986132f1515589c98b34501b861..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000027.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000028.jpg b/static/interpolation/stacked/000028.jpg deleted file mode 100644 index f99fa401e494ed384d0a5fff4c1568c80102abf2..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000028.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000029.jpg b/static/interpolation/stacked/000029.jpg deleted file mode 100644 index 8a9d4ff5a7ad7fc331bc29bc03ed1ebd057cea27..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000029.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000030.jpg b/static/interpolation/stacked/000030.jpg deleted file mode 100644 index 73e6479288f6a2a97ee5f1a991e3dd01a21377e7..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000030.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000031.jpg b/static/interpolation/stacked/000031.jpg deleted file mode 100644 index c75ac8b785401ad214ae251bd471403d7a283495..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000031.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000032.jpg b/static/interpolation/stacked/000032.jpg deleted file mode 100644 index 2c446ae7815968373baddb685e07103735c4166e..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000032.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000033.jpg b/static/interpolation/stacked/000033.jpg deleted file mode 100644 index c38d0d920d821f0862c4c2676feb9043e74f83f1..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000033.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000034.jpg b/static/interpolation/stacked/000034.jpg deleted file mode 100644 index a21e2a7f7840359f6ddd1074e4b5a095bb4ecc31..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000034.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000035.jpg b/static/interpolation/stacked/000035.jpg deleted file mode 100644 index 9d374f31005daa0e8fee96d8702413d25a9de997..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000035.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000036.jpg b/static/interpolation/stacked/000036.jpg deleted file mode 100644 index a1e442e40d3d5c477a5ca3001fd12802836bf417..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000036.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000037.jpg b/static/interpolation/stacked/000037.jpg deleted file mode 100644 index e040eb2acdadf6b3580c4f4345f7e9490b6c6c90..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000037.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000038.jpg b/static/interpolation/stacked/000038.jpg deleted file mode 100644 index 4e38978c164a741ef950cf14e22fea985a6ef134..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000038.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000039.jpg b/static/interpolation/stacked/000039.jpg deleted file mode 100644 index 3e6b96f9dff57cce4d8bd225f0d30ad61bf6471d..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000039.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000040.jpg b/static/interpolation/stacked/000040.jpg deleted file mode 100644 index d85b56a68eb8f122a4c2d9b972f7860c5b4c41a0..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000040.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000041.jpg b/static/interpolation/stacked/000041.jpg deleted file mode 100644 index 985fc976eba6843057c43eb3be06e3b77cba0ae8..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000041.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000042.jpg b/static/interpolation/stacked/000042.jpg deleted file mode 100644 index d316af62e99d5da92b06feb36a11b24a1e2a561d..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000042.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000043.jpg b/static/interpolation/stacked/000043.jpg deleted file mode 100644 index 7fee7085817ffb8e060f1cd0d8d3ae499f8b8b85..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000043.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000044.jpg b/static/interpolation/stacked/000044.jpg deleted file mode 100644 index 6ed4a18510ffb5290a7505b908f0b4977be3d891..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000044.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000045.jpg b/static/interpolation/stacked/000045.jpg deleted file mode 100644 index 7f9dd162dbd2c0a64b6536f9f374636d1b845cd5..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000045.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000046.jpg b/static/interpolation/stacked/000046.jpg deleted file mode 100644 index 7a449878589abb83f40a913deb6160dc1d7fab93..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000046.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000047.jpg b/static/interpolation/stacked/000047.jpg deleted file mode 100644 index 03c39586715f3abde7048dd61dc32a3209d76375..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000047.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000048.jpg b/static/interpolation/stacked/000048.jpg deleted file mode 100644 index 77129a2c2b6f4565c2d4d85aa48840d4f3e850d3..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000048.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000049.jpg b/static/interpolation/stacked/000049.jpg deleted file mode 100644 index e7ed02efc95486e873465ecaaede18acf30221e6..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000049.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000050.jpg b/static/interpolation/stacked/000050.jpg deleted file mode 100644 index e61f3895f7d84f96d563b7b7459e671981a7620b..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000050.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000051.jpg b/static/interpolation/stacked/000051.jpg deleted file mode 100644 index 7bfa73a88f5a878a987887d73cd380e0c2652f06..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000051.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000052.jpg b/static/interpolation/stacked/000052.jpg deleted file mode 100644 index 82256db64ec4ed9e8c352491cac443b80cb26a11..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000052.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000053.jpg b/static/interpolation/stacked/000053.jpg deleted file mode 100644 index ad16cce68eefad878e2f77945b240f0913f45d77..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000053.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000054.jpg b/static/interpolation/stacked/000054.jpg deleted file mode 100644 index f620062a5576aab3e09048cfad52592a5b4b0a84..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000054.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000055.jpg b/static/interpolation/stacked/000055.jpg deleted file mode 100644 index ec126efa5ed2ae3b8589b61a717ca3560ff12d56..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000055.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000056.jpg b/static/interpolation/stacked/000056.jpg deleted file mode 100644 index 4f74719a2b07ff8326ea6c9008f9765093d7a653..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000056.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000057.jpg b/static/interpolation/stacked/000057.jpg deleted file mode 100644 index dc4d897e787371196b440367135ce46a26f6c29f..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000057.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000058.jpg b/static/interpolation/stacked/000058.jpg deleted file mode 100644 index 693b38ead4f73b9d7e43603a103269439ec17ead..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000058.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000059.jpg b/static/interpolation/stacked/000059.jpg deleted file mode 100644 index 0630f506f6e562184a5804fe9a7ba5b99a091f6d..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000059.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000060.jpg b/static/interpolation/stacked/000060.jpg deleted file mode 100644 index c6c8776ce25968d8d2e1f3a7a3e4b637a2bbd2fa..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000060.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000061.jpg b/static/interpolation/stacked/000061.jpg deleted file mode 100644 index 835168de947eb36a8f9c1c4ffeaea6fcb1a6c360..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000061.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000062.jpg b/static/interpolation/stacked/000062.jpg deleted file mode 100644 index b115cae007851b2e8382ad3a78cb9223e7d5dc7a..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000062.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000063.jpg b/static/interpolation/stacked/000063.jpg deleted file mode 100644 index b643379f2816c9017402d1ff4c3c2c576cd220af..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000063.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000064.jpg b/static/interpolation/stacked/000064.jpg deleted file mode 100644 index ebf11ebfce3d26b127c17f891988743577a8a378..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000064.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000065.jpg b/static/interpolation/stacked/000065.jpg deleted file mode 100644 index 34cbe4cbaf27d07fd0a4cb08b730cdc6fcc3636d..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000065.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000066.jpg b/static/interpolation/stacked/000066.jpg deleted file mode 100644 index 31530e9d9654494fac0159864195c7f60abdd61d..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000066.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000067.jpg b/static/interpolation/stacked/000067.jpg deleted file mode 100644 index 99552ab7cde630351f707ba31158532a72111686..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000067.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000068.jpg b/static/interpolation/stacked/000068.jpg deleted file mode 100644 index f162cc112820f26fa01b7cc4e56fc1d15c176d43..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000068.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000069.jpg b/static/interpolation/stacked/000069.jpg deleted file mode 100644 index d952710437c5d055d26bfd9593c138977ea4df65..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000069.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000070.jpg b/static/interpolation/stacked/000070.jpg deleted file mode 100644 index f395f241518e75f8b1d167b1d8dec2fcf8e1fa75..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000070.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000071.jpg b/static/interpolation/stacked/000071.jpg deleted file mode 100644 index 5ddd33fac34986ce32d2d52497ead02e72b142d7..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000071.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000072.jpg b/static/interpolation/stacked/000072.jpg deleted file mode 100644 index 26180a1844292db4f1fe6605726bd61a63ef0089..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000072.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000073.jpg b/static/interpolation/stacked/000073.jpg deleted file mode 100644 index b8001c7d5ca6a7cdc3d38c6405a2f99559923caa..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000073.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000074.jpg b/static/interpolation/stacked/000074.jpg deleted file mode 100644 index 6fd34fa34f6d6f1579679250e795bdcb4e4d3b7f..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000074.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000075.jpg b/static/interpolation/stacked/000075.jpg deleted file mode 100644 index 91d7aec8ca621d150cdca025d9e2e005ba449427..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000075.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000076.jpg b/static/interpolation/stacked/000076.jpg deleted file mode 100644 index daca19db848b92a3a8a4433303aa01a3b0cd66a8..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000076.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000077.jpg b/static/interpolation/stacked/000077.jpg deleted file mode 100644 index a3795817469143fce4749fb557d30ecb032a4d48..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000077.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000078.jpg b/static/interpolation/stacked/000078.jpg deleted file mode 100644 index 05ede0319d9d183dc1a979df3c1fc2a4aa02050e..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000078.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000079.jpg b/static/interpolation/stacked/000079.jpg deleted file mode 100644 index 3eddc4b1e951e614b10d8f87c596e017dec6e38a..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000079.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000080.jpg b/static/interpolation/stacked/000080.jpg deleted file mode 100644 index bb076a7bc8e9df2a2b31ef3dbf2c77ab60cb69fc..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000080.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000081.jpg b/static/interpolation/stacked/000081.jpg deleted file mode 100644 index 4069e757af6466c7060680ca97979aae877dac21..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000081.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000082.jpg b/static/interpolation/stacked/000082.jpg deleted file mode 100644 index f6065170b96520d1078289149d6d552f4f523b43..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000082.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000083.jpg b/static/interpolation/stacked/000083.jpg deleted file mode 100644 index 8249e8a841e56d2129993b5923bbfff6871e9598..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000083.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000084.jpg b/static/interpolation/stacked/000084.jpg deleted file mode 100644 index 5326593d5760ad73f11e0e8ac87ca3f601081945..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000084.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000085.jpg b/static/interpolation/stacked/000085.jpg deleted file mode 100644 index 4560b9a4b0ad9f2867865799109755e33b7065bb..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000085.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000086.jpg b/static/interpolation/stacked/000086.jpg deleted file mode 100644 index ace2aac5dd7c02a593c052e7e866fb9a6fc5ba98..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000086.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000087.jpg b/static/interpolation/stacked/000087.jpg deleted file mode 100644 index 83f009153e9ca63545c1eea9de93eb2b537e740c..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000087.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000088.jpg b/static/interpolation/stacked/000088.jpg deleted file mode 100644 index 74678b6225ce4c5c823fa0458362f44308432634..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000088.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000089.jpg b/static/interpolation/stacked/000089.jpg deleted file mode 100644 index 102a7c95d27b4736602b73ad28db78a5c2dba181..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000089.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000090.jpg b/static/interpolation/stacked/000090.jpg deleted file mode 100644 index c8737139eb951e6f438f3c341d6b85ff0abfb03f..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000090.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000091.jpg b/static/interpolation/stacked/000091.jpg deleted file mode 100644 index e3ee0bef5679ead32be12787c045870196456459..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000091.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000092.jpg b/static/interpolation/stacked/000092.jpg deleted file mode 100644 index b10f80363dd0d3725ab1c6da5975309e684e6d7d..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000092.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000093.jpg b/static/interpolation/stacked/000093.jpg deleted file mode 100644 index cffb1e9cc67425c3ec3048e3ba1df4dc1ebb7ccc..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000093.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000094.jpg b/static/interpolation/stacked/000094.jpg deleted file mode 100644 index 09852faf76cf2272e53f88a0ece06f2fbabad3e0..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000094.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000095.jpg b/static/interpolation/stacked/000095.jpg deleted file mode 100644 index ffdc62bbe6c6120a120f020ec2401a2d8252aad0..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000095.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000096.jpg b/static/interpolation/stacked/000096.jpg deleted file mode 100644 index 62619b2aacd782d0df583e897db8073c6ce740cc..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000096.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000097.jpg b/static/interpolation/stacked/000097.jpg deleted file mode 100644 index 0c941639d683bc10147a003894d92ae2ea0098ac..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000097.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000098.jpg b/static/interpolation/stacked/000098.jpg deleted file mode 100644 index 3f5198bee92d6a46173e815125f240764b41a669..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000098.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000099.jpg b/static/interpolation/stacked/000099.jpg deleted file mode 100644 index c52cdeae3afd36e8dfefb82e9f084560a45f4ed9..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000099.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000100.jpg b/static/interpolation/stacked/000100.jpg deleted file mode 100644 index 928dd428a8a82e477fcebe5a132ac220ab6a1afa..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000100.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000101.jpg b/static/interpolation/stacked/000101.jpg deleted file mode 100644 index d84f408d85c2e565bf958c76ac90b7de2992d7d0..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000101.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000102.jpg b/static/interpolation/stacked/000102.jpg deleted file mode 100644 index 6dc7be60cb315f09fd3ab88c1efbc89b602e2e4f..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000102.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000103.jpg b/static/interpolation/stacked/000103.jpg deleted file mode 100644 index 846f9f4a3f1085e1accf39e4762e8773497c83f5..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000103.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000104.jpg b/static/interpolation/stacked/000104.jpg deleted file mode 100644 index cc77eec19754cb91694bfa0c97dae33bf92b73b4..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000104.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000105.jpg b/static/interpolation/stacked/000105.jpg deleted file mode 100644 index fbe60af6aeebbbb202386d87121a0e95c56abdc6..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000105.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000106.jpg b/static/interpolation/stacked/000106.jpg deleted file mode 100644 index d3154bab3828d327ac1cd4fab1ef47fd59ea2585..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000106.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000107.jpg b/static/interpolation/stacked/000107.jpg deleted file mode 100644 index cfd2905d5959aa2dfc80b0da4242d3efcac8e08a..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000107.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000108.jpg b/static/interpolation/stacked/000108.jpg deleted file mode 100644 index c19eaeda55027acf610d714daefa49b87c428513..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000108.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000109.jpg b/static/interpolation/stacked/000109.jpg deleted file mode 100644 index 17d9c6ec43eb9164797dfb5dff56ca794c1835fc..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000109.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000110.jpg b/static/interpolation/stacked/000110.jpg deleted file mode 100644 index 2fc32b4f0f66d14fca999e71db42124f84442dc5..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000110.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000111.jpg b/static/interpolation/stacked/000111.jpg deleted file mode 100644 index af3659cf73e4c8b6ef2a3acd3ea657077610131d..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000111.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000112.jpg b/static/interpolation/stacked/000112.jpg deleted file mode 100644 index 540872f94ed7243b51dc95c653f52553c01dd840..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000112.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000113.jpg b/static/interpolation/stacked/000113.jpg deleted file mode 100644 index 6e268efb7717b24525ac08b3a01613fde3474463..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000113.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000114.jpg b/static/interpolation/stacked/000114.jpg deleted file mode 100644 index e44333571a9f51ac8b496bfd95afe7d591851a31..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000114.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000115.jpg b/static/interpolation/stacked/000115.jpg deleted file mode 100644 index 1fb8482c986f3dcfdce072e02f8e46cb96c5e21d..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000115.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000116.jpg b/static/interpolation/stacked/000116.jpg deleted file mode 100644 index faf6b9800b828a7f53616b3b987493881a5076ca..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000116.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000117.jpg b/static/interpolation/stacked/000117.jpg deleted file mode 100644 index 70f42373a629d54ca562f9e65cfdad3275f906b8..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000117.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000118.jpg b/static/interpolation/stacked/000118.jpg deleted file mode 100644 index dfc1ee8be3990ab8faea769cff343daf24cd9fc3..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000118.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000119.jpg b/static/interpolation/stacked/000119.jpg deleted file mode 100644 index 41c0b5035afa9c481155f2ba101a8c945b998838..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000119.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000120.jpg b/static/interpolation/stacked/000120.jpg deleted file mode 100644 index 6e868387790d5d40c2b053b67e5a7763d8663f5c..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000120.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000121.jpg b/static/interpolation/stacked/000121.jpg deleted file mode 100644 index 55aecba26ad72850e043b80a4737e1606f17ec50..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000121.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000122.jpg b/static/interpolation/stacked/000122.jpg deleted file mode 100644 index 2847a3a7a6966c2f3ce843360bba4c6829d9aef8..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000122.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000123.jpg b/static/interpolation/stacked/000123.jpg deleted file mode 100644 index fb8410167e2a8a8b234c47be0f9bf4ef78453633..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000123.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000124.jpg b/static/interpolation/stacked/000124.jpg deleted file mode 100644 index 045c7a2912fd48644de06a0196acf0466b04f17c..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000124.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000125.jpg b/static/interpolation/stacked/000125.jpg deleted file mode 100644 index 4583a535093b5bba68db8356d7ca1f6ee0d07a1d..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000125.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000126.jpg b/static/interpolation/stacked/000126.jpg deleted file mode 100644 index 3d74fe77bef6076c2930c44917cec6c4d55f29ee..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000126.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000127.jpg b/static/interpolation/stacked/000127.jpg deleted file mode 100644 index 86f9025b1701149df51b045b51bd5c35e3922079..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000127.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000128.jpg b/static/interpolation/stacked/000128.jpg deleted file mode 100644 index c6057d8b05633b9d9cb7217a313c3bdfed1625a5..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000128.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000129.jpg b/static/interpolation/stacked/000129.jpg deleted file mode 100644 index 0c535b5cd067d2504b16a86fee54e2106cae3c4a..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000129.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000130.jpg b/static/interpolation/stacked/000130.jpg deleted file mode 100644 index fbe7444f5230c347485fceffe45a47a30e2b4c34..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000130.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000131.jpg b/static/interpolation/stacked/000131.jpg deleted file mode 100644 index a9507d802312246245b0928084e8d2f368471f1c..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000131.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000132.jpg b/static/interpolation/stacked/000132.jpg deleted file mode 100644 index 75e6c9943a2fabe4daf817322dded111810e0776..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000132.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000133.jpg b/static/interpolation/stacked/000133.jpg deleted file mode 100644 index 081ab474c7d50b30c620db9b7a7fa14610015f24..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000133.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000134.jpg b/static/interpolation/stacked/000134.jpg deleted file mode 100644 index e91c024be1feffa5381b0b6fb5a5005d4de70496..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000134.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000135.jpg b/static/interpolation/stacked/000135.jpg deleted file mode 100644 index 8186944043891dc9a07b310c68a37a2ee33fc691..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000135.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000136.jpg b/static/interpolation/stacked/000136.jpg deleted file mode 100644 index ecf33a8a05a480c105f3e33d30809ee907ec8df1..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000136.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000137.jpg b/static/interpolation/stacked/000137.jpg deleted file mode 100644 index 0eba4b70f384fb4086668949a308ffb11bad37a9..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000137.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000138.jpg b/static/interpolation/stacked/000138.jpg deleted file mode 100644 index 9e67ff4203d1b2f70dd14e258d63f4731f54f623..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000138.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000139.jpg b/static/interpolation/stacked/000139.jpg deleted file mode 100644 index 49cdf9f71d961fe0e8bd1666151357770e818147..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000139.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000140.jpg b/static/interpolation/stacked/000140.jpg deleted file mode 100644 index 7b77bf9486ceabc032b8f6cf404bbe78e0cee4ce..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000140.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000141.jpg b/static/interpolation/stacked/000141.jpg deleted file mode 100644 index 1a7ddd0970ea2ac9aa672f963e010175322b5805..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000141.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000142.jpg b/static/interpolation/stacked/000142.jpg deleted file mode 100644 index 6afffd846b81003f4eee0886c6b1d9880899a7a0..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000142.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000143.jpg b/static/interpolation/stacked/000143.jpg deleted file mode 100644 index 649235a9f2d8d1d61ae9e2cb5cf1c522b5970337..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000143.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000144.jpg b/static/interpolation/stacked/000144.jpg deleted file mode 100644 index 327acf3ac00e687eb0f5b29ce32c1a9b2c5bd857..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000144.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000145.jpg b/static/interpolation/stacked/000145.jpg deleted file mode 100644 index 0d82ed354584647abb16da04d0785c9153e9a589..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000145.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000146.jpg b/static/interpolation/stacked/000146.jpg deleted file mode 100644 index 2b85ec06148359395615580d4b81e85f1a4b7f46..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000146.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000147.jpg b/static/interpolation/stacked/000147.jpg deleted file mode 100644 index 707b5132b593c991596f5e29058d72e21317fe72..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000147.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000148.jpg b/static/interpolation/stacked/000148.jpg deleted file mode 100644 index b3d21363cf19343e491c60aa64f29a63c6ccc28d..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000148.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000149.jpg b/static/interpolation/stacked/000149.jpg deleted file mode 100644 index 7d1a42941ebcb2a8c78a58acf861ced8e83c5746..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000149.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000150.jpg b/static/interpolation/stacked/000150.jpg deleted file mode 100644 index d6c5437ee055ef71011cbef943f662e0fb8762c8..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000150.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000151.jpg b/static/interpolation/stacked/000151.jpg deleted file mode 100644 index 3ec55237420e2eed47838a1335ded1be6049534e..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000151.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000152.jpg b/static/interpolation/stacked/000152.jpg deleted file mode 100644 index aebda6cf2093efc32fb197fb694c64788bd68e53..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000152.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000153.jpg b/static/interpolation/stacked/000153.jpg deleted file mode 100644 index 3ff6d1634d64c3fa7cc3a46c4062cc6102c8619c..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000153.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000154.jpg b/static/interpolation/stacked/000154.jpg deleted file mode 100644 index 74d4b3627d7b5a146663c9761f505dd02b2a751c..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000154.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000155.jpg b/static/interpolation/stacked/000155.jpg deleted file mode 100644 index 7bf666e29a07f08dc30da7bdb5e3818693d7146a..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000155.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000156.jpg b/static/interpolation/stacked/000156.jpg deleted file mode 100644 index 0c67b6d79b756ba86eff7765806ae844274bed1d..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000156.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000157.jpg b/static/interpolation/stacked/000157.jpg deleted file mode 100644 index 7792ca9e4c61414151202ce4d577e5ff07f68928..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000157.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000158.jpg b/static/interpolation/stacked/000158.jpg deleted file mode 100644 index 11cb04099231bd86433d8d5fc068cd9b759040f0..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000158.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000159.jpg b/static/interpolation/stacked/000159.jpg deleted file mode 100644 index 76dfed7fac0d39fbed00fe66691698b993c4bd63..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000159.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000160.jpg b/static/interpolation/stacked/000160.jpg deleted file mode 100644 index 2315d4fb55fc1349101571fbeebe85eaa053e852..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000160.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000161.jpg b/static/interpolation/stacked/000161.jpg deleted file mode 100644 index e5fe46fb113194145380dadc4d0a0d08b27e6742..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000161.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000162.jpg b/static/interpolation/stacked/000162.jpg deleted file mode 100644 index 53fa6c92621d7c7cc1f46ed0470d5b241c7a7150..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000162.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000163.jpg b/static/interpolation/stacked/000163.jpg deleted file mode 100644 index 29e97d6be0f01047608590525e925343479593f5..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000163.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000164.jpg b/static/interpolation/stacked/000164.jpg deleted file mode 100644 index 51d2af7508e0177f9b978461ca050f50e432738a..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000164.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000165.jpg b/static/interpolation/stacked/000165.jpg deleted file mode 100644 index 90ee7c589e49b840fbcadaae3bbb968f46212652..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000165.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000166.jpg b/static/interpolation/stacked/000166.jpg deleted file mode 100644 index 1049dccfe4778ba2ce145498542e12e869f5291d..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000166.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000167.jpg b/static/interpolation/stacked/000167.jpg deleted file mode 100644 index 384d48a5b5b7447fa042754bf5443dabcb8073ea..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000167.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000168.jpg b/static/interpolation/stacked/000168.jpg deleted file mode 100644 index e6e452e9f8a0d5344d4348238eb4cd30750dfa98..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000168.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000169.jpg b/static/interpolation/stacked/000169.jpg deleted file mode 100644 index 6fe3c277b10e1eb08f1559195cbe8c3c97712a44..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000169.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000170.jpg b/static/interpolation/stacked/000170.jpg deleted file mode 100644 index 3727082baa1bbb85704ced402cd0f839d2a337b1..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000170.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000171.jpg b/static/interpolation/stacked/000171.jpg deleted file mode 100644 index fdea483d6c5b9799449b85110b0dd926e51bbcfc..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000171.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000172.jpg b/static/interpolation/stacked/000172.jpg deleted file mode 100644 index 9888d770d8d80a385f44a5a36945895f6eb785a2..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000172.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000173.jpg b/static/interpolation/stacked/000173.jpg deleted file mode 100644 index 90c7dd9e36c59157a59ba689dae6b91eed690e34..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000173.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000174.jpg b/static/interpolation/stacked/000174.jpg deleted file mode 100644 index 4fa563e15e5f742fe7f0f57cad7770907ad446f2..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000174.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000175.jpg b/static/interpolation/stacked/000175.jpg deleted file mode 100644 index 0f0cfac2d01ed48a9ddd2763ec90a51abdd2d9d1..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000175.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000176.jpg b/static/interpolation/stacked/000176.jpg deleted file mode 100644 index 14c8ecfbb6a5fbe2f0e001c4cef5931af485b068..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000176.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000177.jpg b/static/interpolation/stacked/000177.jpg deleted file mode 100644 index 7a890d68d6b11e31acfa6bf3e498aaf7494008c9..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000177.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000178.jpg b/static/interpolation/stacked/000178.jpg deleted file mode 100644 index 132c6d59692e83986e6c4290bc78e9f59eed4e28..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000178.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000179.jpg b/static/interpolation/stacked/000179.jpg deleted file mode 100644 index b397ceccf90e7fd14a888dc530860a5bb56bbcf6..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000179.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000180.jpg b/static/interpolation/stacked/000180.jpg deleted file mode 100644 index 1a195b1cc6591a7619cc4f0b5f77eca235079590..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000180.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000181.jpg b/static/interpolation/stacked/000181.jpg deleted file mode 100644 index 5a9d28b7501cdd0ed6b6c44a4500f5be6205440b..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000181.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000182.jpg b/static/interpolation/stacked/000182.jpg deleted file mode 100644 index 9b6d00b0265c07bfbd3852ebfbd63611b6cc91bf..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000182.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000183.jpg b/static/interpolation/stacked/000183.jpg deleted file mode 100644 index 9bf56431c687e8d9c8ebce089e969113b887dfde..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000183.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000184.jpg b/static/interpolation/stacked/000184.jpg deleted file mode 100644 index c914dc2fc4cc071f5d36cb8779eb81bb76fc0c14..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000184.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000185.jpg b/static/interpolation/stacked/000185.jpg deleted file mode 100644 index e93e6fb1bc5ded8479cd4a0a3b4cfcf442223c21..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000185.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000186.jpg b/static/interpolation/stacked/000186.jpg deleted file mode 100644 index 95542616243d397c4159e5e92c4b7533b23d908c..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000186.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000187.jpg b/static/interpolation/stacked/000187.jpg deleted file mode 100644 index f78b0f3f3e137817db888951e1ccb0bcab73d02b..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000187.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000188.jpg b/static/interpolation/stacked/000188.jpg deleted file mode 100644 index 5b0eee286909857648d13e8238e08ba149b5dcd6..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000188.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000189.jpg b/static/interpolation/stacked/000189.jpg deleted file mode 100644 index 14c70a9c00b72132c8ea8d64c40acf954bb88cee..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000189.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000190.jpg b/static/interpolation/stacked/000190.jpg deleted file mode 100644 index e423e55687c82a4904e1b611dccb978aab558280..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000190.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000191.jpg b/static/interpolation/stacked/000191.jpg deleted file mode 100644 index cce3ba72d3922422342e8c4d9f065d25b31a130a..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000191.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000192.jpg b/static/interpolation/stacked/000192.jpg deleted file mode 100644 index 78f9ffaea5fe1dde158f1e70ededdfec6ffdf4aa..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000192.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000193.jpg b/static/interpolation/stacked/000193.jpg deleted file mode 100644 index 6bb52fa0aff718c92b95d2fd3d5a4b5a87ceeb78..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000193.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000194.jpg b/static/interpolation/stacked/000194.jpg deleted file mode 100644 index a9ac80f34dd55921204a57c6a8d5b28ce18ae9c9..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000194.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000195.jpg b/static/interpolation/stacked/000195.jpg deleted file mode 100644 index 8e3ac9a04fa7c8bd59960172d9fd2868e0bd3142..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000195.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000196.jpg b/static/interpolation/stacked/000196.jpg deleted file mode 100644 index 577ff89fa5d3c12cb970cdfac72d2489e5b2184b..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000196.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000197.jpg b/static/interpolation/stacked/000197.jpg deleted file mode 100644 index 06305788ba7391e5d7b8f13ff580e359198c8f5f..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000197.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000198.jpg b/static/interpolation/stacked/000198.jpg deleted file mode 100644 index 859711ec2e07b351e923efb1e6785d53552a8b18..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000198.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000199.jpg b/static/interpolation/stacked/000199.jpg deleted file mode 100644 index fdb5444be8b5a5c5d1c38eac2fc5cf155e69fb83..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000199.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000200.jpg b/static/interpolation/stacked/000200.jpg deleted file mode 100644 index 8430771b81fd9a657a88d8cd2f729129a7cbaa22..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000200.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000201.jpg b/static/interpolation/stacked/000201.jpg deleted file mode 100644 index 08ed462b486d8cba5762137089786582579fd500..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000201.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000202.jpg b/static/interpolation/stacked/000202.jpg deleted file mode 100644 index aa30b505cadf97346555b9358611bd531eee3a2b..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000202.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000203.jpg b/static/interpolation/stacked/000203.jpg deleted file mode 100644 index 8736127631e1a024382bd239e3689e78430c44a8..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000203.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000204.jpg b/static/interpolation/stacked/000204.jpg deleted file mode 100644 index 8d52f7f0508c325be4a1e6a534d307ccc9520574..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000204.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000205.jpg b/static/interpolation/stacked/000205.jpg deleted file mode 100644 index 46eb45caf3e542833d81a750fa45603c98f823f5..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000205.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000206.jpg b/static/interpolation/stacked/000206.jpg deleted file mode 100644 index f61d6b18b28cd510d93baead8a2d5ee5c31a98df..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000206.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000207.jpg b/static/interpolation/stacked/000207.jpg deleted file mode 100644 index c155c52f631b8dd956226c96a9cc071c9ad473a7..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000207.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000208.jpg b/static/interpolation/stacked/000208.jpg deleted file mode 100644 index 35a9b0b67062ac873a99ca6ebbe550ebc5600abe..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000208.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000209.jpg b/static/interpolation/stacked/000209.jpg deleted file mode 100644 index 0685229b7da742685f44206f3e098410c13cc4f1..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000209.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000210.jpg b/static/interpolation/stacked/000210.jpg deleted file mode 100644 index a5e1942f0029dae77d33e812793590d8eea58e1b..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000210.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000211.jpg b/static/interpolation/stacked/000211.jpg deleted file mode 100644 index 30932e552a304b212a9d913df0a56d07c7acc81b..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000211.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000212.jpg b/static/interpolation/stacked/000212.jpg deleted file mode 100644 index 7e6317f7ac1f1d234970c76783c511571c804de5..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000212.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000213.jpg b/static/interpolation/stacked/000213.jpg deleted file mode 100644 index e674a94c5fa45602cfbbe0818a642f1fe783476d..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000213.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000214.jpg b/static/interpolation/stacked/000214.jpg deleted file mode 100644 index 245dff5439e25f356fe1ec194e9987b76680c79b..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000214.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000215.jpg b/static/interpolation/stacked/000215.jpg deleted file mode 100644 index b78e04e457dab5a63d5db8310c2fae8e3047057c..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000215.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000216.jpg b/static/interpolation/stacked/000216.jpg deleted file mode 100644 index a3730bca84b7c434c05aaa14fcd0449d963fca58..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000216.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000217.jpg b/static/interpolation/stacked/000217.jpg deleted file mode 100644 index 87b04d58fcac22a50f2c5a3a19652f32aba96afd..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000217.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000218.jpg b/static/interpolation/stacked/000218.jpg deleted file mode 100644 index 5d38c429cfb2cb6f85674ed55b9a8e0c954b8828..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000218.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000219.jpg b/static/interpolation/stacked/000219.jpg deleted file mode 100644 index 3d5469bb9f0f72003ddbf2df7e6fd3700b3722d8..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000219.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000220.jpg b/static/interpolation/stacked/000220.jpg deleted file mode 100644 index b0dd6be38c4213948f7365e8f29dc77c8f05957f..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000220.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000221.jpg b/static/interpolation/stacked/000221.jpg deleted file mode 100644 index 9cb06cc32fc0be1f1a1784de8079b7b572986f6b..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000221.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000222.jpg b/static/interpolation/stacked/000222.jpg deleted file mode 100644 index 4e39b318de02fc5c1e43b89ea9d9d11be8efa2aa..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000222.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000223.jpg b/static/interpolation/stacked/000223.jpg deleted file mode 100644 index 7c919febdb3908d39ede34e33da049d7e342d8df..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000223.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000224.jpg b/static/interpolation/stacked/000224.jpg deleted file mode 100644 index dd370c03617214d8b1ae5a36fe2eb07573c10f7d..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000224.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000225.jpg b/static/interpolation/stacked/000225.jpg deleted file mode 100644 index 81aa2ba28fa543afd4db603ae04edef8ff288817..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000225.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000226.jpg b/static/interpolation/stacked/000226.jpg deleted file mode 100644 index 3d7fd4097a25bcc4eaffcc78fe60e8adab2bfd36..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000226.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000227.jpg b/static/interpolation/stacked/000227.jpg deleted file mode 100644 index ac85320b0cef90967f58ad8a51c4dc3cf65422e0..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000227.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000228.jpg b/static/interpolation/stacked/000228.jpg deleted file mode 100644 index 5fa70009b059efc00111692d150b763f5efb29a9..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000228.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000229.jpg b/static/interpolation/stacked/000229.jpg deleted file mode 100644 index 726b47d6b77efa1df091ce2ff5ab697a1a8c7a30..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000229.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000230.jpg b/static/interpolation/stacked/000230.jpg deleted file mode 100644 index 7438bb277459887a0c0e8638bfadac5d1ae2c518..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000230.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000231.jpg b/static/interpolation/stacked/000231.jpg deleted file mode 100644 index e31462b0d758c8b4cb0f0667b64cdaea9c2b9144..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000231.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000232.jpg b/static/interpolation/stacked/000232.jpg deleted file mode 100644 index 86a5980317e0ce418ad22f6264136781328a427e..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000232.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000233.jpg b/static/interpolation/stacked/000233.jpg deleted file mode 100644 index a1b19c031488706a91e4218371ef3c63c53442ea..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000233.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000234.jpg b/static/interpolation/stacked/000234.jpg deleted file mode 100644 index b42b61ca8a71c5b9e42c18b7727a31a189980773..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000234.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000235.jpg b/static/interpolation/stacked/000235.jpg deleted file mode 100644 index 9fa3782037d12480473b3cf68b140f56ee9dd229..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000235.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000236.jpg b/static/interpolation/stacked/000236.jpg deleted file mode 100644 index 1e653ded2dc03211bd5517b4ae4ebdf2e8291590..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000236.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000237.jpg b/static/interpolation/stacked/000237.jpg deleted file mode 100644 index 04683c7357bcfeea2805964dbefcaecd1784ddff..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000237.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000238.jpg b/static/interpolation/stacked/000238.jpg deleted file mode 100644 index 433e328bf032050b75867dad8111fa89b6bd30aa..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000238.jpg and /dev/null differ diff --git a/static/interpolation/stacked/000239.jpg b/static/interpolation/stacked/000239.jpg deleted file mode 100644 index 7e9d08fb002daf217058e6a712029e7b3e60a573..0000000000000000000000000000000000000000 Binary files a/static/interpolation/stacked/000239.jpg and /dev/null differ diff --git a/static/js/bulma-carousel.js b/static/js/bulma-carousel.js deleted file mode 100644 index 229edba242bb190698662cdce6bdacde9f0769fe..0000000000000000000000000000000000000000 --- a/static/js/bulma-carousel.js +++ /dev/null @@ -1,2371 +0,0 @@ -(function webpackUniversalModuleDefinition(root, factory) { - if(typeof exports === 'object' && typeof module === 'object') - module.exports = factory(); - else if(typeof define === 'function' && define.amd) - define([], factory); - else if(typeof exports === 'object') - exports["bulmaCarousel"] = factory(); - else - root["bulmaCarousel"] = factory(); -})(typeof self !== 'undefined' ? self : this, function() { -return /******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 5); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* unused harmony export addClasses */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return removeClasses; }); -/* unused harmony export show */ -/* unused harmony export hide */ -/* unused harmony export offset */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return width; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return height; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return outerHeight; }); -/* unused harmony export outerWidth */ -/* unused harmony export position */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return css; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__type__ = __webpack_require__(2); - - -var addClasses = function addClasses(element, classes) { - classes = Array.isArray(classes) ? classes : classes.split(' '); - classes.forEach(function (cls) { - element.classList.add(cls); - }); -}; - -var removeClasses = function removeClasses(element, classes) { - classes = Array.isArray(classes) ? classes : classes.split(' '); - classes.forEach(function (cls) { - element.classList.remove(cls); - }); -}; - -var show = function show(elements) { - elements = Array.isArray(elements) ? elements : [elements]; - elements.forEach(function (element) { - element.style.display = ''; - }); -}; - -var hide = function hide(elements) { - elements = Array.isArray(elements) ? elements : [elements]; - elements.forEach(function (element) { - element.style.display = 'none'; - }); -}; - -var offset = function offset(element) { - var rect = element.getBoundingClientRect(); - return { - top: rect.top + document.body.scrollTop, - left: rect.left + document.body.scrollLeft - }; -}; - -// returns an element's width -var width = function width(element) { - return element.getBoundingClientRect().width || element.offsetWidth; -}; -// returns an element's height -var height = function height(element) { - return element.getBoundingClientRect().height || element.offsetHeight; -}; - -var outerHeight = function outerHeight(element) { - var withMargin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - - var height = element.offsetHeight; - if (withMargin) { - var style = window.getComputedStyle(element); - height += parseInt(style.marginTop) + parseInt(style.marginBottom); - } - return height; -}; - -var outerWidth = function outerWidth(element) { - var withMargin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - - var width = element.offsetWidth; - if (withMargin) { - var style = window.getComputedStyle(element); - width += parseInt(style.marginLeft) + parseInt(style.marginRight); - } - return width; -}; - -var position = function position(element) { - return { - left: element.offsetLeft, - top: element.offsetTop - }; -}; - -var css = function css(element, obj) { - if (!obj) { - return window.getComputedStyle(element); - } - if (Object(__WEBPACK_IMPORTED_MODULE_0__type__["b" /* isObject */])(obj)) { - var style = ''; - Object.keys(obj).forEach(function (key) { - style += key + ': ' + obj[key] + ';'; - }); - - element.style.cssText += style; - } -}; - -/***/ }), -/* 1 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (immutable) */ __webpack_exports__["a"] = detectSupportsPassive; -function detectSupportsPassive() { - var supportsPassive = false; - - try { - var opts = Object.defineProperty({}, 'passive', { - get: function get() { - supportsPassive = true; - } - }); - - window.addEventListener('testPassive', null, opts); - window.removeEventListener('testPassive', null, opts); - } catch (e) {} - - return supportsPassive; -} - -/***/ }), -/* 2 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isFunction; }); -/* unused harmony export isNumber */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return isString; }); -/* unused harmony export isDate */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return isObject; }); -/* unused harmony export isEmptyObject */ -/* unused harmony export isNode */ -/* unused harmony export isVideo */ -/* unused harmony export isHTML5 */ -/* unused harmony export isIFrame */ -/* unused harmony export isYoutube */ -/* unused harmony export isVimeo */ -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -var isFunction = function isFunction(unknown) { - return typeof unknown === 'function'; -}; -var isNumber = function isNumber(unknown) { - return typeof unknown === "number"; -}; -var isString = function isString(unknown) { - return typeof unknown === 'string' || !!unknown && (typeof unknown === 'undefined' ? 'undefined' : _typeof(unknown)) === 'object' && Object.prototype.toString.call(unknown) === '[object String]'; -}; -var isDate = function isDate(unknown) { - return (Object.prototype.toString.call(unknown) === '[object Date]' || unknown instanceof Date) && !isNaN(unknown.valueOf()); -}; -var isObject = function isObject(unknown) { - return (typeof unknown === 'function' || (typeof unknown === 'undefined' ? 'undefined' : _typeof(unknown)) === 'object' && !!unknown) && !Array.isArray(unknown); -}; -var isEmptyObject = function isEmptyObject(unknown) { - for (var name in unknown) { - if (unknown.hasOwnProperty(name)) { - return false; - } - } - return true; -}; - -var isNode = function isNode(unknown) { - return !!(unknown && unknown.nodeType === HTMLElement | SVGElement); -}; -var isVideo = function isVideo(unknown) { - return isYoutube(unknown) || isVimeo(unknown) || isHTML5(unknown); -}; -var isHTML5 = function isHTML5(unknown) { - return isNode(unknown) && unknown.tagName === 'VIDEO'; -}; -var isIFrame = function isIFrame(unknown) { - return isNode(unknown) && unknown.tagName === 'IFRAME'; -}; -var isYoutube = function isYoutube(unknown) { - return isIFrame(unknown) && !!unknown.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/); -}; -var isVimeo = function isVimeo(unknown) { - return isIFrame(unknown) && !!unknown.src.match(/vimeo\.com\/video\/.*/); -}; - -/***/ }), -/* 3 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var EventEmitter = function () { - function EventEmitter() { - var events = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - - _classCallCheck(this, EventEmitter); - - this.events = new Map(events); - } - - _createClass(EventEmitter, [{ - key: "on", - value: function on(name, cb) { - var _this = this; - - this.events.set(name, [].concat(_toConsumableArray(this.events.has(name) ? this.events.get(name) : []), [cb])); - - return function () { - return _this.events.set(name, _this.events.get(name).filter(function (fn) { - return fn !== cb; - })); - }; - } - }, { - key: "emit", - value: function emit(name) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - return this.events.has(name) && this.events.get(name).map(function (fn) { - return fn.apply(undefined, args); - }); - } - }]); - - return EventEmitter; -}(); - -/* harmony default export */ __webpack_exports__["a"] = (EventEmitter); - -/***/ }), -/* 4 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var Coordinate = function () { - function Coordinate() { - var x = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; - var y = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; - - _classCallCheck(this, Coordinate); - - this._x = x; - this._y = y; - } - - _createClass(Coordinate, [{ - key: 'add', - value: function add(coord) { - return new Coordinate(this._x + coord._x, this._y + coord._y); - } - }, { - key: 'sub', - value: function sub(coord) { - return new Coordinate(this._x - coord._x, this._y - coord._y); - } - }, { - key: 'distance', - value: function distance(coord) { - var deltaX = this._x - coord._x; - var deltaY = this._y - coord._y; - - return Math.sqrt(Math.pow(deltaX, 2) + Math.pow(deltaY, 2)); - } - }, { - key: 'max', - value: function max(coord) { - var x = Math.max(this._x, coord._x); - var y = Math.max(this._y, coord._y); - - return new Coordinate(x, y); - } - }, { - key: 'equals', - value: function equals(coord) { - if (this == coord) { - return true; - } - if (!coord || coord == null) { - return false; - } - return this._x == coord._x && this._y == coord._y; - } - }, { - key: 'inside', - value: function inside(northwest, southeast) { - if (this._x >= northwest._x && this._x <= southeast._x && this._y >= northwest._y && this._y <= southeast._y) { - - return true; - } - return false; - } - }, { - key: 'constrain', - value: function constrain(min, max) { - if (min._x > max._x || min._y > max._y) { - return this; - } - - var x = this._x, - y = this._y; - - if (min._x !== null) { - x = Math.max(x, min._x); - } - if (max._x !== null) { - x = Math.min(x, max._x); - } - if (min._y !== null) { - y = Math.max(y, min._y); - } - if (max._y !== null) { - y = Math.min(y, max._y); - } - - return new Coordinate(x, y); - } - }, { - key: 'reposition', - value: function reposition(element) { - element.style['top'] = this._y + 'px'; - element.style['left'] = this._x + 'px'; - } - }, { - key: 'toString', - value: function toString() { - return '(' + this._x + ',' + this._y + ')'; - } - }, { - key: 'x', - get: function get() { - return this._x; - }, - set: function set() { - var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; - - this._x = value; - return this; - } - }, { - key: 'y', - get: function get() { - return this._y; - }, - set: function set() { - var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; - - this._y = value; - return this; - } - }]); - - return Coordinate; -}(); - -/* harmony default export */ __webpack_exports__["a"] = (Coordinate); - -/***/ }), -/* 5 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_index__ = __webpack_require__(6); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils_css__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__utils_type__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__utils_eventEmitter__ = __webpack_require__(3); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_autoplay__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_breakpoint__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_infinite__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__components_loop__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__components_navigation__ = __webpack_require__(13); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__components_pagination__ = __webpack_require__(15); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__components_swipe__ = __webpack_require__(18); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__components_transitioner__ = __webpack_require__(19); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__defaultOptions__ = __webpack_require__(22); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__templates__ = __webpack_require__(23); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__templates_item__ = __webpack_require__(24); -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - - - - - - - - - - - - - - - - - - -var bulmaCarousel = function (_EventEmitter) { - _inherits(bulmaCarousel, _EventEmitter); - - function bulmaCarousel(selector) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - _classCallCheck(this, bulmaCarousel); - - var _this = _possibleConstructorReturn(this, (bulmaCarousel.__proto__ || Object.getPrototypeOf(bulmaCarousel)).call(this)); - - _this.element = Object(__WEBPACK_IMPORTED_MODULE_2__utils_type__["c" /* isString */])(selector) ? document.querySelector(selector) : selector; - // An invalid selector or non-DOM node has been provided. - if (!_this.element) { - throw new Error('An invalid selector or non-DOM node has been provided.'); - } - _this._clickEvents = ['click', 'touch']; - - // Use Element dataset values to override options - var elementConfig = _this.element.dataset ? Object.keys(_this.element.dataset).filter(function (key) { - return Object.keys(__WEBPACK_IMPORTED_MODULE_12__defaultOptions__["a" /* default */]).includes(key); - }).reduce(function (obj, key) { - return _extends({}, obj, _defineProperty({}, key, _this.element.dataset[key])); - }, {}) : {}; - // Set default options - dataset attributes are master - _this.options = _extends({}, __WEBPACK_IMPORTED_MODULE_12__defaultOptions__["a" /* default */], options, elementConfig); - - _this._id = Object(__WEBPACK_IMPORTED_MODULE_0__utils_index__["a" /* uuid */])('slider'); - - _this.onShow = _this.onShow.bind(_this); - - // Initiate plugin - _this._init(); - return _this; - } - - /** - * Initiate all DOM element containing datePicker class - * @method - * @return {Array} Array of all datePicker instances - */ - - - _createClass(bulmaCarousel, [{ - key: '_init', - - - /**************************************************** - * * - * PRIVATE FUNCTIONS * - * * - ****************************************************/ - /** - * Initiate plugin instance - * @method _init - * @return {Slider} Current plugin instance - */ - value: function _init() { - this._items = Array.from(this.element.children); - - // Load plugins - this._breakpoint = new __WEBPACK_IMPORTED_MODULE_5__components_breakpoint__["a" /* default */](this); - this._autoplay = new __WEBPACK_IMPORTED_MODULE_4__components_autoplay__["a" /* default */](this); - this._navigation = new __WEBPACK_IMPORTED_MODULE_8__components_navigation__["a" /* default */](this); - this._pagination = new __WEBPACK_IMPORTED_MODULE_9__components_pagination__["a" /* default */](this); - this._infinite = new __WEBPACK_IMPORTED_MODULE_6__components_infinite__["a" /* default */](this); - this._loop = new __WEBPACK_IMPORTED_MODULE_7__components_loop__["a" /* default */](this); - this._swipe = new __WEBPACK_IMPORTED_MODULE_10__components_swipe__["a" /* default */](this); - - this._build(); - - if (Object(__WEBPACK_IMPORTED_MODULE_2__utils_type__["a" /* isFunction */])(this.options.onReady)) { - this.options.onReady(this); - } - - return this; - } - - /** - * Build Slider HTML component and append it to the DOM - * @method _build - */ - - }, { - key: '_build', - value: function _build() { - var _this2 = this; - - // Generate HTML Fragment of template - this.node = document.createRange().createContextualFragment(Object(__WEBPACK_IMPORTED_MODULE_13__templates__["a" /* default */])(this.id)); - // Save pointers to template parts - this._ui = { - wrapper: this.node.firstChild, - container: this.node.querySelector('.slider-container') - - // Add slider to DOM - };this.element.appendChild(this.node); - this._ui.wrapper.classList.add('is-loading'); - this._ui.container.style.opacity = 0; - - this._transitioner = new __WEBPACK_IMPORTED_MODULE_11__components_transitioner__["a" /* default */](this); - - // Wrap all items by slide element - this._slides = this._items.map(function (item, index) { - return _this2._createSlide(item, index); - }); - - this.reset(); - - this._bindEvents(); - - this._ui.container.style.opacity = 1; - this._ui.wrapper.classList.remove('is-loading'); - } - - /** - * Bind all events - * @method _bindEvents - * @return {void} - */ - - }, { - key: '_bindEvents', - value: function _bindEvents() { - this.on('show', this.onShow); - } - }, { - key: '_unbindEvents', - value: function _unbindEvents() { - this.off('show', this.onShow); - } - }, { - key: '_createSlide', - value: function _createSlide(item, index) { - var slide = document.createRange().createContextualFragment(Object(__WEBPACK_IMPORTED_MODULE_14__templates_item__["a" /* default */])()).firstChild; - slide.dataset.sliderIndex = index; - slide.appendChild(item); - return slide; - } - - /** - * Calculate slider dimensions - */ - - }, { - key: '_setDimensions', - value: function _setDimensions() { - var _this3 = this; - - if (!this.options.vertical) { - if (this.options.centerMode) { - this._ui.wrapper.style.padding = '0px ' + this.options.centerPadding; - } - } else { - this._ui.wrapper.style.height = Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["c" /* outerHeight */])(this._slides[0]) * this.slidesToShow; - if (this.options.centerMode) { - this._ui.wrapper.style.padding = this.options.centerPadding + ' 0px'; - } - } - - this._wrapperWidth = Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["e" /* width */])(this._ui.wrapper); - this._wrapperHeight = Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["c" /* outerHeight */])(this._ui.wrapper); - - if (!this.options.vertical) { - this._slideWidth = Math.ceil(this._wrapperWidth / this.slidesToShow); - this._containerWidth = Math.ceil(this._slideWidth * this._slides.length); - this._ui.container.style.width = this._containerWidth + 'px'; - } else { - this._slideWidth = Math.ceil(this._wrapperWidth); - this._containerHeight = Math.ceil(Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["c" /* outerHeight */])(this._slides[0]) * this._slides.length); - this._ui.container.style.height = this._containerHeight + 'px'; - } - - this._slides.forEach(function (slide) { - slide.style.width = _this3._slideWidth + 'px'; - }); - } - }, { - key: '_setHeight', - value: function _setHeight() { - if (this.options.effect !== 'translate') { - this._ui.container.style.height = Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["c" /* outerHeight */])(this._slides[this.state.index]) + 'px'; - } - } - - // Update slides classes - - }, { - key: '_setClasses', - value: function _setClasses() { - var _this4 = this; - - this._slides.forEach(function (slide) { - Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["d" /* removeClasses */])(slide, 'is-active is-current is-slide-previous is-slide-next'); - if (Math.abs((_this4.state.index - 1) % _this4.state.length) === parseInt(slide.dataset.sliderIndex, 10)) { - slide.classList.add('is-slide-previous'); - } - if (Math.abs(_this4.state.index % _this4.state.length) === parseInt(slide.dataset.sliderIndex, 10)) { - slide.classList.add('is-current'); - } - if (Math.abs((_this4.state.index + 1) % _this4.state.length) === parseInt(slide.dataset.sliderIndex, 10)) { - slide.classList.add('is-slide-next'); - } - }); - } - - /**************************************************** - * * - * GETTERS and SETTERS * - * * - ****************************************************/ - - /** - * Get id of current datePicker - */ - - }, { - key: 'onShow', - - - /**************************************************** - * * - * EVENTS FUNCTIONS * - * * - ****************************************************/ - value: function onShow(e) { - this._navigation.refresh(); - this._pagination.refresh(); - this._setClasses(); - } - - /**************************************************** - * * - * PUBLIC FUNCTIONS * - * * - ****************************************************/ - - }, { - key: 'next', - value: function next() { - if (!this.options.loop && !this.options.infinite && this.state.index + this.slidesToScroll > this.state.length - this.slidesToShow && !this.options.centerMode) { - this.state.next = this.state.index; - } else { - this.state.next = this.state.index + this.slidesToScroll; - } - this.show(); - } - }, { - key: 'previous', - value: function previous() { - if (!this.options.loop && !this.options.infinite && this.state.index === 0) { - this.state.next = this.state.index; - } else { - this.state.next = this.state.index - this.slidesToScroll; - } - this.show(); - } - }, { - key: 'start', - value: function start() { - this._autoplay.start(); - } - }, { - key: 'pause', - value: function pause() { - this._autoplay.pause(); - } - }, { - key: 'stop', - value: function stop() { - this._autoplay.stop(); - } - }, { - key: 'show', - value: function show(index) { - var force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - - // If all slides are already visible then return - if (!this.state.length || this.state.length <= this.slidesToShow) { - return; - } - - if (typeof index === 'Number') { - this.state.next = index; - } - - if (this.options.loop) { - this._loop.apply(); - } - if (this.options.infinite) { - this._infinite.apply(); - } - - // If new slide is already the current one then return - if (this.state.index === this.state.next) { - return; - } - - this.emit('before:show', this.state); - this._transitioner.apply(force, this._setHeight.bind(this)); - this.emit('after:show', this.state); - - this.emit('show', this); - } - }, { - key: 'reset', - value: function reset() { - var _this5 = this; - - this.state = { - length: this._items.length, - index: Math.abs(this.options.initialSlide), - next: Math.abs(this.options.initialSlide), - prev: undefined - }; - - // Fix options - if (this.options.loop && this.options.infinite) { - this.options.loop = false; - } - if (this.options.slidesToScroll > this.options.slidesToShow) { - this.options.slidesToScroll = this.slidesToShow; - } - this._breakpoint.init(); - - if (this.state.index >= this.state.length && this.state.index !== 0) { - this.state.index = this.state.index - this.slidesToScroll; - } - if (this.state.length <= this.slidesToShow) { - this.state.index = 0; - } - - this._ui.wrapper.appendChild(this._navigation.init().render()); - this._ui.wrapper.appendChild(this._pagination.init().render()); - - if (this.options.navigationSwipe) { - this._swipe.bindEvents(); - } else { - this._swipe._bindEvents(); - } - - this._breakpoint.apply(); - // Move all created slides into slider - this._slides.forEach(function (slide) { - return _this5._ui.container.appendChild(slide); - }); - this._transitioner.init().apply(true, this._setHeight.bind(this)); - - if (this.options.autoplay) { - this._autoplay.init().start(); - } - } - - /** - * Destroy Slider - * @method destroy - */ - - }, { - key: 'destroy', - value: function destroy() { - var _this6 = this; - - this._unbindEvents(); - this._items.forEach(function (item) { - _this6.element.appendChild(item); - }); - this.node.remove(); - } - }, { - key: 'id', - get: function get() { - return this._id; - } - }, { - key: 'index', - set: function set(index) { - this._index = index; - }, - get: function get() { - return this._index; - } - }, { - key: 'length', - set: function set(length) { - this._length = length; - }, - get: function get() { - return this._length; - } - }, { - key: 'slides', - get: function get() { - return this._slides; - }, - set: function set(slides) { - this._slides = slides; - } - }, { - key: 'slidesToScroll', - get: function get() { - return this.options.effect === 'translate' ? this._breakpoint.getSlidesToScroll() : 1; - } - }, { - key: 'slidesToShow', - get: function get() { - return this.options.effect === 'translate' ? this._breakpoint.getSlidesToShow() : 1; - } - }, { - key: 'direction', - get: function get() { - return this.element.dir.toLowerCase() === 'rtl' || this.element.style.direction === 'rtl' ? 'rtl' : 'ltr'; - } - }, { - key: 'wrapper', - get: function get() { - return this._ui.wrapper; - } - }, { - key: 'wrapperWidth', - get: function get() { - return this._wrapperWidth || 0; - } - }, { - key: 'container', - get: function get() { - return this._ui.container; - } - }, { - key: 'containerWidth', - get: function get() { - return this._containerWidth || 0; - } - }, { - key: 'slideWidth', - get: function get() { - return this._slideWidth || 0; - } - }, { - key: 'transitioner', - get: function get() { - return this._transitioner; - } - }], [{ - key: 'attach', - value: function attach() { - var _this7 = this; - - var selector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '.slider'; - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - var instances = new Array(); - - var elements = Object(__WEBPACK_IMPORTED_MODULE_2__utils_type__["c" /* isString */])(selector) ? document.querySelectorAll(selector) : Array.isArray(selector) ? selector : [selector]; - [].forEach.call(elements, function (element) { - if (typeof element[_this7.constructor.name] === 'undefined') { - var instance = new bulmaCarousel(element, options); - element[_this7.constructor.name] = instance; - instances.push(instance); - } else { - instances.push(element[_this7.constructor.name]); - } - }); - - return instances; - } - }]); - - return bulmaCarousel; -}(__WEBPACK_IMPORTED_MODULE_3__utils_eventEmitter__["a" /* default */]); - -/* harmony default export */ __webpack_exports__["default"] = (bulmaCarousel); - -/***/ }), -/* 6 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return uuid; }); -/* unused harmony export isRtl */ -/* unused harmony export defer */ -/* unused harmony export getNodeIndex */ -/* unused harmony export camelize */ -function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } - -var uuid = function uuid() { - var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; - return prefix + ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, function (c) { - return (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16); - }); -}; -var isRtl = function isRtl() { - return document.documentElement.getAttribute('dir') === 'rtl'; -}; - -var defer = function defer() { - this.promise = new Promise(function (resolve, reject) { - this.resolve = resolve; - this.reject = reject; - }.bind(this)); - - this.then = this.promise.then.bind(this.promise); - this.catch = this.promise.catch.bind(this.promise); -}; - -var getNodeIndex = function getNodeIndex(node) { - return [].concat(_toConsumableArray(node.parentNode.children)).indexOf(node); -}; -var camelize = function camelize(str) { - return str.replace(/-(\w)/g, toUpper); -}; - -/***/ }), -/* 7 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_eventEmitter__ = __webpack_require__(3); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils_device__ = __webpack_require__(8); -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - - - -var onVisibilityChange = Symbol('onVisibilityChange'); -var onMouseEnter = Symbol('onMouseEnter'); -var onMouseLeave = Symbol('onMouseLeave'); - -var defaultOptions = { - autoplay: false, - autoplaySpeed: 3000 -}; - -var Autoplay = function (_EventEmitter) { - _inherits(Autoplay, _EventEmitter); - - function Autoplay(slider) { - _classCallCheck(this, Autoplay); - - var _this = _possibleConstructorReturn(this, (Autoplay.__proto__ || Object.getPrototypeOf(Autoplay)).call(this)); - - _this.slider = slider; - - _this.onVisibilityChange = _this.onVisibilityChange.bind(_this); - _this.onMouseEnter = _this.onMouseEnter.bind(_this); - _this.onMouseLeave = _this.onMouseLeave.bind(_this); - return _this; - } - - _createClass(Autoplay, [{ - key: 'init', - value: function init() { - this._bindEvents(); - return this; - } - }, { - key: '_bindEvents', - value: function _bindEvents() { - document.addEventListener('visibilitychange', this.onVisibilityChange); - if (this.slider.options.pauseOnHover) { - this.slider.container.addEventListener(__WEBPACK_IMPORTED_MODULE_1__utils_device__["a" /* pointerEnter */], this.onMouseEnter); - this.slider.container.addEventListener(__WEBPACK_IMPORTED_MODULE_1__utils_device__["b" /* pointerLeave */], this.onMouseLeave); - } - } - }, { - key: '_unbindEvents', - value: function _unbindEvents() { - document.removeEventListener('visibilitychange', this.onVisibilityChange); - this.slider.container.removeEventListener(__WEBPACK_IMPORTED_MODULE_1__utils_device__["a" /* pointerEnter */], this.onMouseEnter); - this.slider.container.removeEventListener(__WEBPACK_IMPORTED_MODULE_1__utils_device__["b" /* pointerLeave */], this.onMouseLeave); - } - }, { - key: 'start', - value: function start() { - var _this2 = this; - - this.stop(); - if (this.slider.options.autoplay) { - this.emit('start', this); - this._interval = setInterval(function () { - if (!(_this2._hovering && _this2.slider.options.pauseOnHover)) { - if (!_this2.slider.options.centerMode && _this2.slider.state.next >= _this2.slider.state.length - _this2.slider.slidesToShow && !_this2.slider.options.loop && !_this2.slider.options.infinite) { - _this2.stop(); - } else { - _this2.slider.next(); - } - } - }, this.slider.options.autoplaySpeed); - } - } - }, { - key: 'stop', - value: function stop() { - this._interval = clearInterval(this._interval); - this.emit('stop', this); - } - }, { - key: 'pause', - value: function pause() { - var _this3 = this; - - var speed = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; - - if (this.paused) { - return; - } - if (this.timer) { - this.stop(); - } - this.paused = true; - if (speed === 0) { - this.paused = false; - this.start(); - } else { - this.slider.on('transition:end', function () { - if (!_this3) { - return; - } - _this3.paused = false; - if (!_this3.run) { - _this3.stop(); - } else { - _this3.start(); - } - }); - } - } - }, { - key: 'onVisibilityChange', - value: function onVisibilityChange(e) { - if (document.hidden) { - this.stop(); - } else { - this.start(); - } - } - }, { - key: 'onMouseEnter', - value: function onMouseEnter(e) { - this._hovering = true; - if (this.slider.options.pauseOnHover) { - this.pause(); - } - } - }, { - key: 'onMouseLeave', - value: function onMouseLeave(e) { - this._hovering = false; - if (this.slider.options.pauseOnHover) { - this.pause(); - } - } - }]); - - return Autoplay; -}(__WEBPACK_IMPORTED_MODULE_0__utils_eventEmitter__["a" /* default */]); - -/* harmony default export */ __webpack_exports__["a"] = (Autoplay); - -/***/ }), -/* 8 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* unused harmony export isIE */ -/* unused harmony export isIETouch */ -/* unused harmony export isAndroid */ -/* unused harmony export isiPad */ -/* unused harmony export isiPod */ -/* unused harmony export isiPhone */ -/* unused harmony export isSafari */ -/* unused harmony export isUiWebView */ -/* unused harmony export supportsTouchEvents */ -/* unused harmony export supportsPointerEvents */ -/* unused harmony export supportsTouch */ -/* unused harmony export pointerDown */ -/* unused harmony export pointerMove */ -/* unused harmony export pointerUp */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return pointerEnter; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return pointerLeave; }); -var isIE = window.navigator.pointerEnabled || window.navigator.msPointerEnabled; -var isIETouch = window.navigator.msPointerEnabled && window.navigator.msMaxTouchPoints > 1 || window.navigator.pointerEnabled && window.navigator.maxTouchPoints > 1; -var isAndroid = navigator.userAgent.match(/(Android);?[\s\/]+([\d.]+)?/); -var isiPad = navigator.userAgent.match(/(iPad).*OS\s([\d_]+)/); -var isiPod = navigator.userAgent.match(/(iPod)(.*OS\s([\d_]+))?/); -var isiPhone = !navigator.userAgent.match(/(iPad).*OS\s([\d_]+)/) && navigator.userAgent.match(/(iPhone\sOS)\s([\d_]+)/); -var isSafari = navigator.userAgent.toLowerCase().indexOf('safari') >= 0 && navigator.userAgent.toLowerCase().indexOf('chrome') < 0 && navigator.userAgent.toLowerCase().indexOf('android') < 0; -var isUiWebView = /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent); - -var supportsTouchEvents = !!('ontouchstart' in window); -var supportsPointerEvents = !!('PointerEvent' in window); -var supportsTouch = supportsTouchEvents || window.DocumentTouch && document instanceof DocumentTouch || navigator.maxTouchPoints; // IE >=11 -var pointerDown = !supportsTouch ? 'mousedown' : 'mousedown ' + (supportsTouchEvents ? 'touchstart' : 'pointerdown'); -var pointerMove = !supportsTouch ? 'mousemove' : 'mousemove ' + (supportsTouchEvents ? 'touchmove' : 'pointermove'); -var pointerUp = !supportsTouch ? 'mouseup' : 'mouseup ' + (supportsTouchEvents ? 'touchend' : 'pointerup'); -var pointerEnter = supportsTouch && supportsPointerEvents ? 'pointerenter' : 'mouseenter'; -var pointerLeave = supportsTouch && supportsPointerEvents ? 'pointerleave' : 'mouseleave'; - -/***/ }), -/* 9 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var onResize = Symbol('onResize'); - -var Breakpoints = function () { - function Breakpoints(slider) { - _classCallCheck(this, Breakpoints); - - this.slider = slider; - this.options = slider.options; - - this[onResize] = this[onResize].bind(this); - - this._bindEvents(); - } - - _createClass(Breakpoints, [{ - key: 'init', - value: function init() { - this._defaultBreakpoint = { - slidesToShow: this.options.slidesToShow, - slidesToScroll: this.options.slidesToScroll - }; - this.options.breakpoints.sort(function (a, b) { - return parseInt(a.changePoint, 10) > parseInt(b.changePoint, 10); - }); - this._currentBreakpoint = this._getActiveBreakpoint(); - - return this; - } - }, { - key: 'destroy', - value: function destroy() { - this._unbindEvents(); - } - }, { - key: '_bindEvents', - value: function _bindEvents() { - window.addEventListener('resize', this[onResize]); - window.addEventListener('orientationchange', this[onResize]); - } - }, { - key: '_unbindEvents', - value: function _unbindEvents() { - window.removeEventListener('resize', this[onResize]); - window.removeEventListener('orientationchange', this[onResize]); - } - }, { - key: '_getActiveBreakpoint', - value: function _getActiveBreakpoint() { - //Get breakpoint for window width - var _iteratorNormalCompletion = true; - var _didIteratorError = false; - var _iteratorError = undefined; - - try { - for (var _iterator = this.options.breakpoints[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { - var point = _step.value; - - if (point.changePoint >= window.innerWidth) { - return point; - } - } - } catch (err) { - _didIteratorError = true; - _iteratorError = err; - } finally { - try { - if (!_iteratorNormalCompletion && _iterator.return) { - _iterator.return(); - } - } finally { - if (_didIteratorError) { - throw _iteratorError; - } - } - } - - return this._defaultBreakpoint; - } - }, { - key: 'getSlidesToShow', - value: function getSlidesToShow() { - return this._currentBreakpoint ? this._currentBreakpoint.slidesToShow : this._defaultBreakpoint.slidesToShow; - } - }, { - key: 'getSlidesToScroll', - value: function getSlidesToScroll() { - return this._currentBreakpoint ? this._currentBreakpoint.slidesToScroll : this._defaultBreakpoint.slidesToScroll; - } - }, { - key: 'apply', - value: function apply() { - if (this.slider.state.index >= this.slider.state.length && this.slider.state.index !== 0) { - this.slider.state.index = this.slider.state.index - this._currentBreakpoint.slidesToScroll; - } - if (this.slider.state.length <= this._currentBreakpoint.slidesToShow) { - this.slider.state.index = 0; - } - - if (this.options.loop) { - this.slider._loop.init().apply(); - } - - if (this.options.infinite) { - this.slider._infinite.init().apply(); - } - - this.slider._setDimensions(); - this.slider._transitioner.init().apply(true, this.slider._setHeight.bind(this.slider)); - this.slider._setClasses(); - - this.slider._navigation.refresh(); - this.slider._pagination.refresh(); - } - }, { - key: onResize, - value: function value(e) { - var newBreakPoint = this._getActiveBreakpoint(); - if (newBreakPoint.slidesToShow !== this._currentBreakpoint.slidesToShow) { - this._currentBreakpoint = newBreakPoint; - this.apply(); - } - } - }]); - - return Breakpoints; -}(); - -/* harmony default export */ __webpack_exports__["a"] = (Breakpoints); - -/***/ }), -/* 10 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var Infinite = function () { - function Infinite(slider) { - _classCallCheck(this, Infinite); - - this.slider = slider; - } - - _createClass(Infinite, [{ - key: 'init', - value: function init() { - if (this.slider.options.infinite && this.slider.options.effect === 'translate') { - if (this.slider.options.centerMode) { - this._infiniteCount = Math.ceil(this.slider.slidesToShow + this.slider.slidesToShow / 2); - } else { - this._infiniteCount = this.slider.slidesToShow; - } - - var frontClones = []; - var slideIndex = 0; - for (var i = this.slider.state.length; i > this.slider.state.length - 1 - this._infiniteCount; i -= 1) { - slideIndex = i - 1; - frontClones.unshift(this._cloneSlide(this.slider.slides[slideIndex], slideIndex - this.slider.state.length)); - } - - var backClones = []; - for (var _i = 0; _i < this._infiniteCount + this.slider.state.length; _i += 1) { - backClones.push(this._cloneSlide(this.slider.slides[_i % this.slider.state.length], _i + this.slider.state.length)); - } - - this.slider.slides = [].concat(frontClones, _toConsumableArray(this.slider.slides), backClones); - } - return this; - } - }, { - key: 'apply', - value: function apply() {} - }, { - key: 'onTransitionEnd', - value: function onTransitionEnd(e) { - if (this.slider.options.infinite) { - if (this.slider.state.next >= this.slider.state.length) { - this.slider.state.index = this.slider.state.next = this.slider.state.next - this.slider.state.length; - this.slider.transitioner.apply(true); - } else if (this.slider.state.next < 0) { - this.slider.state.index = this.slider.state.next = this.slider.state.length + this.slider.state.next; - this.slider.transitioner.apply(true); - } - } - } - }, { - key: '_cloneSlide', - value: function _cloneSlide(slide, index) { - var newSlide = slide.cloneNode(true); - newSlide.dataset.sliderIndex = index; - newSlide.dataset.cloned = true; - var ids = newSlide.querySelectorAll('[id]') || []; - ids.forEach(function (id) { - id.setAttribute('id', ''); - }); - return newSlide; - } - }]); - - return Infinite; -}(); - -/* harmony default export */ __webpack_exports__["a"] = (Infinite); - -/***/ }), -/* 11 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_dom__ = __webpack_require__(12); -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - - -var Loop = function () { - function Loop(slider) { - _classCallCheck(this, Loop); - - this.slider = slider; - } - - _createClass(Loop, [{ - key: "init", - value: function init() { - return this; - } - }, { - key: "apply", - value: function apply() { - if (this.slider.options.loop) { - if (this.slider.state.next > 0) { - if (this.slider.state.next < this.slider.state.length) { - if (this.slider.state.next > this.slider.state.length - this.slider.slidesToShow && Object(__WEBPACK_IMPORTED_MODULE_0__utils_dom__["a" /* isInViewport */])(this.slider._slides[this.slider.state.length - 1], this.slider.wrapper)) { - this.slider.state.next = 0; - } else { - this.slider.state.next = Math.min(Math.max(this.slider.state.next, 0), this.slider.state.length - this.slider.slidesToShow); - } - } else { - this.slider.state.next = 0; - } - } else { - if (this.slider.state.next <= 0 - this.slider.slidesToScroll) { - this.slider.state.next = this.slider.state.length - this.slider.slidesToShow; - } else { - this.slider.state.next = 0; - } - } - } - } - }]); - - return Loop; -}(); - -/* harmony default export */ __webpack_exports__["a"] = (Loop); - -/***/ }), -/* 12 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isInViewport; }); -var isInViewport = function isInViewport(element, html) { - var rect = element.getBoundingClientRect(); - html = html || document.documentElement; - return rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || html.clientHeight) && rect.right <= (window.innerWidth || html.clientWidth); -}; - -/***/ }), -/* 13 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__templates_navigation__ = __webpack_require__(14); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils_detect_supportsPassive__ = __webpack_require__(1); -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - - - -var Navigation = function () { - function Navigation(slider) { - _classCallCheck(this, Navigation); - - this.slider = slider; - - this._clickEvents = ['click', 'touch']; - this._supportsPassive = Object(__WEBPACK_IMPORTED_MODULE_1__utils_detect_supportsPassive__["a" /* default */])(); - - this.onPreviousClick = this.onPreviousClick.bind(this); - this.onNextClick = this.onNextClick.bind(this); - this.onKeyUp = this.onKeyUp.bind(this); - } - - _createClass(Navigation, [{ - key: 'init', - value: function init() { - this.node = document.createRange().createContextualFragment(Object(__WEBPACK_IMPORTED_MODULE_0__templates_navigation__["a" /* default */])(this.slider.options.icons)); - this._ui = { - previous: this.node.querySelector('.slider-navigation-previous'), - next: this.node.querySelector('.slider-navigation-next') - }; - - this._unbindEvents(); - this._bindEvents(); - - this.refresh(); - - return this; - } - }, { - key: 'destroy', - value: function destroy() { - this._unbindEvents(); - } - }, { - key: '_bindEvents', - value: function _bindEvents() { - var _this = this; - - this.slider.wrapper.addEventListener('keyup', this.onKeyUp); - this._clickEvents.forEach(function (clickEvent) { - _this._ui.previous.addEventListener(clickEvent, _this.onPreviousClick); - _this._ui.next.addEventListener(clickEvent, _this.onNextClick); - }); - } - }, { - key: '_unbindEvents', - value: function _unbindEvents() { - var _this2 = this; - - this.slider.wrapper.removeEventListener('keyup', this.onKeyUp); - this._clickEvents.forEach(function (clickEvent) { - _this2._ui.previous.removeEventListener(clickEvent, _this2.onPreviousClick); - _this2._ui.next.removeEventListener(clickEvent, _this2.onNextClick); - }); - } - }, { - key: 'onNextClick', - value: function onNextClick(e) { - if (!this._supportsPassive) { - e.preventDefault(); - } - - if (this.slider.options.navigation) { - this.slider.next(); - } - } - }, { - key: 'onPreviousClick', - value: function onPreviousClick(e) { - if (!this._supportsPassive) { - e.preventDefault(); - } - - if (this.slider.options.navigation) { - this.slider.previous(); - } - } - }, { - key: 'onKeyUp', - value: function onKeyUp(e) { - if (this.slider.options.keyNavigation) { - if (e.key === 'ArrowRight' || e.key === 'Right') { - this.slider.next(); - } else if (e.key === 'ArrowLeft' || e.key === 'Left') { - this.slider.previous(); - } - } - } - }, { - key: 'refresh', - value: function refresh() { - // let centerOffset = Math.floor(this.options.slidesToShow / 2); - if (!this.slider.options.loop && !this.slider.options.infinite) { - if (this.slider.options.navigation && this.slider.state.length > this.slider.slidesToShow) { - this._ui.previous.classList.remove('is-hidden'); - this._ui.next.classList.remove('is-hidden'); - if (this.slider.state.next === 0) { - this._ui.previous.classList.add('is-hidden'); - this._ui.next.classList.remove('is-hidden'); - } else if (this.slider.state.next >= this.slider.state.length - this.slider.slidesToShow && !this.slider.options.centerMode) { - this._ui.previous.classList.remove('is-hidden'); - this._ui.next.classList.add('is-hidden'); - } else if (this.slider.state.next >= this.slider.state.length - 1 && this.slider.options.centerMode) { - this._ui.previous.classList.remove('is-hidden'); - this._ui.next.classList.add('is-hidden'); - } - } else { - this._ui.previous.classList.add('is-hidden'); - this._ui.next.classList.add('is-hidden'); - } - } - } - }, { - key: 'render', - value: function render() { - return this.node; - } - }]); - - return Navigation; -}(); - -/* harmony default export */ __webpack_exports__["a"] = (Navigation); - -/***/ }), -/* 14 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony default export */ __webpack_exports__["a"] = (function (icons) { - return "
" + icons.previous + "
\n
" + icons.next + "
"; -}); - -/***/ }), -/* 15 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__templates_pagination__ = __webpack_require__(16); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__templates_pagination_page__ = __webpack_require__(17); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__utils_detect_supportsPassive__ = __webpack_require__(1); -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - - - - -var Pagination = function () { - function Pagination(slider) { - _classCallCheck(this, Pagination); - - this.slider = slider; - - this._clickEvents = ['click', 'touch']; - this._supportsPassive = Object(__WEBPACK_IMPORTED_MODULE_2__utils_detect_supportsPassive__["a" /* default */])(); - - this.onPageClick = this.onPageClick.bind(this); - this.onResize = this.onResize.bind(this); - } - - _createClass(Pagination, [{ - key: 'init', - value: function init() { - this._pages = []; - this.node = document.createRange().createContextualFragment(Object(__WEBPACK_IMPORTED_MODULE_0__templates_pagination__["a" /* default */])()); - this._ui = { - container: this.node.firstChild - }; - - this._count = Math.ceil((this.slider.state.length - this.slider.slidesToShow) / this.slider.slidesToScroll); - - this._draw(); - this.refresh(); - - return this; - } - }, { - key: 'destroy', - value: function destroy() { - this._unbindEvents(); - } - }, { - key: '_bindEvents', - value: function _bindEvents() { - var _this = this; - - window.addEventListener('resize', this.onResize); - window.addEventListener('orientationchange', this.onResize); - - this._clickEvents.forEach(function (clickEvent) { - _this._pages.forEach(function (page) { - return page.addEventListener(clickEvent, _this.onPageClick); - }); - }); - } - }, { - key: '_unbindEvents', - value: function _unbindEvents() { - var _this2 = this; - - window.removeEventListener('resize', this.onResize); - window.removeEventListener('orientationchange', this.onResize); - - this._clickEvents.forEach(function (clickEvent) { - _this2._pages.forEach(function (page) { - return page.removeEventListener(clickEvent, _this2.onPageClick); - }); - }); - } - }, { - key: '_draw', - value: function _draw() { - this._ui.container.innerHTML = ''; - if (this.slider.options.pagination && this.slider.state.length > this.slider.slidesToShow) { - for (var i = 0; i <= this._count; i++) { - var newPageNode = document.createRange().createContextualFragment(Object(__WEBPACK_IMPORTED_MODULE_1__templates_pagination_page__["a" /* default */])()).firstChild; - newPageNode.dataset.index = i * this.slider.slidesToScroll; - this._pages.push(newPageNode); - this._ui.container.appendChild(newPageNode); - } - this._bindEvents(); - } - } - }, { - key: 'onPageClick', - value: function onPageClick(e) { - if (!this._supportsPassive) { - e.preventDefault(); - } - - this.slider.state.next = e.currentTarget.dataset.index; - this.slider.show(); - } - }, { - key: 'onResize', - value: function onResize() { - this._draw(); - } - }, { - key: 'refresh', - value: function refresh() { - var _this3 = this; - - var newCount = void 0; - - if (this.slider.options.infinite) { - newCount = Math.ceil(this.slider.state.length - 1 / this.slider.slidesToScroll); - } else { - newCount = Math.ceil((this.slider.state.length - this.slider.slidesToShow) / this.slider.slidesToScroll); - } - if (newCount !== this._count) { - this._count = newCount; - this._draw(); - } - - this._pages.forEach(function (page) { - page.classList.remove('is-active'); - if (parseInt(page.dataset.index, 10) === _this3.slider.state.next % _this3.slider.state.length) { - page.classList.add('is-active'); - } - }); - } - }, { - key: 'render', - value: function render() { - return this.node; - } - }]); - - return Pagination; -}(); - -/* harmony default export */ __webpack_exports__["a"] = (Pagination); - -/***/ }), -/* 16 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony default export */ __webpack_exports__["a"] = (function () { - return "
"; -}); - -/***/ }), -/* 17 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony default export */ __webpack_exports__["a"] = (function () { - return "
"; -}); - -/***/ }), -/* 18 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils_detect_supportsPassive__ = __webpack_require__(1); -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - - - -var Swipe = function () { - function Swipe(slider) { - _classCallCheck(this, Swipe); - - this.slider = slider; - - this._supportsPassive = Object(__WEBPACK_IMPORTED_MODULE_1__utils_detect_supportsPassive__["a" /* default */])(); - - this.onStartDrag = this.onStartDrag.bind(this); - this.onMoveDrag = this.onMoveDrag.bind(this); - this.onStopDrag = this.onStopDrag.bind(this); - - this._init(); - } - - _createClass(Swipe, [{ - key: '_init', - value: function _init() {} - }, { - key: 'bindEvents', - value: function bindEvents() { - var _this = this; - - this.slider.container.addEventListener('dragstart', function (e) { - if (!_this._supportsPassive) { - e.preventDefault(); - } - }); - this.slider.container.addEventListener('mousedown', this.onStartDrag); - this.slider.container.addEventListener('touchstart', this.onStartDrag); - - window.addEventListener('mousemove', this.onMoveDrag); - window.addEventListener('touchmove', this.onMoveDrag); - - window.addEventListener('mouseup', this.onStopDrag); - window.addEventListener('touchend', this.onStopDrag); - window.addEventListener('touchcancel', this.onStopDrag); - } - }, { - key: 'unbindEvents', - value: function unbindEvents() { - var _this2 = this; - - this.slider.container.removeEventListener('dragstart', function (e) { - if (!_this2._supportsPassive) { - e.preventDefault(); - } - }); - this.slider.container.removeEventListener('mousedown', this.onStartDrag); - this.slider.container.removeEventListener('touchstart', this.onStartDrag); - - window.removeEventListener('mousemove', this.onMoveDrag); - window.removeEventListener('touchmove', this.onMoveDrag); - - window.removeEventListener('mouseup', this.onStopDrag); - window.removeEventListener('mouseup', this.onStopDrag); - window.removeEventListener('touchcancel', this.onStopDrag); - } - - /** - * @param {MouseEvent|TouchEvent} - */ - - }, { - key: 'onStartDrag', - value: function onStartDrag(e) { - if (e.touches) { - if (e.touches.length > 1) { - return; - } else { - e = e.touches[0]; - } - } - - this._origin = new __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__["a" /* default */](e.screenX, e.screenY); - this.width = this.slider.wrapperWidth; - this.slider.transitioner.disable(); - } - - /** - * @param {MouseEvent|TouchEvent} - */ - - }, { - key: 'onMoveDrag', - value: function onMoveDrag(e) { - if (this._origin) { - var point = e.touches ? e.touches[0] : e; - this._lastTranslate = new __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__["a" /* default */](point.screenX - this._origin.x, point.screenY - this._origin.y); - if (e.touches) { - if (Math.abs(this._lastTranslate.x) > Math.abs(this._lastTranslate.y)) { - if (!this._supportsPassive) { - e.preventDefault(); - } - e.stopPropagation(); - } - } - } - } - - /** - * @param {MouseEvent|TouchEvent} - */ - - }, { - key: 'onStopDrag', - value: function onStopDrag(e) { - if (this._origin && this._lastTranslate) { - if (Math.abs(this._lastTranslate.x) > 0.2 * this.width) { - if (this._lastTranslate.x < 0) { - this.slider.next(); - } else { - this.slider.previous(); - } - } else { - this.slider.show(true); - } - } - this._origin = null; - this._lastTranslate = null; - } - }]); - - return Swipe; -}(); - -/* harmony default export */ __webpack_exports__["a"] = (Swipe); - -/***/ }), -/* 19 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__transitions_fade__ = __webpack_require__(20); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__transitions_translate__ = __webpack_require__(21); -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - - - -var Transitioner = function () { - function Transitioner(slider) { - _classCallCheck(this, Transitioner); - - this.slider = slider; - this.options = slider.options; - - this._animating = false; - this._animation = undefined; - - this._translate = new __WEBPACK_IMPORTED_MODULE_1__transitions_translate__["a" /* default */](this, slider, slider.options); - this._fade = new __WEBPACK_IMPORTED_MODULE_0__transitions_fade__["a" /* default */](this, slider, slider.options); - } - - _createClass(Transitioner, [{ - key: 'init', - value: function init() { - this._fade.init(); - this._translate.init(); - return this; - } - }, { - key: 'isAnimating', - value: function isAnimating() { - return this._animating; - } - }, { - key: 'enable', - value: function enable() { - this._animation && this._animation.enable(); - } - }, { - key: 'disable', - value: function disable() { - this._animation && this._animation.disable(); - } - }, { - key: 'apply', - value: function apply(force, callback) { - // If we don't force refresh and animation in progress then return - if (this._animating && !force) { - return; - } - - switch (this.options.effect) { - case 'fade': - this._animation = this._fade; - break; - case 'translate': - default: - this._animation = this._translate; - break; - } - - this._animationCallback = callback; - - if (force) { - this._animation && this._animation.disable(); - } else { - this._animation && this._animation.enable(); - this._animating = true; - } - - this._animation && this._animation.apply(); - - if (force) { - this.end(); - } - } - }, { - key: 'end', - value: function end() { - this._animating = false; - this._animation = undefined; - this.slider.state.index = this.slider.state.next; - if (this._animationCallback) { - this._animationCallback(); - } - } - }]); - - return Transitioner; -}(); - -/* harmony default export */ __webpack_exports__["a"] = (Transitioner); - -/***/ }), -/* 20 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_css__ = __webpack_require__(0); -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - - -var Fade = function () { - function Fade(transitioner, slider) { - var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - - _classCallCheck(this, Fade); - - this.transitioner = transitioner; - this.slider = slider; - this.options = _extends({}, options); - } - - _createClass(Fade, [{ - key: 'init', - value: function init() { - var _this = this; - - if (this.options.effect === 'fade') { - this.slider.slides.forEach(function (slide, index) { - Object(__WEBPACK_IMPORTED_MODULE_0__utils_css__["a" /* css */])(slide, { - position: 'absolute', - left: 0, - top: 0, - bottom: 0, - 'z-index': slide.dataset.sliderIndex == _this.slider.state.index ? 0 : -2, - opacity: slide.dataset.sliderIndex == _this.slider.state.index ? 1 : 0 - }); - }); - } - return this; - } - }, { - key: 'enable', - value: function enable() { - var _this2 = this; - - this._oldSlide = this.slider.slides.filter(function (slide) { - return slide.dataset.sliderIndex == _this2.slider.state.index; - })[0]; - this._newSlide = this.slider.slides.filter(function (slide) { - return slide.dataset.sliderIndex == _this2.slider.state.next; - })[0]; - if (this._newSlide) { - this._newSlide.addEventListener('transitionend', this.onTransitionEnd.bind(this)); - this._newSlide.style.transition = this.options.duration + 'ms ' + this.options.timing; - if (this._oldSlide) { - this._oldSlide.addEventListener('transitionend', this.onTransitionEnd.bind(this)); - this._oldSlide.style.transition = this.options.duration + 'ms ' + this.options.timing; - } - } - } - }, { - key: 'disable', - value: function disable() { - var _this3 = this; - - this._oldSlide = this.slider.slides.filter(function (slide) { - return slide.dataset.sliderIndex == _this3.slider.state.index; - })[0]; - this._newSlide = this.slider.slides.filter(function (slide) { - return slide.dataset.sliderIndex == _this3.slider.state.next; - })[0]; - if (this._newSlide) { - this._newSlide.removeEventListener('transitionend', this.onTransitionEnd.bind(this)); - this._newSlide.style.transition = 'none'; - if (this._oldSlide) { - this._oldSlide.removeEventListener('transitionend', this.onTransitionEnd.bind(this)); - this._oldSlide.style.transition = 'none'; - } - } - } - }, { - key: 'apply', - value: function apply(force) { - var _this4 = this; - - this._oldSlide = this.slider.slides.filter(function (slide) { - return slide.dataset.sliderIndex == _this4.slider.state.index; - })[0]; - this._newSlide = this.slider.slides.filter(function (slide) { - return slide.dataset.sliderIndex == _this4.slider.state.next; - })[0]; - - if (this._oldSlide && this._newSlide) { - Object(__WEBPACK_IMPORTED_MODULE_0__utils_css__["a" /* css */])(this._oldSlide, { - opacity: 0 - }); - Object(__WEBPACK_IMPORTED_MODULE_0__utils_css__["a" /* css */])(this._newSlide, { - opacity: 1, - 'z-index': force ? 0 : -1 - }); - } - } - }, { - key: 'onTransitionEnd', - value: function onTransitionEnd(e) { - if (this.options.effect === 'fade') { - if (this.transitioner.isAnimating() && e.target == this._newSlide) { - if (this._newSlide) { - Object(__WEBPACK_IMPORTED_MODULE_0__utils_css__["a" /* css */])(this._newSlide, { - 'z-index': 0 - }); - this._newSlide.removeEventListener('transitionend', this.onTransitionEnd.bind(this)); - } - if (this._oldSlide) { - Object(__WEBPACK_IMPORTED_MODULE_0__utils_css__["a" /* css */])(this._oldSlide, { - 'z-index': -2 - }); - this._oldSlide.removeEventListener('transitionend', this.onTransitionEnd.bind(this)); - } - } - this.transitioner.end(); - } - } - }]); - - return Fade; -}(); - -/* harmony default export */ __webpack_exports__["a"] = (Fade); - -/***/ }), -/* 21 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils_css__ = __webpack_require__(0); -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - - - -var Translate = function () { - function Translate(transitioner, slider) { - var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - - _classCallCheck(this, Translate); - - this.transitioner = transitioner; - this.slider = slider; - this.options = _extends({}, options); - - this.onTransitionEnd = this.onTransitionEnd.bind(this); - } - - _createClass(Translate, [{ - key: 'init', - value: function init() { - this._position = new __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__["a" /* default */](this.slider.container.offsetLeft, this.slider.container.offsetTop); - this._bindEvents(); - return this; - } - }, { - key: 'destroy', - value: function destroy() { - this._unbindEvents(); - } - }, { - key: '_bindEvents', - value: function _bindEvents() { - this.slider.container.addEventListener('transitionend', this.onTransitionEnd); - } - }, { - key: '_unbindEvents', - value: function _unbindEvents() { - this.slider.container.removeEventListener('transitionend', this.onTransitionEnd); - } - }, { - key: 'enable', - value: function enable() { - this.slider.container.style.transition = this.options.duration + 'ms ' + this.options.timing; - } - }, { - key: 'disable', - value: function disable() { - this.slider.container.style.transition = 'none'; - } - }, { - key: 'apply', - value: function apply() { - var _this = this; - - var maxOffset = void 0; - if (this.options.effect === 'translate') { - var slide = this.slider.slides.filter(function (slide) { - return slide.dataset.sliderIndex == _this.slider.state.next; - })[0]; - var slideOffset = new __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__["a" /* default */](slide.offsetLeft, slide.offsetTop); - if (this.options.centerMode) { - maxOffset = new __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__["a" /* default */](Math.round(Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["e" /* width */])(this.slider.container)), Math.round(Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["b" /* height */])(this.slider.container))); - } else { - maxOffset = new __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__["a" /* default */](Math.round(Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["e" /* width */])(this.slider.container) - Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["e" /* width */])(this.slider.wrapper)), Math.round(Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["b" /* height */])(this.slider.container) - Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["b" /* height */])(this.slider.wrapper))); - } - var nextOffset = new __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__["a" /* default */](Math.min(Math.max(slideOffset.x * -1, maxOffset.x * -1), 0), Math.min(Math.max(slideOffset.y * -1, maxOffset.y * -1), 0)); - if (this.options.loop) { - if (!this.options.vertical && Math.abs(this._position.x) > maxOffset.x) { - nextOffset.x = 0; - this.slider.state.next = 0; - } else if (this.options.vertical && Math.abs(this._position.y) > maxOffset.y) { - nextOffset.y = 0; - this.slider.state.next = 0; - } - } - - this._position.x = nextOffset.x; - this._position.y = nextOffset.y; - if (this.options.centerMode) { - this._position.x = this._position.x + this.slider.wrapperWidth / 2 - Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["e" /* width */])(slide) / 2; - } - - if (this.slider.direction === 'rtl') { - this._position.x = -this._position.x; - this._position.y = -this._position.y; - } - this.slider.container.style.transform = 'translate3d(' + this._position.x + 'px, ' + this._position.y + 'px, 0)'; - - /** - * update the index with the nextIndex only if - * the offset of the nextIndex is in the range of the maxOffset - */ - if (slideOffset.x > maxOffset.x) { - this.slider.transitioner.end(); - } - } - } - }, { - key: 'onTransitionEnd', - value: function onTransitionEnd(e) { - if (this.options.effect === 'translate') { - - if (this.transitioner.isAnimating() && e.target == this.slider.container) { - if (this.options.infinite) { - this.slider._infinite.onTransitionEnd(e); - } - } - this.transitioner.end(); - } - } - }]); - - return Translate; -}(); - -/* harmony default export */ __webpack_exports__["a"] = (Translate); - -/***/ }), -/* 22 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -var defaultOptions = { - initialSlide: 0, - slidesToScroll: 1, - slidesToShow: 1, - - navigation: true, - navigationKeys: true, - navigationSwipe: true, - - pagination: true, - - loop: false, - infinite: false, - - effect: 'translate', - duration: 300, - timing: 'ease', - - autoplay: false, - autoplaySpeed: 3000, - pauseOnHover: true, - breakpoints: [{ - changePoint: 480, - slidesToShow: 1, - slidesToScroll: 1 - }, { - changePoint: 640, - slidesToShow: 2, - slidesToScroll: 2 - }, { - changePoint: 768, - slidesToShow: 3, - slidesToScroll: 3 - }], - - onReady: null, - icons: { - 'previous': '\n \n ', - 'next': '\n \n ' - } -}; - -/* harmony default export */ __webpack_exports__["a"] = (defaultOptions); - -/***/ }), -/* 23 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony default export */ __webpack_exports__["a"] = (function (id) { - return "
\n
\n
"; -}); - -/***/ }), -/* 24 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony default export */ __webpack_exports__["a"] = (function () { - return "
"; -}); - -/***/ }) -/******/ ])["default"]; -}); \ No newline at end of file diff --git a/static/js/bulma-carousel.min.js b/static/js/bulma-carousel.min.js deleted file mode 100644 index 5fff0695f00cf9da60dd87aa72c51367b00e92ff..0000000000000000000000000000000000000000 --- a/static/js/bulma-carousel.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.bulmaCarousel=e():t.bulmaCarousel=e()}("undefined"!=typeof self?self:this,function(){return function(i){var n={};function s(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,s),e.l=!0,e.exports}return s.m=i,s.c=n,s.d=function(t,e,i){s.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="",s(s.s=5)}([function(t,e,i){"use strict";i.d(e,"d",function(){return s}),i.d(e,"e",function(){return r}),i.d(e,"b",function(){return o}),i.d(e,"c",function(){return a}),i.d(e,"a",function(){return l});var n=i(2),s=function(e,t){(t=Array.isArray(t)?t:t.split(" ")).forEach(function(t){e.classList.remove(t)})},r=function(t){return t.getBoundingClientRect().width||t.offsetWidth},o=function(t){return t.getBoundingClientRect().height||t.offsetHeight},a=function(t){var e=1=t._x&&this._x<=e._x&&this._y>=t._y&&this._y<=e._y}},{key:"constrain",value:function(t,e){if(t._x>e._x||t._y>e._y)return this;var i=this._x,n=this._y;return null!==t._x&&(i=Math.max(i,t._x)),null!==e._x&&(i=Math.min(i,e._x)),null!==t._y&&(n=Math.max(n,t._y)),null!==e._y&&(n=Math.min(n,e._y)),new s(i,n)}},{key:"reposition",value:function(t){t.style.top=this._y+"px",t.style.left=this._x+"px"}},{key:"toString",value:function(){return"("+this._x+","+this._y+")"}},{key:"x",get:function(){return this._x},set:function(){var t=0this.state.length-this.slidesToShow&&!this.options.centerMode?this.state.next=this.state.index:this.state.next=this.state.index+this.slidesToScroll,this.show()}},{key:"previous",value:function(){this.options.loop||this.options.infinite||0!==this.state.index?this.state.next=this.state.index-this.slidesToScroll:this.state.next=this.state.index,this.show()}},{key:"start",value:function(){this._autoplay.start()}},{key:"pause",value:function(){this._autoplay.pause()}},{key:"stop",value:function(){this._autoplay.stop()}},{key:"show",value:function(t){var e=1this.options.slidesToShow&&(this.options.slidesToScroll=this.slidesToShow),this._breakpoint.init(),this.state.index>=this.state.length&&0!==this.state.index&&(this.state.index=this.state.index-this.slidesToScroll),this.state.length<=this.slidesToShow&&(this.state.index=0),this._ui.wrapper.appendChild(this._navigation.init().render()),this._ui.wrapper.appendChild(this._pagination.init().render()),this.options.navigationSwipe?this._swipe.bindEvents():this._swipe._bindEvents(),this._breakpoint.apply(),this._slides.forEach(function(t){return e._ui.container.appendChild(t)}),this._transitioner.init().apply(!0,this._setHeight.bind(this)),this.options.autoplay&&this._autoplay.init().start()}},{key:"destroy",value:function(){var e=this;this._unbindEvents(),this._items.forEach(function(t){e.element.appendChild(t)}),this.node.remove()}},{key:"id",get:function(){return this._id}},{key:"index",set:function(t){this._index=t},get:function(){return this._index}},{key:"length",set:function(t){this._length=t},get:function(){return this._length}},{key:"slides",get:function(){return this._slides},set:function(t){this._slides=t}},{key:"slidesToScroll",get:function(){return"translate"===this.options.effect?this._breakpoint.getSlidesToScroll():1}},{key:"slidesToShow",get:function(){return"translate"===this.options.effect?this._breakpoint.getSlidesToShow():1}},{key:"direction",get:function(){return"rtl"===this.element.dir.toLowerCase()||"rtl"===this.element.style.direction?"rtl":"ltr"}},{key:"wrapper",get:function(){return this._ui.wrapper}},{key:"wrapperWidth",get:function(){return this._wrapperWidth||0}},{key:"container",get:function(){return this._ui.container}},{key:"containerWidth",get:function(){return this._containerWidth||0}},{key:"slideWidth",get:function(){return this._slideWidth||0}},{key:"transitioner",get:function(){return this._transitioner}}],[{key:"attach",value:function(){var i=this,t=0>t/4).toString(16)})}},function(t,e,i){"use strict";var n=i(3),s=i(8),r=function(){function n(t,e){for(var i=0;i=t.slider.state.length-t.slider.slidesToShow&&!t.slider.options.loop&&!t.slider.options.infinite?t.stop():t.slider.next())},this.slider.options.autoplaySpeed))}},{key:"stop",value:function(){this._interval=clearInterval(this._interval),this.emit("stop",this)}},{key:"pause",value:function(){var t=this,e=0parseInt(e.changePoint,10)}),this._currentBreakpoint=this._getActiveBreakpoint(),this}},{key:"destroy",value:function(){this._unbindEvents()}},{key:"_bindEvents",value:function(){window.addEventListener("resize",this[s]),window.addEventListener("orientationchange",this[s])}},{key:"_unbindEvents",value:function(){window.removeEventListener("resize",this[s]),window.removeEventListener("orientationchange",this[s])}},{key:"_getActiveBreakpoint",value:function(){var t=!0,e=!1,i=void 0;try{for(var n,s=this.options.breakpoints[Symbol.iterator]();!(t=(n=s.next()).done);t=!0){var r=n.value;if(r.changePoint>=window.innerWidth)return r}}catch(t){e=!0,i=t}finally{try{!t&&s.return&&s.return()}finally{if(e)throw i}}return this._defaultBreakpoint}},{key:"getSlidesToShow",value:function(){return this._currentBreakpoint?this._currentBreakpoint.slidesToShow:this._defaultBreakpoint.slidesToShow}},{key:"getSlidesToScroll",value:function(){return this._currentBreakpoint?this._currentBreakpoint.slidesToScroll:this._defaultBreakpoint.slidesToScroll}},{key:"apply",value:function(){this.slider.state.index>=this.slider.state.length&&0!==this.slider.state.index&&(this.slider.state.index=this.slider.state.index-this._currentBreakpoint.slidesToScroll),this.slider.state.length<=this._currentBreakpoint.slidesToShow&&(this.slider.state.index=0),this.options.loop&&this.slider._loop.init().apply(),this.options.infinite&&this.slider._infinite.init().apply(),this.slider._setDimensions(),this.slider._transitioner.init().apply(!0,this.slider._setHeight.bind(this.slider)),this.slider._setClasses(),this.slider._navigation.refresh(),this.slider._pagination.refresh()}},{key:s,value:function(t){var e=this._getActiveBreakpoint();e.slidesToShow!==this._currentBreakpoint.slidesToShow&&(this._currentBreakpoint=e,this.apply())}}]),e}();e.a=r},function(t,e,i){"use strict";var n=function(){function n(t,e){for(var i=0;ithis.slider.state.length-1-this._infiniteCount;i-=1)e=i-1,t.unshift(this._cloneSlide(this.slider.slides[e],e-this.slider.state.length));for(var n=[],s=0;s=this.slider.state.length?(this.slider.state.index=this.slider.state.next=this.slider.state.next-this.slider.state.length,this.slider.transitioner.apply(!0)):this.slider.state.next<0&&(this.slider.state.index=this.slider.state.next=this.slider.state.length+this.slider.state.next,this.slider.transitioner.apply(!0)))}},{key:"_cloneSlide",value:function(t,e){var i=t.cloneNode(!0);return i.dataset.sliderIndex=e,i.dataset.cloned=!0,(i.querySelectorAll("[id]")||[]).forEach(function(t){t.setAttribute("id","")}),i}}]),e}();e.a=s},function(t,e,i){"use strict";var n=i(12),s=function(){function n(t,e){for(var i=0;ithis.slider.state.length-this.slider.slidesToShow&&Object(n.a)(this.slider._slides[this.slider.state.length-1],this.slider.wrapper)?this.slider.state.next=0:this.slider.state.next=Math.min(Math.max(this.slider.state.next,0),this.slider.state.length-this.slider.slidesToShow):this.slider.state.next=0:this.slider.state.next<=0-this.slider.slidesToScroll?this.slider.state.next=this.slider.state.length-this.slider.slidesToShow:this.slider.state.next=0)}}]),e}();e.a=r},function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n=function(t,e){var i=t.getBoundingClientRect();return e=e||document.documentElement,0<=i.top&&0<=i.left&&i.bottom<=(window.innerHeight||e.clientHeight)&&i.right<=(window.innerWidth||e.clientWidth)}},function(t,e,i){"use strict";var n=i(14),s=i(1),r=function(){function n(t,e){for(var i=0;ithis.slider.slidesToShow?(this._ui.previous.classList.remove("is-hidden"),this._ui.next.classList.remove("is-hidden"),0===this.slider.state.next?(this._ui.previous.classList.add("is-hidden"),this._ui.next.classList.remove("is-hidden")):this.slider.state.next>=this.slider.state.length-this.slider.slidesToShow&&!this.slider.options.centerMode?(this._ui.previous.classList.remove("is-hidden"),this._ui.next.classList.add("is-hidden")):this.slider.state.next>=this.slider.state.length-1&&this.slider.options.centerMode&&(this._ui.previous.classList.remove("is-hidden"),this._ui.next.classList.add("is-hidden"))):(this._ui.previous.classList.add("is-hidden"),this._ui.next.classList.add("is-hidden")))}},{key:"render",value:function(){return this.node}}]),e}();e.a=o},function(t,e,i){"use strict";e.a=function(t){return'
'+t.previous+'
\n
'+t.next+"
"}},function(t,e,i){"use strict";var n=i(16),s=i(17),r=i(1),o=function(){function n(t,e){for(var i=0;ithis.slider.slidesToShow){for(var t=0;t<=this._count;t++){var e=document.createRange().createContextualFragment(Object(s.a)()).firstChild;e.dataset.index=t*this.slider.slidesToScroll,this._pages.push(e),this._ui.container.appendChild(e)}this._bindEvents()}}},{key:"onPageClick",value:function(t){this._supportsPassive||t.preventDefault(),this.slider.state.next=t.currentTarget.dataset.index,this.slider.show()}},{key:"onResize",value:function(){this._draw()}},{key:"refresh",value:function(){var e=this,t=void 0;(t=this.slider.options.infinite?Math.ceil(this.slider.state.length-1/this.slider.slidesToScroll):Math.ceil((this.slider.state.length-this.slider.slidesToShow)/this.slider.slidesToScroll))!==this._count&&(this._count=t,this._draw()),this._pages.forEach(function(t){t.classList.remove("is-active"),parseInt(t.dataset.index,10)===e.slider.state.next%e.slider.state.length&&t.classList.add("is-active")})}},{key:"render",value:function(){return this.node}}]),e}();e.a=a},function(t,e,i){"use strict";e.a=function(){return'
'}},function(t,e,i){"use strict";e.a=function(){return'
'}},function(t,e,i){"use strict";var n=i(4),s=i(1),r=function(){function n(t,e){for(var i=0;iMath.abs(this._lastTranslate.y)&&(this._supportsPassive||t.preventDefault(),t.stopPropagation())}}},{key:"onStopDrag",value:function(t){this._origin&&this._lastTranslate&&(Math.abs(this._lastTranslate.x)>.2*this.width?this._lastTranslate.x<0?this.slider.next():this.slider.previous():this.slider.show(!0)),this._origin=null,this._lastTranslate=null}}]),e}();e.a=o},function(t,e,i){"use strict";var n=i(20),s=i(21),r=function(){function n(t,e){for(var i=0;it.x?(s.x=0,this.slider.state.next=0):this.options.vertical&&Math.abs(this._position.y)>t.y&&(s.y=0,this.slider.state.next=0)),this._position.x=s.x,this._position.y=s.y,this.options.centerMode&&(this._position.x=this._position.x+this.slider.wrapperWidth/2-Object(o.e)(i)/2),"rtl"===this.slider.direction&&(this._position.x=-this._position.x,this._position.y=-this._position.y),this.slider.container.style.transform="translate3d("+this._position.x+"px, "+this._position.y+"px, 0)",n.x>t.x&&this.slider.transitioner.end()}}},{key:"onTransitionEnd",value:function(t){"translate"===this.options.effect&&(this.transitioner.isAnimating()&&t.target==this.slider.container&&this.options.infinite&&this.slider._infinite.onTransitionEnd(t),this.transitioner.end())}}]),n}();e.a=n},function(t,e,i){"use strict";e.a={initialSlide:0,slidesToScroll:1,slidesToShow:1,navigation:!0,navigationKeys:!0,navigationSwipe:!0,pagination:!0,loop:!1,infinite:!1,effect:"translate",duration:300,timing:"ease",autoplay:!1,autoplaySpeed:3e3,pauseOnHover:!0,breakpoints:[{changePoint:480,slidesToShow:1,slidesToScroll:1},{changePoint:640,slidesToShow:2,slidesToScroll:2},{changePoint:768,slidesToShow:3,slidesToScroll:3}],onReady:null,icons:{previous:'\n \n ',next:'\n \n '}}},function(t,e,i){"use strict";e.a=function(t){return'
\n
\n
'}},function(t,e,i){"use strict";e.a=function(){return'
'}}]).default}); \ No newline at end of file diff --git a/static/js/bulma-slider.js b/static/js/bulma-slider.js deleted file mode 100644 index c6718de5c5ae59d2c22141a147f5afba41af9cbb..0000000000000000000000000000000000000000 --- a/static/js/bulma-slider.js +++ /dev/null @@ -1,461 +0,0 @@ -(function webpackUniversalModuleDefinition(root, factory) { - if(typeof exports === 'object' && typeof module === 'object') - module.exports = factory(); - else if(typeof define === 'function' && define.amd) - define([], factory); - else if(typeof exports === 'object') - exports["bulmaSlider"] = factory(); - else - root["bulmaSlider"] = factory(); -})(typeof self !== 'undefined' ? self : this, function() { -return /******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isString", function() { return isString; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__events__ = __webpack_require__(1); -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - - -var isString = function isString(unknown) { - return typeof unknown === 'string' || !!unknown && (typeof unknown === 'undefined' ? 'undefined' : _typeof(unknown)) === 'object' && Object.prototype.toString.call(unknown) === '[object String]'; -}; - -var bulmaSlider = function (_EventEmitter) { - _inherits(bulmaSlider, _EventEmitter); - - function bulmaSlider(selector) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - _classCallCheck(this, bulmaSlider); - - var _this = _possibleConstructorReturn(this, (bulmaSlider.__proto__ || Object.getPrototypeOf(bulmaSlider)).call(this)); - - _this.element = typeof selector === 'string' ? document.querySelector(selector) : selector; - // An invalid selector or non-DOM node has been provided. - if (!_this.element) { - throw new Error('An invalid selector or non-DOM node has been provided.'); - } - - _this._clickEvents = ['click']; - /// Set default options and merge with instance defined - _this.options = _extends({}, options); - - _this.onSliderInput = _this.onSliderInput.bind(_this); - - _this.init(); - return _this; - } - - /** - * Initiate all DOM element containing selector - * @method - * @return {Array} Array of all slider instances - */ - - - _createClass(bulmaSlider, [{ - key: 'init', - - - /** - * Initiate plugin - * @method init - * @return {void} - */ - value: function init() { - this._id = 'bulmaSlider' + new Date().getTime() + Math.floor(Math.random() * Math.floor(9999)); - this.output = this._findOutputForSlider(); - - this._bindEvents(); - - if (this.output) { - if (this.element.classList.contains('has-output-tooltip')) { - // Get new output position - var newPosition = this._getSliderOutputPosition(); - - // Set output position - this.output.style['left'] = newPosition.position; - } - } - - this.emit('bulmaslider:ready', this.element.value); - } - }, { - key: '_findOutputForSlider', - value: function _findOutputForSlider() { - var _this2 = this; - - var result = null; - var outputs = document.getElementsByTagName('output') || []; - - Array.from(outputs).forEach(function (output) { - if (output.htmlFor == _this2.element.getAttribute('id')) { - result = output; - return true; - } - }); - return result; - } - }, { - key: '_getSliderOutputPosition', - value: function _getSliderOutputPosition() { - // Update output position - var newPlace, minValue; - - var style = window.getComputedStyle(this.element, null); - // Measure width of range input - var sliderWidth = parseInt(style.getPropertyValue('width'), 10); - - // Figure out placement percentage between left and right of input - if (!this.element.getAttribute('min')) { - minValue = 0; - } else { - minValue = this.element.getAttribute('min'); - } - var newPoint = (this.element.value - minValue) / (this.element.getAttribute('max') - minValue); - - // Prevent bubble from going beyond left or right (unsupported browsers) - if (newPoint < 0) { - newPlace = 0; - } else if (newPoint > 1) { - newPlace = sliderWidth; - } else { - newPlace = sliderWidth * newPoint; - } - - return { - 'position': newPlace + 'px' - }; - } - - /** - * Bind all events - * @method _bindEvents - * @return {void} - */ - - }, { - key: '_bindEvents', - value: function _bindEvents() { - if (this.output) { - // Add event listener to update output when slider value change - this.element.addEventListener('input', this.onSliderInput, false); - } - } - }, { - key: 'onSliderInput', - value: function onSliderInput(e) { - e.preventDefault(); - - if (this.element.classList.contains('has-output-tooltip')) { - // Get new output position - var newPosition = this._getSliderOutputPosition(); - - // Set output position - this.output.style['left'] = newPosition.position; - } - - // Check for prefix and postfix - var prefix = this.output.hasAttribute('data-prefix') ? this.output.getAttribute('data-prefix') : ''; - var postfix = this.output.hasAttribute('data-postfix') ? this.output.getAttribute('data-postfix') : ''; - - // Update output with slider value - this.output.value = prefix + this.element.value + postfix; - - this.emit('bulmaslider:ready', this.element.value); - } - }], [{ - key: 'attach', - value: function attach() { - var _this3 = this; - - var selector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'input[type="range"].slider'; - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - var instances = new Array(); - - var elements = isString(selector) ? document.querySelectorAll(selector) : Array.isArray(selector) ? selector : [selector]; - elements.forEach(function (element) { - if (typeof element[_this3.constructor.name] === 'undefined') { - var instance = new bulmaSlider(element, options); - element[_this3.constructor.name] = instance; - instances.push(instance); - } else { - instances.push(element[_this3.constructor.name]); - } - }); - - return instances; - } - }]); - - return bulmaSlider; -}(__WEBPACK_IMPORTED_MODULE_0__events__["a" /* default */]); - -/* harmony default export */ __webpack_exports__["default"] = (bulmaSlider); - -/***/ }), -/* 1 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var EventEmitter = function () { - function EventEmitter() { - var listeners = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - - _classCallCheck(this, EventEmitter); - - this._listeners = new Map(listeners); - this._middlewares = new Map(); - } - - _createClass(EventEmitter, [{ - key: "listenerCount", - value: function listenerCount(eventName) { - if (!this._listeners.has(eventName)) { - return 0; - } - - var eventListeners = this._listeners.get(eventName); - return eventListeners.length; - } - }, { - key: "removeListeners", - value: function removeListeners() { - var _this = this; - - var eventName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; - var middleware = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - - if (eventName !== null) { - if (Array.isArray(eventName)) { - name.forEach(function (e) { - return _this.removeListeners(e, middleware); - }); - } else { - this._listeners.delete(eventName); - - if (middleware) { - this.removeMiddleware(eventName); - } - } - } else { - this._listeners = new Map(); - } - } - }, { - key: "middleware", - value: function middleware(eventName, fn) { - var _this2 = this; - - if (Array.isArray(eventName)) { - name.forEach(function (e) { - return _this2.middleware(e, fn); - }); - } else { - if (!Array.isArray(this._middlewares.get(eventName))) { - this._middlewares.set(eventName, []); - } - - this._middlewares.get(eventName).push(fn); - } - } - }, { - key: "removeMiddleware", - value: function removeMiddleware() { - var _this3 = this; - - var eventName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; - - if (eventName !== null) { - if (Array.isArray(eventName)) { - name.forEach(function (e) { - return _this3.removeMiddleware(e); - }); - } else { - this._middlewares.delete(eventName); - } - } else { - this._middlewares = new Map(); - } - } - }, { - key: "on", - value: function on(name, callback) { - var _this4 = this; - - var once = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; - - if (Array.isArray(name)) { - name.forEach(function (e) { - return _this4.on(e, callback); - }); - } else { - name = name.toString(); - var split = name.split(/,|, | /); - - if (split.length > 1) { - split.forEach(function (e) { - return _this4.on(e, callback); - }); - } else { - if (!Array.isArray(this._listeners.get(name))) { - this._listeners.set(name, []); - } - - this._listeners.get(name).push({ once: once, callback: callback }); - } - } - } - }, { - key: "once", - value: function once(name, callback) { - this.on(name, callback, true); - } - }, { - key: "emit", - value: function emit(name, data) { - var _this5 = this; - - var silent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; - - name = name.toString(); - var listeners = this._listeners.get(name); - var middlewares = null; - var doneCount = 0; - var execute = silent; - - if (Array.isArray(listeners)) { - listeners.forEach(function (listener, index) { - // Start Middleware checks unless we're doing a silent emit - if (!silent) { - middlewares = _this5._middlewares.get(name); - // Check and execute Middleware - if (Array.isArray(middlewares)) { - middlewares.forEach(function (middleware) { - middleware(data, function () { - var newData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; - - if (newData !== null) { - data = newData; - } - doneCount++; - }, name); - }); - - if (doneCount >= middlewares.length) { - execute = true; - } - } else { - execute = true; - } - } - - // If Middleware checks have been passed, execute - if (execute) { - if (listener.once) { - listeners[index] = null; - } - listener.callback(data); - } - }); - - // Dirty way of removing used Events - while (listeners.indexOf(null) !== -1) { - listeners.splice(listeners.indexOf(null), 1); - } - } - } - }]); - - return EventEmitter; -}(); - -/* harmony default export */ __webpack_exports__["a"] = (EventEmitter); - -/***/ }) -/******/ ])["default"]; -}); \ No newline at end of file diff --git a/static/js/bulma-slider.min.js b/static/js/bulma-slider.min.js deleted file mode 100644 index 7e62685763cf7668cfa8857fac0b27af2c277286..0000000000000000000000000000000000000000 --- a/static/js/bulma-slider.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.bulmaSlider=e():t.bulmaSlider=e()}("undefined"!=typeof self?self:this,function(){return function(n){var r={};function i(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}return i.m=n,i.c=r,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=0)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"isString",function(){return l});var r=n(1),i=Object.assign||function(t){for(var e=1;e=l.length&&(s=!0)):s=!0),s&&(t.once&&(u[e]=null),t.callback(r))});-1!==u.indexOf(null);)u.splice(u.indexOf(null),1)}}]),e}();e.a=i}]).default}); \ No newline at end of file diff --git a/static/js/index.js b/static/js/index.js deleted file mode 100644 index 8daed0c67f71a02472f1c35c474aa0888974a6ec..0000000000000000000000000000000000000000 --- a/static/js/index.js +++ /dev/null @@ -1,78 +0,0 @@ -window.HELP_IMPROVE_VIDEOJS = false; - -var INTERP_BASE = "./static/interpolation/stacked"; -var NUM_INTERP_FRAMES = 240; - -var interp_images = []; -function preloadInterpolationImages() { - for (var i = 0; i < NUM_INTERP_FRAMES; i++) { - var path = INTERP_BASE + '/' + String(i).padStart(6, '0') + '.jpg'; - interp_images[i] = new Image(); - interp_images[i].src = path; - } -} - -function setInterpolationImage(i) { - var image = interp_images[i]; - image.ondragstart = function() { return false; }; - image.oncontextmenu = function() { return false; }; - $('#interpolation-image-wrapper').empty().append(image); -} - - -$(document).ready(function() { - // Check for click events on the navbar burger icon - $(".navbar-burger").click(function() { - // Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu" - $(".navbar-burger").toggleClass("is-active"); - $(".navbar-menu").toggleClass("is-active"); - - }); - - var options = { - slidesToScroll: 1, - slidesToShow: 3, - loop: true, - infinite: true, - autoplay: false, - autoplaySpeed: 3000, - } - - // Initialize all div with carousel class - var carousels = bulmaCarousel.attach('.carousel', options); - - // Loop on each carousel initialized - for(var i = 0; i < carousels.length; i++) { - // Add listener to event - carousels[i].on('before:show', state => { - console.log(state); - }); - } - - // Access to bulmaCarousel instance of an element - var element = document.querySelector('#my-element'); - if (element && element.bulmaCarousel) { - // bulmaCarousel instance is available as element.bulmaCarousel - element.bulmaCarousel.on('before-show', function(state) { - console.log(state); - }); - } - - /*var player = document.getElementById('interpolation-video'); - player.addEventListener('loadedmetadata', function() { - $('#interpolation-slider').on('input', function(event) { - console.log(this.value, player.duration); - player.currentTime = player.duration / 100 * this.value; - }) - }, false);*/ - preloadInterpolationImages(); - - $('#interpolation-slider').on('input', function(event) { - setInterpolationImage(this.value); - }); - setInterpolationImage(0); - $('#interpolation-slider').prop('max', NUM_INTERP_FRAMES - 1); - - bulmaSlider.attach(); - -})