4,381 Matching Annotations
  1. Oct 2020
    1. We could broadcast a warning if we find the variable to be set in the environment, but that is more likely than not to annoy people who intentionally set it.

      New tag?: warnings that may annoy people who intentionally do something. (Need a way to selectively silence certain warnings?)

    1. Malicious code pushed to your .gitlab-ci.yml file could compromise your variables and send them to a third party server regardless of the masked setting. If the pipeline runs on a protected branch or protected tag, it could also compromise protected variables.
    1. With over 1,500 dating apps on the market, many have come to the conclusion that the romance of courtship has been replaced with fantasy and heavily-edited Instagram photos.  Along with driving this increase in dating apps, the millennial generation is also delaying marriage and moving away from conventional religious practices. Because of this, many popular magazines and TV shows suggest that hook-up culture dominates contemporary pursuits of love. Right-swiping, label free, highly educated, and technologically savvy, today’s young people appear to pursue sex frequently and do so on their own terms. There also appears to be much more equal footing between genders than ever before.

      This is true, young generation does not want to bound themselves in a permanent relationship tag because now they have lots of options due to dating apps.

    1. Although Madisyn applied only one tag of ‘‘Race’’ and did nottag her letter with ‘‘Police,’’ ‘‘Violence,’’ or anything else, her letter speaksto students’ deep and related concerns around discrimination, violence,and specifically the role of police.

      This is observed in two of my letters too. Although the students tag their letters to one topic, they talk about other related issues. For example, in Vivian's letter "Problems in education", she talks about equity in education, standardized testing, and teacher pay. Her letter speaks to deeper and broader issues in education. - Anitha

    1. BIO

      gold data: IOB(inside-outside-beginning) format or BIO

      quote from this link https://towardsdatascience.com/named-entity-recognition-and-classification-with-scikit-learn-f05372f07ba2

      The IOB (short for inside, outside, beginning) is a common tagging format for tagging tokens. I- prefix before a tag indicates that the tag is inside a chunk. B- prefix before a tag indicates that the tag is the beginning of a chunk. An O tag indicates that a token belongs to no chunk (outside).

    Annotators

    1. mouse anti‐DDDDK‐tag

      DOI: 10.1111/acel.13251

      Resource: (MBL International Cat# M185-3, RRID:AB_10950447)

      Curator: @Naa003

      SciCrunch record: RRID:AB_10950447

      Curator comments: anti-DDDDK-tag antibody MBL International Cat# M185-3


      What is this?

  2. akademie-oeffentliches-gesundheitswesen.github.io akademie-oeffentliches-gesundheitswesen.github.io
    1. nach der ein Schwangerschaftsabbruch (SSA) bis zur 12. Woche nach dem 1. Tag der

      Sicher? Ich dachte 14 Wochen ab menstruation und 12 ab Empfängnis?

      https://www.profamilia.de/themen/schwangerschaftsabbruch.html

    1. Doing so also means adding empty import statements to guarantee correct order of evaluation of modules (in ES modules, evaluation order is determined statically by the order of import declarations, whereas in CommonJS – and environments that simulate CommonJS by shipping a module loader, i.e. Browserify and Webpack – evaluation order is determined at runtime by the order in which require statements are encountered).

      Here: dynamic loading (libraries/functions) meaning: at run time

    1. We then made our way to the scanner. After removing all metal objects —including a belt and a stray dry-cleaning tag with a staple

      Everythingmetal need yo be removed?

    Annotators

    1. Someadolescents also create personal sites because their friends have

      Some create their online presence as a communication tool because their friends have it and its the easiest way to reach them, texting can go as far as gifs , voice notes and more but the online precence brings you closer to their online precense as you can tag your friends in funny memes, videos or the coolest trip to plan next , it builds togetherness and interaction without seeing that person face to face but as a means of interaction

    1. In some cases, I could also create a component without any <script> tag at all. So in that way, I could actually bulk up the logic in one place if I could get some help from the #with block.
    1. create catalog manifest and CASE files

      In this stage we create + upload the ibm-appconnect-operator.tar.gz archive.

      1. unstashes 'repo', 'operatormanifestinfo' 'bundlemanifestinfo' 'csv' So that we have access to operator, operator-init, and bundle fat manifest digests. Also access to csv and operator.yaml file.

      2. run the scrpt create-operator-archive.sh which in turn runs the create-catalog-manifest.sh script, which in turn does:

      3. Downland cp4i-operator-bundle-tools.tar.gz from Artifactory and extract it jenkins-build-scripts/cp4i-operator-bundle-tools, that's so to use the push-images-to-er.sh script later on.

      4. call the create-manifest-image-from-platform-images.sh script, which in turn creates the appconnect-operator-catalog fat manifest with the tag ${VERSION}-${BUILD_TIMESTAMP} and pushes it up to appconnect artifactory. it also creates the OperatorCatalogDigest file.

      5. returning back to create-catalog-manifest.sh, update the deploy/catalogsource.yaml file with the new appconnect-operator-catalog fat manifest's digest value

      6. calls the script push-images-to-er.sh in order to copy appconnect-operator-catalog fat manifest to staging Entitled Registry. copied across using tag->digests, then copied across digest->tags. then copied across arch-specific-tags->arch-digests (to enable va scanning).

      7. back in create-catalog-manifest.sh script, in staging ER, assign "latest" to the newly uploaded catalog fat manifest, ${VERSION}-${BUILD_TIMESTAMP}->latest

      8. Returning back to create-operator-archive.sh,

      9. feed the stashed goodimages.json to create-resources-yaml.sh script. This in turn generates the resource.yaml file under the "case" folder.

      10. Curl the cp4i-operator-bundle-tools.tar.gz from artifactory and put it in the jenkins-build-scripts folder. This folder will get ignrore a bit later.

      11. Download cp4i-deploy-operator.tar.gz from artifactory and extract it in the stable/ibm-appconnect-bundle/tests folder

      12. copy the airgap.sh and put it in the stable/ibm-appconnect-bundle/operators/ibm-appconnect/scripts/ folder

      1. copy all "PROD" goodimages.json images into staging ER.

      2. update "latest" tag to now point to the new uploaded gooimages.json images in staging ER.

      3. Also copy some "dev" goodimages.json images into staging ER. That's so that developers can requests images get pull from dockerhub, but actually get pulled from staging ER thanks to openshift registry redirect.

      4. copy the dev images above the /appc bit. so dockerhub urls don't have to specify /appc. Also retag to latest.

      5. Create ibm-appconnect-operator.tar.gz archive. but exclude:

      --exclude "${APP_NAME}/jenkins-build-scripts"

      --exclude "${APP_NAME}/.travis.yml"

      --exclude "${APP_NAME}/.git"

      1. back in jenkinsfile, upload this archive to artifactory in the "latest" folder, this will overwrite what is already there.

      2. Update jenkins job description with info about what has been built.

      3. triggers the job - test-and-promote-cp4i-demo-system. but it doesn't wait for it to succeed.

      resulting files:

      • resources.yaml
    2. create operator manifest image

      runs the create-operator-manifests.sh script:

      1. Downloads cp4i-operator-bundle-tools.tar.gz from artifactory and extracts it content puts it into the jenkins-build-scripts folder, in it's own folder called "cp4i-operator-bundle-tools". Path to this folder is $BUNDLE_TOOLS_DIR. We'll use this archive's push-images-to-er.sh script a bit later on.
      2. Runs the script create-manifest-image-from-platform-images.sh using appconnect-operator as script parameter

      2.1 pulls down each arch image using ${VERSION}-${BUILD_TIMESTAMP}-${arch} tags

      2.2 create docker manifest with tag - ${VERSION}-${BUILD_TIMESTAMP}. And add both entries.

      2.3 push up operator manifest to appconnect artifactory

      2.4 Create the OperatorImageDigest file

      1. do the same for the init image. Which results in the creation of the OperatorInitImageDigest file.
      2. run the script - push-images-to-er.sh to copy both fat manifests to staging ER. It copies using fat manifest digests, followed by tags. It also copies across arch tags for individual images.
      3. Update the operator.yaml file with the fat manifest digests of both appconnect-operator and init image.

      4. create new stash called operatormanifestinfo. This specifically specifies the 2 new top level digest files and the changes made to operator.yaml (with the same digests)

    1. Tagging

      I have found that tagging is really helpful. It might be interesting to see what are common themes.

    2. appreciate your help

      I think that a major part of improving the issue of abuse and providing consent is building in notifications so that website owners will at least be aware that their site is being marked up, highlighted, annotated, and commented on in other locations or by other platforms. Then the site owner at least has the knowledge of what's happening and can then be potentially provided with information and tools to allow/disallow such interactions, particularly if they can block individual bad actors, but still support positive additions, thought, and communication. Ideally this blocking wouldn't occur site wide, which many may be tempted to do now as a knee-jerk reaction to recent events, but would be fine grained enough to filter out the worst offenders.

      Toward the end of notifications to site owners, it would be great if any annotating activity would trigger trackbacks, pingbacks, or the relatively newer and better webmention protocol of the WW3C out of the http://IndieWebCamp.com movement. Then site owners would at least have notifications about what is happening on their site that might otherwise be invisible to them.

      Perhaps there's a way to further implement filters or tools (a la Akismet on platforms like WordPress) that allow site users to mark materials as spam, abusive, or other so that they are then potentially moved from "public" facing to "private" so that the original highlighter can still see their notes, but that the platform isn't allowing the person's own website to act as a platform to give reach to bad actors.

      Further some site owners might appreciate graded filters (G, PG, PG-13, R, X) so that users or even parents can filter what they're willing to see. Consider also annotations on narrative forms that might be posted as spoilers--how can these be guarded against? (Possibly with CSS and a spoiler tag?) Options can be built into the platform itself as well as allowing server-side options for truly hard cases.

      My coding skills are rustier than I wish they were, but I'm available to help/consult if needed.

    1. It is important to note here that the flow does not need to begin with a user interaction. With the rise of asynchronous middleware like redux-saga and redux-observable, the ability to trigger any code on a component anywhere is very useful.

      This tag doesn't quite fit: can be used independently (fine-grained/decoupled)

    1. Resulting articles met inclusion criteria for review if they addressed psychiatric side effects of isotretinoin treatment or the neurobehavioral teratology of isotretinoin.

      Could I do a search like this where I look up mass articles and make sure that they have the same tag words

    1. acknowledges that high priced textbooks are a barrier to learning because many students do not purchase expensive textbooks

      I suspect students also make value judgments--this book is too expensive because that number on the price tag is too high, rather than my financial aid doesn't cover it.

    1. hyperscript is more concise because it's just a function call and doesn't require a closing tag. Using it will greatly simplify your tooling chain.

      I suppose this is also an argument that Python tries to make? That other languages have this con:

      • cons: closing tags make it more verbose / increase duplication and that Python is simpler / more concise because it uses indentation instead of closing delimiters like end or } ?
    1. The primary motivation behind virtual-dom is to allow us to write code independent of previous state. So when our application state changes we will generate a new VTree. The diff function creates a set of DOM patches that, based on the difference between the previous VTree and the current VTree, will update the previous DOM tree to match the new VTree.

      annotation meta: may need new tag: for: "code independent of previous state."

      annotation meta: may need new tag: for: diffs other than source/text code diffs (in this case diffs between virtual DOM trees)

    1. Tag your bestie in the comments!

      I wrote this caption so that it tempts people to tag other people. I posted a funny quote about best friends and asked people to “tag their besties” so they can see the post as well and engage with it further. Here’s an example: https://www.instagram.com/p/CGGacUoHq2p/

    2. @quoteoftheday

      I also tagged a successful account that wrote in their bio, “Tag @quoteoftheday to be featured on our page!” If they feature my post on their account, it could bring a lot of engagement to my own page. Here’s the account: https://www.instagram.com/quoteoftheday/.

    3. Tag your bestie in the comments!

      I wrote this caption so that it tempts people to tag other people. I posted a funny quote about best friends and asked people to “tag their besties” so they can see the post as well and engage with it further. Here’s an example: https://www.instagram.com/p/CGGacUoHq2p/

    4. @quoteoftheday

      I also tagged a successful account that wrote in their bio, “Tag @quoteoftheday to be featured on our page!” If they feature my post on their account, it could bring a lot of engagement to my own page. Here’s the account: https://www.instagram.com/quoteoftheday/.

    1. Curso_HDCICAFCUNAM

      Curso Habilidades digitales y competencias informacionales para ciencias 2020

      FACULTAD DE CIENCIAS, UNAM

      Layla Michán

    1. But first, what would motivate any young person today to pull the plug? Well maybe they should consider this for a moment. Who most wants you to stay on the grid? The advertisers. Your boss. Human Resources. The advertisers. Your parents (irony of ironies – once they distrusted it, now they need to tag you electronically, share your Facebook photos and message you to death). The advertisers. The government. Your local authority. Your school. Advertisers.

      Going of the grid hurts "The man" in 70's parlance.

    1. How do you manage information flows? If anyone is using a personal wiki-style long term information tool I’d love to hear from you!

      I've got a handful of interesting things bookmarked here: https://boffosocko.com/tag/wikis/ which includes a rabbit hole of a request similar to your own.

    1. In short to add wiki-style functionality to my blog, the only functionality that is really needed is that 1) I myself have a edit button on static items, 2) the ability to categorise and tag those items, and 3) keep those items outside of the blog posting stream on the front page, and outside of the RSS feed. WordPress pages fit that description, when I’m logged in, and after adding a plugin to allow categories and tags on pages. So a page based section it is, or rather, will be over time.

      I like the idea of this and the overall structure. It reminds me a bit of Wikity which may provide this functionality plus a bit more. I really need to spin up a version and play around with it to see if it will give me what I'm looking for in terms of a blog linked with wiki-like functionality.

    1. It isn't rocket science, but as Jon indicates, it's incredibly powerful.

      I use my personal website with several levels of taxonomy for tagging and categorizing a variety of things for later search and research.

      Much like the example of the Public Radio International producer, I've created what I call a "faux-cast" because I tag everything I listen to online and save it to my website including the appropriate <audio> link to the.mp3 file so that anyone who wants to follow the feed of my listens can have a playlist of all the podcast and internet-related audio I'm listening to.

      A visual version of my "listened to" tags can be found at https://boffosocko.com/kind/listen/ with the RSS feed at https://boffosocko.com/kind/listen/feed/

    1. When I received Chris’s comment, my first response was that I should delete my post or at least the incorrect part of it. It’s embarrassing to have your incorrect understandings available for public view. But I decided to leave the post as is but put in a disclaimer so that others would not be misled by my misunderstandings. This experience reminded me that learning makes us vulnerable. Admitting that you don’t know something is hard and being corrected is even harder. Chris was incredibly gentle in his correction. It makes me think about how I respond to my students’ work. Am I as gentle with their work as Chris was to mine? Could I be more gentle? How often have I graded my students’ work and only focused on what they did wrong? Or forgotten that feeling of vulnerability when you don’t know something, when you put your work out for others to judge? This experience has also reminded me that it’s important that we as teachers regularly put ourselves into situations in which we authentically grapple with not knowing something. We should regularly share our less than fully formed understandings with others for feedback. It helps us remember that even confident learners can struggle with being vulnerable. And we need to keep in mind that many of our students are not confident learners.

      I'm reminded here of the broad idea that many bloggers write about sooner or later of their website being a "thought space" or place to contemplate out in the open. More often than not, even if they don't have an audience to interact with, their writings become a way of thinking out loud, clarifying things for themselves, self-evolving, or putting themselves out there for potential public reactions (good, bad, or indifferent).

      While writing things out loud to no audience can be helpful and useful on an individual level, it's often even more helpful to have some sort of productive and constructive feedback. While a handful of likes or positive seeming responses can be useful, I always prefer the ones that make me think more broadly, deeply, or force me to consider other pieces I hadn't envisioned before. To me this is the real value of these open and often very public thought spaces.

      For those interested in the general idea, I've been bookmarking/tagging things around the idea of thought spaces I've read on my own website. Hopefully this collection helps others better understand the spectrum of these ideas for themselves.

      With respect to the vulnerability piece, I'm reminded of an episode of <cite>The Human Current</cite> I listened to a few weeks back. There was an excellent section that touched on building up trust with students or even a class when it comes to providing feedback and criticism. Having a bank of trust makes it easier to give feedback as well as to receive it. Here's a link to the audio portion and a copy of the relevant text.

    1. The Task Annotation Project in Science (TAPS) provides K-12 educators with annotated assessment tasks, aligned to the Next Generation Science Standards, that help guide teachers in more equitably monitoring their students’ learning.37 Osmosis is a repository of open educational resources (OER) created to crowdsource the future of medical education.38 Undergraduate and graduate medical students have access to thousands of digital resources, and they have also used annotation - through comments, feedback forms, and ratings - to improve the quality of these learning materials.39 The National Science Digital Library (NSDL), created in 2000, is an archive of open access teaching and learning resources for learners of all ages across science, technology, engineering, and mathematics disciplines.40 Annotation has been used to tag the NSDL’s resources and improve information accessibility, support student interaction with multimedia content through a digital notebook, and educators have annotated NSDL resources to design online learning activities for their students.41 And research about the digital annotation tool Perusall.d-undefined, .lh-undefined { background-color: rgba(0, 0, 0, 0.2) !important; }.d-undefined, .lh-undefined { background-color: rgba(0, 0, 0, 0.5) !important; }3Troy Hicks, Nate Angell, Jeremy Dean, often used in conjunction with science textbooks, has shown that college students’ pre-reading and annotation practices can subsequently improve exam performance.
  3. link-springer-com.uaccess.univie.ac.at link-springer-com.uaccess.univie.ac.at
    1. ites of heightened, future-oriented public debate aboutpossible futures

      tag

    2. ites of heightened, future-oriented public debate aboutpossible futures

      tag

    1. Author Response

      Reviewer #1:

      Hutchings et al. report an updated cryo-electron tomography study of the yeast COP-II coat assembled around model membranes. The improved overall resolution and additional compositional states enabled the authors to identify new domains and interfaces--including what the authors hypothesize is a previously overlooked structural role for the SEC31 C-Terminal Domain (CTD). By perturbing a subset of these new features with mutants, the authors uncover some functional consequences pertaining to the flexibility or stability of COP-II assemblies.

      Overall, the structural and functional work appears reliable, but certain questions and comments should be addressed prior to publication. However, this reviewer failed to appreciate the conceptual advance that warrants publication in a general biology journal like eLIFE. Rather, this study provides a valuable refinement of our understanding of COP-II that I believe is better suited to a more specialized, structure-focused journal.

      We agree that in our original submission our description of the experimental setup, indeed similar to previous work, did not fully capture the novel findings of this paper. Rather than being simply a higher resolution structure of the COPII coat, in fact we have discovered new interactions in the COPII assembly network, and we have probed their functional roles, significantly changing our understanding of the mechanisms of COPII-mediated membrane curvature. In the revised submission we have included additional genetic data that further illuminate this mechanism, and have rewritten the text to better communicate the novel aspects of our work.

      Our combination of structural, functional and genetic analyses goes beyond refining our textbook understanding of the COPII coat as a simple ‘adaptor and cage’, but rather it provides a completely new picture of how dynamic regulation of assembly and disassembly of a complex network leads to membrane remodelling.

      These new insights have important implications for how coat assembly provides structural force to bend a membrane but is still able to adapt to distinct morphologies. These questions are at the forefront of protein secretion, where there is debate about how different types of carriers might be generated that can accommodate cargoes of different size.

      Major Comments: 1) The authors belabor what this reviewer thinks is an unimportant comparison between the yeast reconstruction of the outer coat vertex with prior work on the human outer coat vertex. Considering the modest resolution of both the yeast and human reconstructions, the transformative changes in cryo-EM camera technology since the publication of the human complex, and the differences in sample preparation (inclusion of the membrane, cylindrical versus spherical assemblies, presence of inner coat components), I did not find this comparison informative. The speculations about a changing interface over evolutionary time are unwarranted and would require a detailed comparison of co-evolutionary changes at this interface. The simpler explanation is that this is a flexible vertex, observed at low resolution in both studies, plus the samples are very different.

      We do agree that our proposal that the vertex interface changes over evolutionary time is speculative and we have removed this discussion. We agree that a co-evolutionary analysis will be enlightening here, but is beyond the scope of the current work.

      We respectfully disagree with the reviewer’s interpretation that the difference between the two vertices is due to low resolution. The interfaces are clearly different, and the resolutions of the reconstructions are sufficient to state this. The reviewer’s suggestion that the difference in vertex orientation might be simply attributable to differences in sample, such as inclusion of the membrane, cylindrical versus spherical morphology, or presence of inner coat components were ruled out in our original submission: we resolved yeast vertices on spherical vesicles (in addition to those on tubes) and on membrane-less cages. These analyses clearly showed that neither the presence of a membrane, nor the change in geometry (tubular vs. spherical) affect vertex interactions. These experiments are presented in Supplementary Fig 4 (Supplementary Fig. 3 in the original version). Similarly, we discount that differences might be due to the presence or absence of inner coat components, since membrane-less cages were previously solved in both conditions and are no different in terms of their vertex structure (Stagg et al. Nature 2006 and Cell 2008).

      We believe it is important to report on the differences between the two vertex structures. Nevertheless, we have shifted our emphasis on the functional aspects of vertex formation and moved the comparison between the two vertices to the supplement.

      2) As one of the major take home messages of the paper, the presentation and discussion of the modeling and assignment of the SEC31-CTD could be clarified. First, it isn't clear from the figures or the movies if the connectivity makes sense. Where is the C-terminal end of the alpha-solenoid compared to this new domain? Can the authors plausibly account for the connectivity in terms of primary sequence? Please also include a side-by-side comparison of the SRA1 structure and the CTD homology model, along with some explanation of the quality of the model as measured by Modeller. Finally, even if the new density is the CTD, it isn't clear from the structure how this sub-stoichiometric and apparently flexible interaction enhances stability. Hence, when the authors wrote "when the [CTD] truncated form was the sole copy of Sec31 in yeast, cells were not viable, indicating that the novel interaction we detect is essential for COPII coat function." Maybe, but could this statement be a leap to far? Is it the putative interaction essential, or is the CTD itself essential for reasons that remain to be fully determined?

      The CTD is separated from the C-terminus of the alpha solenoid domain by an extended domain (~350 amino acids) that is predicted to be disordered, and contains the PPP motifs and catalytic fragment that contact the inner coat. This is depicted in cartoon form in Figures 3A and 7, and discussed at length in the text. This arrangement explains why no connectivity is seen, or expected. We could highlight the C-terminus of the alpha-solenoid domain to emphasize where the disordered region should emerge from the rod, but connectivity of the disordered domain to the CTD could arise from multiple positions, including from an adjacent rod.

      The reviewer’s point about the essentiality of the CTD being independent of its interaction with the Sec31 rod, is an important one. The basis for our model that the CTD enhances stability or rigidity of the coat is the yeast phenotype of Sec31-deltaCTD, which resembles that of a sec13 null. Both mutants are lethal, but rescued by deletion of emp24, which leads to more easily deformable membranes (Čopič et al. Science 2012). We agree that even if this model is true, the interaction of the CTD with Sec31 that our new structure reveals is not proven to drive rigidity or essentiality. We have tempered this hypothesis and added alternative possibilities to the discussion.

      We have included the SRA1 structure in Supplementary Fig 5, as requested, and the model z-score in the Methods. The Z-score, as calculated by the proSA-web server is -6.07 (see figure below, black dot), and falls in line with experimentally determined structures including that of the template (PDB 2mgx, z-score = -5.38).

      img

      3) Are extra rods discussed in Fig. 4 are a curiosity of unclear functional significance? This reviewer is concerned that these extra rods could be an in vitro stoichiometry problem, rather than a functional property of COP-II.

      This is an important point, that, as we state in the paper, cannot be answered at the moment: the resolution is too low to identify the residues involved in the interaction. Therefore we are hampered in our ability to assess the physiological importance of this interaction. We still believe the ‘extra’ rods are an important observation, as they clearly show that another mode of outer coat interaction, different from what was reported before, is possible.

      The concern that interactions visualised in vitro might not be physiologically relevant is broadly applicable to structural biology approaches. However, our experimental approach uses samples that result from active membrane remodelling under near-physiological conditions, and we therefore expect these to be less prone to artefacts than most in vitro reconstitution approaches, where proteins are used at high concentrations and in high salt buffer conditions.

      4) The clashsccore for the PDB is quite high--and I am dubious about the reliability of refining sidechain positions with maps at this resolution. In addition to the Ramchandran stats, I would like to see the Ramachandran plot as well as, for any residue-level claims, the density surrounding the modeled side chain (e.g. S742).

      The clashscore is 13.2, which, according to molprobity, is in the 57th percentile for all structures and in the 97th for structures of similar resolutions. We would argue therefore that the clashscore is rather low. In fact, the model was refined from crystal structures previously obtained by other groups, which had worse clashscore (17), despite being at higher resolution. Our refinement has therefore improved the clashscore. During refinement we have chosen restraint levels appropriate to the resolution of our map (Afonine et al., Acta Cryst D 2018)

      The Ramachandran plot is copied here and could be included in a supplemental figure if required. We make only one residue-level claim (S742), the density for which is indeed not visible at our resolution. We claim that S742 is close to the Sec23-23 interface, and do not propose any specific interactions. Nevertheless we have removed reference to S742 from the manuscript. We included this specific information because of the potential importance of this residue as a site of phosphorylation, thereby putting this interface in broader context for the general eLife reader.

      img

      Minor Comments:

      1) The authors wrote "To assess the relative positioning of the two coat layers, we analysed the localisation of inner coat subunits with respect to each outer coat vertex: for each aligned vertex particle, we superimposed the positions of all inner coat particles at close range, obtaining the average distribution of neighbouring inner coat subunits. From this 'neighbour plot' we did not detect any pattern, indicating random relative positions. This is consistent with a flexible linkage between the two layers that allows adaptation of the two lattices to different curvatures (Supplementary Fig 1E)." I do not understand this claim, since the pattern both looks far from random and the interactions depend on molecular interactions that are not random. Please clarify.

      We apologize for the confusion: the pattern of each of the two coats are not random. Our sentence refers to the positions of inner and outer coats relative to each other. The two lattices have different parameters and the two layers are linked by flexible linkers (the 350 amino acids referred to above). We have now clarified the sentence.

      2) Related to major point #1, the author wrote "We manually picked vertices and performed carefully controlled alignments." I do now know what it means to carefully control alignments, and fear this suggests human model bias.

      We used different starting references for the alignments, with the precise aim to avoid model bias. For both vesicle and cage vertex datasets, we have aligned the subtomograms against either the vertex obtained from tubules, or the vertex from previously published membrane-less cages. In all cases, we retrieved a structure that resembles the one on tubules, suggesting that the vertex arrangement we observe isn’t simply the result of reference bias. This procedure is depicted in Supplementary Fig 4 (Supplementary Fig. 3 in the original manuscript), but we have now clarified it also in the methods section.

      3) Why do some experiments use EDTA? I may be confused, but I was surprised to see the budding reaction employed 1mM GMPPNP, and 2.5mM EDTA (but no Magnesium?). Also, for the budding reaction, please replace or expand upon the "the 10% GUV (v/v)" with a mass or molar lipid-to-protein ratio.

      We regret the confusion. As stated in the methods, all our budding reactions are performed in the presence of EDTA and Magnesium, which is present in the buffer (at 1.2 mM). The reason is to facilitate nucleotide exchange, as reported and validated in Bacia et al., Scientific Reports 2011.

      Lipids in GUV preparations are difficult to quantify. We report the stock concentrations used, but in each preparation the amount of dry lipid that forms GUVs might be different, as is the concentration of GUVs after hydration. However since we analyse reactions where COPII proteins have bound and remodelled individual GUVs, we do not believe the protein/lipid ratio influences our structures.

      4) Please cite the AnchorMap procedure.

      We cite the SerialEM software, and are not aware of other citations specifically for the anchor map procedure.

      5) Please edit for typos (focussing, functionl, others)

      Done

      Reviewer #2:

      The manuscript describes new cryo-EM, biochemistry, and genetic data on the structure and function of the COPII coat. Several new discoveries are reported including the discovery of an extra density near the dimerization region of Sec13/31, and "extra rods" of Sec13/31 that also bind near the dimerization region. Additionally, they showed new interactions between the Sec31 C-terminal unstructured region and Sec23 that appear to bridge multiple Sec23 molecules. Finally, they increased the resolution of the Sec23/24 region of their structure compared to their previous studies and were able to resolve a previously unresolved L-loop in Sec23 that makes contact with Sar1. Most of their structural observations were nicely backed up with biochemical and genetic experiments which give confidence in their structural observations. Overall the paper is well-written and the conclusions justified.

      However, this is the third iteration of structure determination of the COPII coat on membrane with essentially the same preparation and methods. Each time, there has been an incremental increase in resolution and new discoveries, but the impact of the present study is deemed to be modest. The science is good, but it may be more appropriate for a more specialized journal. Areas of specific concern are described below.

      As described above, we respectfully disagree with this interpretation of the advance made by the current work. This work improves on previous work in many aspects. The resolution of the outer coat increases from over 40A to 10-12A, allowing visualisation of features that were not previously resolved, including a novel vertex arrangement, the Sec31 CTD, and the outer coat ‘extra rods’. An improved map of the inner coat also allows us to resolve the Sec23 ‘L-loop’. We would argue that these are not just extra details, but correspond to a suite of novel interactions that expand our understanding of the complex COPII assembly network. Moreover, we include biochemical and genetic experiments that not only back up our structural observations but bring new insights into COPII function. As pointed out in response to reviewer 1, we believe our work contributes a significant conceptual advance, and have modified the manuscript to convey this more effectively.

      1) The abstract is vague and should be re-written with a better description of the work.

      We have modified the abstract to specifically outline what we have done and the major new discoveries of this paper.

      2) Line 166 - "Surprisingly, this mutant was capable of tubulating GUVs". This experiment gets to one of the fundamental unknown questions in COPII vesiculation. It is not clear what components are driving the membrane remodeling and at what stages during vesicle formation. Isn't it possible that the tubulation activity the authors observe in vitro is not being driven at all by Sec13/31 but rather Sec23/24-Sar1? Their Sec31ΔCTD data supports this idea because it lacks a clear ordered outer coat despite making tubules. An interesting experiment would be to see if tubules form in the absence of all of Sec13/31 except the disordered domain of Sec31 that the authors suggest crosslinks adjacent Sec23/24s.

      This is an astute observation, and we agree with the reviewer that the source of membrane deformation is not fully understood. We favour the model that budding is driven significantly by the Sec23-24 array. To further support this, we have performed a new experiment, where we expressed Sec31ΔN in yeast cells lacking Emp24, which have more deformable membranes and are tolerant to the otherwise lethal deletion of Sec13. While Sec31ΔN in a wild type background did not support cell viability, this was rescued in a Δemp24 yeast strain, strongly supporting the hypothesis that a major contributor to membrane remodelling is the inner coat, with the outer coat becoming necessary to overcome membrane bending resistance that ensues from the presence of cargo. We now include these results in Figure 1.

      However, we must also take into account the results presented in Fig. 6, where we show that weakening the Sec23-24 interface still leads to budding, but only if Sec13-31 is fully functional, and that in this case budding leads to connected pseudo-spherical vesicles rather than tubes. When Sec13-31 assembly is also impaired, tubes appear unstructured. We believe this strongly supports our conclusions that both inner and outer coat interactions are fundamental for membrane remodelling, and it is the interplay between the two that determines membrane morphology (i.e. tubes vs. spheres).

      To dissect the roles of inner and outer coats even further, we have done the experiment that the reviewer suggests: we expressed Sec31768-1114, but the protein was not well-behaved and co-purified with chaperones. We believe the disordered domain aggregates when not scaffolded by the structured elements of the rod. Nonetheless, we used this fragment in a budding reaction, and could not see any budding. We did not include this experiment as it was inconclusive: the lack of functionality of the purified Sec31 fragment could be attributed to the inability of the disordered region to bind its inner coat partner in the absence of the scaffolding Sec13-31 rod. As an alternative approach, we have used a version of Sec31 that lacks the CTD, and harbours a His tag at the N-terminus (known from previous studies to partially disrupt vertex assembly). We think this construct is more likely to be near native, since both modifications on their own lead to functional protein. We could detect no tubulation with this construct by negative stain, while both control constructs (Sec31ΔCTD and Nhis-Sec31) gave tubulation. This suggests that the cross-linking function of Sec31 is not sufficient to tubulate GUV membranes, but some degree of functional outer coat organisation (either mediated by N- or C-terminal interactions) is needed. It is also possible that the lack of outer coat organisation might lead to less efficient recruitment to the inner coat and cross-linking activity. We have added this new observation to the manuscript.

      3) Line 191 - "Inspecting cryo-tomograms of these tubules revealed no lozenge pattern for the outer 192 coat" - this phrasing is vague. The reviewer thinks that what they mean is that there is a lack of order for the Sec13/31 layer. Please clarify.

      The reviewer is correct, we have changed the sentence.

      4) Line 198 - "unambiguously confirming this density corresponds to 199 the CTD." This only confirms that it is the CTD if that were the only change and the Sec13/31 lattice still formed. Another possibility is that it is density from other Sec13/31 that only appears when the lattice is formed such as the "extra rods". One possibility is that the density is from the extra rods. The reviewer agrees that their interpretation is indeed the most likely, but it is not unambiguous. The authors should consider cross-linking mass spectrometry.

      We have removed the word ‘unambiguously’, and changed to ‘confirming that this density most likely corresponds to the CTD’. Nonetheless, we believe that our interpretation is correct: the extra rods bind to a different position, and themselves also show the CTD appendage. In this experiment, the lack of the CTD was the only biochemical change.

      5) In the Sec31ΔCTD section, the authors should comment on why ΔCTD is so deleterious to oligomer organization in yeast when cages form so abundantly in preparations of human Sec13/31 ΔC (Paraan et al 2018).

      We have added a comment to address this. “Interestingly, human Sec31 proteins lacking the CTD assemble in cages, indicating that either the vertex is more stable for human proteins and sufficient for assembly, or that the CTD is important in the context of membrane budding but not for cage formation in high salt conditions.”

      6) The data is good for the existence of the "extra rods", but significance and importance of them is not clear. How can these extra densities be distinguished from packing artifacts due to imperfections in the helical symmetry.

      Please also see our response to point 3 from reviewer 1. Regarding the specific concern that artefacts might be a consequence of imperfection in the helical symmetry, we would argue such imperfections are indeed expected in physiological conditions, and to a much higher extent. For this reason interactions seen in the context of helical imperfections are likely to be relevant. In fact, in normal GTP hydrolysis conditions, we expect long tubes would not be able to form, and the outer coat to be present on a wide range of continuously changing membrane curvatures. We think that the ability of the coat to form many interactions when the symmetry is imperfect might be exactly what confers the coat its flexibility and adaptability.

      7) Figure 5 is very hard to interpret and should be redone. Panels B and C are particularly hard to interpret.

      We have made a new figure where we think clarity is improved.

      8) The features present in Sec23/24 structure do not reflect the reported resolution of 4.7 Å. It seems that the resolution is overestimated.

      We report an average resolution of 4.6 Å. In most of our map we can clearly distinguish beta strands, follow the twist of alpha helices and see bulky side chains. These features typically become visible at 4.5-5A resolution. We agree that some areas are worse than 4.6 Å, as typically expected for such a flexible assembly, but we believe that the average resolution value reported is accurate. We obtained the same resolution estimate using different software including relion, phenix and dynamo, so that is really the best value we can provide. To further convince ourselves that we have the resolution we claim, we sampled EM maps from the EMDB with the same stated resolution (we just took the 7 most recent ones which had an associated atomic model), and visualised their features at arbitrary positions. For both beta strands and alpha helices, we do not feel our map looks any worse than the others we have examined. We include a figure here.

      img

      9) Lines 315/316 - "We have combined cryo-tomography with biochemical and genetic assays to obtain a complete picture of the assembled COPII coat at unprecedented resolution (Fig. 7)"

      10) Figure 7. is a schematic model/picture the authors should reference a different figure or rephrase the sentence.

      We now refer to Fig 7 in a more appropriate place.

      Reviewer #3:

      The manuscript by Hutchings et al. describes several previously uncharacterised molecular interactions in the coats of COP-II vesicles by using a reconstituted coats of yeast COPI-II. They have improved the resolution of the inner coat to 4.7A by tomography and subtomogram averaging, revealing detailed interactions, including those made by the so-called L-loop not observed before. Analysis of the outer layer also led to new interesting discoveries. The sec 31 CTD was assigned in the map by comparing the WT and deletion mutant STA-generated density maps. It seems to stabilise the COP-II coats and further evidence from yeast deletion mutants and microsome budding reconstitution experiments suggests that this stabilisation is required in vitro. Furthermore, COP-II rods that cover the membrane tubules in right-handed manner revealed sometimes an extra rod, which is not part of the canonical lattice, bound to them. The binding mode of these extra rods (which I refer to here a Y-shape) is different from the canonical two-fold symmetric vertex (X-shape). When the same binding mode is utilized on both sides of the extra rod (Y-Y) the rod seems to simply insert in the canonical lattice. However, when the Y-binding mode is utilized on one side of the rod and the X-binding mode on the other side, this leads to bridging different lattices together. This potentially contributes to increased flexibility in the outer coat, which maybe be required to adopt different membrane curvatures and shapes with different cargos. These observations build a picture where stabilising elements in both COP-II layers contribute to functional cargo transport. The paper makes significant novel findings that are described well. Technically the paper is excellent and the figures nicely support the text. I have only minor suggestions that I think would improve the text and figure.

      We thank the reviewer for helpful suggestions which we agree improve the manuscript.

      Minor Comments:

      L 108: "We collected .... tomograms". While the meaning is clear to a specialist, this may sound somewhat odd to a generic reader. Perhaps you could say "We acquired cryo-EM data of COP-II induced tubules as tilt series that were subsequently used to reconstruct 3D tomograms of the tubules."

      We have changed this as suggested

      L 114: "we developed an unbiased, localisation-based approach". What is the part that was developed here? It seems that the inner layer particle coordinates where simply shifted to get starting points in the outer layer. Developing an approach sounds more substantial than this. Also, it's unclear what is unbiased about this approach. The whole point is that it's biased to certain regions (which is a good thing as it incorporates prior knowledge on the location of the structures).

      We have modified the sentence to “To target the sparser outer coat lattice for STA, we used the refined coordinates of the inner coat to locate the outer coat tetrameric vertices”, and explain the approach in detail in the methods.

      L 124: "The outer coat vertex was refined to a resolution of approximately ~12 A, revealing unprecedented detail of the molecular interactions between Sec31 molecules (Supplementary Fig 2A)". The map alone does not reveal molecular interactions; the main understanding comes from fitting of X-ray structures to the low-resolution map. Also "unprecedented detail" itself is somewhat problematic as the map of Noble et al (2013) of the Sec31 vertex is also at nominal resolution of 12 A. Furthermore, Supplementary Fig 2A does not reveal this "unprecedented detail", it shows the resolution estimation by FSC. To clarify, these points you could say: "Fitting of the Sec31 atomic model to our reconstruction vertex at 12-A resolution (Supplementary Fig 2A) revealed the molecular interactions between different copies of Sec31 in the membrane-assembled coat.

      We have changed the sentence as suggested.

      L 150: Can the authors exclude the possibility that the difference is due to differences in data processing? E.g. how the maps amplitudes have been adjusted?

      Yes, we can exclude this scenario by measuring distances between vertices in the right and left handed direction. These measurements are only compatible with our vertex arrangement, and cannot be explained by the big deviation from 4-fold symmetry seen in the membrane-less cage vertices.

      L 172: "that wrap tubules either in a left- or right-handed manner". Don't they do always both on each tubule? Now this sentence could be interpreted to mean that some tubules have a left-handed coat and some a right-handed coat.

      We have changed this sentence to clarify. “Outer coat vertices are connected by Sec13-31 rods that wrap tubules both in a left- and right-handed manner.”

      L276: "The difference map" hasn't been introduced earlier but is referred to here as if it has been.

      We now introduce the difference map.

      L299: Can "Secondary structure predictions" denote a protein region "highly prone to protein binding"?

      Yes, this is done through DISOPRED3, a feature include in the PSIPRED server we used for our predictions. The reference is: Jones D.T., Cozzetto D. DISOPRED3: precise disordered region predictions with annotated protein-binding activity Bioinformatics. 2015; 31:857–863. We have now added this reference to the manuscript.

      L316: It's true that the detail in the map of the inner coat is unprecedented and the model presented in Figure 7 is partially based on that. But here "unprecedented resolution" sounds strange as this sentence refers to a schematic model and not a map.

      We have changed this by moving the reference to Fig 7 to a more appropriate place

      L325: "have 'compacted' during evolution" -> remove. It's enough to say it's more compact in humans and less compact in yeast as there could have been different adaptations in different organisms at this interface.

      We have changed as requested. See also our response to reviewer 1, point 1.

      L327: What's exactly meant by "sequence diversity or variability at this density".

      We have now clarified: “Since multiple charge clusters in yeast Sec31 may contribute to this interaction interface (Stancheva et al., 2020), the low resolution could be explained by the fact that the density is an average of different sequences.”

      L606-607: The description of this custom data processing approach is difficult to follow. Why is in-plane flip needed and how is it used here?

      Initially particles are picked ignoring tube directionality (as this cannot be assessed easily from the tomograms due to the pseudo-twofold symmetry of the Sec23/24/Sar1 trimer). So the in plane rotation of inner coat subunit could be near 0 or 180°. For each tube, both angles are sampled (in-plane flip). Most tubes result in the majority of particles being assigned one of the two orientations (which is then assumed as the tube directionality). Particles that do not conform are removed, and rare tubes where directionality cannot be determined are also removed. We have re-written the description to clarify these points: “Initial alignments were conducted on a tube-by-tube basis using the Dynamo in-plane flip setting to search in-plane rotation angles 180° apart. This allowed to assign directionality to each tube, and particles that were not conforming to it were discarded by using the Dynamo dtgrep_direction command in custom MATLAB scripts”

      L627: "Z" here refers to the coordinate system of aligned particles not that of the original tomogram. Perhaps just say "shifted 8 pixels further away from the membrane".

      Changed as requested.

      L642-643: How can the "left-handed" and "right-handed" rods be separated here? These terms refer to the long-range organisation of the rods in the lattice it's not clear how they were separated in the early alignments.

      They are separated by picking only one subset using the dynamo sub-boxing feature. This extracts boxes from the tomogram which are in set positions and orientation relative to the average of previously aligned subtomograms. From the average vertex structure, we sub-box rods at 4 different positions that correspond to the centre of the rods, and the 2-fold symmetric pairs are combined into the same dataset. We have clarified this in the text: “The refined positions of vertices were used to extract two distinct datasets of left and right-handed rods respectively using the dynamo sub-boxing feature.”

      Figure 2B. It's difficult to see the difference between dark and light pink colours.

      We have changed colours to enhance the difference.

      Figure 3C. These panels report the relative frequency of neighbouring vertices at each position; "intensity" does not seem to be the right measure for this. You could say that the colour bar indicates the "relative frequency of neighbouring vertices at each position" and add detail how the values were scaled between 0 and 1. The same applies to SFigure 1E.

      Changed as requested.

      Figure 4. The COP-II rods themselves are relatively straight, and they are not left-handed or right-handed. Here, more accurate would be "architecture of COPII rods organised in a left-handed manner". (In the text the authors may of course define and then use this shorter expression if they so wish.) Panel 4B top panel could have the title "left-handed" and the lower panel should have the title "right-handed" (for consistency and clarity).

      We have now defined left- and right-handed rods in the text, and have changed the figure and panel titles as requested.

    1. 批注功能支持 Markdown 语法、LaTeX 公式和添加标签(tag)。

      确实厉害

      • ftp : modify link for TrailNext for local subdomains
      • background : Prevously relied on three domains hub.opidox.com/app for access by anyone localhost/app running development version locally localhost/demo accessing TrailNext development version running on localhost:8080 as an Apprun PWA using base tag start using local subdomains
    1. Note: This rebuttal was posted by the corresponding author to Review Commons. Content has not been altered except for formatting.

      Learn more at Review Commons


      Reply to the reviewers

      Response to Reviewers and Revision Plan

      We thank all three reviewers for their time and their comments on our manuscript.

      Reviewer #1 (Evidence, reproducibility and clarity (Required)):

      Here Ryan et al. have used localization analysis following induced rapid relocalization of endogenous proteins to investigate the composition and recruitment hierarchy of a clathrin-TACC3-based spindle complex that is important for microtubule organization and stability.

      The authors generate different HeLa cell lines, each with one of four complex members (TACC3, CLTA, chTOG and GTSE1) endogenously tagged with FKBP-GFP via Cas9-mediated editing. This tag allows rapid recruitment to the mitochondria upon rapamycin addition ("knocksideways"). They ultimately quantify each of the 4 components' localization to the spindle following knocksideways of each component using fluorescently-tagged transfected constructs. The authors' interpretation of the results of this analysis are summarized in the last model figure, in which a core MT-binding complex of clathrin and TACC3 recruit the ancillary components GTSE1 and chTOG. In addition, the authors investigate the contribution of individual clathrin-binding LIDL motifs in GTSE1 to the recruitment of clathrin and GTSE1 to spindles. Their findings here largely agree with and confirm a recent report regarding the contribution of these motifs to GTSE1 recruitment to the spindle. They further analyzed GTSE1 fragments for interphase and mitotic microtubule localization, and identified a second region of GTSE1 required (but not sufficient) for spindle localization. Finally, the authors report that PIK3C2A is not part of this complex, contradicting (correcting) a previously published study.

      **Major comments:**

      1.The chTOG-FKBP-GFP cell line the authors generate has only a small fraction of chTOG tagged, and thus should not be used for any conclusions about protein localization dependency on chTOG. Because they were unable to construct a HeLa cell line with all copies tagged, the authors expect that the homozygous knock-in of chTOG-FKBP-GFP is lethal, and thus their experience is appropriate to report. However, the authors should not use this cell line alone to make statements about chTOG dependency. They would have to use similar localization analysis, but after another method to disrupt chTOG (as a second-best approach), such as RNAi. In fact, they have reported this in a previous publication (Booth et al 2011). However, the result was different. There, loss of chTOG resulted in reduced clathrin on spindles, suggesting it may stabilize or help recruit the complex. Alternatively, they could remove their chTOG data, but this would compromise the "comprehensive" nature of the work.

      The referee is correct. The point here is to show the results we had using this approach for all four proteins under study. For this reason, we do not want to remove this data and prefer to show our results “warts-and-all”. We feel that the shortcomings of our approach are honestly presented and discussed in the manuscript. While only a fraction of chTOG was tagged, we should expect some co-removal after its induced mislocalization. Since we saw no change, we concluded that chTOG is auxiliary.

      The “second best” approach suggested (RNAi of chTOG) is problematic for two reasons. First, chTOG RNAi results in gross changes to spindle structure (multipolar spindles) and it is difficult to pick apart differences in protein partner localization that result from loss of chTOG from those resulting from changes in spindle structure. Second, the paper is about induced mislocalization as a method for determining protein complexes once a normal spindle has formed. So, removing chTOG prior to mitosis is not comparable. If we get the same or different result, does it confirm or conflict with the data we have? Nonetheless, given the discrepancy with our earlier work, we should investigate this further.

      To address this concern, we will stain endogenous clathrin, TACC3 and GTSE1 following chTOG RNAi and measure their relative levels at the spindle.

      Making the chTOG-FKBP-GFP cell line was difficult. As described in the paper, we only recovered heterozygous clones despite repeated attempts. Since submission, we have been made aware of a HCT116 chTOG-FKBP-GFP cell line that is reported to be homozygously tagged (Cherry et al. 2019 doi: 10.1002/glia.23628).

      A note about this cell line has been added to the paper (Results section, final sentence of 1st paragraph).

      2.The authors initially analyze complex member localization after knocksideways experiments by antibody staining, which has the advantage of analyzing endogenous proteins (versus the later transfected fluorescent constructs). Setting aside potential artefacts from fixation, this would seem to be a better method for controlled analysis to take advantage of their setup (short of generating stable cell lines with second proteins endogenously tagged in a second color - a huge undertaking). The authors conclude that antibody specificity problems confounded their analysis and explained unusual results. However, I think is worth investing a little more effort to sort this out, rather than bringing doubt to the whole data set. Verifying and then using another antibody for chTOG localization would be informative. Of course, the negative control should not be their chTOG-FKBP-GFP line, as it does not relocalize most of chTOG.

      In the case of GTSE1, an alternative explanation to antibody specificity issues would be that the GTSE1-FKBP-GFP cell line is not in fact homozygously tagged. Given the low expression levels on the western provided, and the detection of GTSE1 on the spindle in the induced GTSE1-FKBP-GFP cell line (but not TACC3-FKBP-GFP), it seems plausible that an untagged copy remains. If there are multiple copies of GTSE1 in Hela cells, one untagged copy could represent a small fraction of total GTSE1. This should thus be ruled out. GTSE1 clones should be analyzed with more protein extracts loaded - dilutions of the extracts can determine the sensitivity of the blot to lower protein levels. In addition, sequencing of genomic DNA can reveal a small percentage with different reads.

      We used a two-pronged approach for assessing relocalization of protein partners (staining vs transfected constructs). The staining approach is superior since endogenous proteins are examined, but it is limited by antibody specificity. The transfection approach overcomes this limitation but is in turn limited by effects of overexpression and tagging. Together the two approaches allow us, and anyone employing this method, to get a picture of protein complexes. We didn’t want to create the impression that one or other approach is confounded, but the referee is correct that this analysis would benefit from further work.

      Specifically, to address these concerns:

      • We will verify and use alternative chTOG antibodies to try to improve this dataset.
      • We will test the possibility that an untagged allele of GTSE1 remains. We will use western blotting and a summary of our genomic analysis will be added to the paper.

        3.There is a lot of data contained in the small graphs summarizing quantification of localization in Figs 3 and 4. They would be more accessible to the reader if they were larger and/or an "example" of the chart with labels was present explaining it (essentially what is in the figure legends). Furthermore, there is no statistical test applied to this data that I see. This is needed. How do authors determine whether there is an "effect"?

      Our aim was to compress a lot of information into a small space, while still showing some example primary data. All reviewers raised the same concern which tells us that we went too far towards “data visualization”.

      To address this point, we will rework these figures.

      **Minor issues:**

      1.The GTSE1 constructs used for mutation and localization analysis are 720 amino acids long. A recent study analyzing similar mutations uses a 739 amino acid construct (Rondelet et al 2020). The latter is the predominant transcript in NCBI and Ensembl databases. It appears the construct used by the authors omits the first 19 a.a.. I do not think using the truncated transcript affects conclusions of the manuscript, but it could generate confusion when identifying residues based on a.a.#s of mutant constructs (Fig 6). This should be somehow clarified.

      We were aware of the longer transcript but were using the 720 residue form since it is the canonical sequence in Uniprot (https://www.uniprot.org/uniprot/Q9NYZ3). We did not know that the 739 form is the predominant transcript. We agree this is unlikely to affect our work but that the numbering may cause confusion.

      We have added a note to the Methods (Molecular Biology section) to accurately describe what we and Rondelet et al. have used.

      2.The labeling of constructs in Fig 6C/D is confusing, and appears shifted by eye at places. Please relabel this more clearly.

      Apologies for the error.

      We have relabeled Figure 6C,D and also made a similar alteration to Figure 5C.

      The recommended new experimental data (Analysis complex member levels on spindles after full perturbation of spindle chTOG; new chTOG antibody stainings in the FKBP lines; reanalysis of GTSE1 DNA/protein in GTSE1-FKBP line) should only require a new antibody/siRNA, plus a few weeks time to repeat the analyses already in the paper with new reagents.

      Reviewer #1 (Significance (Required)):

      While multiple individual components of this complex have been previously characterized, the structure and nature of the complex formation and its recruitment to microtubules/spindles remains a complex problem that has yet to be solved.

      Overall this study represents a comprehensive localization-dependency analysis of the Clathrin-TACC3 based spindle complex using a consistent methodology. Although several of the conclusions of the findings echo previous reports, some of the previous literature is contradictory within itself as well as with the conclusions here. Analyzing all components with a single, rapid-perturbation technique thus has great value to present a clear data set, given that the experimental setup conditions and analysis are solid (a goal to which the majority of comments refer).

      Beyond the complex localization/recruitment analysis, two novel findings of this study that emerge are:

      a)GTSE1 contains a second, separate protein region, distinct from the clathrin-binding motifs that is required for its localization to the spindle, and most likely a microtubule-interaction site. This suggests that GTSE1 recruitment to the spindle is more complex than previously reported.

      b)PI3KC2A, which has been reported previously to be a stabilizing member of this complex, is in fact not a member, nor localizes to spindles, nor displays a mitotic defect after loss. This is important conclusion to be made as it would correct the literature, and avoid future confusion.

      --

      Reviewer #2 (Evidence, reproducibility and clarity (Required)):

      In this paper, the authors investigate the nature of interactions between members of the TACC3-chTOG-clathrin-GTSE1 complex on the mitotic spindle. By using a series of HeLa cell lines that they have created by CRISPR/Cas9 editing to enable spatial manipulation (knocksideways) of either TACC3, chTOG, clathrin and GTSE1, they show that on spindle microtubules TACC3 and clathrin represent core complex members whereas chTOG and GTSE1 bind to them respectively but not to each other. Additionally, the authors find that the protein PIK3C2A, which has been implicated in this complex previously is in fact not a component of this complex in mitotic cells. The main advance of the paper in my opinion is the endogenous tagging of the proteins for knocksideways experiments since former experiments depended on RNAi silencing and expression of tagged proteins from plasmids, which introduced issues of protein silencing efficiency and plasmid overexpression problems. This approach seems to alleviate these problems, except in the case of chTOG which seems to be lethal in its homozygous variant.

      **Major comments:**

      I find the key conclusions regarding the localization of the components of the complex convincing. There are some issues regarding the specificity of antibodies in immunostaining experiments (Fig 3.) and the influence of mCherry-TACC3 expression on distorted localization of the complex prior to knocksideways. However, I think the general conclusion about which complex components (clathrin and TACC3) influence the localization of the other proteins in the complex (chTOG and GTSE1) stands. One thing that I miss from the paper is the data on the consequences on the spindle shape and morphology after knocksideways. I have noticed on images in both Figure 3 and Figure 4 that in some cases distribution of the signal seems to influence quite a bit the spindle morphology. Also, In Figure 3 I have noticed what seems to me a quite big variation in spindle size in tubulin signal in both untreated and rapamycin cells. Since authors have many of these images already, I believe it would be realistic, not costly and of additional value for the paper to provide more data on the consequences of the knocksideways experiments. Change of spindle size, tubulin intensity and DNA/kinetochore misalignment upon knocksideways would be helpful to appreciate more the findings of the paper. More so since the authors on more than one occasion find their motivation in the field of cancer research and spindle stability relation to it. Some data connection to this motivation would be of value. Experiments seem reproducible.

      The focus of the paper is on using the knocksideways methodology to understand a protein complex during mitosis, rather than looking at its function. We are not keen to do new experiments that are not part of the central message of the paper. However, the Reviewer is correct that we do already have a dataset that can be mined in the manner described.

      To address this point, we will analyze spindle size parameters and also the intensity of tubulin. Our analysis will be limited to the short timeframe of our experiments, but it should reveal or refute any changes in spindle structure that may result from loss of complex members.

      **Minor comments:**

      I have some problems with the clarity of Figure 3 and 4. For Figure 3. In Figure 3 plots on the right are a bit small and not easy to read. Some reorganization of the figure might be beneficial. In Figure 4 plots to the right are also too small to be clear. Also, I miss the number of cells (n) I can't see the number of individual arrows because of the size of graphs.

      Our aim was to compress a lot of information into a small space, while still showing some example primary data. All reviewers raised the same concern which tells us that we went too far towards “data visualization”.

      To address this point, we will rework these figures.

      Reviewer #2 (Significance (Required)):

      I find that the biggest significance of the paper is in the creation of new tools (cell lines) to study the localization of proteins TACC3, chTOG, clathrin and GTSE1. Cell lines where endogenous proteins can be delocalized rapidly will be of value for scientist working not only in mitosis but such as in the case of clathrin research, vesicle formation and trafficking or p53-dependent apoptosis in the case of GTSE1. In the field of mitosis it will surely help and speed up the research concerning the role of these proteins in spindle assembly and stability.

      Field of expertise: mitotic spindle

      --

      Reviewer #3 (Evidence, reproducibility and clarity (Required)):

      **Summary:**

      This papers analyses the chTog/TACC3/clathrin/GTSE1 complex that crosslinks and stabilises microtubule bundles in the mitotic spindle. The authors have developed an elegant knock sideways approach to specifically analyse the effects of removing individual components of the complex from the spindle and study the effect this has on the other interactors. They report, based on these assays that the core of the complex is formed by TACC3 and Clathrin while GTSE1 and chTog are auxiliary interactors. They also refute previous evidence that this complex also incorporates PIK3C2A. Overall, this is an interesting study that distinguishes itself predominantly by its methodology. However, some of the reported results need more thorough analysis to allow convincing conclusions.

      **Major comments:**

      1)The knockside way method is the main highlight if this paper. Unlike previous studies by the PI, this time endogenous genes are tagged which is a key advance and allows much better interpretation of the results. I am not sure why the authors have chosen HeLa cells as their model here, given the messed up genome of these cells. A non-transformed cell line would have been preferable, but as a proof of principle study, I think HeLa are acceptable, and I wouldn't expect the authors to repeat all the experiment in another system.

      Figure 1,2 and S1 are describing and validating this approach in some detail, but this will require some more work.

      The authors state that gene targeting was validated using a combination of PCR, sequencing, Western blotting, but show only the results for westerns. PCR analysis that demonstrates homozygous or heterozygous gene targeting should be shown here.

      Another issue is the penetrance of the phenotypes induced by Rapamycin. The authors show nice data of the system working in individual cells but do not give us an idea if this happens in all cells. The localisation of the individual tagged genes should be quantified (ideally with line plots) in 50 randomly chosen mitotic cells with 3 repeats before and after rapamycin treatment. Moreover, the analysis of mitotic duration (Figure S1D) should be extended to include a plus Rapamycin cohort and this should be moved in the main Figure.

      If the system works only in a small proportion of cells, this should be clearly stated. I don't think this would prevent publication, but it is an important piece of information that is missing.

      The Reviewer raises two issues here.

      • PCR analysis should be shown. This issue was also partly raised by Reviewer 1. A summary of our PCR analysis was actually included in Table 1, since the analysis we did is pretty unwieldy. We agree though that presenting our evidence for homozygosity of the cell lines would be useful. To address this point, we will add more detail of the PCR and sequencing work done to validate these cell lines.
      • Does knocksideways happen in all cells? The answer to this depends on the transient expression of MitoTrap and sufficient application of rapamycin. We agree that this will be a useful piece of information to add to the manuscript. A related issue is whether knocksideways of complex members affects mitotic progression. We have established through other experiments that rapamycin application to wild-type cells alters mitotic progression, although application of Rapalog does not have this effect. Our plan to address these points is 1) to analyze the efficacy of knocksideways that readers can expect to achieve using these, or similar cells, and 2) analyze mitotic duration in rapalog-treated cells expressing a rapalog sensitive MitoTrap.

        2)Apart from a simple quantification of mitotic duration, I believe a more detailed mitotic phenotype analysis for each knock-side way gene, especially the homozygous targeted clones, should be included. This can involve more high-resolution live cell imaging of mitotic progression with SiR-DNA and GFP-tubulin, using the dark mitotrap.

      We don’t agree that such an analysis should be included. The focus of this paper is on using the knocksideways methodology to understand a protein complex during mitosis, and not looking at its function. There are several papers on the mitotic phenotypes of these genes probed using RNAi in different cellular systems (examples for chTOG: 10.1101/gad.245603; TACC3/clathrin: 10.1038/emboj.2011.15, 10.1242/jcs.075911, 10.1083/jcb.200911091, 10.1083/jcb.200911120; GTSE1: 10.1083/jcb.201606081). Moreover, our 2013 paper used knocksideways (with RNAi and overexpression) and has a detailed analysis of mitotic progression, microtubule stability, checkpoint activity and kinetochore motions (Cheeseman et al., 2013 doi: 10.1242/jcs.124834).

      New experiments that are not part of the central message of the paper and are unlikely to give new insight are not the best use of our revision efforts for this paper (especially during the pandemic). Having said this, Reviewer 2’s suggestion to use our existing dataset to investigate mitotic phenotypes, will largely answer Reviewer 3’s request.

      We will analyze spindle size parameters and also the intensity of tubulin. Our analysis will be limited to the short timeframe of our experiments, but it should reveal or refute any changes in spindle structure that result from the loss of complex members.

      3)Overall, the quantitative analysis in Figure 3 ,4 and 7 is not good enough and sometimes doesn't fully support the conclusions. In Figure 3,4 a convoluted way of demonstrating the change in localisation is shown and this panel is so small that is almost impossible to read. Also, there is no statistical analysis, and the sample size seems very small . At least 25 cells should be analysed here in 3 repeats. I would suggest to unify the quantification in the MS and use the line plots shown in Figure 5 and 6 and compare each protein before and after rapamycin addition. This is much easier to read and more convincing. The images of the cells panels can be moved to a supplement as they contain very little information. This would generate space to expand the size and depth of the quantitative analysis. Instead of Anova tests, I would recommend using a simple t-test comparing each condition to its relevant control since this is the only relevant comparison in the experiment. Statistical significance should be calculated for each experiment with sufficient sample size. It would also be better to show the individual data points from the three repeats in different colours so that the reproducibility between repeat can be judged.

      This type of statistical analysis should be uniformly done throughout the MS and also extended to Figure 7.

      The referee raises several issues here with our data presentation and statistical analysis.

      • Our aim in Figures 3 and 4 was to compress a lot of information into a small space, while still showing some example primary data. All reviewers raised the same concern about these figures which tells us that we went too far towards “data visualization”. To address this point, we will rework Figures 3 and 4 to provide more clear data presentation.
      • The Reviewer’s comments about statistical analysis however are not sound. First, it is incorrect to state that simple t-tests can be applied (this is a form of p-hacking). Correction for multiple testing must be done on these datasets. Second, the reviewer arbitrarily states numbers for cells and experimental repeats without considering the effect size or it seems, understanding the structure of the data that we have collected. Sample sizes are small but they are taken from many independent replicates. Third, and related to the previous point, the fixed and live cell data are structured differently which means that a uniform data presentation is not possible. The live data has a paired design and each cell is an independent replicate (with replicates done over several trials). The fixed data is unpaired and we have taken measures from several experiments (independent replicates). The point about applying statistical tests to the data is also made by Reviewer 1 and we will use appropriate tests (NHST or estimation statistics) as we re-work the figures.

        Reviewer #3 (Significance (Required)):

      In my opinion, the most interesting aspect of the MS is the methodology. Based on this, publication is justified and will be of interest to a wider audience. That is why a more detailed analysis of the penetrance of this manipulation across the cell population will be critical.

      The application of this method to analyse the composition of the TACC3/Clathrin complex on the spindle is the main biological advance, and the novel information is rather limited but not unimportant.

      Overall, if these results can be properly quantified I would recommend publication.

    2. Note: This preprint has been reviewed by subject experts for Review Commons. Content has not been altered except for formatting.

      Learn more at Review Commons


      Referee #1

      Evidence, reproducibility and clarity

      Here Ryan et al. have used localization analysis following induced rapid relocalization of endogenous proteins to investigate the composition and recruitment hierarchy of a clathrin-TACC3-based spindle complex that is important for microtubule organization and stability. The authors generate different HeLa cell lines, each with one of four complex members (TACC3, CLTA, chTOG and GTSE1) endogenously tagged with FKBP-GFP via Cas9-mediated editing. This tag allows rapid recruitment to the mitochondria upon rapamycin addition ("knocksideways"). They ultimately quantify each of the 4 components' localization to the spindle following knocksideways of each component using fluorescently-tagged transfected constructs. The authors' interpretation of the results of this analysis are summarized in the last model figure, in which a core MT-binding complex of clathrin and TACC3 recruit the ancillary components GTSE1 and chTOG. In addition, the authors investigate the contribution of individual clathrin-binding LIDL motifs in GTSE1 to the recruitment of clathrin and GTSE1 to spindles. Their findings here largely agree with and confirm a recent report regarding the contribution of these motifs to GTSE1 recruitment to the spindle. They further analyzed GTSE1 fragments for interphase and mitotic microtubule localization, and identified a second region of GTSE1 required (but not sufficient) for spindle localization. Finally, the authors report that PIK3C2A is not part of this complex, contradicting (correcting) a previously published study.

      Major comments:

      1.The chTOG-FKBP-GFP cell line the authors generate has only a small fraction of chTOG tagged, and thus should not be used for any conclusions about protein localization dependency on chTOG. Because they were unable to construct a HeLa cell line with all copies tagged, the authors expect that the homozygous knock-in of chTOG-FKBP-GFP is lethal, and thus their experience is appropriate to report. However, the authors should not use this cell line alone to make statements about chTOG dependency. They would have to use similar localization analysis, but after another method to disrupt chTOG (as a second-best approach), such as RNAi. In fact, they have reported this in a previous publication (Booth et al 2011). However, the result was different. There, loss of chTOG resulted in reduced clathrin on spindles, suggesting it may stabilize or help recruit the complex. Alternatively, they could remove their chTOG data, but this would compromise the "comprehensive" nature of the work.

      2.The authors initially analyze complex member localization after knocksideways experiments by antibody staining, which has the advantage of analyzing endogenous proteins (versus the later transfected fluorescent constructs). Setting aside potential artefacts from fixation, this would seem to be a better method for controlled analysis to take advantage of their setup (short of generating stable cell lines with second proteins endogenously tagged in a second color - a huge undertaking). The authors conclude that antibody specificity problems confounded their analysis and explained unusual results. However, I think is worth investing a little more effort to sort this out, rather than bringing doubt to the whole data set. Verifying and then using another antibody for chTOG localization would be informative. Of course, the negative control should not be their chTOG-FKBP-GFP line, as it does not relocalize most of chTOG.

      In the case of GTSE1, an alternative explanation to antibody specificity issues would be that the GTSE1-FKBP-GFP cell line is not in fact homozygously tagged. Given the low expression levels on the western provided, and the detection of GTSE1 on the spindle in the induced GTSE1-FKBP-GFP cell line (but not TACC3-FKBP-GFP), it seems plausible that an untagged copy remains. If there are multiple copies of GTSE1 in Hela cells, one untagged copy could represent a small fraction of total GTSE1. This should thus be ruled out. GTSE1 clones should be analyzed with more protein extracts loaded - dilutions of the extracts can determine the sensitivity of the blot to lower protein levels. In addition, sequencing of genomic DNA can reveal a small percentage with different reads.

      3.There is a lot of data contained in the small graphs summarizing quantification of localization in Figs 3 and 4. They would be more accessible to the reader if they were larger and/or an "example" of the chart with labels was present explaining it (essentially what is in the figure legends). Furthermore, there is no statistical test applied to this data that I see. This is needed. How do authors determine whether there is an "effect"?

      Minor issues:

      1.The GTSE1 constructs used for mutation and localization analysis are 720 amino acids long. A recent study analyzing similar mutations uses a 739 amino acid construct (Rondelet et al 2020). The latter is the predominant transcript in NCBI and Ensembl databases. It appears the construct used by the authors omits the first 19 a.a.. I do not think using the truncated transcript affects conclusions of the manuscript, but it could generate confusion when identifying residues based on a.a.#s of mutant constructs (Fig 6). This should be somehow clarified.

      2.The labeling of constructs in Fig 6C/D is confusing, and appears shifted by eye at places. Please relabel this more clearly.

      The recommended new experimental data (Analysis complex member levels on spindles after full perturbation of spindle chTOG; new chTOG antibody stainings in the FKBP lines; reanalysis of GTSE1 DNA/protein in GTSE1-FKBP line) should only require a new antibody/siRNA, plus a few weeks time to repeat the analyses already in the paper with new reagents.

      Significance

      While multiple individual components of this complex have been previously characterized, the structure and nature of the complex formation and its recruitment to microtubules/spindles remains a complex problem that has yet to be solved.

      Overall this study represents a comprehensive localization-dependency analysis of the Clathrin-TACC3 based spindle complex using a consistent methodology. Although several of the conclusions of the findings echo previous reports, some of the previous literature is contradictory within itself as well as with the conclusions here. Analyzing all components with a single, rapid-perturbation technique thus has great value to present a clear data set, given that the experimental setup conditions and analysis are solid (a goal to which the majority of comments refer).

      Beyond the complex localization/recruitment analysis, two novel findings of this study that emerge are:

      a)GTSE1 contains a second, separate protein region, distinct from the clathrin-binding motifs that is required for its localization to the spindle, and most likely a microtubule-interaction site. This suggests that GTSE1 recruitment to the spindle is more complex than previously reported.

      b)PI3KC2A, which has been reported previously to be a stabilizing member of this complex, is in fact not a member, nor localizes to spindles, nor displays a mitotic defect after loss. This is important conclusion to be made as it would correct the literature, and avoid future confusion.

    1. The general justification for appropriating the tag has been that, in addition to killing Black people, White supremacy also continues to kill and harm a lot of non-Black people of color as well.

      This year we have really highlighted the tragic deaths of many black people. We call people out for their racist behaviors and views. We are getting closer to uncovering the corruption some people have and cancelling them for having them. In this case I feel cancel culture would be legitimate because of how these people are looking down upon groups of people.

    1. Congress appears to have missed a key point in its questioning last week. It’s clear that fake news and outright lies are, in fact, a small portion of the total content on any of the big tech platforms. But what matters are the routes that these companies provide to unreliable sources of information. You don’t have to silence Julian Assange or some random Twitter account that’s set up to look like a real news outfit, but you also don’t have to inject them into a legitimate news discussion.

      For something to pop up on the top "news" section, I think these developers should have to fact check and read through the information. They could also add a tag such as potentially untruthful which would help stop spread the misinformation..

    1. Why Are Finland’s Schools Successful? The country’s achievements in education have other nations, especially the United States, doing their homework <img src="https://thumbs-prod.si-cdn.com/thzZYTv2Evhq3x8iHdcaakihfVE=/800x600/filters:no_upscale()/https://public-media.si-cdn.com/filer/cd/ee/cdee1c82-f8e3-4de4-983e-8599d4485745/finland-smiles-wr.jpg" alt="Kirkkojarvi School" itemprop="image"> "This is what we do every day," says Kirkkojarvi Comprehensive School principal Kari Louhivuori, "prepare kids for life." (Stuart Conway) By LynNell Hancock Smithsonian Magazine | Subscribe September 2011 AddThis Sharing ButtonsShare to FacebookFacebookShare to TwitterTwitterShare to RedditReddit78Share to PinterestPinterest997Share to LinkedInLinkedInShare to FlipboardFlipboardShare to EmailEmailShare to PrintPrintShare to MoreAddThis934 It was the end of term at Kirkkojarvi Comprehensive School in Espoo, a sprawling suburb west of Helsinki, when Kari Louhivuori, a veteran teacher and the school’s principal, decided to try something extreme—by Finnish standards. One of his sixth-grade students, a Kosovo-Albanian boy, had drifted far off the learning grid, resisting his teacher’s best efforts. The school’s team of special educators—including a social worker, a nurse and a psychologist—convinced Louhivuori that laziness was not to blame. So he decided to hold the boy back a year, a measure so rare in Finland it’s practically obsolete. function dispatchComscoreLoadedEvent(){ let event = new Event('MPlayerComscoreLoaded'); window.dispatchEvent(event); } !function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=68)}([function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){e.exports=n(47)},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){"use strict";var r=n(21),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&"object"===typeof e}function u(e){return"[object Function]"===i.call(e)}function c(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:s,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:u,isStream:function(e){return s(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!==typeof window&&"undefined"!==typeof document},forEach:c,merge:function e(){var t={};function n(n,r){"object"===typeof t[r]&&"object"===typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return t},deepMerge:function e(){var t={};function n(n,r){"object"===typeof t[r]&&"object"===typeof n?t[r]=e(t[r],n):t[r]="object"===typeof n?e({},n):n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return t},extend:function(e,t,n){return c(t,function(t,i){e[i]=n&&"function"===typeof t?r(t,n):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t){function n(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise(function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,u,"next",e)}function u(e){n(a,i,o,s,u,"throw",e)}s(void 0)})}}},function(e,t,n){var r=n(48);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(49),i=n(3);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?i(e):t}},function(e,t,n){var r=n(42),i=n(43),o=n(18),a=n(44);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||a()}},function(e,t,n){var r=n(39),i=n(40),o=n(18),a=n(41);e.exports=function(e){return r(e)||i(e)||o(e)||a()}},function(e,t,n){var r=n(45);e.exports=function(e,t){if(null==e)return{};var n,i,o=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t,n){var r=n(50);function i(t,n,o){return"undefined"!==typeof Reflect&&Reflect.get?e.exports=i=Reflect.get:e.exports=i=function(e,t,n){var i=r(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(n):o.value}},i(t,n,o||t)}e.exports=i},function(e,t,n){"use strict";e.exports=n(36)},function(e,t,n){"use strict";var r=n(14),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var i=f(n);i&&i!==h&&e(t,i,r)}var a=l(n);d&&(a=a.concat(d(n)));for(var s=u(t),y=u(n),g=0;g<a.length;++g){var v=a[g];if(!o[v]&&(!r||!r[v])&&(!y||!y[v])&&(!s||!s[v])){var m=p(n,v);try{c(t,v,m)}catch(b){}}}}return t}},function(e,t,n){"use strict";(function(e,r){var i,o=n(29);i="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:r;var a=Object(o.a)(i);t.a=a}).call(this,n(37),n(38)(e))},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){var r=n(17);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,d=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):d=-1,c.length&&f())}function f(){if(!l){var e=s(p);l=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function y(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||l||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=y,i.addListener=y,i.once=y,i.off=y,i.removeListener=y,i.removeAllListeners=y,i.emit=y,i.prependListener=y,i.prependOnceListener=y,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t){!function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=window.document,t=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},r.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},r.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},r.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},r.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,a=null,s=null;if(this.POLL_INTERVAL?a=n.setInterval(r,this.POLL_INTERVAL):(i(n,"resize",r,!0),i(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(s=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(a&&e.clearInterval(a),o(e,"resize",r,!0)),o(t,"scroll",r,!0),s&&s.disconnect()}),t!=(this.root&&this.root.ownerDocument||e)){var u=d(t);u&&this._monitorIntersections(u.ownerDocument)}}},r.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&this.root.ownerDocument||e;if(!this._observationTargets.some(function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var i=d(n);if((n=i&&i.ownerDocument)==t)return!0}return!1})){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),t!=r){var o=d(t);o&&this._unmonitorIntersections(o.ownerDocument)}}}},r.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},r.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(r){var i=r.element,o=s(i),a=this._rootContainsTarget(i),u=r.entry,c=e&&a&&this._computeTargetAndRootIntersection(i,o,t),l=r.entry=new n({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:o,rootBounds:t,intersectionRect:c});u?e&&a?this._hasCrossedThreshold(u,l)&&this._queuedEntries.push(l):u&&u.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(t,n,r){if("none"!=window.getComputedStyle(t).display){for(var i=n,o=l(t),c=!1;!c&&o;){var d=null,p=1==o.nodeType?window.getComputedStyle(o):{};if("none"==p.display)return null;if(o==this.root||9==o.nodeType)if(c=!0,o==this.root||o==e)d=r;else{var f=l(o),h=f&&s(f),y=f&&this._computeTargetAndRootIntersection(f,h,r);h&&y?(o=f,d=u(h,y)):(o=null,i=null)}else{var g=o.ownerDocument;o!=g.body&&o!=g.documentElement&&"visible"!=p.overflow&&(d=s(o))}if(d&&(i=a(d,i)),!i)break;o=o&&l(o)}return i}},r.prototype._getRootRect=function(){var t;if(this.root)t=s(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},r.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!==o<r)return!0}},r.prototype._rootIsInDom=function(){return!this.root||c(e,this.root)},r.prototype._rootContainsTarget=function(t){return c(this.root||e,t)&&(!this.root||this.root.ownerDocument==t.ownerDocument)},r.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},r.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=r,window.IntersectionObserverEntry=n}function n(e){this.time=e.time,this.target=e.target,this.rootBounds=e.rootBounds,this.boundingClientRect=e.boundingClientRect,this.intersectionRect=e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function r(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=function(e,t){var n=null;return function(){n||(n=setTimeout(function(){e(),n=null},t))}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function i(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function o(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function a(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),i=Math.max(e.left,t.left),o=Math.min(e.right,t.right),a=o-i,s=r-n;return a>=0&&s>=0&&{top:n,bottom:r,left:i,right:o,width:a,height:s}||null}function s(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function c(e,t){for(var n=t;n;){if(n==e)return!0;n=l(n)}return!1}function l(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?d(t):n&&11==n.nodeType&&n.host?n.host:n&&n.assignedSlot?n.assignedSlot.parentNode:n}function d(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}}()},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(6);function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))}))}),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){var r=n(6),i=n(57),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s={adapter:function(){var e;return"undefined"!==typeof XMLHttpRequest?e=n(25):"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t)&&(e=n(25)),e}(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],function(e){s.headers[e]={}}),r.forEach(["post","put","patch"],function(e){s.headers[e]=r.merge(o)}),e.exports=s}).call(this,n(19))},function(e,t,n){"use strict";var r=n(6),i=n(58),o=n(22),a=n(60),s=n(63),u=n(64),c=n(26);e.exports=function(e){return new Promise(function(t,l){var d=e.data,p=e.headers;r.isFormData(d)&&delete p["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",y=e.auth.password||"";p.Authorization="Basic "+btoa(h+":"+y)}var g=a(e.baseURL,e.url);if(f.open(e.method.toUpperCase(),o(g,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?s(f.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:e,request:f};i(t,l,r),f=null}},f.onabort=function(){f&&(l(c("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){l(c("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),l(c(t,e,"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var v=n(65),m=(e.withCredentials||u(g))&&e.xsrfCookieName?v.read(e.xsrfCookieName):void 0;m&&(p[e.xsrfHeaderName]=m)}if("setRequestHeader"in f&&r.forEach(p,function(e,t){"undefined"===typeof d&&"content-type"===t.toLowerCase()?delete p[t]:f.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),e.responseType)try{f.responseType=e.responseType}catch(b){if("json"!==e.responseType)throw b}"function"===typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){f&&(f.abort(),l(e),f=null)}),void 0===d&&(d=null),f.send(d)})}},function(e,t,n){"use strict";var r=n(59);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t){t=t||{};var n={},i=["url","method","params","data"],o=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(i,function(e){"undefined"!==typeof t[e]&&(n[e]=t[e])}),r.forEach(o,function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):"undefined"!==typeof t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):"undefined"!==typeof e[i]&&(n[i]=e[i])}),r.forEach(a,function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])});var s=i.concat(o).concat(a),u=Object.keys(t).filter(function(e){return-1===s.indexOf(e)});return r.forEach(u,function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])}),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"===typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return f});var r=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},i=function(){return function(e,t,n){this.name=e,this.version=t,this.os=n,this.type="browser"}}(),o=function(){return function(t){this.version=t,this.type="node",this.name="node",this.os=e.platform}}(),a=function(){return function(e,t,n,r){this.name=e,this.version=t,this.os=n,this.bot=r,this.type="bot-device"}}(),s=function(){return function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}}(),u=function(){return function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}}(),c=/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,l=3,d=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/Edg\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],p=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function f(t){return t?y(t):"undefined"===typeof document&&"undefined"!==typeof navigator&&"ReactNative"===navigator.product?new u:"undefined"!==typeof navigator?y(navigator.userAgent):"undefined"!==typeof e&&e.version?new o(e.version.slice(1)):null}function h(e){return""!==e&&d.reduce(function(t,n){var r=n[0],i=n[1];if(t)return t;var o=i.exec(e);return!!o&&[r,o]},!1)}function y(e){var t=h(e);if(!t)return null;var n=t[0],o=t[1];if("searchbot"===n)return new s;var u=o[1]&&o[1].split(/[._]/).slice(0,3);u?u.length<l&&(u=r(u,function(e){for(var t=[],n=0;n<e;n++)t.push("0");return t}(l-u.length))):u=[];var d=u.join("."),f=function(e){for(var t=0,n=p.length;t<n;t++){var r=p[t],i=r[0],o=r[1],a=o.exec(e);if(a)return i}return null}(e),y=c.exec(e);return y&&y[1]?new a(n,d,f,y[1]):new i(n,d,f)}}).call(this,n(19))},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){e.exports=n(52)},function(e,t,n){e.exports=n(34)()},function(e,t,n){"use strict";var r=n(35);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,y=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,O=r?Symbol.for("react.responder"):60118,_=r?Symbol.for("react.scope"):60119;function S(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case p:case a:case u:case s:case h:return e;default:switch(e=e&&e.$$typeof){case l:case f:case v:case g:case c:return e;default:return t}}case o:return t}}}function E(e){return S(e)===p}t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=c,t.Element=i,t.ForwardRef=f,t.Fragment=a,t.Lazy=v,t.Memo=g,t.Portal=o,t.Profiler=u,t.StrictMode=s,t.Suspense=h,t.isAsyncMode=function(e){return E(e)||S(e)===d},t.isConcurrentMode=E,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return S(e)===f},t.isFragment=function(e){return S(e)===a},t.isLazy=function(e){return S(e)===v},t.isMemo=function(e){return S(e)===g},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===u},t.isStrictMode=function(e){return S(e)===s},t.isSuspense=function(e){return S(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===p||e===u||e===s||e===h||e===y||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===b||e.$$typeof===O||e.$$typeof===_||e.$$typeof===m)},t.typeOf=S},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){var r=n(17);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}},function(e,t){},function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(M){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),a=new C(r||[]);return o._invoke=function(e,t,n){var r=d;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return D()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=P(a,n);if(s){if(s===y)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=l(e,t,n);if("normal"===u.type){if(r=n.done?h:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=h,n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(M){return{type:"throw",arg:M}}}e.wrap=c;var d="suspendedStart",p="suspendedYield",f="executing",h="completed",y={};function g(){}function v(){}function m(){}var b={};b[o]=function(){return this};var O=Object.getPrototypeOf,_=O&&O(O(R([])));_&&_!==n&&r.call(_,o)&&(b=_);var S=m.prototype=g.prototype=Object.create(b);function E(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function w(e,t){var n;this._invoke=function(i,o){function a(){return new t(function(n,a){!function n(i,o,a,s){var u=l(e[i],e,o);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"===typeof d&&r.call(d,"__await")?t.resolve(d.__await).then(function(e){n("next",e,a,s)},function(e){n("throw",e,a,s)}):t.resolve(d).then(function(e){c.value=e,a(c)},function(e){return n("throw",e,a,s)})}s(u.arg)}(i,o,n,a)})}return n=n?n.then(a,a):a()}}function P(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,P(e,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var i=l(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function R(e){if(e){var n=e[o];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:D}}function D(){return{value:t,done:!0}}return v.prototype=S.constructor=m,m.constructor=v,v.displayName=u(m,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},E(w.prototype),w.prototype[a]=function(){return this},e.AsyncIterator=w,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},E(S),u(S,s,"Generator"),S[o]=function(){return this},S.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=R,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:R(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},e}(e.exports);try{regeneratorRuntime=r}catch(i){Function("r","regeneratorRuntime = r")(r)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){function n(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){var r=n(5);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}},function(e){e.exports=JSON.parse('{"name":"mplayer","version":"4.0.13","description":"minute media player","author":"minute media","private":true,"scripts":{"start":"yarn compile && PORT=2001 per-env","start:production":"npm run -s serve","start:development":"npm run -s dev","build":"preact build --no-prerender","serve":"preact build && serve build --single","dev":"preact watch","lint":"./node_modules/.bin/eslint --cache --ext .js,.ts,.tsx ./src/.","test":"jest","compile":"webpack","compile:production":"NODE_ENV=production webpack","compile:qa":"NODE_ENV=qa webpack"},"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-transform-react-jsx":"^7.8.3","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.8.4","@babel/preset-react":"^7.8.3","@babel/preset-typescript":"^7.8.3","@typescript-eslint/eslint-plugin":"^2.10.0","@typescript-eslint/parser":"^2.10.0","eslint":"^6.7.2","eslint-config-mm":"git+https://github.com/FTBpro/eslint-config-mm.git#v3.1","eslint-loader":"3.0.2","identity-obj-proxy":"^3.0.0","jest":"^24.9.0","jest-emotion":"^10.0.32","jest-preset-preact":"^1.0.0","per-env":"^1.0.2","preact-cli":"^3.0.0-rc.6","react":"^16.13.1","react-dom":"^16.13.1","serve":"^11.1.0"},"dependencies":{"@emotion/core":"^10.0.28","axios":"^0.19.2","babel-loader":"^8.0.6","detect-browser":"^5.1.0","emotion":"^10.0.27","enzyme":"^3.11.0","enzyme-adapter-preact-pure":"^2.2.0","hls.js":"^0.13.2","intersection-observer":"^0.8.0","jest-enzyme":"^7.1.2","jest-junit":"^10.0.0","preact":"^10.0.1","preact-render-to-string":"^5.1.8","react-redux":"^7.2.0","react-svg-loader":"^3.0.3","redux":"^4.0.5","redux-thunk":"^2.3.0","terser-webpack-plugin":"1.2.3","webpack":"^4.41.6","webpack-cli":"^3.3.11"}}')},function(e,t,n){"use strict";var r=n(6),i=n(21),o=n(53),a=n(27);function s(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var u=s(n(24));u.Axios=o,u.create=function(e){return s(a(u.defaults,e))},u.Cancel=n(28),u.CancelToken=n(66),u.isCancel=n(23),u.all=function(e){return Promise.all(e)},u.spread=n(67),e.exports=u,e.exports.default=u},function(e,t,n){"use strict";var r=n(6),i=n(22),o=n(54),a=n(55),s=n(27);function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},u.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(e){u.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}}),r.forEach(["post","put","patch"],function(e){u.prototype[e]=function(t,n,i){return this.request(r.merge(i||{},{method:e,url:t,data:n}))}}),e.exports=u},function(e,t,n){"use strict";var r=n(6);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},function(e,t,n){"use strict";var r=n(6),i=n(56),o=n(23),a=n(24);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return s(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(s(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(26);e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(61),i=n(62);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(6),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},function(e,t,n){"use strict";var r=n(6);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(6);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(28);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"render",function(){return B}),n.d(r,"hydrate",function(){return H}),n.d(r,"createElement",function(){return b}),n.d(r,"h",function(){return b}),n.d(r,"Fragment",function(){return S}),n.d(r,"createRef",function(){return _}),n.d(r,"isValidElement",function(){return a}),n.d(r,"Component",function(){return E}),n.d(r,"cloneElement",function(){return q}),n.d(r,"createContext",function(){return W}),n.d(r,"toChildArray",function(){return R}),n.d(r,"__u",function(){return U}),n.d(r,"options",function(){return o});var i={};n.r(i),n.d(i,"useState",function(){return te}),n.d(i,"useReducer",function(){return ne}),n.d(i,"useEffect",function(){return re}),n.d(i,"useLayoutEffect",function(){return ie}),n.d(i,"useRef",function(){return oe}),n.d(i,"useImperativeHandle",function(){return ae}),n.d(i,"useMemo",function(){return se}),n.d(i,"useCallback",function(){return ue}),n.d(i,"useContext",function(){return ce}),n.d(i,"useDebugValue",function(){return le}),n.d(i,"useErrorBoundary",function(){return de});var o,a,s,u,c,l,d,p=n(0),f=n.n(p),h={},y=[],g=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function v(e,t){for(var n in t)e[n]=t[n];return e}function m(e){var t=e.parentNode;t&&t.removeChild(e)}function b(e,t,n){var r,i,o,a=arguments,s={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o<arguments.length;o++)n.push(a[o]);if(null!=n&&(s.children=n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===s[o]&&(s[o]=e.defaultProps[o]);return O(e,s,r,i,null)}function O(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i};return null==i&&(a.__v=a),null!=o.vnode&&o.vnode(a),a}function _(){return{current:null}}function S(e){return e.children}function E(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?w(e):null}function P(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return P(e)}}function T(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!A.__r++||c!==o.debounceRendering)&&((c=o.debounceRendering)||u)(A)}function A(){for(var e;A.__r=s.length;)e=s.sort(function(e,t){return e.__v.__b-t.__v.__b}),s=[],e.some(function(e){var t,n,r,i,o,a,s;e.__d&&(a=(o=(t=e).__v).__e,(s=t.__P)&&(n=[],(r=v({},o)).__v=r,i=L(s,o,r,t.__n,void 0!==s.ownerSVGElement,null,n,null==a?w(o):a),x(n,o),i!=a&&P(o)))})}function C(e,t,n,r,i,o,a,s,u,c){var l,d,p,f,g,v,b,_=r&&r.__k||y,E=_.length;for(u==h&&(u=null!=a?a[0]:E?w(r,0):null),n.__k=[],l=0;l<t.length;l++)if(null!=(f=n.__k[l]=null==(f=t[l])||"boolean"==typeof f?null:"string"==typeof f||"number"==typeof f?O(null,f,null,null,f):Array.isArray(f)?O(S,{children:f},null,null,null):null!=f.__e||null!=f.__c?O(f.type,f.props,f.key,null,f.__v):f)){if(f.__=n,f.__b=n.__b+1,null===(p=_[l])||p&&f.key==p.key&&f.type===p.type)_[l]=void 0;else for(d=0;d<E;d++){if((p=_[d])&&f.key==p.key&&f.type===p.type){_[d]=void 0;break}p=null}g=L(e,f,p=p||h,i,o,a,s,u,c),(d=f.ref)&&p.ref!=d&&(b||(b=[]),p.ref&&b.push(p.ref,null,f),b.push(d,f.__c||g,f)),null!=g?(null==v&&(v=g),u=D(e,f,p,_,a,g,u),c||"option"!=n.type?"function"==typeof n.type&&(n.__d=u):e.value=""):u&&p.__e==u&&u.parentNode!=e&&(u=w(p))}if(n.__e=v,null!=a&&"function"!=typeof n.type)for(l=a.length;l--;)null!=a[l]&&m(a[l]);for(l=E;l--;)null!=_[l]&&U(_[l],_[l]);if(b)for(l=0;l<b.length;l++)j(b[l],b[++l],b[++l])}function R(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some(function(e){R(e,t)}):t.push(e)),t}function D(e,t,n,r,i,o,a){var s,u,c;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(i==n||o!=a||null==o.parentNode)e:if(null==a||a.parentNode!==e)e.appendChild(o),s=null;else{for(u=a,c=0;(u=u.nextSibling)&&c<r.length;c+=2)if(u==o)break e;e.insertBefore(o,a),s=a}return void 0!==s?s:o.nextSibling}function M(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||g.test(t)?n:n+"px"}function I(e,t,n,r,i){var o,a;if(i&&"className"==t&&(t="class"),"style"===t)if("string"==typeof n)e.style=n;else{if("string"==typeof r&&(e.style=r=""),r)for(t in r)n&&t in n||M(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||M(e.style,t,n[t])}else"o"===t[0]&&"n"===t[1]?(o=t!==(t=t.replace(/Capture$/,"")),(a=t.toLowerCase())in e&&(t=a),t=t.slice(2),e.l||(e.l={}),e.l[t]=n,n?r||e.addEventListener(t,k,o):e.removeEventListener(t,k,o)):"list"!==t&&"tagName"!==t&&"form"!==t&&"type"!==t&&"size"!==t&&"download"!==t&&"href"!==t&&!i&&t in e?e[t]=null==n?"":n:"function"!=typeof n&&"dangerouslySetInnerHTML"!==t&&(t!==(t=t.replace(/xlink:?/,""))?null==n||!1===n?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),n):null==n||!1===n&&!/^ar/.test(t)?e.removeAttribute(t):e.setAttribute(t,n))}function k(e){this.l[e.type](o.event?o.event(e):e)}function N(e,t,n){var r,i;for(r=0;r<e.__k.length;r++)(i=e.__k[r])&&(i.__=e,i.__e&&("function"==typeof i.type&&i.__k.length>1&&N(i,t,n),t=D(n,i,i,e.__k,null,i.__e,t),"function"==typeof e.type&&(e.__d=t)))}function L(e,t,n,r,i,a,s,u,c){var l,d,p,f,h,y,g,m,b,O,_,w=t.type;if(void 0!==t.constructor)return null;(l=o.__b)&&l(t);try{e:if("function"==typeof w){if(m=t.props,b=(l=w.contextType)&&r[l.__c],O=l?b?b.props.value:l.__:r,n.__c?g=(d=t.__c=n.__c).__=d.__E:("prototype"in w&&w.prototype.render?t.__c=d=new w(m,O):(t.__c=d=new E(m,O),d.constructor=w,d.render=F),b&&b.sub(d),d.props=m,d.state||(d.state={}),d.context=O,d.__n=r,p=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=w.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=v({},d.__s)),v(d.__s,w.getDerivedStateFromProps(m,d.__s))),f=d.props,h=d.state,p)null==w.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==w.getDerivedStateFromProps&&m!==f&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(m,O),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(m,d.__s,O)||t.__v===n.__v){d.props=m,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,d.__h.length&&s.push(d),N(t,u,e);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(m,d.__s,O),null!=d.componentDidUpdate&&d.__h.push(function(){d.componentDidUpdate(f,h,y)})}d.context=O,d.props=m,d.state=d.__s,(l=o.__r)&&l(t),d.__d=!1,d.__v=t,d.__P=e,l=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(r=v(v({},r),d.getChildContext())),p||null==d.getSnapshotBeforeUpdate||(y=d.getSnapshotBeforeUpdate(f,h)),_=null!=l&&l.type==S&&null==l.key?l.props.children:l,C(e,Array.isArray(_)?_:[_],t,n,r,i,a,s,u,c),d.base=t.__e,d.__h.length&&s.push(d),g&&(d.__E=d.__=null),d.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=V(n.__e,t,n,r,i,a,s,c);(l=o.diffed)&&l(t)}catch(e){t.__v=null,o.__e(e,t,n)}return t.__e}function x(e,t){o.__c&&o.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){o.__e(e,t.__v)}})}function V(e,t,n,r,i,o,a,s){var u,c,l,d,p,f=n.props,g=t.props;if(i="svg"===t.type||i,null!=o)for(u=0;u<o.length;u++)if(null!=(c=o[u])&&((null===t.type?3===c.nodeType:c.localName===t.type)||e==c)){e=c,o[u]=null;break}if(null==e){if(null===t.type)return document.createTextNode(g);e=i?document.createElementNS("http://www.w3.org/2000/svg",t.type):document.createElement(t.type,g.is&&{is:g.is}),o=null,s=!1}if(null===t.type)f!==g&&e.data!==g&&(e.data=g);else{if(null!=o&&(o=y.slice.call(e.childNodes)),l=(f=n.props||h).dangerouslySetInnerHTML,d=g.dangerouslySetInnerHTML,!s){if(null!=o)for(f={},p=0;p<e.attributes.length;p++)f[e.attributes[p].name]=e.attributes[p].value;(d||l)&&(d&&l&&d.__html==l.__html||(e.innerHTML=d&&d.__html||""))}(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||I(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||I(e,o,t[o],n[o],r)})(e,g,f,i,s),d?t.__k=[]:(u=t.props.children,C(e,Array.isArray(u)?u:[u],t,n,r,"foreignObject"!==t.type&&i,o,a,h,s)),s||("value"in g&&void 0!==(u=g.value)&&u!==e.value&&I(e,"value",u,f.value,!1),"checked"in g&&void 0!==(u=g.checked)&&u!==e.checked&&I(e,"checked",u,f.checked,!1))}return e}function j(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function U(e,t,n){var r,i,a;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||j(r,null,t)),n||"function"==typeof e.type||(n=null!=(i=e.__e)),e.__e=e.__d=void 0,null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(a=0;a<r.length;a++)r[a]&&U(r[a],t,n);null!=i&&m(i)}function F(e,t,n){return this.constructor(e,n)}function B(e,t,n){var r,i,a;o.__&&o.__(e,t),i=(r=n===l)?null:n&&n.__k||t.__k,e=b(S,null,[e]),a=[],L(t,(r?t:n||t).__k=e,i||h,h,void 0!==t.ownerSVGElement,n&&!r?[n]:i?null:t.childNodes.length?y.slice.call(t.childNodes):null,a,n||h,r),x(a,e)}function H(e,t){B(e,t,l)}function q(e,t,n){var r,i,o,a=arguments,s=v({},e.props);for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o<arguments.length;o++)n.push(a[o]);return null!=n&&(s.children=n),O(e.type,s,r||e.key,i||e.ref,null)}function W(e,t){var n={__c:t="__cC"+d++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e,n,r){return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(T)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}o={__e:function(e,t){for(var n,r;t=t.__;)if((n=t.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError&&(r=!0,n.setState(n.constructor.getDerivedStateFromError(e))),null!=n.componentDidCatch&&(r=!0,n.componentDidCatch(e)),r)return T(n.__E=n)}catch(t){e=t}throw e}},a=function(e){return null!=e&&void 0===e.constructor},E.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof e&&(e=e(v({},n),this.props)),e&&v(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),T(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),T(this))},E.prototype.render=S,s=[],u="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,A.__r=0,l=h,d=0;var z,G,$,K=0,Y=[],Z=o.__r,X=o.diffed,J=o.__c,Q=o.unmount;function ee(e,t){o.__h&&o.__h(G,e,K||t),K=0;var n=G.__H||(G.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function te(e){return K=1,ne(ve,e)}function ne(e,t,n){var r=ee(z++,2);return r.t=e,r.__c||(r.__c=G,r.__=[n?n(t):ve(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}]),r.__}function re(e,t){var n=ee(z++,3);!o.__s&&ge(n.__H,t)&&(n.__=e,n.__H=t,G.__H.__h.push(n))}function ie(e,t){var n=ee(z++,4);!o.__s&&ge(n.__H,t)&&(n.__=e,n.__H=t,G.__h.push(n))}function oe(e){return K=5,se(function(){return{current:e}},[])}function ae(e,t,n){K=6,ie(function(){"function"==typeof e?e(t()):e&&(e.current=t())},null==n?n:n.concat(e))}function se(e,t){var n=ee(z++,7);return ge(n.__H,t)?(n.__H=t,n.__h=e,n.__=e()):n.__}function ue(e,t){return K=8,se(function(){return e},t)}function ce(e){var t=G.context[e.__c],n=ee(z++,9);return n.__c=e,t?(null==n.__&&(n.__=!0,t.sub(G)),t.props.value):e.__}function le(e,t){o.useDebugValue&&o.useDebugValue(t?t(e):e)}function de(e){var t=ee(z++,10),n=te();return t.__=e,G.componentDidCatch||(G.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}function pe(){Y.some(function(e){if(e.__P)try{e.__H.__h.forEach(he),e.__H.__h.forEach(ye),e.__H.__h=[]}catch(t){return e.__H.__h=[],o.__e(t,e.__v),!0}}),Y=[]}o.__r=function(e){Z&&Z(e),z=0;var t=(G=e.__c).__H;t&&(t.__h.forEach(he),t.__h.forEach(ye),t.__h=[])},o.diffed=function(e){X&&X(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==Y.push(t)&&$===o.requestAnimationFrame||(($=o.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),fe&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);fe&&(t=requestAnimationFrame(n))})(pe))},o.__c=function(e,t){t.some(function(e){try{e.__h.forEach(he),e.__h=e.__h.filter(function(e){return!e.__||ye(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],o.__e(n,e.__v)}}),J&&J(e,t)},o.unmount=function(e){Q&&Q(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(he)}catch(e){o.__e(e,t.__v)}};var fe="function"==typeof requestAnimationFrame;function he(e){"function"==typeof e.u&&e.u()}function ye(e){e.u=e.__()}function ge(e,t){return!e||t.some(function(t,n){return t!==e[n]})}function ve(e,t){return"function"==typeof t?t(e):t}function me(e,t){for(var n in t)e[n]=t[n];return e}function be(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Oe(e){this.props=e}(Oe.prototype=new E).isPureReactComponent=!0,Oe.prototype.shouldComponentUpdate=function(e,t){return be(this.props,e)||be(this.state,t)};var _e=o.__b;o.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),_e&&_e(e)};var Se="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var Ee=function(e,t){return e?R(R(e).map(t)):null},we={map:Ee,forEach:Ee,count:function(e){return e?R(e).length:0},only:function(e){var t=R(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:R},Pe=o.__e;function Te(e){return e&&((e=me({},e)).__c=null,e.__k=e.__k&&e.__k.map(Te)),e}function Ae(e){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(Ae)),e}function Ce(){this.__u=0,this.t=null,this.__b=null}function Re(e){var t=e.__.__c;return t&&t.o&&t.o(e)}function De(){this.u=null,this.i=null}o.__e=function(e,t,n){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t.__c);Pe(e,t,n)},(Ce.prototype=new E).__c=function(e,t){var n=this;null==n.t&&(n.t=[]),n.t.push(t);var r=Re(n.__v),i=!1,o=function(){i||(i=!0,t.componentWillUnmount=t.__c,r?r(a):a())};t.__c=t.componentWillUnmount,t.componentWillUnmount=function(){o(),t.__c&&t.__c()};var a=function(){var e;if(!--n.__u)for(n.__v.__k[0]=Ae(n.state.o),n.setState({o:n.__b=null});e=n.t.pop();)e.forceUpdate()};n.__u++||n.setState({o:n.__b=n.__v.__k[0]}),e.then(o,o)},Ce.prototype.componentWillUnmount=function(){this.t=[]},Ce.prototype.render=function(e,t){return this.__b&&(this.__v.__k&&(this.__v.__k[0]=Te(this.__b)),this.__b=null),[b(S,null,t.o?null:e.children),t.o&&e.fallback]};var Me=function(e,t,n){if(++n[1]===n[0]&&e.i.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.i.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Ie(e){return this.getChildContext=function(){return e.context},e.children}function ke(e){var t=this,n=e.l,r=b(Ie,{context:t.context},e.__v);t.componentWillUnmount=function(){var e=t.s.parentNode;e&&e.removeChild(t.s),U(t.v)},t.l&&t.l!==n&&(t.componentWillUnmount(),t.h=!1),e.__v?t.h?(n.__k=t.__k,B(r,n),t.__k=n.__k):(t.s=document.createTextNode(""),t.__k=n.__k,H("",n),n.appendChild(t.s),t.h=!0,t.l=n,B(r,n,t.s),n.__k=t.__k,t.__k=t.s.__k):t.h&&t.componentWillUnmount(),t.v=r}(De.prototype=new E).o=function(e){var t=this,n=Re(t.__v),r=t.i.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Me(t,e,r)):i()};n?n(o):o()}},De.prototype.render=function(e){this.u=null,this.i=new Map;var t=R(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.i.set(t[n],this.u=[1,0,this.u]);return e.children},De.prototype.componentDidUpdate=De.prototype.componentDidMount=function(){var e=this;this.i.forEach(function(t,n){Me(e,n,t)})};var Ne=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/;E.prototype.isReactComponent={};var Le="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;var xe=o.event;function Ve(e,t){e["UNSAFE_"+t]&&!e[t]&&Object.defineProperty(e,t,{get:function(){return this["UNSAFE_"+t]},set:function(e){this["UNSAFE_"+t]=e}})}o.event=function(e){xe&&(e=xe(e)),e.persist=function(){};var t=!1,n=!1,r=e.stopPropagation;e.stopPropagation=function(){r.call(e),t=!0};var i=e.preventDefault;return e.preventDefault=function(){i.call(e),n=!0},e.isPropagationStopped=function(){return t},e.isDefaultPrevented=function(){return n},e.nativeEvent=e};var je,Ue={configurable:!0,get:function(){return this.class}},Fe=o.vnode;o.vnode=function(e){e.$$typeof=Le;var t=e.type,n=e.props;if(t){var r;if(n.class!=n.className&&(Ue.enumerable="className"in n,null!=n.className&&(n.class=n.className),Object.defineProperty(n,"className",Ue)),"function"!=typeof t)for(r in n.defaultValue&&void 0!==n.value&&(n.value||0===n.value||(n.value=n.defaultValue),n.defaultValue=void 0),"select"===t&&n.multiple&&Array.isArray(n.value)&&(R(n.children).forEach(function(e){-1!=n.value.indexOf(e.props.value)&&(e.props.selected=!0)}),n.value=void 0),!0===n.download&&(n.download=""),n){var i=Ne.test(r);i&&(e.props[r.replace(/[A-Z0-9]/,"-$&").toLowerCase()]=n[r]),(i||null===n[r])&&(n[r]=void 0)}else t.prototype&&!t.prototype.p&&(t.prototype.p=!0,Ve(t.prototype,"componentWillMount"),Ve(t.prototype,"componentWillReceiveProps"),Ve(t.prototype,"componentWillUpdate"));!function(t){var n=e.type,r=e.props;if(r&&"string"==typeof n){var i={};for(var o in r)/^on(Ani|Tra|Tou)/.test(o)&&(r[o.toLowerCase()]=r[o],delete r[o]),i[o.toLowerCase()]=o;if(i.ondoubleclick&&(r.ondblclick=r[i.ondoubleclick],delete r[i.ondoubleclick]),i.onbeforeinput&&(r.onbeforeinput=r[i.onbeforeinput],delete r[i.onbeforeinput]),i.onchange&&("textarea"===n||"input"===n.toLowerCase()&&!/^fil|che|ra/i.test(r.type))){var a=i.oninput||"oninput";r[a]||(r[a]=r[i.onchange],delete r[i.onchange])}}}()}Fe&&Fe(e)};var Be=o.__r;o.__r=function(e){Be&&Be(e),je=e.__c};function He(e){return!!e&&e.$$typeof===Le}var qe=function(e,t){return e(t)},We={useState:te,useReducer:ne,useEffect:re,useLayoutEffect:ie,useRef:oe,useImperativeHandle:ae,useMemo:se,useCallback:ue,useContext:ce,useDebugValue:le,version:"16.8.0",Children:we,render:function(e,t,n){if(null==t.__k)for(;t.firstChild;)t.removeChild(t.firstChild);return B(e,t),"function"==typeof n&&n(),e?e.__c:null},hydrate:function(e,t,n){return H(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(B(null,e),!0)},createPortal:function(e,t){return b(ke,{__v:e,l:t})},createElement:b,createContext:W,createFactory:function(e){return b.bind(null,e)},cloneElement:function(e){return He(e)?q.apply(null,arguments):e},createRef:_,Fragment:S,isValidElement:He,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:E,PureComponent:Oe,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:be(this.props,e)}function r(t){return this.shouldComponentUpdate=n,b(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t,n){var r=me({},t);return delete r.ref,e(r,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=Se,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},unstable_batchedUpdates:qe,StrictMode:S,Suspense:Ce,SuspenseList:De,lazy:function(e){var t,n,r;function i(i){if(t||(t=e()).then(function(e){n=e.default||e},function(e){r=e}),r)throw r;if(!n)throw t;return b(n,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:{current:{readContext:function(e){return je.__n[e.__c].props.value}}}}},ze=(n(33),We.createContext(null));var Ge=function(e){e()},$e=function(){return Ge},Ke={notify:function(){}};var Ye=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=Ke,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=function(){var e=$e(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e(function(){for(var e=t;e;)e.callback(),e=e.next})},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=Ke)},e}();var Ze=function(e){var t=e.store,n=e.context,r=e.children,i=se(function(){var e=new Ye(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}},[t]),o=se(function(){return t.getState()},[t]);re(function(){var e=i.subscription;return e.trySubscribe(),o!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[i,o]);var a=n||ze;return We.createElement(a.Provider,{value:i},r)};function Xe(){return(Xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Je(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var Qe=n(15),et=n.n(Qe),tt=n(14),nt="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?ie:re,rt=[],it=[null,null];function ot(e,t){var n=e[1];return[t.payload,n+1]}function at(e,t,n){nt(function(){return e.apply(void 0,t)},n)}function st(e,t,n,r,i,o,a){e.current=r,t.current=i,n.current=!1,o.current&&(o.current=null,a())}function ut(e,t,n,r,i,o,a,s,u,c){if(e){var l=!1,d=null,p=function(){if(!l){var e,n,p=t.getState();try{e=r(p,i.current)}catch(f){n=f,d=f}n||(d=null),e===o.current?a.current||u():(o.current=e,s.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=p,n.trySubscribe(),p();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var ct=function(){return[null,0]};function lt(e,t){void 0===t&&(t={});var n=t,r=n.getDisplayName,i=void 0===r?function(e){return"ConnectAdvanced("+e+")"}:r,o=n.methodName,a=void 0===o?"connectAdvanced":o,s=n.renderCountProp,u=void 0===s?void 0:s,c=n.shouldHandleStateChanges,l=void 0===c||c,d=n.storeKey,p=void 0===d?"store":d,f=(n.withRef,n.forwardRef),h=void 0!==f&&f,y=n.context,g=void 0===y?ze:y,v=Je(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),m=g;return function(t){var n=t.displayName||t.name||"Component",r=i(n),o=Xe({},v,{getDisplayName:i,methodName:a,renderCountProp:u,shouldHandleStateChanges:l,storeKey:p,displayName:r,wrappedComponentName:n,WrappedComponent:t}),s=v.pure;var c=s?se:function(e){return e()};function d(n){var r=se(function(){var e=n.reactReduxForwardedRef,t=Je(n,["reactReduxForwardedRef"]);return[n.context,e,t]},[n]),i=r[0],a=r[1],s=r[2],u=se(function(){return i&&i.Consumer&&Object(tt.isContextConsumer)(We.createElement(i.Consumer,null))?i:m},[i,m]),d=ce(u),p=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(d)&&Boolean(d.store);var f=p?n.store:d.store,h=se(function(){return function(t){return e(t.dispatch,o)}(f)},[f]),y=se(function(){if(!l)return it;var e=new Ye(f,p?null:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[f,p,d]),g=y[0],v=y[1],b=se(function(){return p?d:Xe({},d,{subscription:g})},[p,d,g]),O=ne(ot,rt,ct),_=O[0][0],S=O[1];if(_&&_.error)throw _.error;var E=oe(),w=oe(s),P=oe(),T=oe(!1),A=c(function(){return P.current&&s===w.current?P.current:h(f.getState(),s)},[f,_,s]);at(st,[w,E,T,s,A,P,v]),at(ut,[l,f,g,h,w,E,T,P,v,S],[f,g,h]);var C=se(function(){return We.createElement(t,Xe({},A,{ref:a}))},[a,t,A]);return se(function(){return l?We.createElement(u.Provider,{value:b},C):C},[u,C,b])}var f=s?We.memo(d):d;if(f.WrappedComponent=t,f.displayName=r,h){var y=We.forwardRef(function(e,t){return We.createElement(f,Xe({},e,{reactReduxForwardedRef:t}))});return y.displayName=r,y.WrappedComponent=t,et()(y,t)}return et()(f,t)}}function dt(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function pt(e,t){if(dt(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!dt(e[n[i]],t[n[i]]))return!1;return!0}var ft=n(16),ht=function(){return Math.random().toString(36).substring(7).split("").join(".")},yt={INIT:"@@redux/INIT"+ht(),REPLACE:"@@redux/REPLACE"+ht(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ht()}};function gt(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function vt(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error("Expected the enhancer to be a function.");return n(vt)(e,t)}if("function"!==typeof e)throw new Error("Expected the reducer to be a function.");var i=e,o=t,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function l(){if(u)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function d(e){if("function"!==typeof e)throw new Error("Expected the listener to be a function.");if(u)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return c(),s.push(e),function(){if(t){if(u)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,c();var n=s.indexOf(e);s.splice(n,1),a=null}}}function p(e){if(!gt(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"===typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,o=i(o,e)}finally{u=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}return p({type:yt.INIT}),(r={dispatch:p,subscribe:d,getState:l,replaceReducer:function(e){if("function"!==typeof e)throw new Error("Expected the nextReducer to be a function.");i=e,p({type:yt.REPLACE})}})[ft.a]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(l())}return n(),{unsubscribe:t(n)}}})[ft.a]=function(){return this},e},r}function mt(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function bt(e,t){return function(){return t(e.apply(this,arguments))}}function Ot(e,t){if("function"===typeof e)return bt(e,t);if("object"!==typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var i=e[r];"function"===typeof i&&(n[r]=bt(i,t))}return n}function _t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function St(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Et(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function wt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map(function(e){return e(i)});return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?St(n,!0).forEach(function(t){_t(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},n,{dispatch:r=Et.apply(void 0,o)(n.dispatch)})}}}function Pt(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function Tt(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function At(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=Tt(e);var i=r(t,n);return"function"===typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=Tt(i),i=r(t,n)),i},r}}var Ct=[function(e){return"function"===typeof e?At(e):void 0},function(e){return e?void 0:Pt(function(e){return{dispatch:e}})},function(e){return e&&"object"===typeof e?Pt(function(t){return Ot(e,t)}):void 0}];var Rt=[function(e){return"function"===typeof e?At(e):void 0},function(e){return e?void 0:Pt(function(){return{}})}];function Dt(e,t,n){return Xe({},n,{},e,{},t)}var Mt=[function(e){return"function"===typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,o=n.areMergedPropsEqual,a=!1;return function(t,n,s){var u=e(t,n,s);return a?i&&o(u,r)||(r=u):(a=!0,r=u),r}}}(e):void 0},function(e){return e?void 0:function(){return Dt}}];function It(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function kt(e,t,n,r,i){var o,a,s,u,c,l=i.areStatesEqual,d=i.areOwnPropsEqual,p=i.areStatePropsEqual,f=!1;function h(i,f){var h=!d(f,a),y=!l(i,o);return o=i,a=f,h&&y?(s=e(o,a),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):h?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):y?function(){var t=e(o,a),r=!p(t,s);return s=t,r&&(c=n(s,u,a)),c}():c}return function(i,l){return f?h(i,l):(s=e(o=i,a=l),u=t(r,a),c=n(s,u,a),f=!0,c)}}function Nt(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=Je(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,o),s=r(e,o),u=i(e,o);return(o.pure?kt:It)(a,s,u,e,o)}function Lt(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function xt(e,t){return e===t}function Vt(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?lt:n,i=t.mapStateToPropsFactories,o=void 0===i?Rt:i,a=t.mapDispatchToPropsFactories,s=void 0===a?Ct:a,u=t.mergePropsFactories,c=void 0===u?Mt:u,l=t.selectorFactory,d=void 0===l?Nt:l;return function(e,t,n,i){void 0===i&&(i={});var a=i,u=a.pure,l=void 0===u||u,p=a.areStatesEqual,f=void 0===p?xt:p,h=a.areOwnPropsEqual,y=void 0===h?pt:h,g=a.areStatePropsEqual,v=void 0===g?pt:g,m=a.areMergedPropsEqual,b=void 0===m?pt:m,O=Je(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),_=Lt(e,o,"mapStateToProps"),S=Lt(t,s,"mapDispatchToProps"),E=Lt(n,c,"mergeProps");return r(d,Xe({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:_,initMapDispatchToProps:S,initMergeProps:E,pure:l,areStatesEqual:f,areOwnPropsEqual:y,areStatePropsEqual:v,areMergedPropsEqual:b},O))}}var jt=Vt();Ge=qe;var Ut={BORDER_RADIUS:{EXTRA_TINY:"1px",TINY:"2px",SMALL:"3px",MEDIUM:"4px"},COLORS:{BLACK:"#000000",WHITE:"#ffffff",TRANSPARENT:"transparent",GRADIENT_BLACK:"linear-gradient(to bottom, rgba(0, 0, 0, 0.63), rgba(0, 0, 0, 0.62) 19%, rgba(0, 0, 0, 0))",LIGHT_GRAY_TRANSPARENT:"rgba(255, 255, 255, 0.23)",GRAY_TRANSPARENT:"rgba(143, 143, 143, 0.46)",BLACK_TRANSPARENT:"rgba(0, 0, 0, 0.7)",BLACK_80_OPACITY:"rgba(0, 0, 0, 0.8)",BLUR_TRANSPARENT:"rgba(0, 0, 0, 0.48)",GRAY:"rgba(0, 0, 0, 0.35)",SELECTED:"rgba(255, 255, 255, 0.1)",SCROLL_BAR:"rgba(255, 255, 255, 0.64)",TRANSPARENT_30_OPACITY:"rgba(0, 0, 0, 0.31)"},TEXT_FONT_FAMILY:{LATO:"Lato"},FONT_SIZE:{EXTRA_TINY:"8px",TINY:"10px",EXTRA_SMALL:"12px",SMALL:"14px",MEDIUM:"18px"}},Ft="179px",Bt="269px",Ht="180px",qt="270px",Wt="300px",zt="301px",Gt="500px",$t="501px",Kt="800px",Yt="801px";function Zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zt(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Jt=function e(t){return t&&t.length>0?t.reduce(function(t,n){return n?Array.isArray(n)?Xt(Xt({},t),e(n)):Xt(Xt({},t),n):t},{}):null},Qt=function(e){return function(t){t({type:"[CORE] change video tag status",payload:e})}},en=function(e){return function(t){t({type:"[CORE] update video current fragment position",payload:e})}},tn=function(e){return function(t){t({type:"[CORE] update video current position",payload:e})}},nn=function(e){return function(t){t({type:"[CORE] update video current buffered time",payload:e})}},rn=function(e){return function(t){t({type:"[CORE] update video current duration",payload:e})}},on=function(e,t){return function(n){n({type:"[COMMON] set pending video status",payload:{pendingStatusObject:{type:e,value:t}}})}},an=function(e){return function(t){t({type:"[COMMON] set mute video",payload:e})}},sn=function(e){return function(t){t({type:"[COMMON] set volume",payload:e})}},un=function(e){return function(t){t({type:"[CORE] change loading player status",payload:e})}},cn=function(e){return function(t){t({type:"[COMMON] show black screen with loader",payload:e})}},ln=function(e){return function(t){t({type:"[CORE] set player size",payload:e})}},dn=function(e){return function(t){t({type:"[COMMON] set error message",payload:e})}},pn={mediaData:function(e){return e.mediaData},playerData:function(e){return e.playerData},dependenciesLoadingStatus:function(e){return e.dependenciesLoadingStatus},brandingData:function(e){return e.brandingData},anchorOptions:function(e){return e.anchorOptions},semanticOptions:function(e){return e.semanticOptions},monetization:function(e){return e.monetization},userInteraction:function(e){return e.userInteraction},splitView:function(e){return e.splitView},discovery:function(e){return e.discovery}},fn=pn.playerData,hn={playerId:function(e){return fn(e).playerId},videoTagStatus:function(e){return fn(e).videoTagStatus},pendingVideoTagStatus:function(e){return fn(e).pendingVideoTagStatus},currentVideoTime:function(e){return fn(e).currentVideoTime},currentVideoTimeFragment:function(e){return fn(e).currentVideoTimeFragment},currentVideoDuration:function(e){return fn(e).currentVideoDuration},currentVideoBufferedTime:function(e){return fn(e).currentVideoBufferedTime},playerMode:function(e){return fn(e).playerMode},playerSettings:function(e){return fn(e).playerSettings},playbackMethod:function(e){return fn(e).playbackMethod},playerVisibility:function(e){return fn(e).playerVisibility},playerPlaceholderVisibility:function(e){return fn(e).playerPlaceholderVisibility},playerInstanceUniqId:function(e){return fn(e).playerInstanceUniqId},showBlackScreen:function(e){return fn(e).loader.showBlackScreen},playerSize:function(e){return fn(e).playerSize},errorMessage:function(e){return fn(e).errorMessage},loadingPlayer:function(e){return fn(e).loadingPlayer}},yn=hn.playerSettings,gn={volume:function(e){return yn(e).volume},muted:function(e){return yn(e).muted},quality:function(e){return yn(e).quality},speed:function(e){return yn(e).speed},selectedSettingsCategory:function(e){return yn(e).selectedSettingsCategory},fullscreen:function(e){return yn(e).fullscreen},pendingFullscreenRequest:function(e){return this.fullscreen(e).pendingFullscreenRequest},isFullscreenOn:function(e){return this.fullscreen(e).isFullscreenOn}},vn=function(e){return"".concat("mplayer-monetization-placeholder","-").concat(e)},mn=function(e){return"".concat("mplayer-player-placeholder","-").concat(e)},bn=function(e){return"".concat("mplayer-player-container","-").concat(e)},On=function(e){return"".concat("mplayer-controls-placeholder","-").concat(e)},_n=function(e){return"".concat("mplayer-split-view-placeholder","-").concat(e)},Sn=function(e){return"".concat("mplayer-discovery-placeholder","-").concat(e)},En=function(e){return"".concat("mplayer-content-video","-").concat(e)},wn=function(e){return"".concat("mplayer","-").concat("error-page-message","-").concat(e)},Pn=function(e){return"".concat("mplayer","-").concat("loader","-").concat(e)},Tn=function(e){return"".concat("mplayer","-").concat("mplayer-close-bar-placeholder","-").concat(e)},An=pn.mediaData,Cn={mediaId:function(e){return An(e).mediaId},mediaType:function(e){return An(e).mediaType},videoList:function(e){return An(e).videoList},videoData:function(e){return An(e).videoData},activeVideoIndex:function(e){return An(e).activeVideoIndex},mediaRequest:function(e){return An(e).mediaRequest},mediaLoadingError:function(e){return An(e).mediaLoadingError}},Rn=Cn.videoData,Dn={creator:function(e){return Rn(e).creator},description:function(e){return Rn(e).description},duration:function(e){return Rn(e).duration},externalId:function(e){return Rn(e).externalId},index:function(e){return Rn(e).index},mediaId:function(e){return Rn(e).mediaId},provider:function(e){return Rn(e).provider},sources:function(e){return Rn(e).sources},tags:function(e){return Rn(e).tags},thumbnail:function(e){return Rn(e).thumbnail},title:function(e){return Rn(e).title},showTitle:function(e){return Rn(e).showTitle}},Mn=n(11),In=n.n(Mn);function kn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return se(function(){return e.apply(void 0,In()(t))},[e,t])}var Nn={root:{height:"100%",left:0,display:"block",width:"100%"}},Ln=function(){return{playerStyle:[Nn.root]}},xn=n(30),Vn=Object(xn.a)(),jn=function(e){return"undefined"===typeof e},Un=function(e){return jn(e)||null===e||0===e.length},Fn=function(){return null!==navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i)},Bn=function(){return"iOS"===Vn.os},Hn=function(e){return Math.floor(10*e)/10},qn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"0";return parseInt(e,10)/1e3},Wn=function(e,t){return jn(e)||jn(t)?0:e>t?1:-1},zn=function(e,t){var n;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];clearTimeout(n),n=setTimeout(function(){n=null,e(i)},t)}},Gn=function(e){var t=e.clientWidth*(9/16),n=e.clientHeight;return Math.abs(t-n)>2?t:n},$n=function(e){return function(e){return!e.dataLayer||Array.isArray(e.dataLayer)}(e)?"dataLayer":"mmVideoDataLayer"},Kn=function(e){var t=ue(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]);re(function(){t()},[t]),re(function(){var e=zn(t,150);return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[t])},Yn=pn.splitView,Zn=function(e){return Yn(e).splitViewRatio},Xn={GENERAL_ERROR:"An error has occurred, please try again later",VIDEO_ERROR:"The video is currently unavailable"},Jn=jt(function(e,t){return{thumbnail:Dn.thumbnail(e),playerId:t.playerId,muted:gn.muted(e),volume:gn.volume(e),currentVideoTime:hn.currentVideoTime(e),playbackMethod:hn.playbackMethod(e),splitViewRatio:Zn(e),playerSize:hn.playerSize(e),isFullscreenOn:gn.isFullscreenOn(e),playerMode:hn.playerMode(e),speed:gn.speed(e)}},function(e){return Ot({updateVideoTagStatus:Qt,updateVideoTime:tn,updateVideoTimeFragment:en,changeLoadingPlayerStatus:un,showBlackScreenLoader:cn,updateVideoDuration:rn,updateMute:an,updateVolume:sn,updateCurrentVideoBufferedTime:nn,setPlayerSize:ln,onErrorMessage:dn},e)})(function(e){var t=e.thumbnail,n=e.playerId,r=e.updateVideoTagStatus,i=e.updateVideoTime,o=e.updateCurrentVideoBufferedTime,a=e.muted,s=e.volume,u=e.currentVideoTime,c=e.playbackMethod,l=e.changeLoadingPlayerStatus,d=e.showBlackScreenLoader,p=e.updateVideoDuration,f=e.updateMute,h=e.updateVolume,y=e.updateVideoTimeFragment,g=e.setPlayerSize,v=e.splitViewRatio,m=e.playerSize,O=e.isFullscreenOn,_=e.playerMode,S=e.onErrorMessage,E=e.speed,w=oe(null),P=!Un(v),T=kn(Ln,[]).playerStyle,A=document.getElementById(bn(n));re(function(){w.current.playbackRate=E},[E]),Kn(function(){if(!Un(A)){var e=function(e,t,n,r,i){var o=e.style.width;return n?"desktop"===r||"miniDesktop"===r||"stickyDesktop"===r?"extraLarge":"medium":"100%"===o?t:i&&o<=Bt?"extraSmall":i&&o>=qt&&o<=Wt?"small":o<=Ft?"extraSmall":o>=Ht&&o<=Wt?"small":o>=zt&&o<=Gt?"medium":o>=$t&&o<=Kt?"large":o>=Yt?"extraLarge":null}(A,m,O,_,P);Un(e)||g(e)}},[A,m,O,_,P,g]);var C="autoplay"===c?"":t;return b("video",{ref:w,style:Jt(T),key:En(n),id:En(n),onEnded:function(){r("complete")},onDurationChange:function(e){var t,n=e.target.duration;t=n,Number.isNaN(t)||"number"!==typeof t||p(n)},onTimeUpdate:function(e){var t=e.target.currentTime;y(t);var n=parseInt(t.toString(),10);n!==u&&i(n)},onVolumeChange:function(e){var t=e.target,n=t.volume,r=t.muted;n!==s&&h(n),a!==r&&f(r)},onPause:function(){r("paused")},onPlaying:function(){r("playing")},onError:function(){r("error"),S(Xn.VIDEO_ERROR)},onLoadStart:function(){l(!0),d(!0)},onCanPlayThrough:function(){l(!1),d(!1),S("")},onCanPlay:function(){l(!1),S("")},onWaiting:function(){l(!0)},onSeeking:function(){r("seeking")},onProgress:function(e){var t=e.target.buffered,n=t.length;n>0&&o(t.end(n-1))},volume:s,muted:a,poster:C,playsInline:!0,"webkit-playsinline":""},b("track",{kind:"captions"}))}),Qn=function(e){return function(t){t({type:"[CORE] update ima status",payload:e})}},er=function(e){return function(t){t({type:"[CORE] update hls status",payload:e})}},tr=function(){return{adBlockCheckerStyle:{backgroundColor:Ut.COLORS.TRANSPARENT,height:"1px",width:"1px"}}},nr=jt(null,function(e){return{onAdBlockDetected:function(){return Qn("blocked")(e)}}})(function(e){var t=oe(),n=kn(tr,[]).adBlockCheckerStyle;return re(function(){0!==t.current.clientHeight&&0!==t.current.clientWidth||(0,e.onAdBlockDetected)()},[e]),b("div",{ref:t},b("div",{class:"adBanner",style:n}))}),rr=n(10),ir=n.n(rr);n(20);var or={root:null,threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1],rootMargin:"0px"},ar=function(e){var t=e.id,n=e.updateContainerVisibility,r=e.shouldObserve,i=e.regularMode,o=e.stickyAnchorMode,a=e.children,s=e.style,u=e.isPlaceholder,c=e.splitViewRatio,l=e.className,d=oe(),p=te(null),f=ir()(p,2),h=f[0],y=f[1];return re(function(){null!==h&&h.observe(d.current)},[h]),re(function(){!function(e,t,n){e&&t(new IntersectionObserver(function(e){var t=e[0];n(t.intersectionRatio)},or))}(r,y,n)},[r,n]),Kn(function(){u?function(e,t){var n=e.parentElement.clientWidth;e.style.maxWidth="".concat(n,"px"),Un(t)?e.style.height="".concat(Gn(e),"px"):e.style.height="".concat(Gn(e)*(t/100),"px")}(d.current,c):function(e,t,n){t?(e.style.width="".concat(e.parentElement.clientWidth,"px"),e.style.height="".concat(e.parentElement.clientHeight,"px")):n&&(e.style.width="".concat(e.parentElement.clientWidth,"px"),e.style.height="".concat(e.parentElement.clientHeight+24,"px"))}(d.current,i,o)},[u,i,o]),b("div",{className:l,id:t,ref:d,style:s},a)};function sr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ur(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var cr={display:"flex",flexDirection:"row"},lr=(ur(ur({},cr),{},{justifyContent:"flex-end"}),ur(ur({},cr),{},{justifyContent:"center"})),dr=ur(ur({},cr),{},{justifyContent:"space-between"}),pr=(ur(ur({},dr),{},{alignItems:"baseline"}),ur(ur({},lr),{},{alignItems:"center"})),fr=ur(ur({},cr),{},{justifyContent:"flex-start"}),hr=(ur(ur({},fr),{},{alignItems:"center"}),ur(ur({},fr),{},{alignItems:"flex-end",flexWrap:"wrap"}),{display:"flex",flexDirection:"column"}),yr=(ur(ur({},hr),{},{justifyContent:"flex-start"}),ur(ur({},hr),{},{justifyContent:"center"})),gr=(ur(ur({},hr),{},{justifyContent:"flex-end",alignItems:"center"}),ur(ur({},yr),{},{alignItems:"center"}));function vr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var br=mr(mr({},hr),{},{position:"relative",background:Ut.COLORS.BLACK}),Or=pn.anchorOptions,_r=function(e){return Or(e).orientation},Sr=function(e){return Or(e).canClose},Er=function(e){return Or(e).anchorData},wr=function(e){return Er(e).anchorDisabledByUser},Pr=function(e){return Er(e).anchorStatus};function Tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ar(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Cr=jt(function(e){return{shouldObserve:"lazyplay"===hn.playbackMethod(e)||"autoplay_when_viewable"===hn.playbackMethod(e),regularMode:"inactive"===Pr(e)||!Un(Zn(e)),stickyAnchorMode:"sticky"===_r(e)&&"active"===Pr(e)&&Sr(e),style:Ar({},mr({},br)),isPlaceholder:!1}},function(e){return{updateContainerVisibility:function(t){return function(e){return function(t){t({type:"[CORE] update player visibility",payload:e})}}(t)(e)}}})(ar);function Rr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Dr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Mr={width:"100%",clear:"both",margin:"16px 0"};function Ir(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function kr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ir(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ir(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Nr=jt(function(e){return{shouldObserve:"sticky"!==_r(e),style:kr({},Dr({},Mr)),splitViewRatio:Zn(e),isPlaceholder:!0,className:"monti-placeholder-mm-player"}},function(e){return{updateContainerVisibility:function(t){return function(e){return function(t){t({type:"[CORE] update placeholder visibility",payload:e})}}(t)(e)}}})(ar),Lr=function(){return{monetizationStyle:{position:"absolute",width:"100%",top:"0",display:"none"}}},xr=function(e){var t=e.playerId,n=kn(Lr,[]).monetizationStyle,r=oe();return Kn(function(){console.log("the monetization parent element : ",r.current.parentElement),r.current.style.height="".concat(Gn(r.current.parentElement),"px")}),b("div",{id:vn(t),style:n,ref:r})};function Vr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ur={position:"relative",color:Ut.COLORS.WHITE,fontFamily:Ut.TEXT_FONT_FAMILY.LATO,fontWeight:"bold",textAlign:"center",tiny:{fontSize:Ut.FONT_SIZE.EXTRA_TINY},big:{fontSize:Ut.FONT_SIZE.SMALL}},Fr={position:"relative",color:Ut.COLORS.WHITE,tiny:{height:"12px",width:"12px",marginBottom:"8px"},big:{height:"24px",width:"24px",marginBottom:"16px"}},Br=jr(jr({},gr),{},{width:"100%",height:"100%",position:"absolute",top:0,backdropFilter:"blur(3px)",webkitBackdropFilter:"blur(3px)",backgroundColor:Ut.COLORS.BLUR_TRANSPARENT}),Hr=function(e){var t="extraSmall"===e||"small"===e,n="medium"===e||"large"===e||"extraLarge"===e;return{errorMessageStyle:[Ur,t&&Ur.tiny,n&&Ur.big],iconStyle:[Fr,t&&Fr.tiny,n&&Fr.big],screenStyle:jr({},Br)}},qr=n(12),Wr=n.n(qr);function zr(){return(zr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Gr(){return(Gr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function $r(){return($r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Kr={CLOSE_FILL:function(e){e.styles;var t=Wr()(e,["styles"]);return We.createElement("svg",Gr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},t),We.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),We.createElement("path",{d:"M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z",fill:"rgba(255,255,255,1)"}))},ERROR_WARNING_FILL:function(e){e.styles;var t=Wr()(e,["styles"]);return We.createElement("svg",zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},t),We.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),We.createElement("path",{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-1-7v2h2v-2h-2zm0-8v6h2V7h-2z",fill:"rgba(255,255,255,1)"}))},PLAY_BLUR:function(e){e.styles;var t=Wr()(e,["styles"]);return We.createElement("svg",$r({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60"},t),We.createElement("circle",{cx:"30",cy:"30",r:"30",fillRule:"evenodd",clipRule:"evenodd",fillOpacity:".35"}),We.createElement("path",{fill:"none",d:"M11 11h38v38H11z"}),We.createElement("path",{d:"M43.3 30.7L22.1 44.8c-.3.2-.7.2-1 0-.3-.2-.5-.5-.5-.9V15.8c0-.4.2-.7.5-.9.3-.2.7-.2 1 0L43.3 29c.3.2.4.5.4.8s-.2.7-.4.9z",fill:"currentColor"}))}},Yr=n(31),Zr=n.n(Yr);function Xr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Qr=Ut.COLORS.WHITE,ei=function(e,t){var n=function(e){return{root:Jr(Jr({},cr),{},{alignItems:"center",width:"fit-content",height:"fit-content",outline:"none",color:e}),focused:{outline:"".concat(Ut.COLORS.WHITE," solid 1px")}}}(t||Qr);return{iconStyle:[n.root,e&&n.focused]}},ti=function(e){var t=e.icon,n=e.style,r=e.onClick,i=e.onMouseEnter,o=e.onMouseLeave,a=e.onKeyDown,s=e.id,u=e.color,c=e.clickable,l=void 0===c||c,d=e.focusable,p=void 0===d||d,f=te(!1),h=ir()(f,2),y=h[0],g=h[1],v=te(!1),m=ir()(v,2),O=m[0],_=m[1],S=kn(ei,[O,u]).iconStyle,E=l?{onClick:r,onMouseEnter:i,onMouseLeave:o,onFocus:function(e){y||_(!0),jn(i)||i(e)},onBlur:function(){document.hasFocus()&&g(!1),_(!1)},onKeyDown:function(e){jn(a)||a(e),"Enter"!==e.key||jn(r)||r()},onMouseDown:function(){g(!0),_(!1)}}:{},w=p?{tabIndex:0}:{};return b("span",Zr()({id:s,style:Jt([S,n])},E,w),b(t,null))},ni=jt(function(e){return{playerSize:hn.playerSize(e),playerErrorMessage:hn.errorMessage(e),mediaErrorMessage:Cn.mediaLoadingError(e),playerUniqId:hn.playerInstanceUniqId(e)}})(function(e){var t,n=e.playerSize,r=e.playerErrorMessage,i=e.mediaErrorMessage,o=e.playerUniqId,a=kn(Hr,[n]),s=a.errorMessageStyle,u=a.iconStyle,c=a.screenStyle,l=r||i;return Un(r)&&Un(i)?null:b("div",{id:(t=o,"".concat("mplayer","-").concat("error-page","-").concat(t)),style:c},b(ti,{icon:Kr.ERROR_WARNING_FILL,style:Jt(u)}),b("div",{id:wn(o),style:Jt(s)},l))}),ri=function(e,t){var n=function(e){return{height:"100%",left:0,display:"block",width:"100%",position:"relative",splitView:{width:"".concat(e/(9/16),"px")}}}(e);return{playerWrapperStyle:[n,t&&n.splitView]}},ii=jt(function(e){return{splitViewRatio:Zn(e)}})(function(e){var t=e.splitViewRatio,n=e.children,r=oe(),i=te(null),o=ir()(i,2),a=o[0],s=o[1],u=!Un(t),c=kn(ri,[a,u]).playerWrapperStyle;return Kn(function(){s(r.current.parentElement.clientHeight)},[r]),b("div",{ref:r,style:Jt(c)},n)});function oi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ai(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oi(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var si=ai(ai({},cr),{},{position:"absolute",width:"100%",height:"100%"}),ui={width:"100%",height:"100%",position:"relative"},ci={display:"flex",position:"relative",flexGrow:"1"},li={position:"absolute",zIndex:"1",width:"100%",top:"0",height:"100%",pointerEvents:"none"},di={position:"absolute",zIndex:"2",width:"100%",top:"0",height:"100%",pointerEvents:"none"},pi=function(){return{splitViewWrapperStyle:ai({},si),playerAndControlsWrapperStyle:ai({},ui),splitViewPlaceholderStyle:ai({},ci),controlsPlaceholderStyle:ai({},li),discoveryPlaceholderStyle:ai({},di)}};function fi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function hi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fi(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var yi={position:"absolute",overflow:"hidden",backgroundColor:Ut.COLORS.GRAY_TRANSPARENT,borderRadius:Ut.BORDER_RADIUS.SMALL,height:"6px",small:{width:"120px",height:"4px"},medium:{width:"200px"},largeAndExtraLarge:{width:"220px"},splitView:{width:"120px",height:"4px"},error:{display:"none"}},gi=hi(hi({},pr),{},{width:"100%",height:"100%",position:"absolute",top:"0",backgroundColor:Ut.COLORS.TRANSPARENT,blackScreen:{backgroundColor:Ut.COLORS.BLACK}}),vi=function(e,t,n,r,i){var o,a=!Un(n),s="small"===e,u="medium"===e,c="large"===e||"extraLarge"===e,l=i||Ut.COLORS.WHITE,d=(o=l,{position:"relative",width:"100%",height:"6px",borderRadius:Ut.BORDER_RADIUS.SMALL,animationName:"loaderAnimation",animationDuration:"3.5s",animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",backgroundColor:o,small:{height:"4px"},splitView:{height:"4px"}});return{loaderStyle:[yi,r&&yi.error,s&&yi.small,u&&yi.medium,c&&yi.largeAndExtraLarge,a&&yi.splitView],barStyle:[d,s&&d.small,a&&d.splitView],screenStyle:[gi,t&&gi.blackScreen]}},mi=pn.monetization,bi={continuePlayingWhileWaitingForAd:function(e){return mi(e).continuePlayingWhileWaitingForAd},midrolls:function(e){return mi(e).midrolls},prerollEnabled:function(e){return mi(e).prerollEnabled},vpaidMode:function(e){return mi(e).vpaidMode},adRequestTimeout:function(e){return mi(e).adRequestTimeout},adsData:function(e){return mi(e).adsData}},Oi=bi.adsData,_i={adTagUrlTemplate:function(e){return Oi(e).adTagUrlTemplate},adType:function(e){return Oi(e).adType},adStatus:function(e){return Oi(e).adStatus},pendingAdStatus:function(e){return Oi(e).pendingAdStatus},adErrorMessage:function(e){return Oi(e).adErrorMessage},adDuration:function(e){return Oi(e).adDuration},playedMidrolls:function(e){return Oi(e).playedMidrolls},adImpression:function(e){return Oi(e).adImpression},adOpportunity:function(e){return Oi(e).adOpportunity},isVastAd:function(e){return Oi(e).isVastAd},adCurrentTime:function(e){return Oi(e).adCurrentTime},adMuted:function(e){return Oi(e).adMuted},adVolume:function(e){return Oi(e).adVolume},currentAdTag:function(e){return Oi(e).currentAdTag},adUnit:function(e){return Oi(e).adUnit},slotNumber:function(e){return Oi(e).slotNumber},podNumber:function(e){return Oi(e).podNumber},loadingAd:function(e){return Oi(e).loadingAd}},Si=pn.brandingData,Ei=function(e){return Si(e).brandingColor},wi=jt(function(e){return{showBlackScreen:hn.showBlackScreen(e),playerSize:hn.playerSize(e),splitViewRatio:Zn(e),playerUniqId:hn.playerInstanceUniqId(e),playerErrorMessage:hn.errorMessage(e),mediaErrorMessage:Cn.mediaLoadingError(e),loadingPlayer:hn.loadingPlayer(e),loadingAd:_i.loadingAd(e),brandingColor:Ei(e)}})(function(e){var t,n=e.playerSize,r=e.showBlackScreen,i=e.splitViewRatio,o=e.playerUniqId,a=e.playerErrorMessage,s=e.mediaErrorMessage,u=e.loadingPlayer,c=e.loadingAd,l=e.brandingColor,d=!Un(a)||!Un(s),p=u||c,f=kn(vi,[n,r,i,d,l]),h=f.loaderStyle,y=f.barStyle,g=f.screenStyle;return p?b("div",{id:(t=o,"".concat("mplayer","-").concat("loader-page","-").concat(t)),style:Jt(g)},b("div",{id:Pn(o),style:Jt(h)},b("div",{style:Jt(y)}))):null}),Pi=function(e){var t=e.playerId,n=e.store,r=e.playerPosition,i=kn(pi,[]),o=i.splitViewWrapperStyle,a=i.playerAndControlsWrapperStyle,s=i.splitViewPlaceholderStyle,u=i.controlsPlaceholderStyle,c=i.discoveryPlaceholderStyle;return re(function(){!function(e){var t=document.createElement("link");t.setAttribute("href","https://fonts.googleapis.com/css2?family=Lato:wght@300;400&display=swap"),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),e.appendChild(t)}(r),function(e){var t=document.createElement("style");t.type="text/css",t.textContent="@keyframes loaderAnimation {0% {left: -100%}49% {left: 100%}50% {left: 100%}100% {left: -100%}}",e.appendChild(t)}(r)},[r]),b(Ze,{store:n},b(Nr,{id:mn(t)},b(Cr,{id:bn(t)},b("div",{id:Tn(t)}),b("div",{style:a},b("div",{style:o},b(ii,null,b(Jn,{playerId:t}),b(xr,{playerId:t}),b(wi,null),b(nr,null)),b("div",{id:_n(t),style:s})),b("div",{id:On(t),style:u}),b("div",{id:Sn(t),style:c}),b(ni,null)))))},Ti=n(1),Ai=n.n(Ti),Ci=function e(){var t=this;Ai()(this,e),f()(this,"HLS_MAIN_SCRIPT","https://cdn.jsdelivr.net/npm/hls.js@0.9.1"),f()(this,"HLS_FALLBACK_SCRIPT","https://www.oo-syringe.com/newplayer/mplayer_hls_wrapper.0.0.0.js"),f()(this,"IMA_SCRIPT","https://imasdk.googleapis.com/js/sdkloader/ima3.js"),f()(this,"MMPLUS_CONTAINER_ID","GTM-PL4PD49"),f()(this,"MM_CONTAINER_ID","GTM-TCW5HW"),f()(this,"dependenciesCallbacks",void 0),f()(this,"imaLoadingStatus",""),f()(this,"hlsLoadingStatus",""),f()(this,"gtmLoaded",!1),f()(this,"addDependenciesCallback",function(e){t.dependenciesCallbacks.includes(e)||t.dependenciesCallbacks.push(e)}),f()(this,"isDependenciesReady",function(){return t.gtmLoaded&&"loading"!==t.getHLSLoadingStatus()&&"loading"!==t.getIMALoadingStatus()}),f()(this,"getIMALoadingStatus",function(){return t.imaLoadingStatus}),f()(this,"getHLSLoadingStatus",function(){return t.hlsLoadingStatus}),f()(this,"removeDependenciesCallback",function(e){t.dependenciesCallbacks.filter(function(t){return t===e})}),f()(this,"loadScript",function(e,t,n){var r=document.createElement("script");r.setAttribute("src",e),r.addEventListener("load",t),r.addEventListener("error",n),document.body.appendChild(r)}),f()(this,"onScriptLoaded",function(e){t.dependenciesCallbacks.forEach(function(t){t.onDependencyReady(e)})}),f()(this,"onScriptFailed",function(e,n){t.dependenciesCallbacks.forEach(function(t){t.onDependencyFailure(e,n)})}),f()(this,"onHlsScriptLoaded",function(){void 0!==window.Hls?t.onScriptLoaded("hls"):t.onHlsLoadError()}),f()(this,"onHlsLoadError",function(){t.loadScript(t.HLS_FALLBACK_SCRIPT,t.onMMhlsScriptLoaded,t.onMMHlsScriptFailure)}),f()(this,"onMMhlsScriptLoaded",function(){t.onScriptLoaded("hls")}),f()(this,"onMMHlsScriptFailure",function(e){t.onScriptFailed("hls",e)}),f()(this,"onImaLoadError",function(e){t.imaLoadingStatus="error",t.onScriptFailed("ima",e)}),f()(this,"onImaLoaded",function(){t.onScriptLoaded("ima"),t.imaLoadingStatus="success"}),f()(this,"shouldLoadMmGTM",function(){var e=window.google_tag_manager;return!e||!e[t.MMPLUS_CONTAINER_ID]&&!e[t.MM_CONTAINER_ID]}),f()(this,"loadGTMifNeeded",function(){if(t.shouldLoadMmGTM()){var e,n;try{e=window.parent,n=window.parent.document}catch(u){e=window,n=window.document}var r=$n(e),i="dataLayer"!==r?"&l=".concat(r):"";e[r]=e[r]||[],e[r].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var o=n.getElementsByTagName("script")[0],a=n.createElement("script");a.setAttribute("async",""),a.setAttribute("src","https://www.googletagmanager.com/gtm.js?id=GTM-PL4PD49".concat(i)),o.parentNode.insertBefore(a,o);var s=n.createElement("iframe");s.src="https://www.googletagmanager.com/ns.html?id=GTM-PL4PD49",s.height="0",s.width="0",s.style="display:none;visibility:hidden",n.body.appendChild(s),t.gtmLoaded=!0}}),f()(this,"loadHLS",function(){Bn()||"safari"===Vn.name?t.hlsLoadingStatus="no-need":(t.loadScript(t.HLS_MAIN_SCRIPT,t.onHlsScriptLoaded,t.onHlsLoadError),t.hlsLoadingStatus="loading")}),f()(this,"loadIMA",function(){t.loadScript(t.IMA_SCRIPT,t.onImaLoaded,t.onImaLoadError),t.imaLoadingStatus="loading"}),f()(this,"loadExternalDependencies",function(){""===t.getIMALoadingStatus()&&t.loadIMA(),""===t.getHLSLoadingStatus()&&t.loadHLS(),t.gtmLoaded||t.loadGTMifNeeded()}),this.dependenciesCallbacks=[]};f()(Ci,"instance",void 0),f()(Ci,"getInstance",function(){return Ci.instance||(Ci.instance=new Ci),Ci.instance});var Ri=function(e){return"".concat("mplayer-monetization-ad-container","-").concat(e)},Di=function(e){return"".concat("mplayer-monetization-safari-video-ad","-").concat(e)},Mi=jt(function(e){return{contentVideoTime:hn.currentVideoTime(e),playerUniqId:hn.playerInstanceUniqId(e)}})(function(e){var t=e.contentVideoTime,n=e.playerUniqId,r=oe();return re(function(){Un(r.current)||(r.current.currentTime=t)},[t]),b("video",{id:Di(n),ref:r,style:{backgroundColor:"rgb(0, 0, 0)",width:"100%",height:"100%"},title:"Advertisement",preload:"auto",muted:!0,playsInline:!0,"webkit-playsinline":""})});function Ii(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ki(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ii(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ii(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ni=jt(function(e,t){return ki(ki({},t),{},{adStatus:_i.adStatus(e)})})(function(e){var t=e.playerId,n=e.adStatus,r="playing"===n||"paused"===n;return re(function(){document.getElementById(vn(t)).style.display=r?"flex":"none"},[t,r]),b("div",{style:{width:"100%",height:"100%"}},b("div",{id:Ri(t),style:{height:"100%",width:"100%"}},Bn()&&b(Mi,null)))}),Li=function(e){var t=e.store,n=e.playerId;return b(Ze,{store:t},b(Ni,{playerId:n}))},xi=n(2),Vi=n.n(xi),ji=(n(46),function(){function e(t,n,r){Ai()(this,e),f()(this,"store",void 0),f()(this,"getDependenciesElements",void 0),f()(this,"oldState",void 0),f()(this,"unsubscribe",void 0),f()(this,"onChange",void 0),this.store=t,this.oldState=t.getState(),this.getDependenciesElements=n,this.unsubscribe=t.subscribe(this.onStateChanged.bind(this)),this.onChange=r}return Vi()(e,[{key:"stopSubscription",value:function(){this.unsubscribe(),this.oldState=null,this.getDependenciesElements=null,this.store=null,this.unsubscribe=null,this.onChange=null}},{key:"onStateChanged",value:function(){var e=this.store.getState(),t=this.getDependenciesElements(this.oldState),n=this.getDependenciesElements(e);t.every(function(e,t){return e===n[t]})||this.onChange(e),this.oldState=e}}]),e}()),Ui=pn.dependenciesLoadingStatus,Fi={loadingImaStatus:function(e){return Ui(e).loadingImaStatus},loadingHLSStatus:function(e){return Ui(e).loadingHLSStatus}},Bi=function(e){return"blocked"===Fi.loadingImaStatus(e)},Hi=function(e){return"playing"===e||"requested"===e||"loaded"===e||"paused"===e},qi=function(){function e(t,n){Ai()(this,e),f()(this,"videoTimeSubscriber",void 0),f()(this,"adsScheduler",void 0),this.videoTimeSubscriber=new ji(t,e.getVideoTimeDependencies,this.onVideoTimeChanged.bind(this)),this.adsScheduler=n}return Vi()(e,[{key:"onVideoTimeChanged",value:function(t){"seeking"!==hn.videoTagStatus(t)&&(e.shouldRequestAd(t)?this.adsScheduler.onPreAdTimeReached(e.getMidroll(t)):e.isOnAdTime(t)&&this.adsScheduler.onAdTimeReached())}}],[{key:"getVideoTimeDependencies",value:function(e){return[hn.currentVideoTime(e)]}},{key:"isTimeInPreAdRange",value:function(e,t){return t>=e&&e>=t-$i}},{key:"getNextSpecificMidrollTime",value:function(t,n){return-1!==t.indexOf(n)?n:t.find(function(t){return e.isTimeInPreAdRange(n,t)})}},{key:"getNextReocurringMidrollNumber",value:function(e,t){var n=t/e;return t%e===0?n:Math.ceil(n)}},{key:"getMidroll",value:function(t){var n=hn.currentVideoTime(t),r=bi.midrolls(t),i=r.every,o=r.on,a=Dn.mediaId(t);if(!Un(i)){var s=e.getNextReocurringMidrollNumber(i,n);return{currentTime:n,mediaId:a,midrollNumber:s,midrollTime:s*i}}if(!Un(o)){var u=e.getNextSpecificMidrollTime(o,n);return{midrollNumber:o.indexOf(u)+1,currentTime:n,midrollTime:u,mediaId:a}}return null}},{key:"isMidrollAlreadyPlayed",value:function(e,t){return-1!==e.indexOf(t)}},{key:"isMidrollReached",value:function(t){var n=hn.currentVideoTime(t),r=bi.midrolls(t),i=r.every,o=r.on,a=_i.playedMidrolls(t);if(!Un(i)&&n>0){var s=e.getNextReocurringMidrollNumber(i,n),u=s*i;return!this.isMidrollAlreadyPlayed(a,s)&&e.isTimeInPreAdRange(n,u)}if(!Un(o)){var c=e.getNextSpecificMidrollTime(o,n),l=o.indexOf(c)+1;return l>0&&!this.isMidrollAlreadyPlayed(a,l)}return!1}},{key:"shouldRequestAd",value:function(e){var t=_i.adStatus(e);return!Bi(e)&&!Hi(t)&&this.isMidrollReached(e)}},{key:"isOnAdTime",value:function(t){var n=hn.currentVideoTime(t),r=bi.midrolls(t),i=r.every,o=r.on,a=_i.playedMidrolls(t);if(Bi(t))return!1;if(!Un(i)){var s=e.getNextReocurringMidrollNumber(i,n);return 0!==n&&n%i===0&&!this.isMidrollAlreadyPlayed(a,s)}if(!Un(o)){var u=o.indexOf(n);return-1!==u&&!this.isMidrollAlreadyPlayed(a,u)}return!1}}]),e}(),Wi=function(){function e(t){var n=this;Ai()(this,e),f()(this,"referrerUrl",void 0),f()(this,"staticAdTag",void 0),f()(this,"generate",function(e,t){var r=encodeURIComponent(n.referrerUrl);return Un(n.staticAdTag)?n.adTagFromApi(e,r,t):n.parseAdTag(n.staticAdTag,e,r,t)}),this.staticAdTag=t,this.referrerUrl=window.location.href}return Vi()(e,[{key:"parseAdTag",value:function(t,n,r,i){var o=t.replace("##AdUnit##",e.parseAdName(n)).replace("##DESCRIPTION_URL_UNESC##",r).replace("##REFERRER_URL_UNESC##",encodeURIComponent(this.referrerUrl)).replace("##CACHEBUSTER##",e.cacheBuster(n)).replace("##MIDROLL_ORDER##",e.adIndexFromName(n));return o=e.replaceVideoId(o,"##VIDEO_ID##",i),o=e.addHacksToAdTag(o)}},{key:"adTagFromApi",value:function(e,t,n){try{var r=window.getVideoTag(t,e);return Un(r)?null:this.parseAdTag(r,e,t,n)}catch(i){return null}}}],[{key:"getCCPAConsent",value:function(t){try{var n="";return window.__uspapi&&window.__uspapi("getUSPData",1,function(e,t){t&&(n=e.uspString)}),e.setSearchParamToAdTag(t,"us_privacy",n)}catch(r){return t}}},{key:"replaceVideoId",value:function(e,t,n){return e.replace(t,n).replace(encodeURIComponent(t),n).replace(encodeURIComponent(encodeURIComponent(t)),n)}},{key:"cacheBuster",value:function(t){return"".concat((new Date).getTime()).concat(e.adIndexFromName(t))}},{key:"parseAdName",value:function(t){return t.startsWith("preroll")?"PR":"MR".concat(e.adIndexFromName(t))}},{key:"adIndexFromName",value:function(e){return e.replace(/[^\d]*/g,"")}}]),e}();f()(Wi,"setSearchParamToAdTag",function(e,t,n){var r=new URL(e),i=decodeURIComponent(n);return r.searchParams.set(t,i),r.href}),f()(Wi,"getSearchParamFromAdTag",function(e,t){return new URL(e).searchParams.get(t)}),f()(Wi,"addHacksToAdTag",function(e){var t=e,n=Wi.getSearchParamFromAdTag(t,"cust_params");if(!jn(window.mmAPSbids)&&!Un(n)){var r="".concat(window.mmAPSbids,"&").concat(n);t=Wi.setSearchParamToAdTag(t,"cust_params",r)}if(!jn(window.shouldPlayAdRules)){var i=window.shouldPlayAdRules?"1":"0";t=Wi.setSearchParamToAdTag(t,"ad_rule",i)}return t=Wi.getCCPAConsent(t)});var zi=function(){function e(t,n){Ai()(this,e),f()(this,"store",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"adsScheduler",void 0),f()(this,"previousVideoTagStatus",void 0);var r=t.getState;this.store=t,this.adsScheduler=n,this.previousVideoTagStatus=hn.videoTagStatus(r()),this.videoTagStatusSubscriber=new ji(t,e.getVideoTagStatusDependencies,this.onVideoTagStatusChanged.bind(this))}return Vi()(e,[{key:"onVideoTagStatusChanged",value:function(t){var n=hn.videoTagStatus(t),r=_i.adStatus(t);"seeking"===this.previousVideoTagStatus&&(Hi(r)?this.adsScheduler.onSeekedWhileAdInProgress():e.isSeekedOverMidroll(t)&&this.adsScheduler.onSeekToAdOpportunity(e.getSeekedMidroll(t))),this.previousVideoTagStatus=n}}],[{key:"getVideoTagStatusDependencies",value:function(e){return[hn.videoTagStatus(e)]}},{key:"getClosestSkippedUnplayedMidroll",value:function(e,t){for(var n=t;n>0;n-=1)if(-1===e.indexOf(n))return n;return null}},{key:"getClosestLowerSeekedMidrollNumber",value:function(e,t){var n=In()(e).reverse().find(function(e){return e<=t});return e.indexOf(n)+1}},{key:"getSeekedSpecificMidroll",value:function(e,t,n,r){var i=this.getClosestLowerSeekedMidrollNumber(e,t),o=this.getClosestSkippedUnplayedMidroll(r,i);return{midrollNumber:o,currentTime:t,midrollTime:e[o-1],mediaId:n}}},{key:"isSeekedOverSpecificMidroll",value:function(e,t,n){if(jn(e))return!1;var r=this.getClosestLowerSeekedMidrollNumber(e,n);return null!==this.getClosestSkippedUnplayedMidroll(t,r)}},{key:"getSeekedReoccuringMidroll",value:function(e,t,n,r){var i=Math.floor(t/e),o=this.getClosestSkippedUnplayedMidroll(r,i);return{midrollTime:o*e,currentTime:t,midrollNumber:o,mediaId:n}}},{key:"isSeekedOverReoccuringMidroll",value:function(e,t,n){if(jn(e))return!1;var r=Math.floor(n/e);return null!==this.getClosestSkippedUnplayedMidroll(t,r)}},{key:"getSeekedMidroll",value:function(e){var t=_i.playedMidrolls(e),n=hn.currentVideoTime(e),r=bi.midrolls(e),i=r.every,o=r.on,a=Cn.mediaId(e);return this.isSeekedOverReoccuringMidroll(i,t,n)?this.getSeekedReoccuringMidroll(i,n,a,t):this.isSeekedOverSpecificMidroll(o,t,n)?this.getSeekedSpecificMidroll(o,n,a,t):null}},{key:"isSeekedOverMidroll",value:function(e){var t=_i.playedMidrolls(e),n=hn.currentVideoTime(e),r=bi.midrolls(e),i=r.every,o=r.on,a=o;return bi.prerollEnabled(e)&&(a=o.filter(function(e){return 0!==e})),this.isSeekedOverReoccuringMidroll(i,t,n)||this.isSeekedOverSpecificMidroll(a,t,n)}}]),e}(),Gi=function e(t,n){var r=this;Ai()(this,e),f()(this,"pendingAdStatusStoreSubscriber",void 0),f()(this,"adsScheduler",void 0),f()(this,"onPendingAdStatusChanged",function(e){var t=_i.pendingAdStatus(e).type,n=_i.adStatus(e);if("playPreroll"===t&&!Hi(n)){var i=Cn.activeVideoIndex(e),o=Dn.mediaId(e);r.adsScheduler.onPrerollReached(o,i+1)}}),this.adsScheduler=n,this.pendingAdStatusStoreSubscriber=new ji(t,e.getPendingAdStatusDependencies,this.onPendingAdStatusChanged.bind(this))};f()(Gi,"getPendingAdStatusDependencies",function(e){return[_i.pendingAdStatus(e)]});var $i=3,Ki=function e(t,n){var r=this;Ai()(this,e),f()(this,"videoTimeSubscriber",void 0),f()(this,"videoSeekSubscriber",void 0),f()(this,"adTagGenerator",void 0),f()(this,"monetization",void 0),f()(this,"lastRequestedMidroll",null),f()(this,"prerollScheduler",void 0),f()(this,"generateMidrollTag",function(e){var t="midroll".concat(e.midrollNumber);return r.adTagGenerator.generate(t,e.mediaId)}),f()(this,"generatePrerollTag",function(e,t){var n="preroll".concat(t);return r.adTagGenerator.generate(n,e)}),f()(this,"onAdTimeReached",function(){r.monetization.onMidrollAdOpportunity()}),f()(this,"onPreAdTimeReached",function(e){r.onPreMidrollAdOpportunity(e)}),f()(this,"onSeekToAdOpportunity",function(e){r.onPreMidrollAdOpportunity(e)}),f()(this,"isMidrollAlreadyRequested",function(e){return e.midrollNumber===r.lastRequestedMidroll.midrollNumber&&e.mediaId===r.lastRequestedMidroll.mediaId&&e.midrollTime===r.lastRequestedMidroll.midrollTime}),f()(this,"onPreMidrollAdOpportunity",function(e){if(Un(r.lastRequestedMidroll)||!r.isMidrollAlreadyRequested(e)){r.lastRequestedMidroll=e;var t=r.generateMidrollTag(e);r.monetization.onPreMidrollAdOpportunity(e,t)}}),f()(this,"onPrerollReached",function(e,t){var n=r.generatePrerollTag(e,t);r.monetization.onPrerollAdOpportunity(n)}),f()(this,"onSeekedWhileAdInProgress",function(){r.monetization.onMidrollAdOpportunity()});var i=t.getState;this.monetization=n,this.videoTimeSubscriber=new qi(t,this),this.videoSeekSubscriber=new zi(t,this),this.prerollScheduler=new Gi(t,this);var o=_i.adTagUrlTemplate(i());this.adTagGenerator=new Wi(o)},Yi=function(){function e(){Ai()(this,e)}return Vi()(e,null,[{key:"generateAdRequest",value:function(e,t,n){var r=new google.ima.AdsRequest;return r.adTagUrl=e,Fn()||r.setAdWillPlayMuted(t),r.vastLoadTimeout=n,r}}]),e}(),Zi=function(e){return function(t){t({type:"[MONETIZATION] change ad status",payload:e})}},Xi=function(e){return function(t){t({type:"[COMMON] set pending video status",payload:{pendingStatusObject:{type:e,value:""}}})}},Ji=function(e){return function(t){t({type:"[MONETIZATION] change loading ad status",payload:e})}},Qi=function(e){return function(t){t({type:"[MONETIZATION] update ad muted",payload:e})}},eo=function(e){return function(t){t({type:"[MONETIZATION] change ad volume",payload:e})}},to=function e(t,n,r,i,o){var a=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"IMAAdManager",void 0),f()(this,"adsLoader",void 0),f()(this,"adDisplayContainer",void 0),f()(this,"adVideoElement",void 0),f()(this,"videoPlayerElement",void 0),f()(this,"adContainerElement",void 0),f()(this,"anchorStatusStoreSubscriber",void 0),f()(this,"totalAdRequestMadeAmount",0),f()(this,"registerForWindowResize",function(){var e=zn(a.onResize.bind(a),80);window.addEventListener("resize",e)}),f()(this,"initMutationObserver",function(e){new MutationObserver(a.onResize).observe(e,{attributes:!0,childList:!1,subtree:!1})}),f()(this,"loadNewAd",function(e,t){var n=a.store.dispatch;a.clearOldAdManagerIfExist();var r=a.createAdRequest(e);try{a.validateAdRequestCorrectness(r),a.adsLoader.requestAds(r),function(e,t){return function(n){n({type:"[MONETIZATION] change ad tag",payload:{adTag:e,adUnit:t}})}}(e,t)(n),Zi("requested")(n),a.totalAdRequestMadeAmount+=1}catch(i){a.onAdError(a.getLoadingError(r))}}),f()(this,"playAd",function(){try{a.IMAAdManager.init(a.videoPlayerElement.clientWidth,a.videoPlayerElement.clientHeight,google.ima.ViewMode.NORMAL);try{a.IMAAdManager.start()}catch(e){return!1}return!0}catch(t){return a.onAdError(a.getPlayAdError("ad manager start error")),!1}}),f()(this,"clearOldAdManagerIfExist",function(){Un(a.IMAAdManager)||(a.IMAAdManager.destroy(),a.IMAAdManager=null)}),f()(this,"createAdLoader",function(e,t){var n=bi.vpaidMode(e);a.adsLoader=new google.ima.AdsLoader(t),a.adsLoader.getSettings().setDisableCustomPlaybackForIOS10Plus(!0),a.adsLoader.getSettings().setVpaidMode(google.ima.ImaSdkSettings.VpaidMode[n]),a.adsLoader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,a.onIMAAdsManagerLoaded.bind(a),!1,a),a.adsLoader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,a.onAdError.bind(a),!1,a)}),f()(this,"createAdRequest",function(e){var t=a.store.getState,n=gn.muted(t()),r=bi.adRequestTimeout(t());return Yi.generateAdRequest(e,n,r)}),f()(this,"validateAdRequestCorrectness",function(e){e&&e.adTagUrl&&decodeURIComponent(e.adTagUrl.replace(/\+/g," "))}),f()(this,"getLoadingError",function(e){var t=function(){return"bad ad request ".concat(JSON.stringify(e))};return{getError:function(){return{getMessage:t}}}}),f()(this,"getPlayAdError",function(e){var t=function(){return"play ad error: ".concat(JSON.stringify(e))};return{getError:function(){return{getMessage:t}}}}),f()(this,"setAdVolume",function(e){var t=a.store,n=t.getState,r=t.dispatch,i=gn.volume(n());Bn()||gn.muted(n())?(e.setVolume(0),Qi(!0)(r)):(e.setVolume(gn.volume(n())),eo(i)(r),Qi(!1)(r))}),f()(this,"createIMAAdManager",function(t){a.IMAAdManager=t.getAdsManager(a.adVideoElement,e.getAdsRenderingSettings()),a.setAdVolume(a.IMAAdManager)}),f()(this,"registerToAdManagerEvents",function(){a.IMAAdManager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,a.onAdError),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,a.onContentPauseRequested),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,a.onContentResumeRequested),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.STARTED,a.onAdStarted),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.IMPRESSION,a.onAdImpression),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.SKIPPED,a.onAdSkipped),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.COMPLETE,a.onAdCompleted),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.PAUSED,a.onAdPaused),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.RESUMED,a.onAdStarted),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.AD_PROGRESS,a.onAdProgressChanged),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.VOLUME_CHANGED,a.onVolumeChanged),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.VOLUME_MUTED,a.onAdVolumeMutedChanged),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.ALL_ADS_COMPLETED,a.onAdCompleted)}),f()(this,"onIMAAdsManagerLoaded",function(e){var t=a.store.dispatch;a.createIMAAdManager(e),a.registerToAdManagerEvents(),Zi("loaded")(t)}),f()(this,"onAdError",function(e){var t=a.store.dispatch;!function(e){return function(t){t({type:"[MONETIZATION] change ad error",payload:e})}}(e.getError().getMessage())(t),Ji(!1),a.continuePlayingContent()}),f()(this,"onAdImpression",function(e){var t=a.store.dispatch,n=!e.getAd().g.vpaid;a.setPodInfo(e),function(e){e({type:"[MONETIZATION] increase ad impression counter"})}(t),function(e){return function(t){t({type:"[MONETIZATION] update is vast ad",payload:e})}}(n)(t)}),f()(this,"onVolumeChanged",function(e){var t=a.store.dispatch;eo(e.target.getVolume())(t)}),f()(this,"onAdVolumeMutedChanged",function(e){var t=a.store.dispatch;0===e.target.getVolume()?Qi(!0)(t):Qi(!1)(t)}),f()(this,"continuePlayingContent",function(){var e=a.store,t=e.getState,n=e.dispatch,r=hn.videoTagStatus(t());Xi("idle"===r?"play":"resume")(n)}),f()(this,"stopPlayingContent",function(){var e=a.store.dispatch;Xi("pause")(e)}),f()(this,"onContentPauseRequested",function(){a.stopPlayingContent()}),f()(this,"onContentResumeRequested",function(){a.continuePlayingContent()}),f()(this,"onAdPaused",function(){var e=a.store.dispatch;Zi("paused")(e)}),f()(this,"setPodInfo",function(e){var t=e&&e.getAd()&&e.getAd().getAdPodInfo();if(!Un(t)){var n=a.store.dispatch;!function(e,t){return function(n){n({type:"[MONETIZATION] change pod info",payload:{slotNumber:e,podNumber:t}})}}(t.getAdPosition(),a.totalAdRequestMadeAmount)(n)}}),f()(this,"onAdStarted",function(){var e=a.store,t=e.dispatch,n=e.getState,r=gn.volume(n());Zi("playing")(t),0===a.IMAAdManager.getVolume()?a.IMAAdManager.setVolume(0):window.shouldPlayAdRule||a.IMAAdManager.setVolume(r),a.onResize()}),f()(this,"onAdCompleted",function(){var e=a.store.dispatch;Zi("completed")(e)}),f()(this,"onAdSkipped",function(){var e=a.store.dispatch;Zi("skipped")(e)}),f()(this,"onResize",function(){Un(a.IMAAdManager)||(a.IMAAdManager.resize(a.videoPlayerElement.clientWidth,a.videoPlayerElement.clientHeight,google.ima.ViewMode.NORMAL),a.adContainerElement.style.height="".concat(a.videoPlayerElement.clientHeight,"px"))}),f()(this,"onAdProgressChanged",function(e){var t,n,r=a.store,i=r.dispatch,o=r.getState,s=e.getAdData().currentTime,u=e.getAdData().duration,c=_i.adDuration(o());(t=s,function(e){e({type:"[MONETIZATION] change ad current time",payload:t})})(i),c!==u&&(n=u,function(e){e({type:"[MONETIZATION] change ad duration",payload:n})})(i)}),f()(this,"onAnchorStatusChanged",function(){var e=a.store.getState;"processing"!==Pr(e())&&a.onResize()}),f()(this,"changeAdVolume",function(e){Un(a.IMAAdManager)||a.IMAAdManager.setVolume(e)}),f()(this,"changeAdMuted",function(e,t){Un(a.IMAAdManager)||(t?a.IMAAdManager.setVolume(0):a.IMAAdManager.setVolume(e))}),f()(this,"changeAdStatus",function(e){Un(a.IMAAdManager)||("playing"===e&&a.IMAAdManager.resume(),"paused"===e&&a.IMAAdManager.pause())});var s=t.getState;this.store=t,this.adVideoElement=r,this.videoPlayerElement=i,this.adContainerElement=n,this.adDisplayContainer=new google.ima.AdDisplayContainer(n,r),this.createAdLoader(s(),this.adDisplayContainer),this.adDisplayContainer.initialize(),this.anchorStatusStoreSubscriber=new ji(t,e.getAnchorDependencies,this.onAnchorStatusChanged.bind(this)),this.registerForWindowResize(),this.initMutationObserver(o)};f()(to,"getAdsRenderingSettings",function(){var e=new google.ima.AdsRenderingSettings;return e.restoreCustomPlaybackStateOnAdBreakComplete=!0,e.enablePreloading=!1,e.uiElements=[],e.loadVideoTimeout=15e3,e}),f()(to,"getAnchorDependencies",function(e){return[Pr(e)]});var no=function e(t,n,r,i,o,a){var s=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"playerId",void 0),f()(this,"adScheduler",void 0),f()(this,"adHandler",void 0),f()(this,"imaLoadingStatusSubscriber",void 0),f()(this,"adStatusSubscriber",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"adContainer",void 0),f()(this,"adVideoElement",void 0),f()(this,"videoPlayerElement",void 0),f()(this,"playerContainer",void 0),f()(this,"pendingMidrollAdPlay",!1),f()(this,"pendingPrerollAdPlay",!1),f()(this,"pendingPrerollAdTag",null),f()(this,"pendingMidrollNumber",null),f()(this,"pendingAdStatusStoreSubscriber",void 0),f()(this,"adMutedStoreSubscriber",void 0),f()(this,"adVolumeStoreSubscriber",void 0),f()(this,"onMidrollAdOpportunity",function(){var e=s.store,t=e.dispatch,n=e.getState,r=_i.adStatus(n()),i=bi.continuePlayingWhileWaitingForAd(n());"loaded"===r?s.playAd(!0):"requested"===r&&(s.pendingMidrollAdPlay=!0,i||(Xi("pause")(t),Ji(!0)(t))),function(e){e({type:"[MONETIZATION] increase ad Opportunity counter"})}(t)}),f()(this,"onPrerollAdOpportunity",function(e){var t=s.store,n=t.getState,r=t.dispatch,i=Fi.loadingImaStatus(n());Un(s.adHandler)?"loading"!==i&&""!==i||(Ji(!0)(r),s.pendingPrerollAdPlay=!0,s.pendingPrerollAdTag=e):(s.pendingPrerollAdPlay=!0,Ji(!0)(r),s.adHandler.loadNewAd(e,"preroll"))}),f()(this,"onPreMidrollAdOpportunity",function(e,t){Un(s.adHandler)||(e.currentTime>=e.midrollTime&&(s.pendingMidrollAdPlay=!0),s.pendingMidrollNumber=e.midrollNumber,s.adHandler.loadNewAd(t,"midroll"))}),f()(this,"hasPendingAd",function(){return s.hasPendingMidrollAdPlay()||s.hasPendingPrerollAdPlay()}),f()(this,"onAdStatusChanged",function(e){var t=s.store.dispatch,n=_i.adStatus(e);"completed"===n&&Ji(!1)(t);var r=bi.continuePlayingWhileWaitingForAd(e),i=_i.loadingAd(e);"playing"!==n&&"error"!==n||r||!i||Ji(!1)(t),s.hasPendingAd()&&"loaded"===n?s.playAd(s.hasPendingMidrollAdPlay()):s.hasPendingAd()&&"error"===n?(Ji(!1),s.clearPendingMidroll(),s.clearPendingPreroll()):Hi(n)||(Ji(!1),function(e){e({type:"[MONETIZATION] clear ad data"})}(t))}),f()(this,"clearPendingMidroll",function(){s.pendingMidrollNumber=null,s.pendingMidrollAdPlay=!1}),f()(this,"clearPendingPreroll",function(){s.pendingPrerollAdPlay=!1,s.pendingPrerollAdTag=null}),f()(this,"onVideoTagStatusChanged",function(e){"complete"===hn.videoTagStatus(e)&&function(e){e({type:"[MONETIZATION] clear played midrolls"})}(s.store.dispatch)}),f()(this,"hasPendingMidrollAdPlay",function(){return s.pendingMidrollAdPlay}),f()(this,"hasPendingPrerollAdPlay",function(){return s.pendingPrerollAdPlay}),f()(this,"playAd",function(e){var t,n=s.store.dispatch,r=s.adHandler.playAd();e?((t=s.pendingMidrollNumber,function(e){e({type:"[MONETIZATION] add played midroll number",payload:t})})(n),s.clearPendingMidroll()):s.clearPendingPreroll(),r||(Ji(!1)(n),Xi("resume")(n))}),f()(this,"onIMALoadingStatusChanged",function(t){e.canUseIMA(t)&&(Un(s.adHandler)&&(s.adHandler=new to(s.store,s.adContainer,s.adVideoElement,s.videoPlayerElement,s.playerContainer)),s.hasPendingPrerollAdPlay()&&s.adHandler.loadNewAd(s.pendingPrerollAdTag,"preroll"))}),f()(this,"onPendingAdStatusChanged",function(){var e=s.store.getState,t=_i.pendingAdStatus(e()).type;switch(t){case"paused":case"playing":s.adHandler.changeAdStatus(t)}}),f()(this,"onAdMutedChanged",function(){var e=s.store.getState,t=_i.adMuted(e()),n=gn.volume(e());s.adHandler.changeAdMuted(n,t)}),f()(this,"onAdVolumeChanged",function(){var e=s.store.getState,t=_i.adVolume(e());s.adHandler.changeAdVolume(t)});var u=t.getState;this.store=t,this.playerId=n,this.adContainer=r,this.adVideoElement=i,this.videoPlayerElement=o,this.playerContainer=a,this.adScheduler=new Ki(t,this),this.adStatusSubscriber=new ji(t,e.getAdStatusDependencies,this.onAdStatusChanged.bind(this)),this.videoTagStatusSubscriber=new ji(t,e.getVideoTagStatusDependencies,this.onVideoTagStatusChanged.bind(this)),e.canUseIMA(u())?this.adHandler=new to(t,r,i,o,a):this.imaLoadingStatusSubscriber=new ji(t,e.getIMALoadingStatusDependencies,this.onIMALoadingStatusChanged.bind(this)),this.pendingAdStatusStoreSubscriber=new ji(t,e.getPendingAdStatusDependencies,this.onPendingAdStatusChanged.bind(this)),this.adMutedStoreSubscriber=new ji(t,e.getAdMutedDependencies,this.onAdMutedChanged.bind(this)),this.adVolumeStoreSubscriber=new ji(t,e.getAdVolumeDependencies,this.onAdVolumeChanged.bind(this))};f()(no,"getAdStatusDependencies",function(e){return[_i.adStatus(e)]}),f()(no,"getVideoTagStatusDependencies",function(e){return[hn.videoTagStatus(e)]}),f()(no,"getIMALoadingStatusDependencies",function(e){return[Fi.loadingImaStatus(e)]}),f()(no,"canUseIMA",function(e){return"success"===Fi.loadingImaStatus(e)}),f()(no,"getPendingAdStatusDependencies",function(e){return[_i.pendingAdStatus(e)]}),f()(no,"getAdMutedDependencies",function(e){return[_i.adMuted(e)]}),f()(no,"getAdVolumeDependencies",function(e){return[_i.adVolume(e)]});var ro=function(e,t){!function(e,t){var n=document.getElementById(vn(t));B(b(Li,{store:e,playerId:t}),n)}(e,t);var n=function(e){var t=Ri(e);return document.getElementById(t)}(t),r=function(e){var t=Bn()?Di(e):En(e);return document.getElementById(t)}(t),i=function(e){var t=En(e);return document.getElementById(t)}(t),o=function(e){var t=bn(e);return document.getElementById(t)}(t);return new no(e,t,n,r,i,o)},io=n(4),oo=n.n(io),ao=n(7),so=n.n(ao),uo=function(){function e(){Ai()(this,e),f()(this,"duration",void 0),f()(this,"position",void 0),f()(this,"previousPosition",void 0),f()(this,"loadTime",void 0),f()(this,"adOrder",void 0),f()(this,"adType",void 0),f()(this,"adDuration",void 0),f()(this,"errorMessage",void 0),f()(this,"adPodNumber",void 0),f()(this,"adSlotNumber",void 0)}return Vi()(e,[{key:"setDuration",value:function(e){return this.duration=e,this}},{key:"setPosition",value:function(e){return this.position=e,this}},{key:"setPreviousPosition",value:function(e){return this.previousPosition=e,this}},{key:"setLoadTime",value:function(e){return this.loadTime=e,this}},{key:"setAdOrder",value:function(e){return this.adOrder=e,this}},{key:"setAdType",value:function(e){return this.adType=e,this}},{key:"setAdDuration",value:function(e){return this.adDuration=e,this}},{key:"setErrorMessage",value:function(e){return this.errorMessage=e,this}},{key:"setAdPodNumber",value:function(e){return this.adPodNumber=e,this}},{key:"setAdSlotNumber",value:function(e){return this.adSlotNumber=e,this}},{key:"build",value:function(){var e=[];return jn(this.position)||e.push("video current position=".concat(Hn(this.position),"sec")),jn(this.duration)||e.push("video duration time=".concat(Hn(this.duration),"sec")),jn(this.loadTime)||e.push("video load time=".concat(this.loadTime,"milliseconds")),jn(this.previousPosition)||e.push("previous position=".concat(Hn(this.previousPosition),"sec")),jn(this.adOrder)||e.push("ad order=".concat(this.adOrder)),jn(this.adType)||e.push("ad type=".concat(this.adType)),jn(this.adDuration)||e.push("ad duration=".concat(Hn(Number(this.adDuration)),"sec")),jn(this.adPodNumber)||e.push("pod number=".concat(this.adPodNumber)),jn(this.adSlotNumber)||e.push("slot number=".concat(this.adSlotNumber)),jn(this.errorMessage)||e.push("error message=".concat(this.errorMessage)),e.join(";")}}]),e}(),co="mmPlus GTM data ready to GA",lo="mmPlus GTM event to GA",po={EMBED:"vplayer video player embed",FIRST_PLAY:"vplayer video first play",COMPLETION_25_PERCENTAGE:"vplayer video 25% complete",COMPLETION_50_PERCENTAGE:"vplayer video 50% complete",COMPLETION_75_PERCENTAGE:"vplayer video 75% complete",COMPLETION_90_PERCENTAGE:"vplayer video 90% complete",AD_BLOCK:"vplayer video ad block",AD_REQUEST:"vplayer video ad request",AD_IMPRESSION:"vplayer video ad impression",AD_ERROR:"vplayer video ad error",AD_VIEWABLE_IMPRESSION:"vplayer video ad viewable impression",AD_COMPLETE:"vplayer video ad complete",AD_SKIP:"vplayer video ad skip",AD_PAUSE:"vplayer video ad pause",VIDEO_COMPLETE:"vplayer video complete",FULLSCREEN_ON:"vplayer video fullscreen on",FULLSCREEN_OFF:"vplayer video fullscreen off",SEEK:"vplayer video position seeked",VIDEO_MUTE:"vplayer video mute",VIDEO_UNMUTE:"vplayer video unmute",CONTROLS_MUTE_OR_UNMUTE:"controls Mute/Unmute button click",CONTROLS_PLAY_OR_PAUSE:"controls Play/Pause button click",CONTROLS_FULLSCREEN:"controls Fullscreen button click",CONTROLS_NEXT_VIDEO:"controls Next Video button click",CONTROLS_SETTINGS:"controls Settings button click",MINI_PLAYER_CLOSE:"vplayer video miniplayer close",LOADING_CONTENT_ERROR:"vplayer video player error",PLAYER_ERROR:"vplayer general player error",CONTENT_VIEWABLE_IMPRESSION:"vplayer video content viewable impression"},fo="loading ad provider library failed",ho="mid",yo=function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"analyticsEventsCallbacks",void 0),f()(this,"videoMuteSubscriber",void 0),f()(this,"videoFullscreenSubscriber",void 0),f()(this,"onMuteStateChanged",function(e){var t=gn.muted(e),n=hn.currentVideoTimeFragment(e),i=(new uo).setPosition(n).build(),o=t?po.VIDEO_MUTE:po.VIDEO_UNMUTE;r.analyticsEventsCallbacks.onEvent(o,i)}),f()(this,"onFullsScreenStateChanged",function(e){var t=gn.fullscreen(e),n=hn.currentVideoTimeFragment(e),i=(new uo).setPosition(n).build(),o=t?po.FULLSCREEN_ON:po.FULLSCREEN_OFF;r.analyticsEventsCallbacks.onEvent(o,i)}),this.store=t,this.analyticsEventsCallbacks=n,this.videoMuteSubscriber=new ji(t,e.getVideoMuteDependencies,this.onMuteStateChanged.bind(this)),this.videoFullscreenSubscriber=new ji(t,e.getVideoFullscreenDependencies,this.onFullsScreenStateChanged.bind(this))};f()(yo,"getVideoMuteDependencies",function(e){return[gn.muted(e)]}),f()(yo,"getVideoFullscreenDependencies",function(e){return[gn.fullscreen(e)]});var go=n(3),vo=n.n(go),mo=n(8),bo=n.n(mo),Oo=n(9),_o=n.n(Oo),So=n(5),Eo=n.n(So);n(20);var wo={root:null,threshold:.5,rootMargin:"0px"},Po=function(){function e(t,n,r){Ai()(this,e),f()(this,"store",void 0),f()(this,"observableElement",void 0),f()(this,"callback",void 0),f()(this,"isViewableTimeoutHandler",null),f()(this,"observer",void 0),f()(this,"didReport",!1),this.store=t,this.observableElement=n,this.callback=r,this.observer=new IntersectionObserver(this.onIntersecting.bind(this),wo)}return Vi()(e,[{key:"unobserve",value:function(){this.observer.unobserve(this.observableElement),this.clearIsViewableTimeout()}},{key:"observe",value:function(){this.observer.observe(this.observableElement)}},{key:"onPlay",value:function(){this.didReport||this.observe()}},{key:"onPause",value:function(){this.unobserve()}},{key:"onComplete",value:function(){this.didReport=!1,this.unobserve()}},{key:"onIntersecting",value:function(e){var t=e[0].isIntersecting;null===this.isViewableTimeoutHandler&&t?this.isViewableTimeoutHandler=setTimeout(this.notifyViewable.bind(this),2e3):this.clearIsViewableTimeout()}},{key:"clearIsViewableTimeout",value:function(){clearTimeout(this.isViewableTimeoutHandler),this.isViewableTimeoutHandler=null}},{key:"notifyViewable",value:function(){var e=this.store.getState;this.didReport=!0,this.callback(e()),this.unobserve()}}]),e}();function To(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Eo()(e);if(t){var i=Eo()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _o()(this,n)}}var Ao=function(e){bo()(n,e);var t=To(n);function n(e,r,i){var o;return Ai()(this,n),o=t.call(this,e,r,i),f()(vo()(o),"videoTagStatusSubscriber",void 0),f()(vo()(o),"onVideoTagStatusChanged",function(e){var t=hn.videoTagStatus(e);"playing"===t?o.onPlay():"paused"===t||"seeking"===t?o.onPause():"complete"!==t&&"error"!==t||o.onComplete()}),o.videoTagStatusSubscriber=new ji(e,n.getVideoTagStatusDependencies,o.onVideoTagStatusChanged.bind(vo()(o))),o}return n}(Po);f()(Ao,"getVideoTagStatusDependencies",function(e){return[hn.videoTagStatus(e)]});var Co=function e(t,n,r,i){var o=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"analyticsEventsCallbacks",void 0),f()(this,"videoViewableImpressionObserver",void 0),f()(this,"firstPlayReportedIndex",-1),f()(this,"loadingStartTime",-1),f()(this,"registerVideoCallbacksIdNeeded",function(e,t){"none"!==hn.playbackMethod(e)&&document.getElementById(En(t)).addEventListener("loadstart",o.onLoadStart.bind(o),{once:!0})}),f()(this,"onLoadStart",function(){o.loadingStartTime=Date.now()}),f()(this,"getFirstPlayLabel",function(e){var t=hn.currentVideoTimeFragment(e),n=hn.currentVideoDuration(e),r=-1===o.loadingStartTime?-1:Date.now()-o.loadingStartTime;return(new uo).setPosition(t).setLoadTime(r).setDuration(n).build()}),f()(this,"onVideoTagStatusChanged",function(e){var t=hn.videoTagStatus(e),n=Cn.activeVideoIndex(e);if(!(n===o.firstPlayReportedIndex)&&"playing"===t){o.firstPlayReportedIndex=n;var r=o.getFirstPlayLabel(e);o.analyticsEventsCallbacks.onEvent(po.FIRST_PLAY,r)}}),f()(this,"reportVideoViewableImpression",function(e){var t=hn.currentVideoTimeFragment(e),n=(new uo).setPosition(t).build();o.analyticsEventsCallbacks.onEvent(po.CONTENT_VIEWABLE_IMPRESSION,n)}),this.store=t,this.analyticsEventsCallbacks=n,this.videoViewableImpressionObserver=new Ao(t,r,this.reportVideoViewableImpression.bind(this)),this.videoTagStatusSubscriber=new ji(t,e.getVideoTagDependencies,this.onVideoTagStatusChanged.bind(this)),this.registerVideoCallbacksIdNeeded(t.getState(),i)};f()(Co,"getVideoTagDependencies",function(e){return[hn.videoTagStatus(e)]});var Ro=[25,50,75,90],Do=function(){function e(){Ai()(this,e),f()(this,"lastReportedPercentage",void 0),this.lastReportedPercentage=0}return Vi()(e,[{key:"clear",value:function(){this.lastReportedPercentage=0}},{key:"updateConsumption",value:function(e,t){var n=e.position,r=e.duration,i=Math.round(n/r*100);i>this.lastReportedPercentage&&this.notifyReportableConsumption(e,i,t)}},{key:"notifyReportableConsumption",value:function(e,t,n){var r=this;Ro.filter(function(e){return e>r.lastReportedPercentage&&e<=t}).forEach(function(t){return n(t,e.position,e.duration)}),this.lastReportedPercentage=t}}]),e}(),Mo=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"analyticsEventsCallbacks",void 0),f()(this,"videoTimeSubscriber",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"videoDataStoreSubscriber",void 0),f()(this,"percentageConsumption",void 0),f()(this,"previousVideoTagStatus",void 0),f()(this,"lastPlayedPosition",void 0),f()(this,"getVideoPercentageAction",function(e){switch(e){case 25:return po.COMPLETION_25_PERCENTAGE;case 50:return po.COMPLETION_50_PERCENTAGE;case 75:return po.COMPLETION_75_PERCENTAGE;case 90:return po.COMPLETION_90_PERCENTAGE;default:return""}}),f()(this,"onVideoTimeChanged",function(e){var t=hn.currentVideoDuration(e),n=hn.currentVideoTimeFragment(e);r.percentageConsumption.updateConsumption({position:n,duration:t},r.onVideoTimeReport.bind(r))}),f()(this,"onVideoTagStatusChanged",function(e){var t=hn.videoTagStatus(e),n=hn.currentVideoTimeFragment(e),i=hn.currentVideoDuration(e);if("seeking"===r.previousVideoTagStatus){var o=(new uo).setPosition(n).setPreviousPosition(r.lastPlayedPosition).build();r.analyticsEventsCallbacks.onEvent(po.SEEK,o)}else"seeking"===t&&(r.lastPlayedPosition=n);r.previousVideoTagStatus=t,"complete"===t&&r.onComplete(i)}),f()(this,"onVideoDataChanged",function(){r.percentageConsumption.clear()}),f()(this,"onComplete",function(e){var t=(new uo).setDuration(e).build();r.analyticsEventsCallbacks.onEvent(po.VIDEO_COMPLETE,t),r.percentageConsumption.clear()}),this.store=t,this.analyticsEventsCallbacks=n,this.videoTimeSubscriber=new ji(t,e.getVideoTimeDependencies,this.onVideoTimeChanged.bind(this)),this.videoTagStatusSubscriber=new ji(t,e.getVideoTagStatusDependencies,this.onVideoTagStatusChanged.bind(this)),this.videoDataStoreSubscriber=new ji(t,e.getVideoDataDependencies,this.onVideoDataChanged.bind(this)),this.percentageConsumption=new Do}return Vi()(e,[{key:"onVideoTimeReport",value:function(e,t,n){var r=this.getVideoPercentageAction(e),i=(new uo).setPosition(t).setDuration(n).build();this.analyticsEventsCallbacks.onEvent(r,i)}}]),e}();f()(Mo,"getVideoTimeDependencies",function(e){return[hn.currentVideoTime(e)]}),f()(Mo,"getVideoTagStatusDependencies",function(e){return[hn.videoTagStatus(e)]}),f()(Mo,"getVideoDataDependencies",function(e){return[Cn.videoData(e)]});var Io=function e(t,n,r,i){Ai()(this,e),f()(this,"store",void 0),f()(this,"timeEvents",void 0),f()(this,"videoSettingsEvents",void 0),f()(this,"videoTagStatusEvents",void 0),this.store=t,this.timeEvents=new Mo(t,n),this.videoSettingsEvents=new yo(t,n),this.videoTagStatusEvents=new Co(t,n,r,i)},ko=n(13),No=n.n(ko),Lo=function(){function e(){Ai()(this,e),f()(this,"batteryLevel","N/A"),f()(this,"batteryChargingState",!1),f()(this,"connectionSpeed","N/A"),f()(this,"connectionType","N/A"),this.setConnectionParams()}return Vi()(e,[{key:"setConnectionParams",value:function(){var e=this,t=navigator.connection||navigator.mozConnection||navigator.webkitConnection;t&&(this.updateConnectionParams(t.effectiveType,t.downlink),t.addEventListener("change",function(){return e.updateConnectionParams(t.effectiveType,t.downlink)}))}},{key:"updateConnectionParams",value:function(e,t){this.connectionType=e,this.connectionSpeed=t}},{key:"attach",value:function(){var e=so()(oo.a.mark(function e(){var t,n=this;return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!navigator.getBattery){e.next=7;break}return e.next=3,navigator.getBattery();case 3:t=e.sent,this.updateBatteryParams(t.level,t.charging),t.ondischargingtimechange=function(e){return n.updateBatteryParams(e.target.level,e.target.charging)},t.onchargingtimechange=function(e){return n.updateBatteryParams(e.target.level,e.target.charging)};case 7:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"updateBatteryParams",value:function(e,t){this.batteryLevel="".concat(100*e),this.batteryChargingState=t}},{key:"getBatteryLevel",value:function(){return this.batteryLevel}},{key:"getBatteryChargingState",value:function(){return this.batteryChargingState}},{key:"getConnectionSpeed",value:function(){return this.connectionSpeed}},{key:"getConnectionType",value:function(){return this.connectionType}}]),e}(),xo=function(){"undefined"===typeof window["$$mm-analytics"]&&(window["$$mm-analytics"]={});var e=window;return"undefined"===typeof e["$$mm-analytics"].firstEmbed&&(e["$$mm-analytics"].firstEmbed=Date.now()),e["$$mm-analytics"].firstEmbed},Vo=function(){return"time in process=".concat(Date.now()-xo()," milliseconds")},jo=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"videoTag",null),f()(this,"deviceParams",void 0),f()(this,"trafficDomain",void 0),f()(this,"adTimeoutDuration",void 0),f()(this,"playbackMethod",void 0),f()(this,"configName",void 0),f()(this,"playerUniqKey",void 0),f()(this,"attach",so()(oo.a.mark(function e(){return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.deviceParams=new Lo,e.next=3,r.deviceParams.attach();case 3:case"end":return e.stop()}},e)}))),f()(this,"translatePlaybackMethod",function(e){switch(e){case"lazyplay":return"scroll to play";case"autoplay":return"auto play";case"autoplay_when_viewable":return"auto play when viewable";case"none":return"click to play";default:return"none"}}),f()(this,"getAdTimeout",function(e){return e?"".concat(qn(e)," sec"):"none"}),f()(this,"getVideoTag",function(){return null===r.videoTag&&(r.videoTag=document.getElementById(En(r.playerUniqKey))),r.videoTag}),f()(this,"getUnitSize",function(){var e=r.getVideoTag();return null!==e?"".concat(e.clientWidth,":").concat(e.clientHeight):"none"}),f()(this,"getBatteryCharging",function(){return r.deviceParams.getBatteryChargingState()?"yes":"no"});var i=t.publisher_contribution,o=t.monetization,a=t.playback_method,s=t.config_name;this.playerUniqKey=n,this.trafficDomain=i,this.adTimeoutDuration=o&&o.ad_request_timeout?this.getAdTimeout(o.ad_request_timeout):"none",this.playbackMethod=this.translatePlaybackMethod(a),this.configName=s}return Vi()(e,[{key:"getDimensions",value:function(){return{mmPlusConfigName:this.configName,mmPlusPlaybackMethod:this.playbackMethod,mmPlusPrePvTimeInProcess:Vo(),mmPlusTrafficDomain:this.trafficDomain,mmPlusUnitSize:this.getUnitSize(),mmPlusUnitType:"video",mmPlusUserBatteryCharging:this.getBatteryCharging(),mmPlusUserBatteryLevel:this.deviceParams.getBatteryLevel(),mmPlusUserConnectionSpeed:this.deviceParams.getConnectionSpeed(),mmPlusUserConnectionType:this.deviceParams.getConnectionType(),mmPlusAdTimeoutDuration:this.adTimeoutDuration}}}]),e}();function Uo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uo(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Bo(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Eo()(e);if(t){var i=Eo()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _o()(this,n)}}var Ho=function(e){bo()(n,e);var t=Bo(n);function n(e,r){var i,o;return Ai()(this,n),o=t.call(this,e,r),f()(vo()(o),"domain",void 0),f()(vo()(o),"getDimensions",function(){return Fo(Fo({},No()((i=vo()(o),Eo()(n.prototype)),"getDimensions",i).call(i)),{},{mmPlusDomain:o.domain})}),o.domain=window.location.hostname,o}return n}(jo);function qo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Wo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qo(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function zo(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Eo()(e);if(t){var i=Eo()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _o()(this,n)}}var Go=function(e){bo()(n,e);var t=zo(n);function n(e,r,i){var o;Ai()(this,n),o=t.call(this,i,r),f()(vo()(o),"store",void 0),f()(vo()(o),"playerUniqId",void 0),f()(vo()(o),"autoPlay",void 0),f()(vo()(o),"streamType",void 0),f()(vo()(o),"gaProperty",void 0),f()(vo()(o),"booleanToYesOrNo",function(e){return e?"yes":"no"}),f()(vo()(o),"getAspectRatio",function(e,t){var r=n.getCommonDenominator(e,t),i=t/r;return"".concat(e/r,":").concat(i)}),f()(vo()(o),"getUnitRadio",function(){var e=o.getVideoTag();if(null!==e){var t=e.clientWidth,n=e.clientHeight;return o.getAspectRatio(t,n)}return"none"}),f()(vo()(o),"getVideoDuration",function(e){var t=Dn.duration(e);return t?"".concat(t," sec"):"none"});var a=i.playback_method,s=i.content_type,u=i.ga_property;return o.store=e,o.playerUniqId=r,o.autoPlay=o.booleanToYesOrNo("none"!==a),o.streamType=s,o.gaProperty=u||o.trafficDomain,o}return Vi()(n,[{key:"getDimensions",value:function(){var e=this.store.getState;return Wo(Wo({},No()(Eo()(n.prototype),"getDimensions",this).call(this)),{},{mmPlusVideoPlayerId:this.playerUniqId,mmPlusUnitId:Dn.mediaId(e())||"none",mmPlusUnitTitle:Dn.title(e())||"none",mmPlusVideoAutoplay:this.autoPlay,mmPlusVideoDuration:this.getVideoDuration(e()),mmPlusVideoStreamType:this.streamType,mmPlusVideoPlaylistId:Cn.mediaId(e())||"none",mmPlusVideoMuted:this.booleanToYesOrNo(gn.muted(e())),mmPlusUnitTags:Dn.tags(e()).toString()||"none",mmPlusUnitOrderNumber:Cn.activeVideoIndex(e()),mmPlusTrafficReferrer:document.referrer,mmPlusUnitProvider:Dn.provider(e())||"none",mmPlusUnitCreator:Dn.creator(e())||"none",mmPlusUnitExternalId:Dn.externalId(e())||"none",mmPlusUnitRatio:this.getUnitRadio(),mmPlusGaProperty:this.gaProperty,mmPlusVideoPlayerType:"vplayer",mmPlusVideoThumbnailsOn:"none",mmPlusVideoClosedCaptionsOn:"none",mmPlusVideoRecommendationsVisible:"none"})}}]),n}(jo);function $o(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Eo()(e);if(t){var i=Eo()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _o()(this,n)}}f()(Go,"getCommonDenominator",function(e,t){for(var n=e,r=t;r;){var i=r;r=n%r,n=i}return n});var Ko=function(e){bo()(n,e);var t=$o(n);function n(e,r,i){var o;return Ai()(this,n),o=t.call(this,e,r,i),f()(vo()(o),"adStatusSubscriber",void 0),f()(vo()(o),"onAdStatusChanged",function(e){var t=_i.adStatus(e);"playing"===t?o.onPlay():"paused"===t?o.onPause():Hi(t)||o.onComplete()}),o.adStatusSubscriber=new ji(e,n.getAdStatusDependencies,o.onAdStatusChanged.bind(vo()(o))),o}return n}(Po);f()(Ko,"getAdStatusDependencies",function(e){return[_i.adStatus(e)]});var Yo=function e(t,n,r){var i=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"analyticsCallback",void 0),f()(this,"adStatusSubscriber",void 0),f()(this,"adImpressionSubscriber",void 0),f()(this,"adProviderLoadingStatusSubscriber",void 0),f()(this,"adViewableImpressionObserver",void 0),f()(this,"initAdBlockChecker",function(t){""===Fi.loadingImaStatus(t.getState())?i.adProviderLoadingStatusSubscriber=new ji(t,e.getAdProviderLoadingStatusDependencies,i.onAdProviderLoadingStatusChanged.bind(i)):i.onAdProviderLoadingStatusChanged(t.getState())}),f()(this,"getAdOrderFromPlayedMidrolls",function(e){return e&&e.length>0?e[e.length-1]:0}),f()(this,"getFullAdLabel",function(e){var t=hn.currentVideoTimeFragment(e),n=_i.adDuration(e),r=_i.playedMidrolls(e),o=_i.slotNumber(e),a=_i.podNumber(e),s=i.getAdOrderFromPlayedMidrolls(r);return(new uo).setAdType(ho).setPosition(t).setAdDuration(n).setAdOrder(s).setAdSlotNumber(o).setAdPodNumber(a).build()}),f()(this,"reportAdBlock",function(){i.analyticsCallback.onEvent(po.AD_BLOCK)}),f()(this,"reportError",function(e){var t=(new uo).setErrorMessage(e).build();i.analyticsCallback.onEvent(po.PLAYER_ERROR,t)}),f()(this,"reportAdRequested",function(e){var t=hn.currentVideoTimeFragment(e),n=_i.playedMidrolls(e),r=i.getAdOrderFromPlayedMidrolls(n),o=(new uo).setPosition(t).setAdOrder(r).build();i.analyticsCallback.onEvent(po.AD_REQUEST,o)}),f()(this,"reportAdImpression",function(e){var t=i.getFullAdLabel(e);i.analyticsCallback.onEvent(po.AD_IMPRESSION,t)}),f()(this,"reportAdError",function(e){var t=_i.adErrorMessage(e),n=_i.slotNumber(e),r=_i.podNumber(e),o=(new uo).setAdType(ho).setErrorMessage(t).setAdPodNumber(r).setAdSlotNumber(n).build();i.analyticsCallback.onEvent(po.AD_ERROR,o)}),f()(this,"reportAdComplete",function(e){var t=i.getFullAdLabel(e);i.analyticsCallback.onEvent(po.AD_COMPLETE,t)}),f()(this,"reportAdSkipped",function(e){var t=i.getFullAdLabel(e);i.analyticsCallback.onEvent(po.AD_SKIP,t)}),f()(this,"reportAdPaused",function(e){var t=i.getFullAdLabel(e);i.analyticsCallback.onEvent(po.AD_PAUSE,t)}),f()(this,"reportAdViewableImpression",function(e){var t=hn.currentVideoTimeFragment(e),n=_i.adDuration(e),r=_i.slotNumber(e),o=_i.podNumber(e),a=(new uo).setPosition(t).setAdType(ho).setAdDuration(n).setAdPodNumber(o).setAdSlotNumber(r).build();i.analyticsCallback.onEvent(po.AD_VIEWABLE_IMPRESSION,a)}),f()(this,"onAdStatusChanged",function(e){var t=_i.adStatus(e);"requested"===t&&i.reportAdRequested(e),"error"===t&&i.reportAdError(e),"completed"===t&&i.reportAdComplete(e),"skipped"===t&&i.reportAdSkipped(e),"paused"===t&&i.reportAdPaused(e)}),f()(this,"onAdProviderLoadingStatusChanged",function(e){var t=Fi.loadingImaStatus(e);"blocked"===t?i.reportAdBlock():"error"===t&&i.reportError(fo)}),f()(this,"onAdImpressionChanged",function(e){i.reportAdImpression(e)}),this.store=t,this.analyticsCallback=n,this.adStatusSubscriber=new ji(t,e.getAdStatusDependencies,this.onAdStatusChanged.bind(this)),this.adImpressionSubscriber=new ji(t,e.getAdImpressionDependencies,this.onAdImpressionChanged.bind(this)),this.adViewableImpressionObserver=new Ko(t,r,this.reportAdViewableImpression.bind(this)),this.initAdBlockChecker(t)};f()(Yo,"getAdProviderLoadingStatusDependencies",function(e){return[Fi.loadingImaStatus(e)]}),f()(Yo,"getAdStatusDependencies",function(e){return[_i.adStatus(e)]}),f()(Yo,"getAdImpressionDependencies",function(e){return[_i.adImpression(e)]});var Zo=pn.userInteraction,Xo=function(e){return Zo(e).userInteractionType},Jo=function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"analyticsCallbacks",void 0),f()(this,"userInteraction",void 0),f()(this,"getLabel",function(e){var t=hn.currentVideoTimeFragment(e);return(new uo).setPosition(t).build()}),f()(this,"reportMuteOrUnmute",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_MUTE_OR_UNMUTE,r.getLabel(e))}),f()(this,"reportFullscreen",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_FULLSCREEN,r.getLabel(e))}),f()(this,"reportPlayOrPause",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_PLAY_OR_PAUSE,r.getLabel(e))}),f()(this,"reportNextVideo",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_NEXT_VIDEO,r.getLabel(e))}),f()(this,"reportSettings",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_SETTINGS,r.getLabel(e))}),f()(this,"reportMiniPlayerClosed",function(e){r.analyticsCallbacks.onEvent(po.MINI_PLAYER_CLOSE,r.getLabel(e))}),f()(this,"onUserInteractionChanged",function(e){switch(Xo(e)){case"mute":case"unmute":r.reportMuteOrUnmute(e);break;case"fullscreen":r.reportFullscreen(e);break;case"play":case"pause":r.reportPlayOrPause(e);break;case"settings":r.reportSettings(e);break;case"nextVideo":r.reportNextVideo(e);break;case"closeMiniPlayer":r.reportMiniPlayerClosed(e)}}),this.store=t,this.analyticsCallbacks=n,this.userInteraction=new ji(t,e.getUserInteractionDependencies,this.onUserInteractionChanged.bind(this))};function Qo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ea(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qo(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}f()(Jo,"getUserInteractionDependencies",function(e){return[Xo(e)]});var ta=function e(t,n,r,i){var o=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"videoEventsReporter",void 0),f()(this,"monetizationEventsReporter",void 0),f()(this,"userInteractionReporter",void 0),f()(this,"eventCustomDimensions",void 0),f()(this,"dataLayer",null),f()(this,"attach",function(){var e=so()(oo.a.mark(function e(t,n,r){return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o.eventCustomDimensions=new Go(t,n,r),e.next=3,o.eventCustomDimensions.attach();case 3:return e.next=5,o.reportReady(t,n,r);case 5:o.reportEmbed();case 6:case"end":return e.stop()}},e)}));return function(t,n,r){return e.apply(this,arguments)}}()),f()(this,"initDataLayer",function(){var e;try{e=$n(window.parent)}catch(t){e=$n(window)}o.dataLayer=window[e]}),f()(this,"reportReady",function(){var e=so()(oo.a.mark(function e(t,n,r){var i;return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=new Ho(r,n),e.next=3,i.attach();case 3:o.dataLayer.push(ea({event:co},i.getDimensions()));case 4:case"end":return e.stop()}},e)}));return function(t,n,r){return e.apply(this,arguments)}}()),f()(this,"reportEmbed",function(){o.onEvent(po.EMBED)}),f()(this,"onEvent",function(e,t,n,r){var i=r||o.eventCustomDimensions.getDimensions(),a=n||lo;o.dataLayer.push(ea(ea({event:a,mmPlusGA_event_action:e,mmPlusGA_event_label:t,mmPlusGA_event_category:"MMVideo"},i),{},{time:Date.now()}))}),this.store=t,this.initDataLayer(),this.videoEventsReporter=new Io(t,this,i,n),this.monetizationEventsReporter=new Yo(t,this,i),window.monetizationEventsReporter=this.monetizationEventsReporter,this.userInteractionReporter=new Jo(t,this),this.attach(t,n,r)},na=pn.discovery,ra=function(e){return na(e).nextVideo},ia=n(51).version,oa=function e(){var t=this;Ai()(this,e),f()(this,"controlsLoaded",void 0),f()(this,"loadInternalPlugins",function(e,n,r){var i=r.dev_config,o=e.getState,a=i&&!Un(i.pluginsPath)?i.pluginsPath:function(){try{return"https://www.oo-syringe.com/prod/players"}catch(w){return"./dist/bundle"}}();t.loadAnalyticsPlugin(e,n,r),t.loadActionsPlugin(n,a),t.loadMonetizationPlugin(e,n),t.loadControlsPlugin(n,a),t.loadAnchorPlugin(n,a),t.loadComscorePlugin(n,r,a),Sr(o())&&Un(Zn(o()))&&t.loadCloseBarPlugin(n,a),"none"!==ra(o())&&t.loadDiscoveryPlugin(n,a),Un(Zn(o()))||t.loadSplitViewPlugin(n,a)}),f()(this,"loadActionsPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.actionsPlugin)window.monti.dataset.plugins.actionsPlugin(e);else{var n=document.createElement("script");n.setAttribute("type","text/javascript"),n.setAttribute("src","".concat(t,"/mplayer_actions_plugin.").concat(ia,".js")),n.addEventListener("load",function(){window.monti.dataset.plugins.actionsPlugin(e)}),n.addEventListener("error",function(){console.log("ACTIONS PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadMonetizationPlugin",function(e,t){ro(e,t)}),f()(this,"loadControlsPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.controlsPlugin)window.monti.dataset.plugins.controlsPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_controls_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.controlsPlugin(e)}),n.addEventListener("error",function(){console.log("CONTROLS PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadAnchorPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.anchorPlugin)window.monti.dataset.plugins.anchorPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_anchor_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.anchorPlugin(e)}),n.addEventListener("error",function(){console.log("ANCHOR PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadSplitViewPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.splitViewPlugin)window.monti.dataset.plugins.splitViewPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_split_view_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.splitViewPlugin(e)}),n.addEventListener("error",function(){console.log("SPLIT VIEW PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadComscorePlugin",function(e,t,n){if(window.monti.dataset&&window.monti.dataset.plugins.comscorePlugin)window.monti.dataset.plugins.comscorePlugin(e,t);else{var r=document.createElement("script");r.setAttribute("src","".concat(n,"/mplayer_comscore_plugin.").concat(ia,".js")),r.setAttribute("type","text/javascript"),r.addEventListener("load",function(){window.monti.dataset.plugins.comscorePlugin(e,t)}),r.addEventListener("error",function(){console.log("COMSCORE PLUGIN LOADER ERROR !")}),document.body.appendChild(r)}}),f()(this,"loadAnalyticsPlugin",function(e,t,n){!function(e,t,n){var r=document.getElementById(bn(t));new ta(e,t,n,r)}(e,t,n)}),f()(this,"loadDiscoveryPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.discoveryPlugin)window.monti.dataset.plugins.discoveryPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_discovery_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.discoveryPlugin(e)}),n.addEventListener("error",function(){console.log("DISCOVERY PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadCloseBarPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.closeBar)window.monti.dataset.plugins.closeBarPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_close_bar_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.closeBarPlugin(e)}),n.addEventListener("error",function(){console.log("CLOSE BAR PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),this.controlsLoaded=!1};function aa(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"===typeof i?i(n,r,e):t(i)}}}}f()(oa,"instance",void 0),f()(oa,"getInstance",function(){return oa.instance||(oa.instance=new oa),oa.instance});var sa=aa();sa.withExtraArgument=aa;var ua=sa;function ca(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function la(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ca(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ca(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var da={loadingHLSStatus:"",loadingImaStatus:""};function pa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function fa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pa(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pa(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ha={playerId:"",playerInstanceUniqId:null,playbackMethod:"none",videoTagStatus:"idle",pendingVideoTagStatus:{type:null,value:null},currentVideoTime:0,currentVideoTimeFragment:0,currentVideoBufferedTime:0,currentVideoDuration:0,playerMode:"desktop",playerVisibility:0,playerPlaceholderVisibility:0,playerSettings:{muted:!0,volume:.5,speed:1,quality:"Auto",selectedSettingsCategory:"",fullscreen:{pendingFullscreenRequest:"",isFullscreenOn:!1}},loader:{showBlackScreen:!1},playerSize:"",errorMessage:"",loadingPlayer:!1};function ya(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ga(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ya(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ya(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var va={showVoltaxLogo:!0,brandingLogoSrc:"",brandingLogoUrl:"",brandingColor:null};function ma(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ba(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ma(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ma(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Oa={orientation:"right",canClose:!0,anchorData:{anchorEnabled:!1,anchorDisabledByUser:!1,anchorStatus:"inactive"},closableAd:!0,continueStreaming:!1,anchoringAppearance:"below",stickyBelowClassName:"",width:"",closeAfter:10,margins:{top:10,bottom:10,left:10,right:10}};function _a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Sa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_a(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ea,wa={continuePlayingWhileWaitingForAd:!1,midrolls:{},prerollEnabled:!1,vpaidMode:"ENABLED",adRequestTimeout:1e4,adsData:{podNumber:0,slotNumber:0,adType:null,adTagUrlTemplate:null,adErrorMessage:null,adDuration:0,adCurrentTime:0,adOrder:0,adStatus:"",pendingAdStatus:{type:""},playedMidrolls:[],adImpression:0,adOpportunity:0,isVastAd:!1,adMuted:!0,adVolume:.5,currentAdTag:null,adUnit:"",loadingAd:!1}},Pa=n(32),Ta=n.n(Pa);!function(e){e.POST="post",e.GET="get",e.DELETE="delete",e.PUT="put",e.PATCH="patch",e.HEAD="head",e.OPTIONS="options"}(Ea||(Ea={}));var Aa=function(){function e(){Ai()(this,e)}return Vi()(e,null,[{key:"preformRequest",value:function(e,t){return new Promise(function(n,r){Ta()({method:e,url:t}).then(function(e){var t=e.data;n(t)}).catch(function(e){r(e)})})}},{key:"preformGet",value:function(e){return this.preformRequest(Ea.GET,e)}}]),e}();f()(Aa,"HTTP_STATUS_CODES",{OK:200,UNAUTHORIZED:401,INTERNAL_SERVER_ERROR:500,BAD_REQUEST:400,NOT_FOUND:404,CONFLICT:409});var Ca=function(){function e(){Ai()(this,e)}return Vi()(e,null,[{key:"getSemanticPlaylistUrl",value:function(e,t,n){if(n&&!Un(n.semantic_url))return n.semantic_url;var r=function(e){for(var t="",n=0,r=0;r<e.length;r+=1)n=e.charCodeAt(r)+2,t+=String.fromCharCode(n);return encodeURIComponent(encodeURIComponent(t))}(e.split("?")[0]),i="".concat(function(){try{return"https://semantic-matching.minutemediaservices.com/semantic-feed"}catch(w){return"https://semantic-matching.minutemediaservices.com/semantic-feed"}}(),"/").concat(r),o="?";return Un(t.minimumDateFactor)||(i="".concat(i).concat(o,"minimum_date_factor=").concat(t.minimumDateFactor),o="&"),Un(t.tags)||(i="".concat(i).concat(o,"tags=").concat(t.tags),o="&"),Un(t.scopedKeywords)||(i="".concat(i).concat(o,"scoped_keywords=").concat(t.scopedKeywords),o="&"),Un(t.scannedElement)||Un(t.scannedElementType)||(i="".concat(i).concat(o,"article_container=").concat(function(e,t){switch(t){case"id":return"".concat("#").concat(e);case"className":return e.split(" ").map(function(e){return"".concat(".").concat(e)}).join("");default:return"".concat("").concat(e)}}(t.scannedElement,t.scannedElementType)),o="&"),Un(t.scanImagesOnPage)||(i="".concat(i).concat(o,"scan_images=").concat(String(t.scanImagesOnPage))),i}},{key:"getSpecificPlaylistUrl",value:function(e,t){return t&&!Un(t.playlist_url)?t.playlist_url:"".concat("https://vms-videos.minutemediaservices.com","/").concat(e,"/").concat(e,".json")}}]),e}(),Ra=function(e,t){var n=e.findIndex(function(e){return e.type===t});return n>=0?e[n].file:""},Da=function(){function e(){Ai()(this,e)}return Vi()(e,null,[{key:"getSemanticPlaylist",value:function(e,t){var n=window.location.href,r=Ca.getSemanticPlaylistUrl(n,e,t);return Aa.preformGet(r)}},{key:"getSpecificPlaylist",value:function(e,t){var n=Ca.getSpecificPlaylistUrl(e,t);return Aa.preformGet(n)}}]),e}();f()(Da,"getPromotedVideos",function(){var e=so()(oo.a.mark(function e(t){var n;return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.map(function(e){return Da.getSpecificPlaylist(e).then(function(e){return e.data}).catch(function(){return[]})}),e.abrupt("return",new Promise(function(e){Promise.all(n).then(function(t){var n=t.reduce(function(e,t){return e.concat(t)},[]);n.length>0&&e(n)})}));case 2:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}());var Ma=function(e,t){return function(n){n({type:"[CORE] load video request success",payload:e.data.map(function(e,n){return{mediaId:e.payload_id,tags:e.tags,sources:e.sources,duration:e.duration,thumbnail:e.image,title:t?e.title:"",description:e.description,creator:e.creator,provider:e.video_provider,externalId:e.external_id,index:n}})})}},Ia=function(e){return function(t){t({type:"[CORE] load video request error",payload:e})}},ka=function(e,t,n){return function(){var r=so()(oo.a.mark(function r(i){var o;return oo.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i({type:"[CORE] load video request"}),r.prev=1,r.next=4,Da.getSpecificPlaylist(e,n);case 4:o=r.sent,Ma(o,t)(i),r.next=11;break;case 8:r.prev=8,r.t0=r.catch(1),Ia(Xn.GENERAL_ERROR)(i);case 11:case"end":return r.stop()}},r,null,[[1,8]])}));return function(e){return r.apply(this,arguments)}}()},Na=function(e,t,n){return function(){var r=so()(oo.a.mark(function r(i){var o,a;return oo.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(i({type:"[CORE] load video request"}),o=[],r.prev=2,!(Array.isArray(e.promotedVideos)&&e.promotedVideos.length>0)){r.next=7;break}return r.next=6,Da.getPromotedVideos(e.promotedVideos);case 6:o=r.sent;case 7:return r.next=9,Da.getSemanticPlaylist(e,n);case 9:(a=r.sent).data=o.concat(a.data),Ma(a,t)(i),r.next=17;break;case 14:r.prev=14,r.t0=r.catch(2),o.length>0?Ma({data:o},t)(i):Ia(Xn.GENERAL_ERROR)(i);case 17:case"end":return r.stop()}},r,null,[[2,14]])}));return function(e){return r.apply(this,arguments)}}()},La=function(e,t){return function(n){n({type:"[CORE] set current video",payload:{index:e,videoData:t}})}};function xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Va(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xa(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xa(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ja={activeVideoIndex:0,mediaType:"semantic",mediaId:"",loadingMedia:!1,mediaLoadingError:"",mediaRequest:{type:null,value:""},videoList:[],videoData:{mediaId:"",tags:[],sources:[],duration:0,thumbnail:"",title:"",showTitle:!0,description:"",creator:"",provider:"",externalId:"",index:0}};function Ua(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ua(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ua(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ba={promotedVideos:[],scannedElement:"",tags:"",scopedKeywords:"",minimumDateFactor:"",scannedElementType:null,scanImagesOnPage:!1};function Ha(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function qa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ha(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ha(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Wa={userInteractionType:""};function za(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ga(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?za(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):za(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var $a={splitViewRatio:null};function Ka(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ya(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ka(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ka(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Za={nextVideo:"none",showUpNext:!1,showSkippableContent:!1},Xa=function(e){return"none"===e?"none":"up_next"===e?"upNext":"skippable_content"===e?"skippableContent":"none"},Ja=function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];"function"===typeof e[i]&&(n[i]=e[i])}var o,a=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:yt.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if("undefined"===typeof n(void 0,{type:yt.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+yt.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(n)}catch(s){o=s}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},s=0;s<a.length;s++){var u=a[s],c=n[u],l=e[u],d=c(l,t);if("undefined"===typeof d){var p=mt(u,t);throw new Error(p)}i[u]=d,r=r||d!==l}return(r=r||a.length!==Object.keys(e).length)?i:e}}({dependenciesLoadingStatus:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:da,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] update hls status":return la(la({},e),{},{loadingHLSStatus:t.payload});case"[CORE] update ima status":return la(la({},e),{},{loadingImaStatus:t.payload});default:return e}},playerData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ha,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":var n=t.payload;return fa({},function(e,t,n){var r=t.playback_method,i=t.player_id;return fa(fa({},e),{},{playbackMethod:Un(r)?e.playbackMethod:r,playerId:Un(i)?e.playerId:i,playerInstanceUniqId:n,playerMode:Fn()?"mobile":"desktop"})}(e,n.initiateParams,n.playerInstanceUniqId));case"[CORE] reset player data time params":return fa(fa({},e),{},{currentVideoTimeFragment:0,currentVideoBufferedTime:0,currentVideoDuration:0,currentVideoTime:0});case"[COMMON] set mute video":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{muted:t.payload})});case"[COMMON] set volume":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{volume:t.payload})});case"[COMMON] change selected settings category":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{selectedSettingsCategory:t.payload})});case"[COMMON] change settings speed":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{speed:t.payload})});case"[COMMON] change settings quality":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{quality:t.payload})});case"[COMMON] set fullscreen":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{fullscreen:fa(fa({},e.playerSettings.fullscreen),{},{isFullscreenOn:t.payload,pendingFullscreenRequest:""})})});case"[COMMON] set fullscreen request":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{fullscreen:fa(fa({},e.playerSettings.fullscreen),{},{pendingFullscreenRequest:t.payload})})});case"[COMMON] set pending video status":var r=t.payload.pendingStatusObject;return fa(fa({},e),{},{pendingVideoTagStatus:fa({},r)});case"[COMMON] set player mode":return fa(fa({},e),{},{playerMode:t.payload});case"[CORE] update video current fragment position":return fa(fa({},e),{},{currentVideoTimeFragment:t.payload});case"[CORE] update video current position":return fa(fa({},e),{},{currentVideoTime:t.payload});case"[CORE] update video current buffered time":return fa(fa({},e),{},{currentVideoBufferedTime:t.payload});case"[CORE] update video current duration":return fa(fa({},e),{},{currentVideoDuration:t.payload});case"[CORE] change video tag status":return fa(fa({},e),{},{videoTagStatus:t.payload});case"[CORE] update player visibility":return fa(fa({},e),{},{playerVisibility:t.payload});case"[CORE] update placeholder visibility":return fa(fa({},e),{},{playerPlaceholderVisibility:t.payload});case"[CORE] change loading player status":return fa(fa({},e),{},{loadingPlayer:t.payload});case"[COMMON] show black screen with loader":return fa(fa({},e),{},{loader:fa(fa({},e.loader),{},{showBlackScreen:t.payload})});case"[CORE] set player size":return fa(fa({},e),{},{playerSize:t.payload});case"[COMMON] set error message":return fa(fa({},e),{},{errorMessage:t.payload});default:return e}},brandingData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:va,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return ga({},function(e,t){var n=t.powered_by_strip,r=t.brand_logo,i=t.brand_logo_click_url,o=t.brand_color;return ga(ga({},e),{},{showVoltaxLogo:Un(n)?e.showVoltaxLogo:n,brandingLogoSrc:Un(r)?e.brandingLogoSrc:r,brandingLogoUrl:Un(i)?e.brandingLogoUrl:i,brandingColor:Un(o)?e.brandingColor:o})}(e,t.payload.initiateParams));default:return e}},anchorOptions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Oa,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return ba({},function(e,t){var n=t.anchor_options;if(!Un(n)){var r=n.anchoring_appearance,i=n.can_close,o=n.closable_ad,a=n.close_after,s=n.continue_streaming,u=n.orientation,c=n.margins,l=n.sticky_below_class_name,d=n.width,p=Un(c)?e.margins:{top:Number.isInteger(c.top)?c.top:e.margins.top,bottom:Number.isInteger(c.bottom)?c.bottom:e.margins.bottom,left:Number.isInteger(c.left)?c.left:e.margins.left,right:Number.isInteger(c.right)?c.right:e.margins.right};return ba(ba({},e),{},{anchoringAppearance:r||e.anchoringAppearance,canClose:Un(i)?e.canClose:i,orientation:Un(u)?e.orientation:u,closableAd:Un(o)?e.closableAd:o,closeAfter:Un(a)?e.closeAfter:a,continueStreaming:Un(s)?e.continueStreaming:s,stickyBelowClassName:Un(l)?e.stickyBelowClassName:l,width:Un(d)?e.width:d,margins:p,anchorData:ba(ba({},e.anchorData),{},{anchorEnabled:!0})})}return e}(e,t.payload.initiateParams));case"[COMMON] set anchor enable":return ba(ba({},e),{},{anchorData:ba(ba({},e.anchorData),{},{anchorEnabled:t.payload})});case"[ANCHOR] update is anchor status":return ba(ba({},e),{},{anchorData:ba(ba({},e.anchorData),{},{anchorStatus:t.payload})});case"[COMMON] set anchor disabled by user":return ba(ba({},e),{},{anchorData:ba(ba({},e.anchorData),{},{anchorDisabledByUser:t.payload})});default:return e}},monetization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:wa,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Sa({},function(e,t){var n=t.monetization;if(Un(n))return e;var r=n.ad_tag,i=n.ad_type,o=n.vpaid_mode,a=n.ad_request_timeout,s=n.continue_content_play_while_waiting_for_ad,u=n.midrolls,c=u&&u.on&&u.on.sort(Wn),l=Un(s)?e.continuePlayingWhileWaitingForAd:s,d=c?c.indexOf(0):-1,p=-1!==d&&!l;return p&&(c=c.splice(d,1)),Sa(Sa({},e),{},{midrolls:Sa(Sa({},e.midrolls),{},{every:u&&u.every,on:c}),prerollEnabled:p,adRequestTimeout:Un(a)?e.adRequestTimeout:parseInt(a,10),vpaidMode:Un(o)?e.vpaidMode:o,continuePlayingWhileWaitingForAd:l,adsData:Sa(Sa({},e.adsData),{},{adType:Un(i)?e.adsData.adType:i,adTagUrlTemplate:Un(r)?e.adsData.adTagUrlTemplate:r})})}(e,t.payload.initiateParams));case"[COMMON] set new ad tag url template":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adTagUrlTemplate:t.payload})});case"[MONETIZATION] change ad status":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adStatus:t.payload,adErrorMessage:null})});case"[MONETIZATION] change ad tag":var n=t.payload,r=n.adUnit,i=n.adTag;return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{currentAdTag:i,adUnit:r})});case"[MONETIZATION] change pending ad status":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{pendingAdStatus:t.payload})});case"[MONETIZATION] change ad error":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adStatus:"error",adErrorMessage:t.payload})});case"[MONETIZATION] increase ad impression counter":var o=e.adsData.adImpression;return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adImpression:o+1})});case"[MONETIZATION] increase ad Opportunity counter":var a=e.adsData.adOpportunity;return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adOpportunity:a+1})});case"[MONETIZATION] add played midroll number":var s=e.adsData.playedMidrolls,u=In()(s);return u.push(t.payload),Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adOrder:t.payload,playedMidrolls:u})});case"[MONETIZATION] clear played midrolls":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{playedMidrolls:[]})});case"[MONETIZATION] clear ad data":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adOrder:0,currentAdTag:null,adDuration:0,adUnit:""})});case"[MONETIZATION] change ad duration":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adDuration:t.payload})});case"[MONETIZATION] update is vast ad":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{isVastAd:t.payload})});case"[MONETIZATION] change ad current time":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adCurrentTime:t.payload})});case"[MONETIZATION] update ad muted":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adMuted:t.payload})});case"[MONETIZATION] change ad volume":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adVolume:t.payload})});case"[MONETIZATION] change pod info":var c=t.payload,l=c.podNumber,d=c.slotNumber;return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{podNumber:l,slotNumber:d})});case"[MONETIZATION] change loading ad status":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{loadingAd:t.payload})});default:return e}},mediaData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ja,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Va({},function(e,t){var n=t.content_type,r=t.media_id,i=t.display_title;return Va(Va({},e),{},{mediaType:Un(n)?e.mediaType:n,mediaId:Un(r)?e.mediaId:r,videoData:Va(Va({},e.videoData),{},{showTitle:!!Un(i)||i})})}(e,t.payload.initiateParams));case"[CORE] load video request":return Va(Va({},e),{},{loadingMedia:!0});case"[CORE] load video request success":return Va(Va({},e),{},{loadingMedia:!1,videoList:t.payload});case"[CORE] set current video":var n=t.payload,r=n.index,i=n.videoData;return Va(Va({},e),{},{activeVideoIndex:r,videoData:i});case"[CORE] load video request error":return Va(Va({},e),{},{loadingMedia:!1,mediaLoadingError:t.payload});case"[COMMON] media request":var o=t.payload.mediaRequestObject;return Va(Va({},e),{},{mediaRequest:Va({},o)});default:return e}},semanticOptions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ba,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Fa({},function(e,t){var n=t.semantic_options;if(Un(n))return e;var r=n.minimum_date_factor,i=n.promoted_videos,o=n.scan_images_on_page,a=n.scanned_element,s=n.scanned_element_type,u=n.scoped_keywords,c=n.tags;return Fa(Fa({},e),{},{minimumDateFactor:Un(r)?e.minimumDateFactor:r,promotedVideos:Un(i)?e.promotedVideos:i,scanImagesOnPage:Un(o)?e.scanImagesOnPage:o,scannedElement:Un(a)?e.scannedElement:a,scannedElementType:Un(s)?e.scannedElementType:s,scopedKeywords:Un(u)?e.scopedKeywords:u,tags:Un(c)?e.tags:c})}(e,t.payload.initiateParams));default:return e}},userInteraction:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Wa,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[USER INTERACTION] change user interaction":return qa(qa({},e),{},{userInteractionType:t.payload});default:return e}},splitView:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Ga({},function(e,t){var n=t.anchor_options;if(!Un(n)){var r=n.split_view,i=n.split_view_ratio;return Ga(Ga({},e),{},{splitViewRatio:Un(r)||!r||Un(i)?e.splitViewRatio:i})}return e}(e,t.payload.initiateParams));default:return e}},discovery:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Za,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Ya({},function(e,t){var n=t.next_video;return Un(n)?e:Ya(Ya({},e),{},{nextVideo:Xa(n)})}(e,t.payload.initiateParams));case"[DISCOVERY] show up next":return Ya(Ya({},e),{},{showUpNext:t.payload});case"[DISCOVERY] show skippable content":return Ya(Ya({},e),{},{showSkippableContent:t.payload});default:return e}}}),Qa=[],es=!1,ts=function e(){return function(t){return function(n){if(es)return Qa.push(n),null;es=!0;var r=t(n);return es=!1,Qa.length>0&&e()(t)(Qa.shift()),r}}},ns=function(e){var t=[];if(function(e){return!Un(e)&&!Un(e.enable_redux_debugging)&&e.enable_redux_debugging}(e)){var n=window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__();"function"===typeof n&&t.push(n)}var r=Et.apply(void 0,[wt(ua,ts)].concat(t));return vt(Ja,r)},rs=function(){function e(t){Ai()(this,e),f()(this,"playerVisibilitySubscriber",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"shouldPlayIfLazyplay",!0),f()(this,"shouldPlayIfAutoplayWhenViewable",!0),f()(this,"videoPausedByObserver",!1),this.store=t,this.playerVisibilitySubscriber=null,this.videoTagStatusSubscriber=null,this.playAccordingToPlaybackMethod()}return Vi()(e,[{key:"lazyplayHandler",value:function(e){hn.playerVisibility(e)>=.5&&(this.playVideo(),this.shouldPlayIfLazyplay=!1)}},{key:"autoplayWhenViewableHandler",value:function(e){hn.playerVisibility(e)>=.5?this.playVideo():this.pauseVideo()}},{key:"onPlayerVisibilityChanged",value:function(e){var t=hn.playbackMethod(e);"lazyplay"===t&&this.shouldPlayIfLazyplay&&this.lazyplayHandler(e),"autoplay_when_viewable"===t&&this.shouldPlayIfAutoplayWhenViewable&&this.autoplayWhenViewableHandler(e)}},{key:"onVideoTagStatusChanged",value:function(e){var t=hn.videoTagStatus(e);"paused"!==t||this.videoPausedByObserver||(this.shouldPlayIfAutoplayWhenViewable=!1),"playing"===t&&(this.shouldPlayIfAutoplayWhenViewable=!0,this.videoPausedByObserver=!1)}},{key:"initiatePlayerVisibilitySubscriber",value:function(){this.playerVisibilitySubscriber=new ji(this.store,e.getPlayerVisibilityDependencies,this.onPlayerVisibilityChanged.bind(this))}},{key:"initiateVideoTagStatusSubscriber",value:function(){this.videoTagStatusSubscriber=new ji(this.store,e.getVideoTagStatusDependencies,this.onVideoTagStatusChanged.bind(this))}},{key:"playVideo",value:function(){var e=this.store,t=e.dispatch,n=e.getState;"idle"===hn.videoTagStatus(n())?on("play")(t):on("resume")(t)}},{key:"pauseVideo",value:function(){var e=this.store,t=e.dispatch,n=e.getState;"paused"!==hn.videoTagStatus(n())&&(this.videoPausedByObserver=!0,on("pause")(t))}},{key:"playAccordingToPlaybackMethod",value:function(){var e=this.store,t=e.dispatch,n=(0,e.getState)();switch(hn.playbackMethod(n)){case"autoplay":this.playVideo();break;case"lazyplay":this.initiatePlayerVisibilitySubscriber();break;case"autoplay_when_viewable":this.initiatePlayerVisibilitySubscriber(),this.initiateVideoTagStatusSubscriber();break;case"none":an(!1)(t)}}}],[{key:"getPlayerVisibilityDependencies",value:function(e){return[hn.playerVisibility(e)]}},{key:"getVideoTagStatusDependencies",value:function(e){return[hn.videoTagStatus(e)]}}]),e}(),is=function(){function e(t,n,r,i){var o=this;Ai()(this,e),f()(this,"videoStatusSubscriber",void 0),f()(this,"videoListSubscriber",void 0),f()(this,"mediaRequestSubscriber",void 0),f()(this,"playerVisibilitySubscriber",void 0),f()(this,"playbackMethodManager",void 0),f()(this,"store",void 0),f()(this,"loadContent",function(e,t,n,r){o.loadMedia(t,n,r).then(function(){o.playbackMethodManager=new rs(e)})}),f()(this,"loadMedia",function(e,t,n){var r=o.store,i=r.dispatch,a=r.getState,s=Dn.showTitle(a());if("semantic"===e){var u=pn.semanticOptions(a());return Na(u,s,n)(i)}return ka(t,s,n)(i)}),this.store=t,this.videoStatusSubscriber=new ji(t,e.getVideoStatusDependencies,this.onVideoStatusChanged.bind(this)),this.videoListSubscriber=new ji(t,e.getVideoListDependencies,this.onVideoListChanged.bind(this)),this.mediaRequestSubscriber=new ji(t,e.getMediaRequestDependencies,this.onMediaRequestChanged.bind(this)),this.playerVisibilitySubscriber=null,this.loadContent(t,r,n,i)}return Vi()(e,null,[{key:"createInstance",value:function(t,n,r,i){return new e(t,n,r,i)}}]),Vi()(e,[{key:"playNextVideo",value:function(e){var t=this.store.dispatch,n=Cn.videoList(e),r=Cn.activeVideoIndex(e)+1;n.length>1&&r>=n.length&&(r=0),r<n.length&&(!function(e){e({type:"[CORE] reset player data time params"})}(t),La(r,n[r])(t),on("play")(t))}},{key:"playPreviousVideo",value:function(e){var t=this.store.dispatch,n=Cn.videoList(e),r=Cn.activeVideoIndex(e);if(r>0){var i=r-1;La(i,n[i])(t),on("play")(t)}}},{key:"onVideoStatusChanged",value:function(e){"complete"===hn.videoTagStatus(e)&&this.playNextVideo(e)}},{key:"onVideoListChanged",value:function(e){var t=this.store.dispatch,n=Cn.videoList(e);!jn(n)&&n.length>0&&La(0,n[0])(t)}},{key:"onMediaRequestChanged",value:function(e){var t=Cn.mediaRequest(e);switch(t.type){case"playNewVideo":this.loadMedia("specific",t.value);break;case"playNextVideo":this.playNextVideo(e);break;case"playPreviousVideo":this.playPreviousVideo(e)}}}],[{key:"getVideoStatusDependencies",value:function(e){return[hn.videoTagStatus(e)]}},{key:"getVideoListDependencies",value:function(e){return[Cn.videoList(e)]}},{key:"getMediaRequestDependencies",value:function(e){return[Cn.mediaRequest(e)]}}]),e}(),os=function e(t){var n=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"onDependencyFailure",function(e,t){console.log("onDependencyFailure",e,t);var r=n.store,i=r.dispatch,o=r.getState;switch(e){case"ima":"blocked"!==Fi.loadingImaStatus(o())&&Qn("error")(i);break;case"hls":er("error")(i)}}),f()(this,"onDependencyReady",function(e){var t=n.store.dispatch;switch(e){case"ima":Qn("success")(t);break;case"hls":er("success")(t)}}),this.store=t},as=function(e){return function(t){t({type:"[COMMON] set fullscreen",payload:e})}},ss=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"videoTag",void 0),f()(this,"pendingFullscreenSubscriber",void 0),f()(this,"adStatusSubscriber",void 0),f()(this,"playerUniqId",void 0),f()(this,"onAdStatusChanged",function(e){var t=_i.adStatus(e),n=r.videoTag.webkitDisplayingFullscreen;"playing"===t&&Bn()&&n&&r.exitFullscreen(r.videoTag)}),f()(this,"isPlayerInFullscreen",function(){var e=document,t=Bn()?En(r.playerUniqId):bn(r.playerUniqId);return Un(e.fullscreenElement)?!Un(e.webkitFullscreenElement)&&0===e.webkitFullscreenElement.id.localeCompare(t):0===e.fullscreenElement.id.localeCompare(t)}),f()(this,"changePlayerWidth",function(e){r.videoTag.style.width=e?"100%":"auto"}),f()(this,"onFullscreenChanged",function(){var e=r.store.dispatch,t=r.isPlayerInFullscreen();r.changePlayerWidth(t),as(t)(e)}),f()(this,"onFullscreenChangedIos",function(){var e=r.store.dispatch,t=r.videoTag.webkitDisplayingFullscreen;t||on("resume")(e),r.changePlayerWidth(t),as(t)(e)}),f()(this,"onPendingFullscreenRequestChanged",function(e){var t=gn.pendingFullscreenRequest(e);"enter"===t?r.enterFullscreen(r.videoTag):"exit"===t&&r.exitFullscreen(r.videoTag)}),f()(this,"getFullScreenElement",function(e,t){var n=document.getElementById(bn(r.playerUniqId));return Bn()?t:e?document:n}),f()(this,"enterFullscreen",function(e){var t=r.getFullScreenElement(!1,e);Bn()?t.webkitEnterFullscreen():document.webkitExitFullscreen?t.webkitRequestFullscreen():document.webkitCancelFullScreen?t.webkitRequestFullScreen():document.mozCancelFullScreen?t.mozRequestFullScreen():document.msExitFullscreen&&t.msRequestFullscreen()}),f()(this,"exitFullscreen",function(e){var t=r.getFullScreenElement(!0,e);document.webkitExitFullscreen||Bn()?t.webkitExitFullscreen():document.webkitCancelFullScreen?t.webkitCancelFullScreen():document.mozCancelFullScreen?t.mozCancelFullScreen():document.msExitFullscreen&&t.msExitFullscreen()}),this.store=t,this.videoTag=document.getElementById(En(n)),this.playerUniqId=n,document.addEventListener("fullscreenchange",this.onFullscreenChanged.bind(this)),document.addEventListener("webkitfullscreenchange",this.onFullscreenChanged.bind(this)),Bn()&&(this.videoTag.addEventListener("webkitendfullscreen",this.onFullscreenChangedIos.bind(this)),this.videoTag.addEventListener("webkitbeginfullscreen",this.onFullscreenChangedIos.bind(this))),this.pendingFullscreenSubscriber=new ji(t,e.getPendingFullscreenDependencies,this.onPendingFullscreenRequestChanged.bind(this)),this.adStatusSubscriber=new ji(t,e.getAdStatusDependencies,this.onAdStatusChanged.bind(this))}return Vi()(e,null,[{key:"createInstance",value:function(t,n){return new e(t,n)}}]),Vi()(e,null,[{key:"getPendingFullscreenDependencies",value:function(e){return[gn.pendingFullscreenRequest(e)]}},{key:"getAdStatusDependencies",value:function(e){return[_i.adStatus(e)]}}]),e}();function us(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function cs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?us(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):us(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ls,ds=function(e){return function(e){return e&&window.monti.playerConfigs&&window.monti.playerConfigs[e]}(e)?function(e){return window.monti.playerConfigs[e]}(e):window.monti.playerConfigs?window.monti.playerConfigs&&window.monti.playerConfigs[Object.keys(window.monti.playerConfigs)[0]]:null},ps=function e(t){var n=this;Ai()(this,e),f()(this,"videoTag",void 0),f()(this,"isBufferError",void 0),f()(this,"hls",void 0),f()(this,"hlsSetup",function(e,t,r,i){n.initiateHls(e),n.loadHlsSource(e,t,r,i)}),f()(this,"detachMedia",function(){Un(n.hls)||(n.hls.detachMedia(),n.hls.destroy(),n.hls=null)}),f()(this,"initiateHls",function(e){n.hls=new e,n.hls.attachMedia(n.videoTag)}),f()(this,"loadHlsSource",function(e,t,r,i){n.hls.on(e.Events.MEDIA_ATTACHED,function(){n.hls.loadSource(t)}),n.hls.on(e.Events.ERROR,function(t,o){n.mapHlsToErrors(e,o,i),t.details===e.ErrorDetails.BUFFER_STALLED_ERROR&&(r(!0),n.isBufferError=!0)}),n.hls.on(e.Events.FRAG_BUFFERED,function(){n.isBufferError&&(r(!1),n.isBufferError=!1)})}),f()(this,"mapHlsToErrors",function(e,t,r){if(t.fatal)switch(t.type){case e.ErrorTypes.NETWORK_ERROR:r(Xn.GENERAL_ERROR),n.hls.startLoad();break;case e.ErrorTypes.MEDIA_ERROR:r(Xn.GENERAL_ERROR),n.hls.recoverMediaError();break;default:r(Xn.GENERAL_ERROR),n.hls.destroy()}}),this.hls=void 0,this.videoTag=t,this.isBufferError=!1},fs=function e(){var t=this;Ai()(this,e),f()(this,"videoStreaming",void 0),f()(this,"hlsLibrarySetup",function(e,n,r,i){Un(t.videoStreaming)||t.videoStreaming.detachMedia(),t.videoStreaming=new ps(e),t.videoStreaming.hlsSetup(ls,n,r,i)})};f()(fs,"shouldLoadVideoStreamingSrcDirectly",function(e,t,n){return"no-need"===n&&!(""===e.canPlayType("application/vnd.apple.mpegurl"))}),f()(fs,"shouldUseHlsLibrary",function(e,t){return"success"===t&&(ls=void 0!==window.Hls?Hls:mmHls).isSupported()}),f()(fs,"isValidHlsUrl",function(e){return!Un(e)&&!e.includes(".mp4")}),f()(fs,"suitableVideoSource",function(e,t,n){return fs.isValidHlsUrl(t)?fs.shouldUseHlsLibrary(t,n)?"m3u8 with hls":fs.shouldLoadVideoStreamingSrcDirectly(e,t,n)?"m3u8 directly":"loading"!==n?"mp4":"":"mp4"}),f()(fs,"loadHlsVideoDirectly",function(e,t){e.setAttribute("src",t),e.load()});var hs=function(e){return function(t){t({type:"[MONETIZATION] change pending ad status",payload:{type:e}})}},ys="video/mp4",gs="application/vnd.apple.mpegurl",vs=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"videoTag",void 0),f()(this,"prerollEnabled",void 0),f()(this,"pendingVideoStatusSubscriber",void 0),f()(this,"videoStreamingManager",void 0),f()(this,"videoDataSubscriber",void 0),f()(this,"hlsLoadingStatusSubscriber",void 0),f()(this,"newVideoDataLoaded",void 0),f()(this,"onHlsLoadingStatusChanged",function(e){"success"===Fi.loadingHLSStatus(e)&&(r.newVideoDataLoaded=!0,r.onPendingVideoStatusChanged(e))}),f()(this,"onPendingVideoStatusChanged",function(e){var t=hn.pendingVideoTagStatus(e),n=Dn.sources(e),i=Fi.loadingHLSStatus(e),o="blocked"===Fi.loadingImaStatus(e);r.handlePendingVideoStatus(t,n,i,o)}),f()(this,"onVideoDataChanged",function(){r.newVideoDataLoaded=!0}),f()(this,"sendPrerollPlayRequest",function(){var e=r.store.dispatch;hs("playPreroll")(e)}),f()(this,"handlePlayRequest",function(e,t,n){var i=r.store.dispatch;if(e&&e.length>0){if(r.newVideoDataLoaded&&(r.loadVideoSource(r.videoTag,e,t),r.newVideoDataLoaded=!1,r.prerollEnabled&&!n))return void r.sendPrerollPlayRequest();r.videoTag.play().catch(function(e){return console.error("Error playing the video: ",e)})}else dn(Xn.VIDEO_ERROR)(i)}),f()(this,"handlePendingVideoStatus",function(e,t,n,i){switch(e.type){case"play":r.handlePlayRequest(t,n,i);break;case"resume":r.videoTag.play().catch(function(e){return console.error("Error resuming the video: ",e)});break;case"pause":r.videoTag.pause();break;case"replay":r.videoTag.currentTime=0,r.videoTag.play().catch(function(e){return console.error("Error replaying the video: ",e)});break;case"seekTo":r.videoTag.pause(),r.videoTag.currentTime=e.value}}),f()(this,"loadMp4Source",function(e,t,n){var r=Ra(t,ys);n.setAttribute("src",r),n.load()}),f()(this,"loadVideoSource",function(e,t,n){var i=r.store.dispatch,o=Ra(t,gs);switch(fs.suitableVideoSource(e,o,n)){case"mp4":r.loadMp4Source(n,t,e);break;case"m3u8 with hls":r.videoStreamingManager.hlsLibrarySetup(e,o,function(e){return un(e)(i)},function(e){return dn(e)(i)});break;case"m3u8 directly":fs.loadHlsVideoDirectly(e,o)}}),this.store=t;var i=t.getState;this.videoStreamingManager=new fs,this.videoTag=document.getElementById(En(n)),this.prerollEnabled=bi.prerollEnabled(i()),this.pendingVideoStatusSubscriber=new ji(t,e.getPendingVideoStatusDependencies,this.onPendingVideoStatusChanged.bind(this)),this.videoDataSubscriber=new ji(t,e.getVideoDataDependencies,this.onVideoDataChanged.bind(this)),this.hlsLoadingStatusSubscriber=new ji(t,e.getHLSLoadingStatusDependencies,this.onHlsLoadingStatusChanged.bind(this))}return Vi()(e,null,[{key:"createInstance",value:function(t,n){return new e(t,n)}}]),Vi()(e,null,[{key:"getHLSLoadingStatusDependencies",value:function(e){return[Fi.loadingHLSStatus(e)]}},{key:"getPendingVideoStatusDependencies",value:function(e){return[hn.pendingVideoTagStatus(e)]}},{key:"getVideoDataDependencies",value:function(e){return[Cn.videoData(e)]}}]),e}();function ms(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ms(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ms(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Os={READY_EVENT:"ready",PLAY_EVENT:"play",PAUSE_EVENT:"pause",TIME_EVENT:"time",SEEK_EVENT:"seek",COMPLETE_EVENT:"complete",VOLUME_EVENT:"volume",MUTE_EVENT:"mute"},_s=Object.values(Os),Ss={FULLSCREEN_EVENT:"fullscreen",ANCHOR_STATUS_EVENT:"anchorStatusChanged",ANCHOR_CLOSED_EVENT:"anchorClosed"},Es={AD_PLAY_EVENT:"adPlay",AD_PAUSE_EVENT:"adPause",AD_RESUME_EVENT:"adResume",AD_COMPLETE_EVENT:"adComplete",AD_TIME_EVENT:"adTime",AD_MUTE_EVENT:"adMute",AD_SKIPPED_EVENT:"adSkipped",AD_ERROR_EVENT:"adError",AD_BLOCK_EVENT:"adBlock",AD_REQUEST_EVENT:"adRequest",AD_OPPORTUNITY_EVENT:"adOpportunity",AD_IMPRESSION_EVENT:"adImpression"},ws=Object.values(Es),Ps=Object.values(bs(bs(bs({},Os),Es),Ss)),Ts=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"eventsCallbacksHandler",void 0),f()(this,"store",void 0),f()(this,"videoStatusSubscriber",void 0),f()(this,"videoMuteSubscriber",void 0),f()(this,"videoVolumeSubscriber",void 0),f()(this,"videoTimeFragmentSubscriber",void 0),f()(this,"videoListStoreSubscriber",void 0),f()(this,"previousVideoTagStatus",void 0),f()(this,"startSeekTime",0),f()(this,"canHandleReady",function(e,t,n){if(t===Os.READY_EVENT){var r=Cn.videoList(e);if(Array.isArray(r)&&r.length>0)return n(),!0}return!1}),f()(this,"canBeHandled",function(e,t){var n=r.store.getState;return r.canHandleReady(n(),e,t)}),f()(this,"reportSeekEnd",function(e){var t={position:hn.currentVideoTimeFragment(e),offset:r.startSeekTime};r.eventsCallbacksHandler.onEvent(Os.SEEK_EVENT,t)}),f()(this,"onMuteStateChanged",function(e){var t=gn.muted(e);r.eventsCallbacksHandler.onEvent(Os.MUTE_EVENT,{state:t})}),f()(this,"onVolumeChanged",function(e){var t=gn.muted(e),n=gn.volume(e);r.eventsCallbacksHandler.onEvent(Os.VOLUME_EVENT,{level:t?0:n})}),f()(this,"onVideoTimeFragmentChanged",function(e){var t=hn.currentVideoTimeFragment(e),n=hn.currentVideoDuration(e);r.eventsCallbacksHandler.onEvent(Os.TIME_EVENT,{duration:n,position:t})}),f()(this,"onVideoListChanged",function(){r.eventsCallbacksHandler.onEvent(Os.READY_EVENT)}),this.store=t,this.eventsCallbacksHandler=n,this.videoStatusSubscriber=new ji(t,e.getVideoStatusDependencies,this.onVideoStatusChanged.bind(this)),this.videoMuteSubscriber=new ji(t,e.getVideoMuteDependencies,this.onMuteStateChanged.bind(this)),this.videoVolumeSubscriber=new ji(t,e.getVolumeDependencies,this.onVolumeChanged.bind(this)),this.videoTimeFragmentSubscriber=new ji(t,e.getVideoTimeDependencies,this.onVideoTimeFragmentChanged.bind(this)),this.videoListStoreSubscriber=new ji(t,e.getVideoListDependencies,this.onVideoListChanged.bind(this)),this.previousVideoTagStatus=hn.videoTagStatus(t.getState())}return Vi()(e,[{key:"onVideoStatusChanged",value:function(e){var t=hn.videoTagStatus(e);switch("seeking"===this.previousVideoTagStatus&&this.reportSeekEnd(e),t){case"paused":this.eventsCallbacksHandler.onEvent(Os.PAUSE_EVENT);break;case"seeking":this.startSeekTime=hn.currentVideoTimeFragment(e);break;case"complete":this.eventsCallbacksHandler.onEvent(Os.COMPLETE_EVENT);break;case"playing":this.eventsCallbacksHandler.onEvent(Os.PLAY_EVENT)}this.previousVideoTagStatus=t}}],[{key:"getVideoStatusDependencies",value:function(e){return[hn.videoTagStatus(e)]}}]),e}();f()(Ts,"getVideoMuteDependencies",function(e){return[gn.muted(e)]}),f()(Ts,"getVolumeDependencies",function(e){return[gn.volume(e)]}),f()(Ts,"getVideoTimeDependencies",function(e){return[hn.currentVideoTimeFragment(e)]}),f()(Ts,"getVideoListDependencies",function(e){return[Cn.videoList(e)]}),f()(Ts,"isContentEvent",function(e){return _s.some(function(t){return t===e})});var As=function e(t,n){var r=this;Ai()(this,e),f()(this,"eventsCallbacksHandler",void 0),f()(this,"store",void 0),f()(this,"fullscreenSubscriber",void 0),f()(this,"anchorStatusSubscriber",void 0),f()(this,"anchorDisabledByUserSubscriber",void 0),f()(this,"onFullscreenChanged",function(e){var t=gn.isFullscreenOn(e);r.eventsCallbacksHandler.onEvent(Ss.FULLSCREEN_EVENT,{state:t})}),f()(this,"onAnchorStatusChanged",function(e){var t="active"===Pr(e)?"activated":"deactivated";r.eventsCallbacksHandler.onEvent(Ss.ANCHOR_STATUS_EVENT,{state:t})}),f()(this,"onAnchorDisabledByUser",function(e){if(wr(e)){var t=hn.currentVideoTimeFragment(e);r.eventsCallbacksHandler.onEvent(Ss.ANCHOR_CLOSED_EVENT,{position:t})}}),this.store=t,this.eventsCallbacksHandler=n,this.fullscreenSubscriber=new ji(t,e.getFullscreenDependencies,this.onFullscreenChanged.bind(this)),this.anchorStatusSubscriber=new ji(t,e.getAnchorStatusDependencies,this.onAnchorStatusChanged.bind(this)),this.anchorDisabledByUserSubscriber=new ji(t,e.getAnchorDisabledByUserDependencies,this.onAnchorDisabledByUser.bind(this))};f()(As,"getFullscreenDependencies",function(e){return[gn.isFullscreenOn(e)]}),f()(As,"getAnchorStatusDependencies",function(e){return[Pr(e)]}),f()(As,"getAnchorDisabledByUserDependencies",function(e){return[wr(e)]});var Cs=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"eventsCallbacksHandler",void 0),f()(this,"adStatusSubscriber",void 0),f()(this,"adImpressionSubscriber",void 0),f()(this,"adOpportunitySubscriber",void 0),f()(this,"adTimeSubscriber",void 0),f()(this,"adMuteSubscriber",void 0),f()(this,"adProviderLoadingStatusSubscriber",void 0),f()(this,"previousAdStatus",void 0),f()(this,"canBeHandled",function(e,t){var n=r.store.getState;switch(Fi.loadingImaStatus(n())){case"loading":return!1;case"success":case"error":return!0;case"blocked":return t(),!0;case"":default:return!1}}),f()(this,"onAdStatusChanged",function(e){var t=_i.adStatus(e),n=_i.currentAdTag(e);switch(t){case"requested":r.eventsCallbacksHandler.onEvent(Es.AD_REQUEST_EVENT,{tag:n});break;case"paused":r.eventsCallbacksHandler.onEvent(Es.AD_PAUSE_EVENT,{tag:n});break;case"completed":r.eventsCallbacksHandler.onEvent(Es.AD_COMPLETE_EVENT,{tag:n});break;case"skipped":r.eventsCallbacksHandler.onEvent(Es.AD_SKIPPED_EVENT,{tag:n});break;case"playing":"paused"===r.previousAdStatus?r.eventsCallbacksHandler.onEvent(Es.AD_RESUME_EVENT,{tag:n}):r.eventsCallbacksHandler.onEvent(Es.AD_PLAY_EVENT,{tag:n});break;case"error":var i=_i.adErrorMessage(e);r.eventsCallbacksHandler.onEvent(Es.AD_ERROR_EVENT,{tag:n,message:i})}r.previousAdStatus=t}),f()(this,"onAtTimeChanged",function(e){var t=_i.adCurrentTime(e),n=_i.currentAdTag(e),i=_i.adDuration(e);r.eventsCallbacksHandler.onEvent(Es.AD_TIME_EVENT,{position:t,tag:n,duration:i})}),f()(this,"onAdMuteChanged",function(e){var t=_i.adMuted(e);r.eventsCallbacksHandler.onEvent(Es.AD_MUTE_EVENT,{state:t})}),f()(this,"onAdProviderLoadingChanged",function(e){"blocked"===Fi.loadingImaStatus(e)&&r.eventsCallbacksHandler.onEvent(Es.AD_BLOCK_EVENT)}),f()(this,"onAdImpressionChanged",function(e){var t=_i.currentAdTag(e);r.eventsCallbacksHandler.onEvent(Es.AD_IMPRESSION_EVENT,{tag:t})}),f()(this,"onAdOpportunityChanged",function(e){var t=_i.currentAdTag(e);r.eventsCallbacksHandler.onEvent(Es.AD_OPPORTUNITY_EVENT,{tag:t})}),this.store=t,this.eventsCallbacksHandler=n,this.previousAdStatus=_i.adStatus(t.getState()),this.adStatusSubscriber=new ji(t,e.getAdStatusDependencies,this.onAdStatusChanged.bind(this)),this.adTimeSubscriber=new ji(t,e.getAdTimeDependencies,this.onAtTimeChanged.bind(this)),this.adMuteSubscriber=new ji(t,e.getAdMuteDependencies,this.onAdMuteChanged.bind(this)),this.adImpressionSubscriber=new ji(t,e.getAdImpressionDependencies,this.onAdImpressionChanged.bind(this)),this.adOpportunitySubscriber=new ji(t,e.getAdOpportunitySubscriberDependencies,this.onAdOpportunityChanged.bind(this)),this.adProviderLoadingStatusSubscriber=new ji(t,e.getAdProviderLoadingDependencies,this.onAdProviderLoadingChanged.bind(this))}return Vi()(e,null,[{key:"getAdStatusDependencies",value:function(e){return[_i.adStatus(e)]}},{key:"getAdTimeDependencies",value:function(e){return[_i.adCurrentTime(e)]}},{key:"getAdMuteDependencies",value:function(e){return[_i.adMuted(e)]}},{key:"getAdProviderLoadingDependencies",value:function(e){return[Fi.loadingImaStatus(e)]}}]),e}();f()(Cs,"isAdEvent",function(e){return ws.some(function(t){return t===e})}),f()(Cs,"getAdImpressionDependencies",function(e){return[_i.adImpression(e)]}),f()(Cs,"getAdOpportunitySubscriberDependencies",function(e){return[_i.adOpportunity(e)]});var Rs=function e(t){var n=this;Ai()(this,e),f()(this,"contentEvents",void 0),f()(this,"generalEvents",void 0),f()(this,"adEvents",void 0),f()(this,"subscribers",{}),f()(this,"onRegisterToEvent",function(e,t,r){n.isValidEvent(e)&&(Ts.isContentEvent(e)&&n.contentEvents.canBeHandled(e,t)||Cs.isAdEvent(e)&&n.adEvents.canBeHandled(e,t())||n.getEventSubscribersList(e).push({callback:t,once:r}))}),f()(this,"isValidEvent",function(e){return Ps.some(function(t){return t===e})}),f()(this,"getEventSubscribersList",function(e){return Array.isArray(n.subscribers[e])||(n.subscribers[e]=[]),n.subscribers[e]}),f()(this,"filterOutOnceCallbacks",function(e,t){n.subscribers[e]=t.filter(function(e){return!e.once})}),f()(this,"onEvent",function(e,t){var r=n.getEventSubscribersList(e);r.forEach(function(e){(0,e.callback)(t)}),n.filterOutOnceCallbacks(e,r)}),this.contentEvents=new Ts(t,this),this.generalEvents=new As(t,this),this.adEvents=new Cs(t,this)},Ds=function(){function e(t){Ai()(this,e),f()(this,"eventsHandler",void 0),this.eventsHandler=new Rs(t)}return Vi()(e,[{key:"on",value:function(e,t){this.eventsHandler.onRegisterToEvent(e,t,!1)}},{key:"once",value:function(e,t){this.eventsHandler.onRegisterToEvent(e,t,!0)}}]),e}();function Ms(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Is(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ms(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ms(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ks=function(){var e=window.monti.dataset;return jn(e)?(e={players:{},preact:Is(Is({},r),i),store:{},plugins:{}},window.monti.dataset=e,e):e},Ns=function(e){var t=function(){var e=(new Date).getTime(),t=performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var r=16*Math.random();return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),("x"===n?r:3&r|8).toString(16)})}(),n=function(e,t){var n=ns(e.dev_config),r=ks(),i=n.dispatch;return r.store[t]=n,function(e,t){return function(n){n({type:"[CORE] initiate store",payload:{initiateParams:e,playerInstanceUniqId:t}})}}(e,t)(i),n}(e,t);return function(e,t,n){B(b(Pi,{playerId:t,store:n,playerPosition:e}),e)}(e.player_pos,t,n),oa.getInstance().loadInternalPlugins(n,t,e),ss.createInstance(n,t),vs.createInstance(n,t),is.createInstance(n,e.media_id,e.content_type,e.dev_config),function(e){var t=e.dispatch;if(er(Ci.getInstance().getHLSLoadingStatus())(t),Qn(Ci.getInstance().getIMALoadingStatus())(t),!Ci.getInstance().isDependenciesReady()){var n=new os(e);Ci.getInstance().addDependenciesCallback(n)}}(n),function(e,t){ks().players[t]=new Ds(e)}(n,t),t},Ls=function(e){return console.log("player initiation start",e),new Promise(function(t,n){try{var r=function(e){var t=e.player_pos||document.currentScript.parentElement,n=e.media_id||e.content_id;return cs(cs({},e),{},{player_pos:t,media_id:n})}(function(e){var t=e.player_id,n=ds(t);return null===n?e:cs(cs({},e),n)}(e)),i=Ns(r);!function(e){var t=new CustomEvent("montiConfigLoaded",{detail:{playerKey:e}});window.dispatchEvent(t)}(i),t(i)}catch(o){console.error("Player initiation error",o),n(o)}})},xs=function(){return{initiate:Ls}};window.monti=xs,Ci.getInstance().loadExternalDependencies()}]); window.monti().initiate(Object.assign({player_pos: document.currentScript.parentElement}, {"is_conflicting_with_other_jw_players":false,"programmatic_play_with_sound_on_desktop":false,"referrer_id":"af93e181-b289-0560-a2bf-808e93bb05bc","width":"100","comscore_publisher_id":"18120612","monetization":{"ad_type":"static_tag","continue_content_play_while_waiting_for_ad":false,"strategy":"on_player_load","ad_request_timeout":"10000","midrolls":{"on":[0]},"vpaid_mode":"ENABLED","ad_tag":"https://pubads.g.doubleclick.net/gampad/ads?sz=400x300|640x480|480x270|640x360&iu=/175840252/MMPlus/smithsonianmag/Video&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url=##REFERRER_URL_UNESC##&description_url=##DESCRIPTION_URL_UNESC##&correlator=##CACHEBUSTER##&cust_params=mm_midroll%3D##MIDROLL_ORDER##%26video_ID%3D##VIDEO_ID##"},"sponsorship":false,"player_identifier":"mplayer","recommendation_id":null,"brand_color":"#FF9900","powered_by_strip":true,"platform":"buffy","type":"video","config_name":"MM+ | Smithsonianmag | Podding","player_id":"3v9g2u2f","playlist_id":"fSkmeWKF","playback_method":"autoplay","anchor_viewability_method":"none","player_version":"v4","playlist_type":"semantic","semantic_options":{"scan_images_on_page":true,"scanned_element":"","tags":"geogrophy,nature,animals,habitat,outdoors,science,history","minimum_date_factor":30,"scanned_element_type":"tag","scoped_keywords":"mentalfloss","promoted_videos":[]},"script_destination":"mm","publisher_contribution":"floor8","general_script_description":"","brand_logo":"","brand_logo_click_url":"","next_video":"none","uniq_key":"af93e181-b289-0560-a2bf-808e93bb05bc","content_id":"fSkmeWKF","content_type":"semantic"})); Finland has vastly improved in reading, math and science literacy over the past decade in large part because its teachers are trusted to do whatever it takes to turn young lives around. This 13-year-old, Besart Kabashi, received something akin to royal tutoring. “I took Besart on that year as my private student,” Louhivuori told me in his office, which boasted a Beatles “Yellow Submarine” poster on the wall and an electric guitar in the closet. When Besart was not studying science, geography and math, he was parked next to Louhivuori’s desk at the front of his class of 9- and 10-year- olds, cracking open books from a tall stack, slowly reading one, then another, then devouring them by the dozens. By the end of the year, the son of Kosovo war refugees had conquered his adopted country’s vowel-rich language and arrived at the realization that he could, in fact, learn. Years later, a 20-year-old Besart showed up at Kirkkojarvi’s Christmas party with a bottle of Cognac and a big grin. “You helped me,” he told his former teacher. Besart had opened his own car repair firm and a cleaning company. “No big fuss,” Louhivuori told me. “This is what we do every day, prepare kids for life.” This tale of a single rescued child hints at some of the reasons for the tiny Nordic nation’s staggering record of education success, a phenomenon that has inspired, baffled and even irked many of America’s parents and educators. Finnish schooling became an unlikely hot topic after the 2010 documentary film Waiting for “Superman” contrasted it with America’s troubled public schools. “Whatever it takes” is an attitude that drives not just Kirkkojarvi’s 30 teachers, but most of Finland’s 62,000 educators in 3,500 schools from Lapland to Turku—professionals selected from the top 10 percent of the nation’s graduates to earn a required master’s degree in education. Many schools are small enough so that teachers know every student. If one method fails, teachers consult with colleagues to try something else. They seem to relish the challenges. Nearly 30 percent of Finland’s children receive some kind of special help during their first nine years of school. The school where Louhivuori teaches served 240 first through ninth graders last year; and in contrast with Finland’s reputation for ethnic homogeneity, more than half of its 150 elementary-level students are immigrants—from Somalia, Iraq, Russia, Bangladesh, Estonia and Ethiopia, among other nations. “Children from wealthy families with lots of education can be taught by stupid teachers,” Louhivuori said, smiling. “We try to catch the weak students. It’s deep in our thinking.” Advertisement scroll for more The transformation of the Finns’ education system began some 40 years ago as the key propellent of the country’s economic recovery plan. Educators had little idea it was so successful until 2000, when the first results from the Programme for International Student Assessment (PISA), a standardized test given to 15-year-olds in more than 40 global venues, revealed Finnish youth to be the best young readers in the world. Three years later, they led in math. By 2006, Finland was first out of 57 countries (and a few cities) in science. In the 2009 PISA scores released last year, the nation came in second in science, third in reading and sixth in math among nearly half a million students worldwide. “I’m still surprised,” said Arjariita Heikkinen, principal of a Helsinki comprehensive school. “I didn’t realize we were that good.” In the United States, which has muddled along in the middle for the past decade, government officials have attempted to introduce marketplace competition into public schools. In recent years, a group of Wall Street financiers and philanthropists such as Bill Gates have put money behind private-sector ideas, such as vouchers, data-driven curriculum and charter schools, which have doubled in number in the past decade. President Obama, too, has apparently bet on compe­tition. His Race to the Top initiative invites states to compete for federal dollars using tests and other methods to measure teachers, a philosophy that would not fly in Finland. “I think, in fact, teachers would tear off their shirts,” said Timo Heikkinen, a Helsinki principal with 24 years of teaching experience. “If you only measure the statistics, you miss the human aspect.”

      The facts show that America has it all wrong in putting to much emphasis on national "data-driven" competition. These approaches take away from the unique aspects of each child.

    2. t was the end of term at Kirkkojarvi Comprehensive School in Espoo, a sprawling suburb west of Helsinki, when Kari Louhivuori, a veteran teacher and the school’s principal, decided to try something extreme—by Finnish standards. One of his sixth-grade students, a Kosovo-Albanian boy, had drifted far off the learning grid, resisting his teacher’s best efforts. The school’s team of special educators—including a social worker, a nurse and a psychologist—convinced Louhivuori that laziness was not to blame. So he decided to hold the boy back a year, a measure so rare in Finland it’s practically obsolete. function dispatchComscoreLoadedEvent(){ let event = new Event('MPlayerComscoreLoaded'); window.dispatchEvent(event); } !function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=68)}([function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){e.exports=n(47)},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){"use strict";var r=n(21),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&"object"===typeof e}function u(e){return"[object Function]"===i.call(e)}function c(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:s,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:u,isStream:function(e){return s(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!==typeof window&&"undefined"!==typeof document},forEach:c,merge:function e(){var t={};function n(n,r){"object"===typeof t[r]&&"object"===typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return t},deepMerge:function e(){var t={};function n(n,r){"object"===typeof t[r]&&"object"===typeof n?t[r]=e(t[r],n):t[r]="object"===typeof n?e({},n):n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return t},extend:function(e,t,n){return c(t,function(t,i){e[i]=n&&"function"===typeof t?r(t,n):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t){function n(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise(function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,u,"next",e)}function u(e){n(a,i,o,s,u,"throw",e)}s(void 0)})}}},function(e,t,n){var r=n(48);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(49),i=n(3);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?i(e):t}},function(e,t,n){var r=n(42),i=n(43),o=n(18),a=n(44);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||a()}},function(e,t,n){var r=n(39),i=n(40),o=n(18),a=n(41);e.exports=function(e){return r(e)||i(e)||o(e)||a()}},function(e,t,n){var r=n(45);e.exports=function(e,t){if(null==e)return{};var n,i,o=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t,n){var r=n(50);function i(t,n,o){return"undefined"!==typeof Reflect&&Reflect.get?e.exports=i=Reflect.get:e.exports=i=function(e,t,n){var i=r(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(n):o.value}},i(t,n,o||t)}e.exports=i},function(e,t,n){"use strict";e.exports=n(36)},function(e,t,n){"use strict";var r=n(14),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var i=f(n);i&&i!==h&&e(t,i,r)}var a=l(n);d&&(a=a.concat(d(n)));for(var s=u(t),y=u(n),g=0;g<a.length;++g){var v=a[g];if(!o[v]&&(!r||!r[v])&&(!y||!y[v])&&(!s||!s[v])){var m=p(n,v);try{c(t,v,m)}catch(b){}}}}return t}},function(e,t,n){"use strict";(function(e,r){var i,o=n(29);i="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:r;var a=Object(o.a)(i);t.a=a}).call(this,n(37),n(38)(e))},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){var r=n(17);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,d=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):d=-1,c.length&&f())}function f(){if(!l){var e=s(p);l=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function y(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||l||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=y,i.addListener=y,i.once=y,i.off=y,i.removeListener=y,i.removeAllListeners=y,i.emit=y,i.prependListener=y,i.prependOnceListener=y,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t){!function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=window.document,t=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},r.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},r.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},r.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},r.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,a=null,s=null;if(this.POLL_INTERVAL?a=n.setInterval(r,this.POLL_INTERVAL):(i(n,"resize",r,!0),i(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(s=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(a&&e.clearInterval(a),o(e,"resize",r,!0)),o(t,"scroll",r,!0),s&&s.disconnect()}),t!=(this.root&&this.root.ownerDocument||e)){var u=d(t);u&&this._monitorIntersections(u.ownerDocument)}}},r.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&this.root.ownerDocument||e;if(!this._observationTargets.some(function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var i=d(n);if((n=i&&i.ownerDocument)==t)return!0}return!1})){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),t!=r){var o=d(t);o&&this._unmonitorIntersections(o.ownerDocument)}}}},r.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},r.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(r){var i=r.element,o=s(i),a=this._rootContainsTarget(i),u=r.entry,c=e&&a&&this._computeTargetAndRootIntersection(i,o,t),l=r.entry=new n({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:o,rootBounds:t,intersectionRect:c});u?e&&a?this._hasCrossedThreshold(u,l)&&this._queuedEntries.push(l):u&&u.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(t,n,r){if("none"!=window.getComputedStyle(t).display){for(var i=n,o=l(t),c=!1;!c&&o;){var d=null,p=1==o.nodeType?window.getComputedStyle(o):{};if("none"==p.display)return null;if(o==this.root||9==o.nodeType)if(c=!0,o==this.root||o==e)d=r;else{var f=l(o),h=f&&s(f),y=f&&this._computeTargetAndRootIntersection(f,h,r);h&&y?(o=f,d=u(h,y)):(o=null,i=null)}else{var g=o.ownerDocument;o!=g.body&&o!=g.documentElement&&"visible"!=p.overflow&&(d=s(o))}if(d&&(i=a(d,i)),!i)break;o=o&&l(o)}return i}},r.prototype._getRootRect=function(){var t;if(this.root)t=s(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},r.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!==o<r)return!0}},r.prototype._rootIsInDom=function(){return!this.root||c(e,this.root)},r.prototype._rootContainsTarget=function(t){return c(this.root||e,t)&&(!this.root||this.root.ownerDocument==t.ownerDocument)},r.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},r.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=r,window.IntersectionObserverEntry=n}function n(e){this.time=e.time,this.target=e.target,this.rootBounds=e.rootBounds,this.boundingClientRect=e.boundingClientRect,this.intersectionRect=e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function r(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=function(e,t){var n=null;return function(){n||(n=setTimeout(function(){e(),n=null},t))}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function i(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function o(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function a(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),i=Math.max(e.left,t.left),o=Math.min(e.right,t.right),a=o-i,s=r-n;return a>=0&&s>=0&&{top:n,bottom:r,left:i,right:o,width:a,height:s}||null}function s(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function c(e,t){for(var n=t;n;){if(n==e)return!0;n=l(n)}return!1}function l(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?d(t):n&&11==n.nodeType&&n.host?n.host:n&&n.assignedSlot?n.assignedSlot.parentNode:n}function d(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}}()},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(6);function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))}))}),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){var r=n(6),i=n(57),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s={adapter:function(){var e;return"undefined"!==typeof XMLHttpRequest?e=n(25):"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t)&&(e=n(25)),e}(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],function(e){s.headers[e]={}}),r.forEach(["post","put","patch"],function(e){s.headers[e]=r.merge(o)}),e.exports=s}).call(this,n(19))},function(e,t,n){"use strict";var r=n(6),i=n(58),o=n(22),a=n(60),s=n(63),u=n(64),c=n(26);e.exports=function(e){return new Promise(function(t,l){var d=e.data,p=e.headers;r.isFormData(d)&&delete p["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",y=e.auth.password||"";p.Authorization="Basic "+btoa(h+":"+y)}var g=a(e.baseURL,e.url);if(f.open(e.method.toUpperCase(),o(g,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?s(f.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:e,request:f};i(t,l,r),f=null}},f.onabort=function(){f&&(l(c("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){l(c("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),l(c(t,e,"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var v=n(65),m=(e.withCredentials||u(g))&&e.xsrfCookieName?v.read(e.xsrfCookieName):void 0;m&&(p[e.xsrfHeaderName]=m)}if("setRequestHeader"in f&&r.forEach(p,function(e,t){"undefined"===typeof d&&"content-type"===t.toLowerCase()?delete p[t]:f.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),e.responseType)try{f.responseType=e.responseType}catch(b){if("json"!==e.responseType)throw b}"function"===typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){f&&(f.abort(),l(e),f=null)}),void 0===d&&(d=null),f.send(d)})}},function(e,t,n){"use strict";var r=n(59);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t){t=t||{};var n={},i=["url","method","params","data"],o=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(i,function(e){"undefined"!==typeof t[e]&&(n[e]=t[e])}),r.forEach(o,function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):"undefined"!==typeof t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):"undefined"!==typeof e[i]&&(n[i]=e[i])}),r.forEach(a,function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])});var s=i.concat(o).concat(a),u=Object.keys(t).filter(function(e){return-1===s.indexOf(e)});return r.forEach(u,function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])}),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"===typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return f});var r=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},i=function(){return function(e,t,n){this.name=e,this.version=t,this.os=n,this.type="browser"}}(),o=function(){return function(t){this.version=t,this.type="node",this.name="node",this.os=e.platform}}(),a=function(){return function(e,t,n,r){this.name=e,this.version=t,this.os=n,this.bot=r,this.type="bot-device"}}(),s=function(){return function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}}(),u=function(){return function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}}(),c=/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,l=3,d=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/Edg\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],p=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function f(t){return t?y(t):"undefined"===typeof document&&"undefined"!==typeof navigator&&"ReactNative"===navigator.product?new u:"undefined"!==typeof navigator?y(navigator.userAgent):"undefined"!==typeof e&&e.version?new o(e.version.slice(1)):null}function h(e){return""!==e&&d.reduce(function(t,n){var r=n[0],i=n[1];if(t)return t;var o=i.exec(e);return!!o&&[r,o]},!1)}function y(e){var t=h(e);if(!t)return null;var n=t[0],o=t[1];if("searchbot"===n)return new s;var u=o[1]&&o[1].split(/[._]/).slice(0,3);u?u.length<l&&(u=r(u,function(e){for(var t=[],n=0;n<e;n++)t.push("0");return t}(l-u.length))):u=[];var d=u.join("."),f=function(e){for(var t=0,n=p.length;t<n;t++){var r=p[t],i=r[0],o=r[1],a=o.exec(e);if(a)return i}return null}(e),y=c.exec(e);return y&&y[1]?new a(n,d,f,y[1]):new i(n,d,f)}}).call(this,n(19))},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){e.exports=n(52)},function(e,t,n){e.exports=n(34)()},function(e,t,n){"use strict";var r=n(35);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,y=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,O=r?Symbol.for("react.responder"):60118,_=r?Symbol.for("react.scope"):60119;function S(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case p:case a:case u:case s:case h:return e;default:switch(e=e&&e.$$typeof){case l:case f:case v:case g:case c:return e;default:return t}}case o:return t}}}function E(e){return S(e)===p}t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=c,t.Element=i,t.ForwardRef=f,t.Fragment=a,t.Lazy=v,t.Memo=g,t.Portal=o,t.Profiler=u,t.StrictMode=s,t.Suspense=h,t.isAsyncMode=function(e){return E(e)||S(e)===d},t.isConcurrentMode=E,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return S(e)===f},t.isFragment=function(e){return S(e)===a},t.isLazy=function(e){return S(e)===v},t.isMemo=function(e){return S(e)===g},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===u},t.isStrictMode=function(e){return S(e)===s},t.isSuspense=function(e){return S(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===p||e===u||e===s||e===h||e===y||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===b||e.$$typeof===O||e.$$typeof===_||e.$$typeof===m)},t.typeOf=S},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){var r=n(17);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}},function(e,t){},function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(M){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),a=new C(r||[]);return o._invoke=function(e,t,n){var r=d;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return D()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=P(a,n);if(s){if(s===y)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=l(e,t,n);if("normal"===u.type){if(r=n.done?h:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=h,n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(M){return{type:"throw",arg:M}}}e.wrap=c;var d="suspendedStart",p="suspendedYield",f="executing",h="completed",y={};function g(){}function v(){}function m(){}var b={};b[o]=function(){return this};var O=Object.getPrototypeOf,_=O&&O(O(R([])));_&&_!==n&&r.call(_,o)&&(b=_);var S=m.prototype=g.prototype=Object.create(b);function E(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function w(e,t){var n;this._invoke=function(i,o){function a(){return new t(function(n,a){!function n(i,o,a,s){var u=l(e[i],e,o);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"===typeof d&&r.call(d,"__await")?t.resolve(d.__await).then(function(e){n("next",e,a,s)},function(e){n("throw",e,a,s)}):t.resolve(d).then(function(e){c.value=e,a(c)},function(e){return n("throw",e,a,s)})}s(u.arg)}(i,o,n,a)})}return n=n?n.then(a,a):a()}}function P(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,P(e,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var i=l(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function R(e){if(e){var n=e[o];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:D}}function D(){return{value:t,done:!0}}return v.prototype=S.constructor=m,m.constructor=v,v.displayName=u(m,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},E(w.prototype),w.prototype[a]=function(){return this},e.AsyncIterator=w,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},E(S),u(S,s,"Generator"),S[o]=function(){return this},S.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=R,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:R(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},e}(e.exports);try{regeneratorRuntime=r}catch(i){Function("r","regeneratorRuntime = r")(r)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){function n(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){var r=n(5);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}},function(e){e.exports=JSON.parse('{"name":"mplayer","version":"4.0.13","description":"minute media player","author":"minute media","private":true,"scripts":{"start":"yarn compile && PORT=2001 per-env","start:production":"npm run -s serve","start:development":"npm run -s dev","build":"preact build --no-prerender","serve":"preact build && serve build --single","dev":"preact watch","lint":"./node_modules/.bin/eslint --cache --ext .js,.ts,.tsx ./src/.","test":"jest","compile":"webpack","compile:production":"NODE_ENV=production webpack","compile:qa":"NODE_ENV=qa webpack"},"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-transform-react-jsx":"^7.8.3","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.8.4","@babel/preset-react":"^7.8.3","@babel/preset-typescript":"^7.8.3","@typescript-eslint/eslint-plugin":"^2.10.0","@typescript-eslint/parser":"^2.10.0","eslint":"^6.7.2","eslint-config-mm":"git+https://github.com/FTBpro/eslint-config-mm.git#v3.1","eslint-loader":"3.0.2","identity-obj-proxy":"^3.0.0","jest":"^24.9.0","jest-emotion":"^10.0.32","jest-preset-preact":"^1.0.0","per-env":"^1.0.2","preact-cli":"^3.0.0-rc.6","react":"^16.13.1","react-dom":"^16.13.1","serve":"^11.1.0"},"dependencies":{"@emotion/core":"^10.0.28","axios":"^0.19.2","babel-loader":"^8.0.6","detect-browser":"^5.1.0","emotion":"^10.0.27","enzyme":"^3.11.0","enzyme-adapter-preact-pure":"^2.2.0","hls.js":"^0.13.2","intersection-observer":"^0.8.0","jest-enzyme":"^7.1.2","jest-junit":"^10.0.0","preact":"^10.0.1","preact-render-to-string":"^5.1.8","react-redux":"^7.2.0","react-svg-loader":"^3.0.3","redux":"^4.0.5","redux-thunk":"^2.3.0","terser-webpack-plugin":"1.2.3","webpack":"^4.41.6","webpack-cli":"^3.3.11"}}')},function(e,t,n){"use strict";var r=n(6),i=n(21),o=n(53),a=n(27);function s(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var u=s(n(24));u.Axios=o,u.create=function(e){return s(a(u.defaults,e))},u.Cancel=n(28),u.CancelToken=n(66),u.isCancel=n(23),u.all=function(e){return Promise.all(e)},u.spread=n(67),e.exports=u,e.exports.default=u},function(e,t,n){"use strict";var r=n(6),i=n(22),o=n(54),a=n(55),s=n(27);function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},u.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(e){u.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}}),r.forEach(["post","put","patch"],function(e){u.prototype[e]=function(t,n,i){return this.request(r.merge(i||{},{method:e,url:t,data:n}))}}),e.exports=u},function(e,t,n){"use strict";var r=n(6);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},function(e,t,n){"use strict";var r=n(6),i=n(56),o=n(23),a=n(24);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return s(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(s(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(26);e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(61),i=n(62);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(6),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},function(e,t,n){"use strict";var r=n(6);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(6);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(28);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"render",function(){return B}),n.d(r,"hydrate",function(){return H}),n.d(r,"createElement",function(){return b}),n.d(r,"h",function(){return b}),n.d(r,"Fragment",function(){return S}),n.d(r,"createRef",function(){return _}),n.d(r,"isValidElement",function(){return a}),n.d(r,"Component",function(){return E}),n.d(r,"cloneElement",function(){return q}),n.d(r,"createContext",function(){return W}),n.d(r,"toChildArray",function(){return R}),n.d(r,"__u",function(){return U}),n.d(r,"options",function(){return o});var i={};n.r(i),n.d(i,"useState",function(){return te}),n.d(i,"useReducer",function(){return ne}),n.d(i,"useEffect",function(){return re}),n.d(i,"useLayoutEffect",function(){return ie}),n.d(i,"useRef",function(){return oe}),n.d(i,"useImperativeHandle",function(){return ae}),n.d(i,"useMemo",function(){return se}),n.d(i,"useCallback",function(){return ue}),n.d(i,"useContext",function(){return ce}),n.d(i,"useDebugValue",function(){return le}),n.d(i,"useErrorBoundary",function(){return de});var o,a,s,u,c,l,d,p=n(0),f=n.n(p),h={},y=[],g=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function v(e,t){for(var n in t)e[n]=t[n];return e}function m(e){var t=e.parentNode;t&&t.removeChild(e)}function b(e,t,n){var r,i,o,a=arguments,s={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o<arguments.length;o++)n.push(a[o]);if(null!=n&&(s.children=n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===s[o]&&(s[o]=e.defaultProps[o]);return O(e,s,r,i,null)}function O(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i};return null==i&&(a.__v=a),null!=o.vnode&&o.vnode(a),a}function _(){return{current:null}}function S(e){return e.children}function E(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?w(e):null}function P(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return P(e)}}function T(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!A.__r++||c!==o.debounceRendering)&&((c=o.debounceRendering)||u)(A)}function A(){for(var e;A.__r=s.length;)e=s.sort(function(e,t){return e.__v.__b-t.__v.__b}),s=[],e.some(function(e){var t,n,r,i,o,a,s;e.__d&&(a=(o=(t=e).__v).__e,(s=t.__P)&&(n=[],(r=v({},o)).__v=r,i=L(s,o,r,t.__n,void 0!==s.ownerSVGElement,null,n,null==a?w(o):a),x(n,o),i!=a&&P(o)))})}function C(e,t,n,r,i,o,a,s,u,c){var l,d,p,f,g,v,b,_=r&&r.__k||y,E=_.length;for(u==h&&(u=null!=a?a[0]:E?w(r,0):null),n.__k=[],l=0;l<t.length;l++)if(null!=(f=n.__k[l]=null==(f=t[l])||"boolean"==typeof f?null:"string"==typeof f||"number"==typeof f?O(null,f,null,null,f):Array.isArray(f)?O(S,{children:f},null,null,null):null!=f.__e||null!=f.__c?O(f.type,f.props,f.key,null,f.__v):f)){if(f.__=n,f.__b=n.__b+1,null===(p=_[l])||p&&f.key==p.key&&f.type===p.type)_[l]=void 0;else for(d=0;d<E;d++){if((p=_[d])&&f.key==p.key&&f.type===p.type){_[d]=void 0;break}p=null}g=L(e,f,p=p||h,i,o,a,s,u,c),(d=f.ref)&&p.ref!=d&&(b||(b=[]),p.ref&&b.push(p.ref,null,f),b.push(d,f.__c||g,f)),null!=g?(null==v&&(v=g),u=D(e,f,p,_,a,g,u),c||"option"!=n.type?"function"==typeof n.type&&(n.__d=u):e.value=""):u&&p.__e==u&&u.parentNode!=e&&(u=w(p))}if(n.__e=v,null!=a&&"function"!=typeof n.type)for(l=a.length;l--;)null!=a[l]&&m(a[l]);for(l=E;l--;)null!=_[l]&&U(_[l],_[l]);if(b)for(l=0;l<b.length;l++)j(b[l],b[++l],b[++l])}function R(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some(function(e){R(e,t)}):t.push(e)),t}function D(e,t,n,r,i,o,a){var s,u,c;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(i==n||o!=a||null==o.parentNode)e:if(null==a||a.parentNode!==e)e.appendChild(o),s=null;else{for(u=a,c=0;(u=u.nextSibling)&&c<r.length;c+=2)if(u==o)break e;e.insertBefore(o,a),s=a}return void 0!==s?s:o.nextSibling}function M(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||g.test(t)?n:n+"px"}function I(e,t,n,r,i){var o,a;if(i&&"className"==t&&(t="class"),"style"===t)if("string"==typeof n)e.style=n;else{if("string"==typeof r&&(e.style=r=""),r)for(t in r)n&&t in n||M(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||M(e.style,t,n[t])}else"o"===t[0]&&"n"===t[1]?(o=t!==(t=t.replace(/Capture$/,"")),(a=t.toLowerCase())in e&&(t=a),t=t.slice(2),e.l||(e.l={}),e.l[t]=n,n?r||e.addEventListener(t,k,o):e.removeEventListener(t,k,o)):"list"!==t&&"tagName"!==t&&"form"!==t&&"type"!==t&&"size"!==t&&"download"!==t&&"href"!==t&&!i&&t in e?e[t]=null==n?"":n:"function"!=typeof n&&"dangerouslySetInnerHTML"!==t&&(t!==(t=t.replace(/xlink:?/,""))?null==n||!1===n?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),n):null==n||!1===n&&!/^ar/.test(t)?e.removeAttribute(t):e.setAttribute(t,n))}function k(e){this.l[e.type](o.event?o.event(e):e)}function N(e,t,n){var r,i;for(r=0;r<e.__k.length;r++)(i=e.__k[r])&&(i.__=e,i.__e&&("function"==typeof i.type&&i.__k.length>1&&N(i,t,n),t=D(n,i,i,e.__k,null,i.__e,t),"function"==typeof e.type&&(e.__d=t)))}function L(e,t,n,r,i,a,s,u,c){var l,d,p,f,h,y,g,m,b,O,_,w=t.type;if(void 0!==t.constructor)return null;(l=o.__b)&&l(t);try{e:if("function"==typeof w){if(m=t.props,b=(l=w.contextType)&&r[l.__c],O=l?b?b.props.value:l.__:r,n.__c?g=(d=t.__c=n.__c).__=d.__E:("prototype"in w&&w.prototype.render?t.__c=d=new w(m,O):(t.__c=d=new E(m,O),d.constructor=w,d.render=F),b&&b.sub(d),d.props=m,d.state||(d.state={}),d.context=O,d.__n=r,p=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=w.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=v({},d.__s)),v(d.__s,w.getDerivedStateFromProps(m,d.__s))),f=d.props,h=d.state,p)null==w.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==w.getDerivedStateFromProps&&m!==f&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(m,O),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(m,d.__s,O)||t.__v===n.__v){d.props=m,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,d.__h.length&&s.push(d),N(t,u,e);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(m,d.__s,O),null!=d.componentDidUpdate&&d.__h.push(function(){d.componentDidUpdate(f,h,y)})}d.context=O,d.props=m,d.state=d.__s,(l=o.__r)&&l(t),d.__d=!1,d.__v=t,d.__P=e,l=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(r=v(v({},r),d.getChildContext())),p||null==d.getSnapshotBeforeUpdate||(y=d.getSnapshotBeforeUpdate(f,h)),_=null!=l&&l.type==S&&null==l.key?l.props.children:l,C(e,Array.isArray(_)?_:[_],t,n,r,i,a,s,u,c),d.base=t.__e,d.__h.length&&s.push(d),g&&(d.__E=d.__=null),d.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=V(n.__e,t,n,r,i,a,s,c);(l=o.diffed)&&l(t)}catch(e){t.__v=null,o.__e(e,t,n)}return t.__e}function x(e,t){o.__c&&o.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){o.__e(e,t.__v)}})}function V(e,t,n,r,i,o,a,s){var u,c,l,d,p,f=n.props,g=t.props;if(i="svg"===t.type||i,null!=o)for(u=0;u<o.length;u++)if(null!=(c=o[u])&&((null===t.type?3===c.nodeType:c.localName===t.type)||e==c)){e=c,o[u]=null;break}if(null==e){if(null===t.type)return document.createTextNode(g);e=i?document.createElementNS("http://www.w3.org/2000/svg",t.type):document.createElement(t.type,g.is&&{is:g.is}),o=null,s=!1}if(null===t.type)f!==g&&e.data!==g&&(e.data=g);else{if(null!=o&&(o=y.slice.call(e.childNodes)),l=(f=n.props||h).dangerouslySetInnerHTML,d=g.dangerouslySetInnerHTML,!s){if(null!=o)for(f={},p=0;p<e.attributes.length;p++)f[e.attributes[p].name]=e.attributes[p].value;(d||l)&&(d&&l&&d.__html==l.__html||(e.innerHTML=d&&d.__html||""))}(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||I(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||I(e,o,t[o],n[o],r)})(e,g,f,i,s),d?t.__k=[]:(u=t.props.children,C(e,Array.isArray(u)?u:[u],t,n,r,"foreignObject"!==t.type&&i,o,a,h,s)),s||("value"in g&&void 0!==(u=g.value)&&u!==e.value&&I(e,"value",u,f.value,!1),"checked"in g&&void 0!==(u=g.checked)&&u!==e.checked&&I(e,"checked",u,f.checked,!1))}return e}function j(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function U(e,t,n){var r,i,a;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||j(r,null,t)),n||"function"==typeof e.type||(n=null!=(i=e.__e)),e.__e=e.__d=void 0,null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(a=0;a<r.length;a++)r[a]&&U(r[a],t,n);null!=i&&m(i)}function F(e,t,n){return this.constructor(e,n)}function B(e,t,n){var r,i,a;o.__&&o.__(e,t),i=(r=n===l)?null:n&&n.__k||t.__k,e=b(S,null,[e]),a=[],L(t,(r?t:n||t).__k=e,i||h,h,void 0!==t.ownerSVGElement,n&&!r?[n]:i?null:t.childNodes.length?y.slice.call(t.childNodes):null,a,n||h,r),x(a,e)}function H(e,t){B(e,t,l)}function q(e,t,n){var r,i,o,a=arguments,s=v({},e.props);for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o<arguments.length;o++)n.push(a[o]);return null!=n&&(s.children=n),O(e.type,s,r||e.key,i||e.ref,null)}function W(e,t){var n={__c:t="__cC"+d++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e,n,r){return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(T)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}o={__e:function(e,t){for(var n,r;t=t.__;)if((n=t.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError&&(r=!0,n.setState(n.constructor.getDerivedStateFromError(e))),null!=n.componentDidCatch&&(r=!0,n.componentDidCatch(e)),r)return T(n.__E=n)}catch(t){e=t}throw e}},a=function(e){return null!=e&&void 0===e.constructor},E.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof e&&(e=e(v({},n),this.props)),e&&v(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),T(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),T(this))},E.prototype.render=S,s=[],u="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,A.__r=0,l=h,d=0;var z,G,$,K=0,Y=[],Z=o.__r,X=o.diffed,J=o.__c,Q=o.unmount;function ee(e,t){o.__h&&o.__h(G,e,K||t),K=0;var n=G.__H||(G.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function te(e){return K=1,ne(ve,e)}function ne(e,t,n){var r=ee(z++,2);return r.t=e,r.__c||(r.__c=G,r.__=[n?n(t):ve(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}]),r.__}function re(e,t){var n=ee(z++,3);!o.__s&&ge(n.__H,t)&&(n.__=e,n.__H=t,G.__H.__h.push(n))}function ie(e,t){var n=ee(z++,4);!o.__s&&ge(n.__H,t)&&(n.__=e,n.__H=t,G.__h.push(n))}function oe(e){return K=5,se(function(){return{current:e}},[])}function ae(e,t,n){K=6,ie(function(){"function"==typeof e?e(t()):e&&(e.current=t())},null==n?n:n.concat(e))}function se(e,t){var n=ee(z++,7);return ge(n.__H,t)?(n.__H=t,n.__h=e,n.__=e()):n.__}function ue(e,t){return K=8,se(function(){return e},t)}function ce(e){var t=G.context[e.__c],n=ee(z++,9);return n.__c=e,t?(null==n.__&&(n.__=!0,t.sub(G)),t.props.value):e.__}function le(e,t){o.useDebugValue&&o.useDebugValue(t?t(e):e)}function de(e){var t=ee(z++,10),n=te();return t.__=e,G.componentDidCatch||(G.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}function pe(){Y.some(function(e){if(e.__P)try{e.__H.__h.forEach(he),e.__H.__h.forEach(ye),e.__H.__h=[]}catch(t){return e.__H.__h=[],o.__e(t,e.__v),!0}}),Y=[]}o.__r=function(e){Z&&Z(e),z=0;var t=(G=e.__c).__H;t&&(t.__h.forEach(he),t.__h.forEach(ye),t.__h=[])},o.diffed=function(e){X&&X(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==Y.push(t)&&$===o.requestAnimationFrame||(($=o.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),fe&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);fe&&(t=requestAnimationFrame(n))})(pe))},o.__c=function(e,t){t.some(function(e){try{e.__h.forEach(he),e.__h=e.__h.filter(function(e){return!e.__||ye(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],o.__e(n,e.__v)}}),J&&J(e,t)},o.unmount=function(e){Q&&Q(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(he)}catch(e){o.__e(e,t.__v)}};var fe="function"==typeof requestAnimationFrame;function he(e){"function"==typeof e.u&&e.u()}function ye(e){e.u=e.__()}function ge(e,t){return!e||t.some(function(t,n){return t!==e[n]})}function ve(e,t){return"function"==typeof t?t(e):t}function me(e,t){for(var n in t)e[n]=t[n];return e}function be(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Oe(e){this.props=e}(Oe.prototype=new E).isPureReactComponent=!0,Oe.prototype.shouldComponentUpdate=function(e,t){return be(this.props,e)||be(this.state,t)};var _e=o.__b;o.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),_e&&_e(e)};var Se="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var Ee=function(e,t){return e?R(R(e).map(t)):null},we={map:Ee,forEach:Ee,count:function(e){return e?R(e).length:0},only:function(e){var t=R(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:R},Pe=o.__e;function Te(e){return e&&((e=me({},e)).__c=null,e.__k=e.__k&&e.__k.map(Te)),e}function Ae(e){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(Ae)),e}function Ce(){this.__u=0,this.t=null,this.__b=null}function Re(e){var t=e.__.__c;return t&&t.o&&t.o(e)}function De(){this.u=null,this.i=null}o.__e=function(e,t,n){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t.__c);Pe(e,t,n)},(Ce.prototype=new E).__c=function(e,t){var n=this;null==n.t&&(n.t=[]),n.t.push(t);var r=Re(n.__v),i=!1,o=function(){i||(i=!0,t.componentWillUnmount=t.__c,r?r(a):a())};t.__c=t.componentWillUnmount,t.componentWillUnmount=function(){o(),t.__c&&t.__c()};var a=function(){var e;if(!--n.__u)for(n.__v.__k[0]=Ae(n.state.o),n.setState({o:n.__b=null});e=n.t.pop();)e.forceUpdate()};n.__u++||n.setState({o:n.__b=n.__v.__k[0]}),e.then(o,o)},Ce.prototype.componentWillUnmount=function(){this.t=[]},Ce.prototype.render=function(e,t){return this.__b&&(this.__v.__k&&(this.__v.__k[0]=Te(this.__b)),this.__b=null),[b(S,null,t.o?null:e.children),t.o&&e.fallback]};var Me=function(e,t,n){if(++n[1]===n[0]&&e.i.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.i.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Ie(e){return this.getChildContext=function(){return e.context},e.children}function ke(e){var t=this,n=e.l,r=b(Ie,{context:t.context},e.__v);t.componentWillUnmount=function(){var e=t.s.parentNode;e&&e.removeChild(t.s),U(t.v)},t.l&&t.l!==n&&(t.componentWillUnmount(),t.h=!1),e.__v?t.h?(n.__k=t.__k,B(r,n),t.__k=n.__k):(t.s=document.createTextNode(""),t.__k=n.__k,H("",n),n.appendChild(t.s),t.h=!0,t.l=n,B(r,n,t.s),n.__k=t.__k,t.__k=t.s.__k):t.h&&t.componentWillUnmount(),t.v=r}(De.prototype=new E).o=function(e){var t=this,n=Re(t.__v),r=t.i.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Me(t,e,r)):i()};n?n(o):o()}},De.prototype.render=function(e){this.u=null,this.i=new Map;var t=R(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.i.set(t[n],this.u=[1,0,this.u]);return e.children},De.prototype.componentDidUpdate=De.prototype.componentDidMount=function(){var e=this;this.i.forEach(function(t,n){Me(e,n,t)})};var Ne=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/;E.prototype.isReactComponent={};var Le="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;var xe=o.event;function Ve(e,t){e["UNSAFE_"+t]&&!e[t]&&Object.defineProperty(e,t,{get:function(){return this["UNSAFE_"+t]},set:function(e){this["UNSAFE_"+t]=e}})}o.event=function(e){xe&&(e=xe(e)),e.persist=function(){};var t=!1,n=!1,r=e.stopPropagation;e.stopPropagation=function(){r.call(e),t=!0};var i=e.preventDefault;return e.preventDefault=function(){i.call(e),n=!0},e.isPropagationStopped=function(){return t},e.isDefaultPrevented=function(){return n},e.nativeEvent=e};var je,Ue={configurable:!0,get:function(){return this.class}},Fe=o.vnode;o.vnode=function(e){e.$$typeof=Le;var t=e.type,n=e.props;if(t){var r;if(n.class!=n.className&&(Ue.enumerable="className"in n,null!=n.className&&(n.class=n.className),Object.defineProperty(n,"className",Ue)),"function"!=typeof t)for(r in n.defaultValue&&void 0!==n.value&&(n.value||0===n.value||(n.value=n.defaultValue),n.defaultValue=void 0),"select"===t&&n.multiple&&Array.isArray(n.value)&&(R(n.children).forEach(function(e){-1!=n.value.indexOf(e.props.value)&&(e.props.selected=!0)}),n.value=void 0),!0===n.download&&(n.download=""),n){var i=Ne.test(r);i&&(e.props[r.replace(/[A-Z0-9]/,"-$&").toLowerCase()]=n[r]),(i||null===n[r])&&(n[r]=void 0)}else t.prototype&&!t.prototype.p&&(t.prototype.p=!0,Ve(t.prototype,"componentWillMount"),Ve(t.prototype,"componentWillReceiveProps"),Ve(t.prototype,"componentWillUpdate"));!function(t){var n=e.type,r=e.props;if(r&&"string"==typeof n){var i={};for(var o in r)/^on(Ani|Tra|Tou)/.test(o)&&(r[o.toLowerCase()]=r[o],delete r[o]),i[o.toLowerCase()]=o;if(i.ondoubleclick&&(r.ondblclick=r[i.ondoubleclick],delete r[i.ondoubleclick]),i.onbeforeinput&&(r.onbeforeinput=r[i.onbeforeinput],delete r[i.onbeforeinput]),i.onchange&&("textarea"===n||"input"===n.toLowerCase()&&!/^fil|che|ra/i.test(r.type))){var a=i.oninput||"oninput";r[a]||(r[a]=r[i.onchange],delete r[i.onchange])}}}()}Fe&&Fe(e)};var Be=o.__r;o.__r=function(e){Be&&Be(e),je=e.__c};function He(e){return!!e&&e.$$typeof===Le}var qe=function(e,t){return e(t)},We={useState:te,useReducer:ne,useEffect:re,useLayoutEffect:ie,useRef:oe,useImperativeHandle:ae,useMemo:se,useCallback:ue,useContext:ce,useDebugValue:le,version:"16.8.0",Children:we,render:function(e,t,n){if(null==t.__k)for(;t.firstChild;)t.removeChild(t.firstChild);return B(e,t),"function"==typeof n&&n(),e?e.__c:null},hydrate:function(e,t,n){return H(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(B(null,e),!0)},createPortal:function(e,t){return b(ke,{__v:e,l:t})},createElement:b,createContext:W,createFactory:function(e){return b.bind(null,e)},cloneElement:function(e){return He(e)?q.apply(null,arguments):e},createRef:_,Fragment:S,isValidElement:He,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:E,PureComponent:Oe,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:be(this.props,e)}function r(t){return this.shouldComponentUpdate=n,b(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t,n){var r=me({},t);return delete r.ref,e(r,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=Se,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},unstable_batchedUpdates:qe,StrictMode:S,Suspense:Ce,SuspenseList:De,lazy:function(e){var t,n,r;function i(i){if(t||(t=e()).then(function(e){n=e.default||e},function(e){r=e}),r)throw r;if(!n)throw t;return b(n,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:{current:{readContext:function(e){return je.__n[e.__c].props.value}}}}},ze=(n(33),We.createContext(null));var Ge=function(e){e()},$e=function(){return Ge},Ke={notify:function(){}};var Ye=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=Ke,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=function(){var e=$e(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e(function(){for(var e=t;e;)e.callback(),e=e.next})},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=Ke)},e}();var Ze=function(e){var t=e.store,n=e.context,r=e.children,i=se(function(){var e=new Ye(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}},[t]),o=se(function(){return t.getState()},[t]);re(function(){var e=i.subscription;return e.trySubscribe(),o!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[i,o]);var a=n||ze;return We.createElement(a.Provider,{value:i},r)};function Xe(){return(Xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Je(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var Qe=n(15),et=n.n(Qe),tt=n(14),nt="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?ie:re,rt=[],it=[null,null];function ot(e,t){var n=e[1];return[t.payload,n+1]}function at(e,t,n){nt(function(){return e.apply(void 0,t)},n)}function st(e,t,n,r,i,o,a){e.current=r,t.current=i,n.current=!1,o.current&&(o.current=null,a())}function ut(e,t,n,r,i,o,a,s,u,c){if(e){var l=!1,d=null,p=function(){if(!l){var e,n,p=t.getState();try{e=r(p,i.current)}catch(f){n=f,d=f}n||(d=null),e===o.current?a.current||u():(o.current=e,s.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=p,n.trySubscribe(),p();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var ct=function(){return[null,0]};function lt(e,t){void 0===t&&(t={});var n=t,r=n.getDisplayName,i=void 0===r?function(e){return"ConnectAdvanced("+e+")"}:r,o=n.methodName,a=void 0===o?"connectAdvanced":o,s=n.renderCountProp,u=void 0===s?void 0:s,c=n.shouldHandleStateChanges,l=void 0===c||c,d=n.storeKey,p=void 0===d?"store":d,f=(n.withRef,n.forwardRef),h=void 0!==f&&f,y=n.context,g=void 0===y?ze:y,v=Je(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),m=g;return function(t){var n=t.displayName||t.name||"Component",r=i(n),o=Xe({},v,{getDisplayName:i,methodName:a,renderCountProp:u,shouldHandleStateChanges:l,storeKey:p,displayName:r,wrappedComponentName:n,WrappedComponent:t}),s=v.pure;var c=s?se:function(e){return e()};function d(n){var r=se(function(){var e=n.reactReduxForwardedRef,t=Je(n,["reactReduxForwardedRef"]);return[n.context,e,t]},[n]),i=r[0],a=r[1],s=r[2],u=se(function(){return i&&i.Consumer&&Object(tt.isContextConsumer)(We.createElement(i.Consumer,null))?i:m},[i,m]),d=ce(u),p=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(d)&&Boolean(d.store);var f=p?n.store:d.store,h=se(function(){return function(t){return e(t.dispatch,o)}(f)},[f]),y=se(function(){if(!l)return it;var e=new Ye(f,p?null:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[f,p,d]),g=y[0],v=y[1],b=se(function(){return p?d:Xe({},d,{subscription:g})},[p,d,g]),O=ne(ot,rt,ct),_=O[0][0],S=O[1];if(_&&_.error)throw _.error;var E=oe(),w=oe(s),P=oe(),T=oe(!1),A=c(function(){return P.current&&s===w.current?P.current:h(f.getState(),s)},[f,_,s]);at(st,[w,E,T,s,A,P,v]),at(ut,[l,f,g,h,w,E,T,P,v,S],[f,g,h]);var C=se(function(){return We.createElement(t,Xe({},A,{ref:a}))},[a,t,A]);return se(function(){return l?We.createElement(u.Provider,{value:b},C):C},[u,C,b])}var f=s?We.memo(d):d;if(f.WrappedComponent=t,f.displayName=r,h){var y=We.forwardRef(function(e,t){return We.createElement(f,Xe({},e,{reactReduxForwardedRef:t}))});return y.displayName=r,y.WrappedComponent=t,et()(y,t)}return et()(f,t)}}function dt(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function pt(e,t){if(dt(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!dt(e[n[i]],t[n[i]]))return!1;return!0}var ft=n(16),ht=function(){return Math.random().toString(36).substring(7).split("").join(".")},yt={INIT:"@@redux/INIT"+ht(),REPLACE:"@@redux/REPLACE"+ht(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ht()}};function gt(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function vt(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error("Expected the enhancer to be a function.");return n(vt)(e,t)}if("function"!==typeof e)throw new Error("Expected the reducer to be a function.");var i=e,o=t,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function l(){if(u)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function d(e){if("function"!==typeof e)throw new Error("Expected the listener to be a function.");if(u)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return c(),s.push(e),function(){if(t){if(u)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,c();var n=s.indexOf(e);s.splice(n,1),a=null}}}function p(e){if(!gt(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"===typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,o=i(o,e)}finally{u=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}return p({type:yt.INIT}),(r={dispatch:p,subscribe:d,getState:l,replaceReducer:function(e){if("function"!==typeof e)throw new Error("Expected the nextReducer to be a function.");i=e,p({type:yt.REPLACE})}})[ft.a]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(l())}return n(),{unsubscribe:t(n)}}})[ft.a]=function(){return this},e},r}function mt(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function bt(e,t){return function(){return t(e.apply(this,arguments))}}function Ot(e,t){if("function"===typeof e)return bt(e,t);if("object"!==typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var i=e[r];"function"===typeof i&&(n[r]=bt(i,t))}return n}function _t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function St(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Et(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function wt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map(function(e){return e(i)});return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?St(n,!0).forEach(function(t){_t(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},n,{dispatch:r=Et.apply(void 0,o)(n.dispatch)})}}}function Pt(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function Tt(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function At(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=Tt(e);var i=r(t,n);return"function"===typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=Tt(i),i=r(t,n)),i},r}}var Ct=[function(e){return"function"===typeof e?At(e):void 0},function(e){return e?void 0:Pt(function(e){return{dispatch:e}})},function(e){return e&&"object"===typeof e?Pt(function(t){return Ot(e,t)}):void 0}];var Rt=[function(e){return"function"===typeof e?At(e):void 0},function(e){return e?void 0:Pt(function(){return{}})}];function Dt(e,t,n){return Xe({},n,{},e,{},t)}var Mt=[function(e){return"function"===typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,o=n.areMergedPropsEqual,a=!1;return function(t,n,s){var u=e(t,n,s);return a?i&&o(u,r)||(r=u):(a=!0,r=u),r}}}(e):void 0},function(e){return e?void 0:function(){return Dt}}];function It(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function kt(e,t,n,r,i){var o,a,s,u,c,l=i.areStatesEqual,d=i.areOwnPropsEqual,p=i.areStatePropsEqual,f=!1;function h(i,f){var h=!d(f,a),y=!l(i,o);return o=i,a=f,h&&y?(s=e(o,a),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):h?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):y?function(){var t=e(o,a),r=!p(t,s);return s=t,r&&(c=n(s,u,a)),c}():c}return function(i,l){return f?h(i,l):(s=e(o=i,a=l),u=t(r,a),c=n(s,u,a),f=!0,c)}}function Nt(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=Je(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,o),s=r(e,o),u=i(e,o);return(o.pure?kt:It)(a,s,u,e,o)}function Lt(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function xt(e,t){return e===t}function Vt(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?lt:n,i=t.mapStateToPropsFactories,o=void 0===i?Rt:i,a=t.mapDispatchToPropsFactories,s=void 0===a?Ct:a,u=t.mergePropsFactories,c=void 0===u?Mt:u,l=t.selectorFactory,d=void 0===l?Nt:l;return function(e,t,n,i){void 0===i&&(i={});var a=i,u=a.pure,l=void 0===u||u,p=a.areStatesEqual,f=void 0===p?xt:p,h=a.areOwnPropsEqual,y=void 0===h?pt:h,g=a.areStatePropsEqual,v=void 0===g?pt:g,m=a.areMergedPropsEqual,b=void 0===m?pt:m,O=Je(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),_=Lt(e,o,"mapStateToProps"),S=Lt(t,s,"mapDispatchToProps"),E=Lt(n,c,"mergeProps");return r(d,Xe({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:_,initMapDispatchToProps:S,initMergeProps:E,pure:l,areStatesEqual:f,areOwnPropsEqual:y,areStatePropsEqual:v,areMergedPropsEqual:b},O))}}var jt=Vt();Ge=qe;var Ut={BORDER_RADIUS:{EXTRA_TINY:"1px",TINY:"2px",SMALL:"3px",MEDIUM:"4px"},COLORS:{BLACK:"#000000",WHITE:"#ffffff",TRANSPARENT:"transparent",GRADIENT_BLACK:"linear-gradient(to bottom, rgba(0, 0, 0, 0.63), rgba(0, 0, 0, 0.62) 19%, rgba(0, 0, 0, 0))",LIGHT_GRAY_TRANSPARENT:"rgba(255, 255, 255, 0.23)",GRAY_TRANSPARENT:"rgba(143, 143, 143, 0.46)",BLACK_TRANSPARENT:"rgba(0, 0, 0, 0.7)",BLACK_80_OPACITY:"rgba(0, 0, 0, 0.8)",BLUR_TRANSPARENT:"rgba(0, 0, 0, 0.48)",GRAY:"rgba(0, 0, 0, 0.35)",SELECTED:"rgba(255, 255, 255, 0.1)",SCROLL_BAR:"rgba(255, 255, 255, 0.64)",TRANSPARENT_30_OPACITY:"rgba(0, 0, 0, 0.31)"},TEXT_FONT_FAMILY:{LATO:"Lato"},FONT_SIZE:{EXTRA_TINY:"8px",TINY:"10px",EXTRA_SMALL:"12px",SMALL:"14px",MEDIUM:"18px"}},Ft="179px",Bt="269px",Ht="180px",qt="270px",Wt="300px",zt="301px",Gt="500px",$t="501px",Kt="800px",Yt="801px";function Zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zt(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Jt=function e(t){return t&&t.length>0?t.reduce(function(t,n){return n?Array.isArray(n)?Xt(Xt({},t),e(n)):Xt(Xt({},t),n):t},{}):null},Qt=function(e){return function(t){t({type:"[CORE] change video tag status",payload:e})}},en=function(e){return function(t){t({type:"[CORE] update video current fragment position",payload:e})}},tn=function(e){return function(t){t({type:"[CORE] update video current position",payload:e})}},nn=function(e){return function(t){t({type:"[CORE] update video current buffered time",payload:e})}},rn=function(e){return function(t){t({type:"[CORE] update video current duration",payload:e})}},on=function(e,t){return function(n){n({type:"[COMMON] set pending video status",payload:{pendingStatusObject:{type:e,value:t}}})}},an=function(e){return function(t){t({type:"[COMMON] set mute video",payload:e})}},sn=function(e){return function(t){t({type:"[COMMON] set volume",payload:e})}},un=function(e){return function(t){t({type:"[CORE] change loading player status",payload:e})}},cn=function(e){return function(t){t({type:"[COMMON] show black screen with loader",payload:e})}},ln=function(e){return function(t){t({type:"[CORE] set player size",payload:e})}},dn=function(e){return function(t){t({type:"[COMMON] set error message",payload:e})}},pn={mediaData:function(e){return e.mediaData},playerData:function(e){return e.playerData},dependenciesLoadingStatus:function(e){return e.dependenciesLoadingStatus},brandingData:function(e){return e.brandingData},anchorOptions:function(e){return e.anchorOptions},semanticOptions:function(e){return e.semanticOptions},monetization:function(e){return e.monetization},userInteraction:function(e){return e.userInteraction},splitView:function(e){return e.splitView},discovery:function(e){return e.discovery}},fn=pn.playerData,hn={playerId:function(e){return fn(e).playerId},videoTagStatus:function(e){return fn(e).videoTagStatus},pendingVideoTagStatus:function(e){return fn(e).pendingVideoTagStatus},currentVideoTime:function(e){return fn(e).currentVideoTime},currentVideoTimeFragment:function(e){return fn(e).currentVideoTimeFragment},currentVideoDuration:function(e){return fn(e).currentVideoDuration},currentVideoBufferedTime:function(e){return fn(e).currentVideoBufferedTime},playerMode:function(e){return fn(e).playerMode},playerSettings:function(e){return fn(e).playerSettings},playbackMethod:function(e){return fn(e).playbackMethod},playerVisibility:function(e){return fn(e).playerVisibility},playerPlaceholderVisibility:function(e){return fn(e).playerPlaceholderVisibility},playerInstanceUniqId:function(e){return fn(e).playerInstanceUniqId},showBlackScreen:function(e){return fn(e).loader.showBlackScreen},playerSize:function(e){return fn(e).playerSize},errorMessage:function(e){return fn(e).errorMessage},loadingPlayer:function(e){return fn(e).loadingPlayer}},yn=hn.playerSettings,gn={volume:function(e){return yn(e).volume},muted:function(e){return yn(e).muted},quality:function(e){return yn(e).quality},speed:function(e){return yn(e).speed},selectedSettingsCategory:function(e){return yn(e).selectedSettingsCategory},fullscreen:function(e){return yn(e).fullscreen},pendingFullscreenRequest:function(e){return this.fullscreen(e).pendingFullscreenRequest},isFullscreenOn:function(e){return this.fullscreen(e).isFullscreenOn}},vn=function(e){return"".concat("mplayer-monetization-placeholder","-").concat(e)},mn=function(e){return"".concat("mplayer-player-placeholder","-").concat(e)},bn=function(e){return"".concat("mplayer-player-container","-").concat(e)},On=function(e){return"".concat("mplayer-controls-placeholder","-").concat(e)},_n=function(e){return"".concat("mplayer-split-view-placeholder","-").concat(e)},Sn=function(e){return"".concat("mplayer-discovery-placeholder","-").concat(e)},En=function(e){return"".concat("mplayer-content-video","-").concat(e)},wn=function(e){return"".concat("mplayer","-").concat("error-page-message","-").concat(e)},Pn=function(e){return"".concat("mplayer","-").concat("loader","-").concat(e)},Tn=function(e){return"".concat("mplayer","-").concat("mplayer-close-bar-placeholder","-").concat(e)},An=pn.mediaData,Cn={mediaId:function(e){return An(e).mediaId},mediaType:function(e){return An(e).mediaType},videoList:function(e){return An(e).videoList},videoData:function(e){return An(e).videoData},activeVideoIndex:function(e){return An(e).activeVideoIndex},mediaRequest:function(e){return An(e).mediaRequest},mediaLoadingError:function(e){return An(e).mediaLoadingError}},Rn=Cn.videoData,Dn={creator:function(e){return Rn(e).creator},description:function(e){return Rn(e).description},duration:function(e){return Rn(e).duration},externalId:function(e){return Rn(e).externalId},index:function(e){return Rn(e).index},mediaId:function(e){return Rn(e).mediaId},provider:function(e){return Rn(e).provider},sources:function(e){return Rn(e).sources},tags:function(e){return Rn(e).tags},thumbnail:function(e){return Rn(e).thumbnail},title:function(e){return Rn(e).title},showTitle:function(e){return Rn(e).showTitle}},Mn=n(11),In=n.n(Mn);function kn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return se(function(){return e.apply(void 0,In()(t))},[e,t])}var Nn={root:{height:"100%",left:0,display:"block",width:"100%"}},Ln=function(){return{playerStyle:[Nn.root]}},xn=n(30),Vn=Object(xn.a)(),jn=function(e){return"undefined"===typeof e},Un=function(e){return jn(e)||null===e||0===e.length},Fn=function(){return null!==navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i)},Bn=function(){return"iOS"===Vn.os},Hn=function(e){return Math.floor(10*e)/10},qn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"0";return parseInt(e,10)/1e3},Wn=function(e,t){return jn(e)||jn(t)?0:e>t?1:-1},zn=function(e,t){var n;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];clearTimeout(n),n=setTimeout(function(){n=null,e(i)},t)}},Gn=function(e){var t=e.clientWidth*(9/16),n=e.clientHeight;return Math.abs(t-n)>2?t:n},$n=function(e){return function(e){return!e.dataLayer||Array.isArray(e.dataLayer)}(e)?"dataLayer":"mmVideoDataLayer"},Kn=function(e){var t=ue(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]);re(function(){t()},[t]),re(function(){var e=zn(t,150);return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[t])},Yn=pn.splitView,Zn=function(e){return Yn(e).splitViewRatio},Xn={GENERAL_ERROR:"An error has occurred, please try again later",VIDEO_ERROR:"The video is currently unavailable"},Jn=jt(function(e,t){return{thumbnail:Dn.thumbnail(e),playerId:t.playerId,muted:gn.muted(e),volume:gn.volume(e),currentVideoTime:hn.currentVideoTime(e),playbackMethod:hn.playbackMethod(e),splitViewRatio:Zn(e),playerSize:hn.playerSize(e),isFullscreenOn:gn.isFullscreenOn(e),playerMode:hn.playerMode(e),speed:gn.speed(e)}},function(e){return Ot({updateVideoTagStatus:Qt,updateVideoTime:tn,updateVideoTimeFragment:en,changeLoadingPlayerStatus:un,showBlackScreenLoader:cn,updateVideoDuration:rn,updateMute:an,updateVolume:sn,updateCurrentVideoBufferedTime:nn,setPlayerSize:ln,onErrorMessage:dn},e)})(function(e){var t=e.thumbnail,n=e.playerId,r=e.updateVideoTagStatus,i=e.updateVideoTime,o=e.updateCurrentVideoBufferedTime,a=e.muted,s=e.volume,u=e.currentVideoTime,c=e.playbackMethod,l=e.changeLoadingPlayerStatus,d=e.showBlackScreenLoader,p=e.updateVideoDuration,f=e.updateMute,h=e.updateVolume,y=e.updateVideoTimeFragment,g=e.setPlayerSize,v=e.splitViewRatio,m=e.playerSize,O=e.isFullscreenOn,_=e.playerMode,S=e.onErrorMessage,E=e.speed,w=oe(null),P=!Un(v),T=kn(Ln,[]).playerStyle,A=document.getElementById(bn(n));re(function(){w.current.playbackRate=E},[E]),Kn(function(){if(!Un(A)){var e=function(e,t,n,r,i){var o=e.style.width;return n?"desktop"===r||"miniDesktop"===r||"stickyDesktop"===r?"extraLarge":"medium":"100%"===o?t:i&&o<=Bt?"extraSmall":i&&o>=qt&&o<=Wt?"small":o<=Ft?"extraSmall":o>=Ht&&o<=Wt?"small":o>=zt&&o<=Gt?"medium":o>=$t&&o<=Kt?"large":o>=Yt?"extraLarge":null}(A,m,O,_,P);Un(e)||g(e)}},[A,m,O,_,P,g]);var C="autoplay"===c?"":t;return b("video",{ref:w,style:Jt(T),key:En(n),id:En(n),onEnded:function(){r("complete")},onDurationChange:function(e){var t,n=e.target.duration;t=n,Number.isNaN(t)||"number"!==typeof t||p(n)},onTimeUpdate:function(e){var t=e.target.currentTime;y(t);var n=parseInt(t.toString(),10);n!==u&&i(n)},onVolumeChange:function(e){var t=e.target,n=t.volume,r=t.muted;n!==s&&h(n),a!==r&&f(r)},onPause:function(){r("paused")},onPlaying:function(){r("playing")},onError:function(){r("error"),S(Xn.VIDEO_ERROR)},onLoadStart:function(){l(!0),d(!0)},onCanPlayThrough:function(){l(!1),d(!1),S("")},onCanPlay:function(){l(!1),S("")},onWaiting:function(){l(!0)},onSeeking:function(){r("seeking")},onProgress:function(e){var t=e.target.buffered,n=t.length;n>0&&o(t.end(n-1))},volume:s,muted:a,poster:C,playsInline:!0,"webkit-playsinline":""},b("track",{kind:"captions"}))}),Qn=function(e){return function(t){t({type:"[CORE] update ima status",payload:e})}},er=function(e){return function(t){t({type:"[CORE] update hls status",payload:e})}},tr=function(){return{adBlockCheckerStyle:{backgroundColor:Ut.COLORS.TRANSPARENT,height:"1px",width:"1px"}}},nr=jt(null,function(e){return{onAdBlockDetected:function(){return Qn("blocked")(e)}}})(function(e){var t=oe(),n=kn(tr,[]).adBlockCheckerStyle;return re(function(){0!==t.current.clientHeight&&0!==t.current.clientWidth||(0,e.onAdBlockDetected)()},[e]),b("div",{ref:t},b("div",{class:"adBanner",style:n}))}),rr=n(10),ir=n.n(rr);n(20);var or={root:null,threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1],rootMargin:"0px"},ar=function(e){var t=e.id,n=e.updateContainerVisibility,r=e.shouldObserve,i=e.regularMode,o=e.stickyAnchorMode,a=e.children,s=e.style,u=e.isPlaceholder,c=e.splitViewRatio,l=e.className,d=oe(),p=te(null),f=ir()(p,2),h=f[0],y=f[1];return re(function(){null!==h&&h.observe(d.current)},[h]),re(function(){!function(e,t,n){e&&t(new IntersectionObserver(function(e){var t=e[0];n(t.intersectionRatio)},or))}(r,y,n)},[r,n]),Kn(function(){u?function(e,t){var n=e.parentElement.clientWidth;e.style.maxWidth="".concat(n,"px"),Un(t)?e.style.height="".concat(Gn(e),"px"):e.style.height="".concat(Gn(e)*(t/100),"px")}(d.current,c):function(e,t,n){t?(e.style.width="".concat(e.parentElement.clientWidth,"px"),e.style.height="".concat(e.parentElement.clientHeight,"px")):n&&(e.style.width="".concat(e.parentElement.clientWidth,"px"),e.style.height="".concat(e.parentElement.clientHeight+24,"px"))}(d.current,i,o)},[u,i,o]),b("div",{className:l,id:t,ref:d,style:s},a)};function sr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ur(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var cr={display:"flex",flexDirection:"row"},lr=(ur(ur({},cr),{},{justifyContent:"flex-end"}),ur(ur({},cr),{},{justifyContent:"center"})),dr=ur(ur({},cr),{},{justifyContent:"space-between"}),pr=(ur(ur({},dr),{},{alignItems:"baseline"}),ur(ur({},lr),{},{alignItems:"center"})),fr=ur(ur({},cr),{},{justifyContent:"flex-start"}),hr=(ur(ur({},fr),{},{alignItems:"center"}),ur(ur({},fr),{},{alignItems:"flex-end",flexWrap:"wrap"}),{display:"flex",flexDirection:"column"}),yr=(ur(ur({},hr),{},{justifyContent:"flex-start"}),ur(ur({},hr),{},{justifyContent:"center"})),gr=(ur(ur({},hr),{},{justifyContent:"flex-end",alignItems:"center"}),ur(ur({},yr),{},{alignItems:"center"}));function vr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var br=mr(mr({},hr),{},{position:"relative",background:Ut.COLORS.BLACK}),Or=pn.anchorOptions,_r=function(e){return Or(e).orientation},Sr=function(e){return Or(e).canClose},Er=function(e){return Or(e).anchorData},wr=function(e){return Er(e).anchorDisabledByUser},Pr=function(e){return Er(e).anchorStatus};function Tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ar(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Cr=jt(function(e){return{shouldObserve:"lazyplay"===hn.playbackMethod(e)||"autoplay_when_viewable"===hn.playbackMethod(e),regularMode:"inactive"===Pr(e)||!Un(Zn(e)),stickyAnchorMode:"sticky"===_r(e)&&"active"===Pr(e)&&Sr(e),style:Ar({},mr({},br)),isPlaceholder:!1}},function(e){return{updateContainerVisibility:function(t){return function(e){return function(t){t({type:"[CORE] update player visibility",payload:e})}}(t)(e)}}})(ar);function Rr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Dr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Mr={width:"100%",clear:"both",margin:"16px 0"};function Ir(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function kr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ir(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ir(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Nr=jt(function(e){return{shouldObserve:"sticky"!==_r(e),style:kr({},Dr({},Mr)),splitViewRatio:Zn(e),isPlaceholder:!0,className:"monti-placeholder-mm-player"}},function(e){return{updateContainerVisibility:function(t){return function(e){return function(t){t({type:"[CORE] update placeholder visibility",payload:e})}}(t)(e)}}})(ar),Lr=function(){return{monetizationStyle:{position:"absolute",width:"100%",top:"0",display:"none"}}},xr=function(e){var t=e.playerId,n=kn(Lr,[]).monetizationStyle,r=oe();return Kn(function(){console.log("the monetization parent element : ",r.current.parentElement),r.current.style.height="".concat(Gn(r.current.parentElement),"px")}),b("div",{id:vn(t),style:n,ref:r})};function Vr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ur={position:"relative",color:Ut.COLORS.WHITE,fontFamily:Ut.TEXT_FONT_FAMILY.LATO,fontWeight:"bold",textAlign:"center",tiny:{fontSize:Ut.FONT_SIZE.EXTRA_TINY},big:{fontSize:Ut.FONT_SIZE.SMALL}},Fr={position:"relative",color:Ut.COLORS.WHITE,tiny:{height:"12px",width:"12px",marginBottom:"8px"},big:{height:"24px",width:"24px",marginBottom:"16px"}},Br=jr(jr({},gr),{},{width:"100%",height:"100%",position:"absolute",top:0,backdropFilter:"blur(3px)",webkitBackdropFilter:"blur(3px)",backgroundColor:Ut.COLORS.BLUR_TRANSPARENT}),Hr=function(e){var t="extraSmall"===e||"small"===e,n="medium"===e||"large"===e||"extraLarge"===e;return{errorMessageStyle:[Ur,t&&Ur.tiny,n&&Ur.big],iconStyle:[Fr,t&&Fr.tiny,n&&Fr.big],screenStyle:jr({},Br)}},qr=n(12),Wr=n.n(qr);function zr(){return(zr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Gr(){return(Gr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function $r(){return($r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Kr={CLOSE_FILL:function(e){e.styles;var t=Wr()(e,["styles"]);return We.createElement("svg",Gr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},t),We.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),We.createElement("path",{d:"M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z",fill:"rgba(255,255,255,1)"}))},ERROR_WARNING_FILL:function(e){e.styles;var t=Wr()(e,["styles"]);return We.createElement("svg",zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},t),We.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),We.createElement("path",{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-1-7v2h2v-2h-2zm0-8v6h2V7h-2z",fill:"rgba(255,255,255,1)"}))},PLAY_BLUR:function(e){e.styles;var t=Wr()(e,["styles"]);return We.createElement("svg",$r({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60"},t),We.createElement("circle",{cx:"30",cy:"30",r:"30",fillRule:"evenodd",clipRule:"evenodd",fillOpacity:".35"}),We.createElement("path",{fill:"none",d:"M11 11h38v38H11z"}),We.createElement("path",{d:"M43.3 30.7L22.1 44.8c-.3.2-.7.2-1 0-.3-.2-.5-.5-.5-.9V15.8c0-.4.2-.7.5-.9.3-.2.7-.2 1 0L43.3 29c.3.2.4.5.4.8s-.2.7-.4.9z",fill:"currentColor"}))}},Yr=n(31),Zr=n.n(Yr);function Xr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Qr=Ut.COLORS.WHITE,ei=function(e,t){var n=function(e){return{root:Jr(Jr({},cr),{},{alignItems:"center",width:"fit-content",height:"fit-content",outline:"none",color:e}),focused:{outline:"".concat(Ut.COLORS.WHITE," solid 1px")}}}(t||Qr);return{iconStyle:[n.root,e&&n.focused]}},ti=function(e){var t=e.icon,n=e.style,r=e.onClick,i=e.onMouseEnter,o=e.onMouseLeave,a=e.onKeyDown,s=e.id,u=e.color,c=e.clickable,l=void 0===c||c,d=e.focusable,p=void 0===d||d,f=te(!1),h=ir()(f,2),y=h[0],g=h[1],v=te(!1),m=ir()(v,2),O=m[0],_=m[1],S=kn(ei,[O,u]).iconStyle,E=l?{onClick:r,onMouseEnter:i,onMouseLeave:o,onFocus:function(e){y||_(!0),jn(i)||i(e)},onBlur:function(){document.hasFocus()&&g(!1),_(!1)},onKeyDown:function(e){jn(a)||a(e),"Enter"!==e.key||jn(r)||r()},onMouseDown:function(){g(!0),_(!1)}}:{},w=p?{tabIndex:0}:{};return b("span",Zr()({id:s,style:Jt([S,n])},E,w),b(t,null))},ni=jt(function(e){return{playerSize:hn.playerSize(e),playerErrorMessage:hn.errorMessage(e),mediaErrorMessage:Cn.mediaLoadingError(e),playerUniqId:hn.playerInstanceUniqId(e)}})(function(e){var t,n=e.playerSize,r=e.playerErrorMessage,i=e.mediaErrorMessage,o=e.playerUniqId,a=kn(Hr,[n]),s=a.errorMessageStyle,u=a.iconStyle,c=a.screenStyle,l=r||i;return Un(r)&&Un(i)?null:b("div",{id:(t=o,"".concat("mplayer","-").concat("error-page","-").concat(t)),style:c},b(ti,{icon:Kr.ERROR_WARNING_FILL,style:Jt(u)}),b("div",{id:wn(o),style:Jt(s)},l))}),ri=function(e,t){var n=function(e){return{height:"100%",left:0,display:"block",width:"100%",position:"relative",splitView:{width:"".concat(e/(9/16),"px")}}}(e);return{playerWrapperStyle:[n,t&&n.splitView]}},ii=jt(function(e){return{splitViewRatio:Zn(e)}})(function(e){var t=e.splitViewRatio,n=e.children,r=oe(),i=te(null),o=ir()(i,2),a=o[0],s=o[1],u=!Un(t),c=kn(ri,[a,u]).playerWrapperStyle;return Kn(function(){s(r.current.parentElement.clientHeight)},[r]),b("div",{ref:r,style:Jt(c)},n)});function oi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ai(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oi(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var si=ai(ai({},cr),{},{position:"absolute",width:"100%",height:"100%"}),ui={width:"100%",height:"100%",position:"relative"},ci={display:"flex",position:"relative",flexGrow:"1"},li={position:"absolute",zIndex:"1",width:"100%",top:"0",height:"100%",pointerEvents:"none"},di={position:"absolute",zIndex:"2",width:"100%",top:"0",height:"100%",pointerEvents:"none"},pi=function(){return{splitViewWrapperStyle:ai({},si),playerAndControlsWrapperStyle:ai({},ui),splitViewPlaceholderStyle:ai({},ci),controlsPlaceholderStyle:ai({},li),discoveryPlaceholderStyle:ai({},di)}};function fi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function hi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fi(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var yi={position:"absolute",overflow:"hidden",backgroundColor:Ut.COLORS.GRAY_TRANSPARENT,borderRadius:Ut.BORDER_RADIUS.SMALL,height:"6px",small:{width:"120px",height:"4px"},medium:{width:"200px"},largeAndExtraLarge:{width:"220px"},splitView:{width:"120px",height:"4px"},error:{display:"none"}},gi=hi(hi({},pr),{},{width:"100%",height:"100%",position:"absolute",top:"0",backgroundColor:Ut.COLORS.TRANSPARENT,blackScreen:{backgroundColor:Ut.COLORS.BLACK}}),vi=function(e,t,n,r,i){var o,a=!Un(n),s="small"===e,u="medium"===e,c="large"===e||"extraLarge"===e,l=i||Ut.COLORS.WHITE,d=(o=l,{position:"relative",width:"100%",height:"6px",borderRadius:Ut.BORDER_RADIUS.SMALL,animationName:"loaderAnimation",animationDuration:"3.5s",animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",backgroundColor:o,small:{height:"4px"},splitView:{height:"4px"}});return{loaderStyle:[yi,r&&yi.error,s&&yi.small,u&&yi.medium,c&&yi.largeAndExtraLarge,a&&yi.splitView],barStyle:[d,s&&d.small,a&&d.splitView],screenStyle:[gi,t&&gi.blackScreen]}},mi=pn.monetization,bi={continuePlayingWhileWaitingForAd:function(e){return mi(e).continuePlayingWhileWaitingForAd},midrolls:function(e){return mi(e).midrolls},prerollEnabled:function(e){return mi(e).prerollEnabled},vpaidMode:function(e){return mi(e).vpaidMode},adRequestTimeout:function(e){return mi(e).adRequestTimeout},adsData:function(e){return mi(e).adsData}},Oi=bi.adsData,_i={adTagUrlTemplate:function(e){return Oi(e).adTagUrlTemplate},adType:function(e){return Oi(e).adType},adStatus:function(e){return Oi(e).adStatus},pendingAdStatus:function(e){return Oi(e).pendingAdStatus},adErrorMessage:function(e){return Oi(e).adErrorMessage},adDuration:function(e){return Oi(e).adDuration},playedMidrolls:function(e){return Oi(e).playedMidrolls},adImpression:function(e){return Oi(e).adImpression},adOpportunity:function(e){return Oi(e).adOpportunity},isVastAd:function(e){return Oi(e).isVastAd},adCurrentTime:function(e){return Oi(e).adCurrentTime},adMuted:function(e){return Oi(e).adMuted},adVolume:function(e){return Oi(e).adVolume},currentAdTag:function(e){return Oi(e).currentAdTag},adUnit:function(e){return Oi(e).adUnit},slotNumber:function(e){return Oi(e).slotNumber},podNumber:function(e){return Oi(e).podNumber},loadingAd:function(e){return Oi(e).loadingAd}},Si=pn.brandingData,Ei=function(e){return Si(e).brandingColor},wi=jt(function(e){return{showBlackScreen:hn.showBlackScreen(e),playerSize:hn.playerSize(e),splitViewRatio:Zn(e),playerUniqId:hn.playerInstanceUniqId(e),playerErrorMessage:hn.errorMessage(e),mediaErrorMessage:Cn.mediaLoadingError(e),loadingPlayer:hn.loadingPlayer(e),loadingAd:_i.loadingAd(e),brandingColor:Ei(e)}})(function(e){var t,n=e.playerSize,r=e.showBlackScreen,i=e.splitViewRatio,o=e.playerUniqId,a=e.playerErrorMessage,s=e.mediaErrorMessage,u=e.loadingPlayer,c=e.loadingAd,l=e.brandingColor,d=!Un(a)||!Un(s),p=u||c,f=kn(vi,[n,r,i,d,l]),h=f.loaderStyle,y=f.barStyle,g=f.screenStyle;return p?b("div",{id:(t=o,"".concat("mplayer","-").concat("loader-page","-").concat(t)),style:Jt(g)},b("div",{id:Pn(o),style:Jt(h)},b("div",{style:Jt(y)}))):null}),Pi=function(e){var t=e.playerId,n=e.store,r=e.playerPosition,i=kn(pi,[]),o=i.splitViewWrapperStyle,a=i.playerAndControlsWrapperStyle,s=i.splitViewPlaceholderStyle,u=i.controlsPlaceholderStyle,c=i.discoveryPlaceholderStyle;return re(function(){!function(e){var t=document.createElement("link");t.setAttribute("href","https://fonts.googleapis.com/css2?family=Lato:wght@300;400&display=swap"),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),e.appendChild(t)}(r),function(e){var t=document.createElement("style");t.type="text/css",t.textContent="@keyframes loaderAnimation {0% {left: -100%}49% {left: 100%}50% {left: 100%}100% {left: -100%}}",e.appendChild(t)}(r)},[r]),b(Ze,{store:n},b(Nr,{id:mn(t)},b(Cr,{id:bn(t)},b("div",{id:Tn(t)}),b("div",{style:a},b("div",{style:o},b(ii,null,b(Jn,{playerId:t}),b(xr,{playerId:t}),b(wi,null),b(nr,null)),b("div",{id:_n(t),style:s})),b("div",{id:On(t),style:u}),b("div",{id:Sn(t),style:c}),b(ni,null)))))},Ti=n(1),Ai=n.n(Ti),Ci=function e(){var t=this;Ai()(this,e),f()(this,"HLS_MAIN_SCRIPT","https://cdn.jsdelivr.net/npm/hls.js@0.9.1"),f()(this,"HLS_FALLBACK_SCRIPT","https://www.oo-syringe.com/newplayer/mplayer_hls_wrapper.0.0.0.js"),f()(this,"IMA_SCRIPT","https://imasdk.googleapis.com/js/sdkloader/ima3.js"),f()(this,"MMPLUS_CONTAINER_ID","GTM-PL4PD49"),f()(this,"MM_CONTAINER_ID","GTM-TCW5HW"),f()(this,"dependenciesCallbacks",void 0),f()(this,"imaLoadingStatus",""),f()(this,"hlsLoadingStatus",""),f()(this,"gtmLoaded",!1),f()(this,"addDependenciesCallback",function(e){t.dependenciesCallbacks.includes(e)||t.dependenciesCallbacks.push(e)}),f()(this,"isDependenciesReady",function(){return t.gtmLoaded&&"loading"!==t.getHLSLoadingStatus()&&"loading"!==t.getIMALoadingStatus()}),f()(this,"getIMALoadingStatus",function(){return t.imaLoadingStatus}),f()(this,"getHLSLoadingStatus",function(){return t.hlsLoadingStatus}),f()(this,"removeDependenciesCallback",function(e){t.dependenciesCallbacks.filter(function(t){return t===e})}),f()(this,"loadScript",function(e,t,n){var r=document.createElement("script");r.setAttribute("src",e),r.addEventListener("load",t),r.addEventListener("error",n),document.body.appendChild(r)}),f()(this,"onScriptLoaded",function(e){t.dependenciesCallbacks.forEach(function(t){t.onDependencyReady(e)})}),f()(this,"onScriptFailed",function(e,n){t.dependenciesCallbacks.forEach(function(t){t.onDependencyFailure(e,n)})}),f()(this,"onHlsScriptLoaded",function(){void 0!==window.Hls?t.onScriptLoaded("hls"):t.onHlsLoadError()}),f()(this,"onHlsLoadError",function(){t.loadScript(t.HLS_FALLBACK_SCRIPT,t.onMMhlsScriptLoaded,t.onMMHlsScriptFailure)}),f()(this,"onMMhlsScriptLoaded",function(){t.onScriptLoaded("hls")}),f()(this,"onMMHlsScriptFailure",function(e){t.onScriptFailed("hls",e)}),f()(this,"onImaLoadError",function(e){t.imaLoadingStatus="error",t.onScriptFailed("ima",e)}),f()(this,"onImaLoaded",function(){t.onScriptLoaded("ima"),t.imaLoadingStatus="success"}),f()(this,"shouldLoadMmGTM",function(){var e=window.google_tag_manager;return!e||!e[t.MMPLUS_CONTAINER_ID]&&!e[t.MM_CONTAINER_ID]}),f()(this,"loadGTMifNeeded",function(){if(t.shouldLoadMmGTM()){var e,n;try{e=window.parent,n=window.parent.document}catch(u){e=window,n=window.document}var r=$n(e),i="dataLayer"!==r?"&l=".concat(r):"";e[r]=e[r]||[],e[r].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var o=n.getElementsByTagName("script")[0],a=n.createElement("script");a.setAttribute("async",""),a.setAttribute("src","https://www.googletagmanager.com/gtm.js?id=GTM-PL4PD49".concat(i)),o.parentNode.insertBefore(a,o);var s=n.createElement("iframe");s.src="https://www.googletagmanager.com/ns.html?id=GTM-PL4PD49",s.height="0",s.width="0",s.style="display:none;visibility:hidden",n.body.appendChild(s),t.gtmLoaded=!0}}),f()(this,"loadHLS",function(){Bn()||"safari"===Vn.name?t.hlsLoadingStatus="no-need":(t.loadScript(t.HLS_MAIN_SCRIPT,t.onHlsScriptLoaded,t.onHlsLoadError),t.hlsLoadingStatus="loading")}),f()(this,"loadIMA",function(){t.loadScript(t.IMA_SCRIPT,t.onImaLoaded,t.onImaLoadError),t.imaLoadingStatus="loading"}),f()(this,"loadExternalDependencies",function(){""===t.getIMALoadingStatus()&&t.loadIMA(),""===t.getHLSLoadingStatus()&&t.loadHLS(),t.gtmLoaded||t.loadGTMifNeeded()}),this.dependenciesCallbacks=[]};f()(Ci,"instance",void 0),f()(Ci,"getInstance",function(){return Ci.instance||(Ci.instance=new Ci),Ci.instance});var Ri=function(e){return"".concat("mplayer-monetization-ad-container","-").concat(e)},Di=function(e){return"".concat("mplayer-monetization-safari-video-ad","-").concat(e)},Mi=jt(function(e){return{contentVideoTime:hn.currentVideoTime(e),playerUniqId:hn.playerInstanceUniqId(e)}})(function(e){var t=e.contentVideoTime,n=e.playerUniqId,r=oe();return re(function(){Un(r.current)||(r.current.currentTime=t)},[t]),b("video",{id:Di(n),ref:r,style:{backgroundColor:"rgb(0, 0, 0)",width:"100%",height:"100%"},title:"Advertisement",preload:"auto",muted:!0,playsInline:!0,"webkit-playsinline":""})});function Ii(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ki(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ii(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ii(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ni=jt(function(e,t){return ki(ki({},t),{},{adStatus:_i.adStatus(e)})})(function(e){var t=e.playerId,n=e.adStatus,r="playing"===n||"paused"===n;return re(function(){document.getElementById(vn(t)).style.display=r?"flex":"none"},[t,r]),b("div",{style:{width:"100%",height:"100%"}},b("div",{id:Ri(t),style:{height:"100%",width:"100%"}},Bn()&&b(Mi,null)))}),Li=function(e){var t=e.store,n=e.playerId;return b(Ze,{store:t},b(Ni,{playerId:n}))},xi=n(2),Vi=n.n(xi),ji=(n(46),function(){function e(t,n,r){Ai()(this,e),f()(this,"store",void 0),f()(this,"getDependenciesElements",void 0),f()(this,"oldState",void 0),f()(this,"unsubscribe",void 0),f()(this,"onChange",void 0),this.store=t,this.oldState=t.getState(),this.getDependenciesElements=n,this.unsubscribe=t.subscribe(this.onStateChanged.bind(this)),this.onChange=r}return Vi()(e,[{key:"stopSubscription",value:function(){this.unsubscribe(),this.oldState=null,this.getDependenciesElements=null,this.store=null,this.unsubscribe=null,this.onChange=null}},{key:"onStateChanged",value:function(){var e=this.store.getState(),t=this.getDependenciesElements(this.oldState),n=this.getDependenciesElements(e);t.every(function(e,t){return e===n[t]})||this.onChange(e),this.oldState=e}}]),e}()),Ui=pn.dependenciesLoadingStatus,Fi={loadingImaStatus:function(e){return Ui(e).loadingImaStatus},loadingHLSStatus:function(e){return Ui(e).loadingHLSStatus}},Bi=function(e){return"blocked"===Fi.loadingImaStatus(e)},Hi=function(e){return"playing"===e||"requested"===e||"loaded"===e||"paused"===e},qi=function(){function e(t,n){Ai()(this,e),f()(this,"videoTimeSubscriber",void 0),f()(this,"adsScheduler",void 0),this.videoTimeSubscriber=new ji(t,e.getVideoTimeDependencies,this.onVideoTimeChanged.bind(this)),this.adsScheduler=n}return Vi()(e,[{key:"onVideoTimeChanged",value:function(t){"seeking"!==hn.videoTagStatus(t)&&(e.shouldRequestAd(t)?this.adsScheduler.onPreAdTimeReached(e.getMidroll(t)):e.isOnAdTime(t)&&this.adsScheduler.onAdTimeReached())}}],[{key:"getVideoTimeDependencies",value:function(e){return[hn.currentVideoTime(e)]}},{key:"isTimeInPreAdRange",value:function(e,t){return t>=e&&e>=t-$i}},{key:"getNextSpecificMidrollTime",value:function(t,n){return-1!==t.indexOf(n)?n:t.find(function(t){return e.isTimeInPreAdRange(n,t)})}},{key:"getNextReocurringMidrollNumber",value:function(e,t){var n=t/e;return t%e===0?n:Math.ceil(n)}},{key:"getMidroll",value:function(t){var n=hn.currentVideoTime(t),r=bi.midrolls(t),i=r.every,o=r.on,a=Dn.mediaId(t);if(!Un(i)){var s=e.getNextReocurringMidrollNumber(i,n);return{currentTime:n,mediaId:a,midrollNumber:s,midrollTime:s*i}}if(!Un(o)){var u=e.getNextSpecificMidrollTime(o,n);return{midrollNumber:o.indexOf(u)+1,currentTime:n,midrollTime:u,mediaId:a}}return null}},{key:"isMidrollAlreadyPlayed",value:function(e,t){return-1!==e.indexOf(t)}},{key:"isMidrollReached",value:function(t){var n=hn.currentVideoTime(t),r=bi.midrolls(t),i=r.every,o=r.on,a=_i.playedMidrolls(t);if(!Un(i)&&n>0){var s=e.getNextReocurringMidrollNumber(i,n),u=s*i;return!this.isMidrollAlreadyPlayed(a,s)&&e.isTimeInPreAdRange(n,u)}if(!Un(o)){var c=e.getNextSpecificMidrollTime(o,n),l=o.indexOf(c)+1;return l>0&&!this.isMidrollAlreadyPlayed(a,l)}return!1}},{key:"shouldRequestAd",value:function(e){var t=_i.adStatus(e);return!Bi(e)&&!Hi(t)&&this.isMidrollReached(e)}},{key:"isOnAdTime",value:function(t){var n=hn.currentVideoTime(t),r=bi.midrolls(t),i=r.every,o=r.on,a=_i.playedMidrolls(t);if(Bi(t))return!1;if(!Un(i)){var s=e.getNextReocurringMidrollNumber(i,n);return 0!==n&&n%i===0&&!this.isMidrollAlreadyPlayed(a,s)}if(!Un(o)){var u=o.indexOf(n);return-1!==u&&!this.isMidrollAlreadyPlayed(a,u)}return!1}}]),e}(),Wi=function(){function e(t){var n=this;Ai()(this,e),f()(this,"referrerUrl",void 0),f()(this,"staticAdTag",void 0),f()(this,"generate",function(e,t){var r=encodeURIComponent(n.referrerUrl);return Un(n.staticAdTag)?n.adTagFromApi(e,r,t):n.parseAdTag(n.staticAdTag,e,r,t)}),this.staticAdTag=t,this.referrerUrl=window.location.href}return Vi()(e,[{key:"parseAdTag",value:function(t,n,r,i){var o=t.replace("##AdUnit##",e.parseAdName(n)).replace("##DESCRIPTION_URL_UNESC##",r).replace("##REFERRER_URL_UNESC##",encodeURIComponent(this.referrerUrl)).replace("##CACHEBUSTER##",e.cacheBuster(n)).replace("##MIDROLL_ORDER##",e.adIndexFromName(n));return o=e.replaceVideoId(o,"##VIDEO_ID##",i),o=e.addHacksToAdTag(o)}},{key:"adTagFromApi",value:function(e,t,n){try{var r=window.getVideoTag(t,e);return Un(r)?null:this.parseAdTag(r,e,t,n)}catch(i){return null}}}],[{key:"getCCPAConsent",value:function(t){try{var n="";return window.__uspapi&&window.__uspapi("getUSPData",1,function(e,t){t&&(n=e.uspString)}),e.setSearchParamToAdTag(t,"us_privacy",n)}catch(r){return t}}},{key:"replaceVideoId",value:function(e,t,n){return e.replace(t,n).replace(encodeURIComponent(t),n).replace(encodeURIComponent(encodeURIComponent(t)),n)}},{key:"cacheBuster",value:function(t){return"".concat((new Date).getTime()).concat(e.adIndexFromName(t))}},{key:"parseAdName",value:function(t){return t.startsWith("preroll")?"PR":"MR".concat(e.adIndexFromName(t))}},{key:"adIndexFromName",value:function(e){return e.replace(/[^\d]*/g,"")}}]),e}();f()(Wi,"setSearchParamToAdTag",function(e,t,n){var r=new URL(e),i=decodeURIComponent(n);return r.searchParams.set(t,i),r.href}),f()(Wi,"getSearchParamFromAdTag",function(e,t){return new URL(e).searchParams.get(t)}),f()(Wi,"addHacksToAdTag",function(e){var t=e,n=Wi.getSearchParamFromAdTag(t,"cust_params");if(!jn(window.mmAPSbids)&&!Un(n)){var r="".concat(window.mmAPSbids,"&").concat(n);t=Wi.setSearchParamToAdTag(t,"cust_params",r)}if(!jn(window.shouldPlayAdRules)){var i=window.shouldPlayAdRules?"1":"0";t=Wi.setSearchParamToAdTag(t,"ad_rule",i)}return t=Wi.getCCPAConsent(t)});var zi=function(){function e(t,n){Ai()(this,e),f()(this,"store",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"adsScheduler",void 0),f()(this,"previousVideoTagStatus",void 0);var r=t.getState;this.store=t,this.adsScheduler=n,this.previousVideoTagStatus=hn.videoTagStatus(r()),this.videoTagStatusSubscriber=new ji(t,e.getVideoTagStatusDependencies,this.onVideoTagStatusChanged.bind(this))}return Vi()(e,[{key:"onVideoTagStatusChanged",value:function(t){var n=hn.videoTagStatus(t),r=_i.adStatus(t);"seeking"===this.previousVideoTagStatus&&(Hi(r)?this.adsScheduler.onSeekedWhileAdInProgress():e.isSeekedOverMidroll(t)&&this.adsScheduler.onSeekToAdOpportunity(e.getSeekedMidroll(t))),this.previousVideoTagStatus=n}}],[{key:"getVideoTagStatusDependencies",value:function(e){return[hn.videoTagStatus(e)]}},{key:"getClosestSkippedUnplayedMidroll",value:function(e,t){for(var n=t;n>0;n-=1)if(-1===e.indexOf(n))return n;return null}},{key:"getClosestLowerSeekedMidrollNumber",value:function(e,t){var n=In()(e).reverse().find(function(e){return e<=t});return e.indexOf(n)+1}},{key:"getSeekedSpecificMidroll",value:function(e,t,n,r){var i=this.getClosestLowerSeekedMidrollNumber(e,t),o=this.getClosestSkippedUnplayedMidroll(r,i);return{midrollNumber:o,currentTime:t,midrollTime:e[o-1],mediaId:n}}},{key:"isSeekedOverSpecificMidroll",value:function(e,t,n){if(jn(e))return!1;var r=this.getClosestLowerSeekedMidrollNumber(e,n);return null!==this.getClosestSkippedUnplayedMidroll(t,r)}},{key:"getSeekedReoccuringMidroll",value:function(e,t,n,r){var i=Math.floor(t/e),o=this.getClosestSkippedUnplayedMidroll(r,i);return{midrollTime:o*e,currentTime:t,midrollNumber:o,mediaId:n}}},{key:"isSeekedOverReoccuringMidroll",value:function(e,t,n){if(jn(e))return!1;var r=Math.floor(n/e);return null!==this.getClosestSkippedUnplayedMidroll(t,r)}},{key:"getSeekedMidroll",value:function(e){var t=_i.playedMidrolls(e),n=hn.currentVideoTime(e),r=bi.midrolls(e),i=r.every,o=r.on,a=Cn.mediaId(e);return this.isSeekedOverReoccuringMidroll(i,t,n)?this.getSeekedReoccuringMidroll(i,n,a,t):this.isSeekedOverSpecificMidroll(o,t,n)?this.getSeekedSpecificMidroll(o,n,a,t):null}},{key:"isSeekedOverMidroll",value:function(e){var t=_i.playedMidrolls(e),n=hn.currentVideoTime(e),r=bi.midrolls(e),i=r.every,o=r.on,a=o;return bi.prerollEnabled(e)&&(a=o.filter(function(e){return 0!==e})),this.isSeekedOverReoccuringMidroll(i,t,n)||this.isSeekedOverSpecificMidroll(a,t,n)}}]),e}(),Gi=function e(t,n){var r=this;Ai()(this,e),f()(this,"pendingAdStatusStoreSubscriber",void 0),f()(this,"adsScheduler",void 0),f()(this,"onPendingAdStatusChanged",function(e){var t=_i.pendingAdStatus(e).type,n=_i.adStatus(e);if("playPreroll"===t&&!Hi(n)){var i=Cn.activeVideoIndex(e),o=Dn.mediaId(e);r.adsScheduler.onPrerollReached(o,i+1)}}),this.adsScheduler=n,this.pendingAdStatusStoreSubscriber=new ji(t,e.getPendingAdStatusDependencies,this.onPendingAdStatusChanged.bind(this))};f()(Gi,"getPendingAdStatusDependencies",function(e){return[_i.pendingAdStatus(e)]});var $i=3,Ki=function e(t,n){var r=this;Ai()(this,e),f()(this,"videoTimeSubscriber",void 0),f()(this,"videoSeekSubscriber",void 0),f()(this,"adTagGenerator",void 0),f()(this,"monetization",void 0),f()(this,"lastRequestedMidroll",null),f()(this,"prerollScheduler",void 0),f()(this,"generateMidrollTag",function(e){var t="midroll".concat(e.midrollNumber);return r.adTagGenerator.generate(t,e.mediaId)}),f()(this,"generatePrerollTag",function(e,t){var n="preroll".concat(t);return r.adTagGenerator.generate(n,e)}),f()(this,"onAdTimeReached",function(){r.monetization.onMidrollAdOpportunity()}),f()(this,"onPreAdTimeReached",function(e){r.onPreMidrollAdOpportunity(e)}),f()(this,"onSeekToAdOpportunity",function(e){r.onPreMidrollAdOpportunity(e)}),f()(this,"isMidrollAlreadyRequested",function(e){return e.midrollNumber===r.lastRequestedMidroll.midrollNumber&&e.mediaId===r.lastRequestedMidroll.mediaId&&e.midrollTime===r.lastRequestedMidroll.midrollTime}),f()(this,"onPreMidrollAdOpportunity",function(e){if(Un(r.lastRequestedMidroll)||!r.isMidrollAlreadyRequested(e)){r.lastRequestedMidroll=e;var t=r.generateMidrollTag(e);r.monetization.onPreMidrollAdOpportunity(e,t)}}),f()(this,"onPrerollReached",function(e,t){var n=r.generatePrerollTag(e,t);r.monetization.onPrerollAdOpportunity(n)}),f()(this,"onSeekedWhileAdInProgress",function(){r.monetization.onMidrollAdOpportunity()});var i=t.getState;this.monetization=n,this.videoTimeSubscriber=new qi(t,this),this.videoSeekSubscriber=new zi(t,this),this.prerollScheduler=new Gi(t,this);var o=_i.adTagUrlTemplate(i());this.adTagGenerator=new Wi(o)},Yi=function(){function e(){Ai()(this,e)}return Vi()(e,null,[{key:"generateAdRequest",value:function(e,t,n){var r=new google.ima.AdsRequest;return r.adTagUrl=e,Fn()||r.setAdWillPlayMuted(t),r.vastLoadTimeout=n,r}}]),e}(),Zi=function(e){return function(t){t({type:"[MONETIZATION] change ad status",payload:e})}},Xi=function(e){return function(t){t({type:"[COMMON] set pending video status",payload:{pendingStatusObject:{type:e,value:""}}})}},Ji=function(e){return function(t){t({type:"[MONETIZATION] change loading ad status",payload:e})}},Qi=function(e){return function(t){t({type:"[MONETIZATION] update ad muted",payload:e})}},eo=function(e){return function(t){t({type:"[MONETIZATION] change ad volume",payload:e})}},to=function e(t,n,r,i,o){var a=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"IMAAdManager",void 0),f()(this,"adsLoader",void 0),f()(this,"adDisplayContainer",void 0),f()(this,"adVideoElement",void 0),f()(this,"videoPlayerElement",void 0),f()(this,"adContainerElement",void 0),f()(this,"anchorStatusStoreSubscriber",void 0),f()(this,"totalAdRequestMadeAmount",0),f()(this,"registerForWindowResize",function(){var e=zn(a.onResize.bind(a),80);window.addEventListener("resize",e)}),f()(this,"initMutationObserver",function(e){new MutationObserver(a.onResize).observe(e,{attributes:!0,childList:!1,subtree:!1})}),f()(this,"loadNewAd",function(e,t){var n=a.store.dispatch;a.clearOldAdManagerIfExist();var r=a.createAdRequest(e);try{a.validateAdRequestCorrectness(r),a.adsLoader.requestAds(r),function(e,t){return function(n){n({type:"[MONETIZATION] change ad tag",payload:{adTag:e,adUnit:t}})}}(e,t)(n),Zi("requested")(n),a.totalAdRequestMadeAmount+=1}catch(i){a.onAdError(a.getLoadingError(r))}}),f()(this,"playAd",function(){try{a.IMAAdManager.init(a.videoPlayerElement.clientWidth,a.videoPlayerElement.clientHeight,google.ima.ViewMode.NORMAL);try{a.IMAAdManager.start()}catch(e){return!1}return!0}catch(t){return a.onAdError(a.getPlayAdError("ad manager start error")),!1}}),f()(this,"clearOldAdManagerIfExist",function(){Un(a.IMAAdManager)||(a.IMAAdManager.destroy(),a.IMAAdManager=null)}),f()(this,"createAdLoader",function(e,t){var n=bi.vpaidMode(e);a.adsLoader=new google.ima.AdsLoader(t),a.adsLoader.getSettings().setDisableCustomPlaybackForIOS10Plus(!0),a.adsLoader.getSettings().setVpaidMode(google.ima.ImaSdkSettings.VpaidMode[n]),a.adsLoader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,a.onIMAAdsManagerLoaded.bind(a),!1,a),a.adsLoader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,a.onAdError.bind(a),!1,a)}),f()(this,"createAdRequest",function(e){var t=a.store.getState,n=gn.muted(t()),r=bi.adRequestTimeout(t());return Yi.generateAdRequest(e,n,r)}),f()(this,"validateAdRequestCorrectness",function(e){e&&e.adTagUrl&&decodeURIComponent(e.adTagUrl.replace(/\+/g," "))}),f()(this,"getLoadingError",function(e){var t=function(){return"bad ad request ".concat(JSON.stringify(e))};return{getError:function(){return{getMessage:t}}}}),f()(this,"getPlayAdError",function(e){var t=function(){return"play ad error: ".concat(JSON.stringify(e))};return{getError:function(){return{getMessage:t}}}}),f()(this,"setAdVolume",function(e){var t=a.store,n=t.getState,r=t.dispatch,i=gn.volume(n());Bn()||gn.muted(n())?(e.setVolume(0),Qi(!0)(r)):(e.setVolume(gn.volume(n())),eo(i)(r),Qi(!1)(r))}),f()(this,"createIMAAdManager",function(t){a.IMAAdManager=t.getAdsManager(a.adVideoElement,e.getAdsRenderingSettings()),a.setAdVolume(a.IMAAdManager)}),f()(this,"registerToAdManagerEvents",function(){a.IMAAdManager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,a.onAdError),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,a.onContentPauseRequested),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,a.onContentResumeRequested),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.STARTED,a.onAdStarted),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.IMPRESSION,a.onAdImpression),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.SKIPPED,a.onAdSkipped),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.COMPLETE,a.onAdCompleted),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.PAUSED,a.onAdPaused),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.RESUMED,a.onAdStarted),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.AD_PROGRESS,a.onAdProgressChanged),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.VOLUME_CHANGED,a.onVolumeChanged),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.VOLUME_MUTED,a.onAdVolumeMutedChanged),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.ALL_ADS_COMPLETED,a.onAdCompleted)}),f()(this,"onIMAAdsManagerLoaded",function(e){var t=a.store.dispatch;a.createIMAAdManager(e),a.registerToAdManagerEvents(),Zi("loaded")(t)}),f()(this,"onAdError",function(e){var t=a.store.dispatch;!function(e){return function(t){t({type:"[MONETIZATION] change ad error",payload:e})}}(e.getError().getMessage())(t),Ji(!1),a.continuePlayingContent()}),f()(this,"onAdImpression",function(e){var t=a.store.dispatch,n=!e.getAd().g.vpaid;a.setPodInfo(e),function(e){e({type:"[MONETIZATION] increase ad impression counter"})}(t),function(e){return function(t){t({type:"[MONETIZATION] update is vast ad",payload:e})}}(n)(t)}),f()(this,"onVolumeChanged",function(e){var t=a.store.dispatch;eo(e.target.getVolume())(t)}),f()(this,"onAdVolumeMutedChanged",function(e){var t=a.store.dispatch;0===e.target.getVolume()?Qi(!0)(t):Qi(!1)(t)}),f()(this,"continuePlayingContent",function(){var e=a.store,t=e.getState,n=e.dispatch,r=hn.videoTagStatus(t());Xi("idle"===r?"play":"resume")(n)}),f()(this,"stopPlayingContent",function(){var e=a.store.dispatch;Xi("pause")(e)}),f()(this,"onContentPauseRequested",function(){a.stopPlayingContent()}),f()(this,"onContentResumeRequested",function(){a.continuePlayingContent()}),f()(this,"onAdPaused",function(){var e=a.store.dispatch;Zi("paused")(e)}),f()(this,"setPodInfo",function(e){var t=e&&e.getAd()&&e.getAd().getAdPodInfo();if(!Un(t)){var n=a.store.dispatch;!function(e,t){return function(n){n({type:"[MONETIZATION] change pod info",payload:{slotNumber:e,podNumber:t}})}}(t.getAdPosition(),a.totalAdRequestMadeAmount)(n)}}),f()(this,"onAdStarted",function(){var e=a.store,t=e.dispatch,n=e.getState,r=gn.volume(n());Zi("playing")(t),0===a.IMAAdManager.getVolume()?a.IMAAdManager.setVolume(0):window.shouldPlayAdRule||a.IMAAdManager.setVolume(r),a.onResize()}),f()(this,"onAdCompleted",function(){var e=a.store.dispatch;Zi("completed")(e)}),f()(this,"onAdSkipped",function(){var e=a.store.dispatch;Zi("skipped")(e)}),f()(this,"onResize",function(){Un(a.IMAAdManager)||(a.IMAAdManager.resize(a.videoPlayerElement.clientWidth,a.videoPlayerElement.clientHeight,google.ima.ViewMode.NORMAL),a.adContainerElement.style.height="".concat(a.videoPlayerElement.clientHeight,"px"))}),f()(this,"onAdProgressChanged",function(e){var t,n,r=a.store,i=r.dispatch,o=r.getState,s=e.getAdData().currentTime,u=e.getAdData().duration,c=_i.adDuration(o());(t=s,function(e){e({type:"[MONETIZATION] change ad current time",payload:t})})(i),c!==u&&(n=u,function(e){e({type:"[MONETIZATION] change ad duration",payload:n})})(i)}),f()(this,"onAnchorStatusChanged",function(){var e=a.store.getState;"processing"!==Pr(e())&&a.onResize()}),f()(this,"changeAdVolume",function(e){Un(a.IMAAdManager)||a.IMAAdManager.setVolume(e)}),f()(this,"changeAdMuted",function(e,t){Un(a.IMAAdManager)||(t?a.IMAAdManager.setVolume(0):a.IMAAdManager.setVolume(e))}),f()(this,"changeAdStatus",function(e){Un(a.IMAAdManager)||("playing"===e&&a.IMAAdManager.resume(),"paused"===e&&a.IMAAdManager.pause())});var s=t.getState;this.store=t,this.adVideoElement=r,this.videoPlayerElement=i,this.adContainerElement=n,this.adDisplayContainer=new google.ima.AdDisplayContainer(n,r),this.createAdLoader(s(),this.adDisplayContainer),this.adDisplayContainer.initialize(),this.anchorStatusStoreSubscriber=new ji(t,e.getAnchorDependencies,this.onAnchorStatusChanged.bind(this)),this.registerForWindowResize(),this.initMutationObserver(o)};f()(to,"getAdsRenderingSettings",function(){var e=new google.ima.AdsRenderingSettings;return e.restoreCustomPlaybackStateOnAdBreakComplete=!0,e.enablePreloading=!1,e.uiElements=[],e.loadVideoTimeout=15e3,e}),f()(to,"getAnchorDependencies",function(e){return[Pr(e)]});var no=function e(t,n,r,i,o,a){var s=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"playerId",void 0),f()(this,"adScheduler",void 0),f()(this,"adHandler",void 0),f()(this,"imaLoadingStatusSubscriber",void 0),f()(this,"adStatusSubscriber",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"adContainer",void 0),f()(this,"adVideoElement",void 0),f()(this,"videoPlayerElement",void 0),f()(this,"playerContainer",void 0),f()(this,"pendingMidrollAdPlay",!1),f()(this,"pendingPrerollAdPlay",!1),f()(this,"pendingPrerollAdTag",null),f()(this,"pendingMidrollNumber",null),f()(this,"pendingAdStatusStoreSubscriber",void 0),f()(this,"adMutedStoreSubscriber",void 0),f()(this,"adVolumeStoreSubscriber",void 0),f()(this,"onMidrollAdOpportunity",function(){var e=s.store,t=e.dispatch,n=e.getState,r=_i.adStatus(n()),i=bi.continuePlayingWhileWaitingForAd(n());"loaded"===r?s.playAd(!0):"requested"===r&&(s.pendingMidrollAdPlay=!0,i||(Xi("pause")(t),Ji(!0)(t))),function(e){e({type:"[MONETIZATION] increase ad Opportunity counter"})}(t)}),f()(this,"onPrerollAdOpportunity",function(e){var t=s.store,n=t.getState,r=t.dispatch,i=Fi.loadingImaStatus(n());Un(s.adHandler)?"loading"!==i&&""!==i||(Ji(!0)(r),s.pendingPrerollAdPlay=!0,s.pendingPrerollAdTag=e):(s.pendingPrerollAdPlay=!0,Ji(!0)(r),s.adHandler.loadNewAd(e,"preroll"))}),f()(this,"onPreMidrollAdOpportunity",function(e,t){Un(s.adHandler)||(e.currentTime>=e.midrollTime&&(s.pendingMidrollAdPlay=!0),s.pendingMidrollNumber=e.midrollNumber,s.adHandler.loadNewAd(t,"midroll"))}),f()(this,"hasPendingAd",function(){return s.hasPendingMidrollAdPlay()||s.hasPendingPrerollAdPlay()}),f()(this,"onAdStatusChanged",function(e){var t=s.store.dispatch,n=_i.adStatus(e);"completed"===n&&Ji(!1)(t);var r=bi.continuePlayingWhileWaitingForAd(e),i=_i.loadingAd(e);"playing"!==n&&"error"!==n||r||!i||Ji(!1)(t),s.hasPendingAd()&&"loaded"===n?s.playAd(s.hasPendingMidrollAdPlay()):s.hasPendingAd()&&"error"===n?(Ji(!1),s.clearPendingMidroll(),s.clearPendingPreroll()):Hi(n)||(Ji(!1),function(e){e({type:"[MONETIZATION] clear ad data"})}(t))}),f()(this,"clearPendingMidroll",function(){s.pendingMidrollNumber=null,s.pendingMidrollAdPlay=!1}),f()(this,"clearPendingPreroll",function(){s.pendingPrerollAdPlay=!1,s.pendingPrerollAdTag=null}),f()(this,"onVideoTagStatusChanged",function(e){"complete"===hn.videoTagStatus(e)&&function(e){e({type:"[MONETIZATION] clear played midrolls"})}(s.store.dispatch)}),f()(this,"hasPendingMidrollAdPlay",function(){return s.pendingMidrollAdPlay}),f()(this,"hasPendingPrerollAdPlay",function(){return s.pendingPrerollAdPlay}),f()(this,"playAd",function(e){var t,n=s.store.dispatch,r=s.adHandler.playAd();e?((t=s.pendingMidrollNumber,function(e){e({type:"[MONETIZATION] add played midroll number",payload:t})})(n),s.clearPendingMidroll()):s.clearPendingPreroll(),r||(Ji(!1)(n),Xi("resume")(n))}),f()(this,"onIMALoadingStatusChanged",function(t){e.canUseIMA(t)&&(Un(s.adHandler)&&(s.adHandler=new to(s.store,s.adContainer,s.adVideoElement,s.videoPlayerElement,s.playerContainer)),s.hasPendingPrerollAdPlay()&&s.adHandler.loadNewAd(s.pendingPrerollAdTag,"preroll"))}),f()(this,"onPendingAdStatusChanged",function(){var e=s.store.getState,t=_i.pendingAdStatus(e()).type;switch(t){case"paused":case"playing":s.adHandler.changeAdStatus(t)}}),f()(this,"onAdMutedChanged",function(){var e=s.store.getState,t=_i.adMuted(e()),n=gn.volume(e());s.adHandler.changeAdMuted(n,t)}),f()(this,"onAdVolumeChanged",function(){var e=s.store.getState,t=_i.adVolume(e());s.adHandler.changeAdVolume(t)});var u=t.getState;this.store=t,this.playerId=n,this.adContainer=r,this.adVideoElement=i,this.videoPlayerElement=o,this.playerContainer=a,this.adScheduler=new Ki(t,this),this.adStatusSubscriber=new ji(t,e.getAdStatusDependencies,this.onAdStatusChanged.bind(this)),this.videoTagStatusSubscriber=new ji(t,e.getVideoTagStatusDependencies,this.onVideoTagStatusChanged.bind(this)),e.canUseIMA(u())?this.adHandler=new to(t,r,i,o,a):this.imaLoadingStatusSubscriber=new ji(t,e.getIMALoadingStatusDependencies,this.onIMALoadingStatusChanged.bind(this)),this.pendingAdStatusStoreSubscriber=new ji(t,e.getPendingAdStatusDependencies,this.onPendingAdStatusChanged.bind(this)),this.adMutedStoreSubscriber=new ji(t,e.getAdMutedDependencies,this.onAdMutedChanged.bind(this)),this.adVolumeStoreSubscriber=new ji(t,e.getAdVolumeDependencies,this.onAdVolumeChanged.bind(this))};f()(no,"getAdStatusDependencies",function(e){return[_i.adStatus(e)]}),f()(no,"getVideoTagStatusDependencies",function(e){return[hn.videoTagStatus(e)]}),f()(no,"getIMALoadingStatusDependencies",function(e){return[Fi.loadingImaStatus(e)]}),f()(no,"canUseIMA",function(e){return"success"===Fi.loadingImaStatus(e)}),f()(no,"getPendingAdStatusDependencies",function(e){return[_i.pendingAdStatus(e)]}),f()(no,"getAdMutedDependencies",function(e){return[_i.adMuted(e)]}),f()(no,"getAdVolumeDependencies",function(e){return[_i.adVolume(e)]});var ro=function(e,t){!function(e,t){var n=document.getElementById(vn(t));B(b(Li,{store:e,playerId:t}),n)}(e,t);var n=function(e){var t=Ri(e);return document.getElementById(t)}(t),r=function(e){var t=Bn()?Di(e):En(e);return document.getElementById(t)}(t),i=function(e){var t=En(e);return document.getElementById(t)}(t),o=function(e){var t=bn(e);return document.getElementById(t)}(t);return new no(e,t,n,r,i,o)},io=n(4),oo=n.n(io),ao=n(7),so=n.n(ao),uo=function(){function e(){Ai()(this,e),f()(this,"duration",void 0),f()(this,"position",void 0),f()(this,"previousPosition",void 0),f()(this,"loadTime",void 0),f()(this,"adOrder",void 0),f()(this,"adType",void 0),f()(this,"adDuration",void 0),f()(this,"errorMessage",void 0),f()(this,"adPodNumber",void 0),f()(this,"adSlotNumber",void 0)}return Vi()(e,[{key:"setDuration",value:function(e){return this.duration=e,this}},{key:"setPosition",value:function(e){return this.position=e,this}},{key:"setPreviousPosition",value:function(e){return this.previousPosition=e,this}},{key:"setLoadTime",value:function(e){return this.loadTime=e,this}},{key:"setAdOrder",value:function(e){return this.adOrder=e,this}},{key:"setAdType",value:function(e){return this.adType=e,this}},{key:"setAdDuration",value:function(e){return this.adDuration=e,this}},{key:"setErrorMessage",value:function(e){return this.errorMessage=e,this}},{key:"setAdPodNumber",value:function(e){return this.adPodNumber=e,this}},{key:"setAdSlotNumber",value:function(e){return this.adSlotNumber=e,this}},{key:"build",value:function(){var e=[];return jn(this.position)||e.push("video current position=".concat(Hn(this.position),"sec")),jn(this.duration)||e.push("video duration time=".concat(Hn(this.duration),"sec")),jn(this.loadTime)||e.push("video load time=".concat(this.loadTime,"milliseconds")),jn(this.previousPosition)||e.push("previous position=".concat(Hn(this.previousPosition),"sec")),jn(this.adOrder)||e.push("ad order=".concat(this.adOrder)),jn(this.adType)||e.push("ad type=".concat(this.adType)),jn(this.adDuration)||e.push("ad duration=".concat(Hn(Number(this.adDuration)),"sec")),jn(this.adPodNumber)||e.push("pod number=".concat(this.adPodNumber)),jn(this.adSlotNumber)||e.push("slot number=".concat(this.adSlotNumber)),jn(this.errorMessage)||e.push("error message=".concat(this.errorMessage)),e.join(";")}}]),e}(),co="mmPlus GTM data ready to GA",lo="mmPlus GTM event to GA",po={EMBED:"vplayer video player embed",FIRST_PLAY:"vplayer video first play",COMPLETION_25_PERCENTAGE:"vplayer video 25% complete",COMPLETION_50_PERCENTAGE:"vplayer video 50% complete",COMPLETION_75_PERCENTAGE:"vplayer video 75% complete",COMPLETION_90_PERCENTAGE:"vplayer video 90% complete",AD_BLOCK:"vplayer video ad block",AD_REQUEST:"vplayer video ad request",AD_IMPRESSION:"vplayer video ad impression",AD_ERROR:"vplayer video ad error",AD_VIEWABLE_IMPRESSION:"vplayer video ad viewable impression",AD_COMPLETE:"vplayer video ad complete",AD_SKIP:"vplayer video ad skip",AD_PAUSE:"vplayer video ad pause",VIDEO_COMPLETE:"vplayer video complete",FULLSCREEN_ON:"vplayer video fullscreen on",FULLSCREEN_OFF:"vplayer video fullscreen off",SEEK:"vplayer video position seeked",VIDEO_MUTE:"vplayer video mute",VIDEO_UNMUTE:"vplayer video unmute",CONTROLS_MUTE_OR_UNMUTE:"controls Mute/Unmute button click",CONTROLS_PLAY_OR_PAUSE:"controls Play/Pause button click",CONTROLS_FULLSCREEN:"controls Fullscreen button click",CONTROLS_NEXT_VIDEO:"controls Next Video button click",CONTROLS_SETTINGS:"controls Settings button click",MINI_PLAYER_CLOSE:"vplayer video miniplayer close",LOADING_CONTENT_ERROR:"vplayer video player error",PLAYER_ERROR:"vplayer general player error",CONTENT_VIEWABLE_IMPRESSION:"vplayer video content viewable impression"},fo="loading ad provider library failed",ho="mid",yo=function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"analyticsEventsCallbacks",void 0),f()(this,"videoMuteSubscriber",void 0),f()(this,"videoFullscreenSubscriber",void 0),f()(this,"onMuteStateChanged",function(e){var t=gn.muted(e),n=hn.currentVideoTimeFragment(e),i=(new uo).setPosition(n).build(),o=t?po.VIDEO_MUTE:po.VIDEO_UNMUTE;r.analyticsEventsCallbacks.onEvent(o,i)}),f()(this,"onFullsScreenStateChanged",function(e){var t=gn.fullscreen(e),n=hn.currentVideoTimeFragment(e),i=(new uo).setPosition(n).build(),o=t?po.FULLSCREEN_ON:po.FULLSCREEN_OFF;r.analyticsEventsCallbacks.onEvent(o,i)}),this.store=t,this.analyticsEventsCallbacks=n,this.videoMuteSubscriber=new ji(t,e.getVideoMuteDependencies,this.onMuteStateChanged.bind(this)),this.videoFullscreenSubscriber=new ji(t,e.getVideoFullscreenDependencies,this.onFullsScreenStateChanged.bind(this))};f()(yo,"getVideoMuteDependencies",function(e){return[gn.muted(e)]}),f()(yo,"getVideoFullscreenDependencies",function(e){return[gn.fullscreen(e)]});var go=n(3),vo=n.n(go),mo=n(8),bo=n.n(mo),Oo=n(9),_o=n.n(Oo),So=n(5),Eo=n.n(So);n(20);var wo={root:null,threshold:.5,rootMargin:"0px"},Po=function(){function e(t,n,r){Ai()(this,e),f()(this,"store",void 0),f()(this,"observableElement",void 0),f()(this,"callback",void 0),f()(this,"isViewableTimeoutHandler",null),f()(this,"observer",void 0),f()(this,"didReport",!1),this.store=t,this.observableElement=n,this.callback=r,this.observer=new IntersectionObserver(this.onIntersecting.bind(this),wo)}return Vi()(e,[{key:"unobserve",value:function(){this.observer.unobserve(this.observableElement),this.clearIsViewableTimeout()}},{key:"observe",value:function(){this.observer.observe(this.observableElement)}},{key:"onPlay",value:function(){this.didReport||this.observe()}},{key:"onPause",value:function(){this.unobserve()}},{key:"onComplete",value:function(){this.didReport=!1,this.unobserve()}},{key:"onIntersecting",value:function(e){var t=e[0].isIntersecting;null===this.isViewableTimeoutHandler&&t?this.isViewableTimeoutHandler=setTimeout(this.notifyViewable.bind(this),2e3):this.clearIsViewableTimeout()}},{key:"clearIsViewableTimeout",value:function(){clearTimeout(this.isViewableTimeoutHandler),this.isViewableTimeoutHandler=null}},{key:"notifyViewable",value:function(){var e=this.store.getState;this.didReport=!0,this.callback(e()),this.unobserve()}}]),e}();function To(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Eo()(e);if(t){var i=Eo()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _o()(this,n)}}var Ao=function(e){bo()(n,e);var t=To(n);function n(e,r,i){var o;return Ai()(this,n),o=t.call(this,e,r,i),f()(vo()(o),"videoTagStatusSubscriber",void 0),f()(vo()(o),"onVideoTagStatusChanged",function(e){var t=hn.videoTagStatus(e);"playing"===t?o.onPlay():"paused"===t||"seeking"===t?o.onPause():"complete"!==t&&"error"!==t||o.onComplete()}),o.videoTagStatusSubscriber=new ji(e,n.getVideoTagStatusDependencies,o.onVideoTagStatusChanged.bind(vo()(o))),o}return n}(Po);f()(Ao,"getVideoTagStatusDependencies",function(e){return[hn.videoTagStatus(e)]});var Co=function e(t,n,r,i){var o=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"analyticsEventsCallbacks",void 0),f()(this,"videoViewableImpressionObserver",void 0),f()(this,"firstPlayReportedIndex",-1),f()(this,"loadingStartTime",-1),f()(this,"registerVideoCallbacksIdNeeded",function(e,t){"none"!==hn.playbackMethod(e)&&document.getElementById(En(t)).addEventListener("loadstart",o.onLoadStart.bind(o),{once:!0})}),f()(this,"onLoadStart",function(){o.loadingStartTime=Date.now()}),f()(this,"getFirstPlayLabel",function(e){var t=hn.currentVideoTimeFragment(e),n=hn.currentVideoDuration(e),r=-1===o.loadingStartTime?-1:Date.now()-o.loadingStartTime;return(new uo).setPosition(t).setLoadTime(r).setDuration(n).build()}),f()(this,"onVideoTagStatusChanged",function(e){var t=hn.videoTagStatus(e),n=Cn.activeVideoIndex(e);if(!(n===o.firstPlayReportedIndex)&&"playing"===t){o.firstPlayReportedIndex=n;var r=o.getFirstPlayLabel(e);o.analyticsEventsCallbacks.onEvent(po.FIRST_PLAY,r)}}),f()(this,"reportVideoViewableImpression",function(e){var t=hn.currentVideoTimeFragment(e),n=(new uo).setPosition(t).build();o.analyticsEventsCallbacks.onEvent(po.CONTENT_VIEWABLE_IMPRESSION,n)}),this.store=t,this.analyticsEventsCallbacks=n,this.videoViewableImpressionObserver=new Ao(t,r,this.reportVideoViewableImpression.bind(this)),this.videoTagStatusSubscriber=new ji(t,e.getVideoTagDependencies,this.onVideoTagStatusChanged.bind(this)),this.registerVideoCallbacksIdNeeded(t.getState(),i)};f()(Co,"getVideoTagDependencies",function(e){return[hn.videoTagStatus(e)]});var Ro=[25,50,75,90],Do=function(){function e(){Ai()(this,e),f()(this,"lastReportedPercentage",void 0),this.lastReportedPercentage=0}return Vi()(e,[{key:"clear",value:function(){this.lastReportedPercentage=0}},{key:"updateConsumption",value:function(e,t){var n=e.position,r=e.duration,i=Math.round(n/r*100);i>this.lastReportedPercentage&&this.notifyReportableConsumption(e,i,t)}},{key:"notifyReportableConsumption",value:function(e,t,n){var r=this;Ro.filter(function(e){return e>r.lastReportedPercentage&&e<=t}).forEach(function(t){return n(t,e.position,e.duration)}),this.lastReportedPercentage=t}}]),e}(),Mo=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"analyticsEventsCallbacks",void 0),f()(this,"videoTimeSubscriber",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"videoDataStoreSubscriber",void 0),f()(this,"percentageConsumption",void 0),f()(this,"previousVideoTagStatus",void 0),f()(this,"lastPlayedPosition",void 0),f()(this,"getVideoPercentageAction",function(e){switch(e){case 25:return po.COMPLETION_25_PERCENTAGE;case 50:return po.COMPLETION_50_PERCENTAGE;case 75:return po.COMPLETION_75_PERCENTAGE;case 90:return po.COMPLETION_90_PERCENTAGE;default:return""}}),f()(this,"onVideoTimeChanged",function(e){var t=hn.currentVideoDuration(e),n=hn.currentVideoTimeFragment(e);r.percentageConsumption.updateConsumption({position:n,duration:t},r.onVideoTimeReport.bind(r))}),f()(this,"onVideoTagStatusChanged",function(e){var t=hn.videoTagStatus(e),n=hn.currentVideoTimeFragment(e),i=hn.currentVideoDuration(e);if("seeking"===r.previousVideoTagStatus){var o=(new uo).setPosition(n).setPreviousPosition(r.lastPlayedPosition).build();r.analyticsEventsCallbacks.onEvent(po.SEEK,o)}else"seeking"===t&&(r.lastPlayedPosition=n);r.previousVideoTagStatus=t,"complete"===t&&r.onComplete(i)}),f()(this,"onVideoDataChanged",function(){r.percentageConsumption.clear()}),f()(this,"onComplete",function(e){var t=(new uo).setDuration(e).build();r.analyticsEventsCallbacks.onEvent(po.VIDEO_COMPLETE,t),r.percentageConsumption.clear()}),this.store=t,this.analyticsEventsCallbacks=n,this.videoTimeSubscriber=new ji(t,e.getVideoTimeDependencies,this.onVideoTimeChanged.bind(this)),this.videoTagStatusSubscriber=new ji(t,e.getVideoTagStatusDependencies,this.onVideoTagStatusChanged.bind(this)),this.videoDataStoreSubscriber=new ji(t,e.getVideoDataDependencies,this.onVideoDataChanged.bind(this)),this.percentageConsumption=new Do}return Vi()(e,[{key:"onVideoTimeReport",value:function(e,t,n){var r=this.getVideoPercentageAction(e),i=(new uo).setPosition(t).setDuration(n).build();this.analyticsEventsCallbacks.onEvent(r,i)}}]),e}();f()(Mo,"getVideoTimeDependencies",function(e){return[hn.currentVideoTime(e)]}),f()(Mo,"getVideoTagStatusDependencies",function(e){return[hn.videoTagStatus(e)]}),f()(Mo,"getVideoDataDependencies",function(e){return[Cn.videoData(e)]});var Io=function e(t,n,r,i){Ai()(this,e),f()(this,"store",void 0),f()(this,"timeEvents",void 0),f()(this,"videoSettingsEvents",void 0),f()(this,"videoTagStatusEvents",void 0),this.store=t,this.timeEvents=new Mo(t,n),this.videoSettingsEvents=new yo(t,n),this.videoTagStatusEvents=new Co(t,n,r,i)},ko=n(13),No=n.n(ko),Lo=function(){function e(){Ai()(this,e),f()(this,"batteryLevel","N/A"),f()(this,"batteryChargingState",!1),f()(this,"connectionSpeed","N/A"),f()(this,"connectionType","N/A"),this.setConnectionParams()}return Vi()(e,[{key:"setConnectionParams",value:function(){var e=this,t=navigator.connection||navigator.mozConnection||navigator.webkitConnection;t&&(this.updateConnectionParams(t.effectiveType,t.downlink),t.addEventListener("change",function(){return e.updateConnectionParams(t.effectiveType,t.downlink)}))}},{key:"updateConnectionParams",value:function(e,t){this.connectionType=e,this.connectionSpeed=t}},{key:"attach",value:function(){var e=so()(oo.a.mark(function e(){var t,n=this;return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!navigator.getBattery){e.next=7;break}return e.next=3,navigator.getBattery();case 3:t=e.sent,this.updateBatteryParams(t.level,t.charging),t.ondischargingtimechange=function(e){return n.updateBatteryParams(e.target.level,e.target.charging)},t.onchargingtimechange=function(e){return n.updateBatteryParams(e.target.level,e.target.charging)};case 7:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"updateBatteryParams",value:function(e,t){this.batteryLevel="".concat(100*e),this.batteryChargingState=t}},{key:"getBatteryLevel",value:function(){return this.batteryLevel}},{key:"getBatteryChargingState",value:function(){return this.batteryChargingState}},{key:"getConnectionSpeed",value:function(){return this.connectionSpeed}},{key:"getConnectionType",value:function(){return this.connectionType}}]),e}(),xo=function(){"undefined"===typeof window["$$mm-analytics"]&&(window["$$mm-analytics"]={});var e=window;return"undefined"===typeof e["$$mm-analytics"].firstEmbed&&(e["$$mm-analytics"].firstEmbed=Date.now()),e["$$mm-analytics"].firstEmbed},Vo=function(){return"time in process=".concat(Date.now()-xo()," milliseconds")},jo=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"videoTag",null),f()(this,"deviceParams",void 0),f()(this,"trafficDomain",void 0),f()(this,"adTimeoutDuration",void 0),f()(this,"playbackMethod",void 0),f()(this,"configName",void 0),f()(this,"playerUniqKey",void 0),f()(this,"attach",so()(oo.a.mark(function e(){return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.deviceParams=new Lo,e.next=3,r.deviceParams.attach();case 3:case"end":return e.stop()}},e)}))),f()(this,"translatePlaybackMethod",function(e){switch(e){case"lazyplay":return"scroll to play";case"autoplay":return"auto play";case"autoplay_when_viewable":return"auto play when viewable";case"none":return"click to play";default:return"none"}}),f()(this,"getAdTimeout",function(e){return e?"".concat(qn(e)," sec"):"none"}),f()(this,"getVideoTag",function(){return null===r.videoTag&&(r.videoTag=document.getElementById(En(r.playerUniqKey))),r.videoTag}),f()(this,"getUnitSize",function(){var e=r.getVideoTag();return null!==e?"".concat(e.clientWidth,":").concat(e.clientHeight):"none"}),f()(this,"getBatteryCharging",function(){return r.deviceParams.getBatteryChargingState()?"yes":"no"});var i=t.publisher_contribution,o=t.monetization,a=t.playback_method,s=t.config_name;this.playerUniqKey=n,this.trafficDomain=i,this.adTimeoutDuration=o&&o.ad_request_timeout?this.getAdTimeout(o.ad_request_timeout):"none",this.playbackMethod=this.translatePlaybackMethod(a),this.configName=s}return Vi()(e,[{key:"getDimensions",value:function(){return{mmPlusConfigName:this.configName,mmPlusPlaybackMethod:this.playbackMethod,mmPlusPrePvTimeInProcess:Vo(),mmPlusTrafficDomain:this.trafficDomain,mmPlusUnitSize:this.getUnitSize(),mmPlusUnitType:"video",mmPlusUserBatteryCharging:this.getBatteryCharging(),mmPlusUserBatteryLevel:this.deviceParams.getBatteryLevel(),mmPlusUserConnectionSpeed:this.deviceParams.getConnectionSpeed(),mmPlusUserConnectionType:this.deviceParams.getConnectionType(),mmPlusAdTimeoutDuration:this.adTimeoutDuration}}}]),e}();function Uo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uo(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Bo(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Eo()(e);if(t){var i=Eo()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _o()(this,n)}}var Ho=function(e){bo()(n,e);var t=Bo(n);function n(e,r){var i,o;return Ai()(this,n),o=t.call(this,e,r),f()(vo()(o),"domain",void 0),f()(vo()(o),"getDimensions",function(){return Fo(Fo({},No()((i=vo()(o),Eo()(n.prototype)),"getDimensions",i).call(i)),{},{mmPlusDomain:o.domain})}),o.domain=window.location.hostname,o}return n}(jo);function qo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Wo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qo(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function zo(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Eo()(e);if(t){var i=Eo()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _o()(this,n)}}var Go=function(e){bo()(n,e);var t=zo(n);function n(e,r,i){var o;Ai()(this,n),o=t.call(this,i,r),f()(vo()(o),"store",void 0),f()(vo()(o),"playerUniqId",void 0),f()(vo()(o),"autoPlay",void 0),f()(vo()(o),"streamType",void 0),f()(vo()(o),"gaProperty",void 0),f()(vo()(o),"booleanToYesOrNo",function(e){return e?"yes":"no"}),f()(vo()(o),"getAspectRatio",function(e,t){var r=n.getCommonDenominator(e,t),i=t/r;return"".concat(e/r,":").concat(i)}),f()(vo()(o),"getUnitRadio",function(){var e=o.getVideoTag();if(null!==e){var t=e.clientWidth,n=e.clientHeight;return o.getAspectRatio(t,n)}return"none"}),f()(vo()(o),"getVideoDuration",function(e){var t=Dn.duration(e);return t?"".concat(t," sec"):"none"});var a=i.playback_method,s=i.content_type,u=i.ga_property;return o.store=e,o.playerUniqId=r,o.autoPlay=o.booleanToYesOrNo("none"!==a),o.streamType=s,o.gaProperty=u||o.trafficDomain,o}return Vi()(n,[{key:"getDimensions",value:function(){var e=this.store.getState;return Wo(Wo({},No()(Eo()(n.prototype),"getDimensions",this).call(this)),{},{mmPlusVideoPlayerId:this.playerUniqId,mmPlusUnitId:Dn.mediaId(e())||"none",mmPlusUnitTitle:Dn.title(e())||"none",mmPlusVideoAutoplay:this.autoPlay,mmPlusVideoDuration:this.getVideoDuration(e()),mmPlusVideoStreamType:this.streamType,mmPlusVideoPlaylistId:Cn.mediaId(e())||"none",mmPlusVideoMuted:this.booleanToYesOrNo(gn.muted(e())),mmPlusUnitTags:Dn.tags(e()).toString()||"none",mmPlusUnitOrderNumber:Cn.activeVideoIndex(e()),mmPlusTrafficReferrer:document.referrer,mmPlusUnitProvider:Dn.provider(e())||"none",mmPlusUnitCreator:Dn.creator(e())||"none",mmPlusUnitExternalId:Dn.externalId(e())||"none",mmPlusUnitRatio:this.getUnitRadio(),mmPlusGaProperty:this.gaProperty,mmPlusVideoPlayerType:"vplayer",mmPlusVideoThumbnailsOn:"none",mmPlusVideoClosedCaptionsOn:"none",mmPlusVideoRecommendationsVisible:"none"})}}]),n}(jo);function $o(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Eo()(e);if(t){var i=Eo()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _o()(this,n)}}f()(Go,"getCommonDenominator",function(e,t){for(var n=e,r=t;r;){var i=r;r=n%r,n=i}return n});var Ko=function(e){bo()(n,e);var t=$o(n);function n(e,r,i){var o;return Ai()(this,n),o=t.call(this,e,r,i),f()(vo()(o),"adStatusSubscriber",void 0),f()(vo()(o),"onAdStatusChanged",function(e){var t=_i.adStatus(e);"playing"===t?o.onPlay():"paused"===t?o.onPause():Hi(t)||o.onComplete()}),o.adStatusSubscriber=new ji(e,n.getAdStatusDependencies,o.onAdStatusChanged.bind(vo()(o))),o}return n}(Po);f()(Ko,"getAdStatusDependencies",function(e){return[_i.adStatus(e)]});var Yo=function e(t,n,r){var i=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"analyticsCallback",void 0),f()(this,"adStatusSubscriber",void 0),f()(this,"adImpressionSubscriber",void 0),f()(this,"adProviderLoadingStatusSubscriber",void 0),f()(this,"adViewableImpressionObserver",void 0),f()(this,"initAdBlockChecker",function(t){""===Fi.loadingImaStatus(t.getState())?i.adProviderLoadingStatusSubscriber=new ji(t,e.getAdProviderLoadingStatusDependencies,i.onAdProviderLoadingStatusChanged.bind(i)):i.onAdProviderLoadingStatusChanged(t.getState())}),f()(this,"getAdOrderFromPlayedMidrolls",function(e){return e&&e.length>0?e[e.length-1]:0}),f()(this,"getFullAdLabel",function(e){var t=hn.currentVideoTimeFragment(e),n=_i.adDuration(e),r=_i.playedMidrolls(e),o=_i.slotNumber(e),a=_i.podNumber(e),s=i.getAdOrderFromPlayedMidrolls(r);return(new uo).setAdType(ho).setPosition(t).setAdDuration(n).setAdOrder(s).setAdSlotNumber(o).setAdPodNumber(a).build()}),f()(this,"reportAdBlock",function(){i.analyticsCallback.onEvent(po.AD_BLOCK)}),f()(this,"reportError",function(e){var t=(new uo).setErrorMessage(e).build();i.analyticsCallback.onEvent(po.PLAYER_ERROR,t)}),f()(this,"reportAdRequested",function(e){var t=hn.currentVideoTimeFragment(e),n=_i.playedMidrolls(e),r=i.getAdOrderFromPlayedMidrolls(n),o=(new uo).setPosition(t).setAdOrder(r).build();i.analyticsCallback.onEvent(po.AD_REQUEST,o)}),f()(this,"reportAdImpression",function(e){var t=i.getFullAdLabel(e);i.analyticsCallback.onEvent(po.AD_IMPRESSION,t)}),f()(this,"reportAdError",function(e){var t=_i.adErrorMessage(e),n=_i.slotNumber(e),r=_i.podNumber(e),o=(new uo).setAdType(ho).setErrorMessage(t).setAdPodNumber(r).setAdSlotNumber(n).build();i.analyticsCallback.onEvent(po.AD_ERROR,o)}),f()(this,"reportAdComplete",function(e){var t=i.getFullAdLabel(e);i.analyticsCallback.onEvent(po.AD_COMPLETE,t)}),f()(this,"reportAdSkipped",function(e){var t=i.getFullAdLabel(e);i.analyticsCallback.onEvent(po.AD_SKIP,t)}),f()(this,"reportAdPaused",function(e){var t=i.getFullAdLabel(e);i.analyticsCallback.onEvent(po.AD_PAUSE,t)}),f()(this,"reportAdViewableImpression",function(e){var t=hn.currentVideoTimeFragment(e),n=_i.adDuration(e),r=_i.slotNumber(e),o=_i.podNumber(e),a=(new uo).setPosition(t).setAdType(ho).setAdDuration(n).setAdPodNumber(o).setAdSlotNumber(r).build();i.analyticsCallback.onEvent(po.AD_VIEWABLE_IMPRESSION,a)}),f()(this,"onAdStatusChanged",function(e){var t=_i.adStatus(e);"requested"===t&&i.reportAdRequested(e),"error"===t&&i.reportAdError(e),"completed"===t&&i.reportAdComplete(e),"skipped"===t&&i.reportAdSkipped(e),"paused"===t&&i.reportAdPaused(e)}),f()(this,"onAdProviderLoadingStatusChanged",function(e){var t=Fi.loadingImaStatus(e);"blocked"===t?i.reportAdBlock():"error"===t&&i.reportError(fo)}),f()(this,"onAdImpressionChanged",function(e){i.reportAdImpression(e)}),this.store=t,this.analyticsCallback=n,this.adStatusSubscriber=new ji(t,e.getAdStatusDependencies,this.onAdStatusChanged.bind(this)),this.adImpressionSubscriber=new ji(t,e.getAdImpressionDependencies,this.onAdImpressionChanged.bind(this)),this.adViewableImpressionObserver=new Ko(t,r,this.reportAdViewableImpression.bind(this)),this.initAdBlockChecker(t)};f()(Yo,"getAdProviderLoadingStatusDependencies",function(e){return[Fi.loadingImaStatus(e)]}),f()(Yo,"getAdStatusDependencies",function(e){return[_i.adStatus(e)]}),f()(Yo,"getAdImpressionDependencies",function(e){return[_i.adImpression(e)]});var Zo=pn.userInteraction,Xo=function(e){return Zo(e).userInteractionType},Jo=function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"analyticsCallbacks",void 0),f()(this,"userInteraction",void 0),f()(this,"getLabel",function(e){var t=hn.currentVideoTimeFragment(e);return(new uo).setPosition(t).build()}),f()(this,"reportMuteOrUnmute",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_MUTE_OR_UNMUTE,r.getLabel(e))}),f()(this,"reportFullscreen",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_FULLSCREEN,r.getLabel(e))}),f()(this,"reportPlayOrPause",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_PLAY_OR_PAUSE,r.getLabel(e))}),f()(this,"reportNextVideo",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_NEXT_VIDEO,r.getLabel(e))}),f()(this,"reportSettings",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_SETTINGS,r.getLabel(e))}),f()(this,"reportMiniPlayerClosed",function(e){r.analyticsCallbacks.onEvent(po.MINI_PLAYER_CLOSE,r.getLabel(e))}),f()(this,"onUserInteractionChanged",function(e){switch(Xo(e)){case"mute":case"unmute":r.reportMuteOrUnmute(e);break;case"fullscreen":r.reportFullscreen(e);break;case"play":case"pause":r.reportPlayOrPause(e);break;case"settings":r.reportSettings(e);break;case"nextVideo":r.reportNextVideo(e);break;case"closeMiniPlayer":r.reportMiniPlayerClosed(e)}}),this.store=t,this.analyticsCallbacks=n,this.userInteraction=new ji(t,e.getUserInteractionDependencies,this.onUserInteractionChanged.bind(this))};function Qo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ea(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qo(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}f()(Jo,"getUserInteractionDependencies",function(e){return[Xo(e)]});var ta=function e(t,n,r,i){var o=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"videoEventsReporter",void 0),f()(this,"monetizationEventsReporter",void 0),f()(this,"userInteractionReporter",void 0),f()(this,"eventCustomDimensions",void 0),f()(this,"dataLayer",null),f()(this,"attach",function(){var e=so()(oo.a.mark(function e(t,n,r){return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o.eventCustomDimensions=new Go(t,n,r),e.next=3,o.eventCustomDimensions.attach();case 3:return e.next=5,o.reportReady(t,n,r);case 5:o.reportEmbed();case 6:case"end":return e.stop()}},e)}));return function(t,n,r){return e.apply(this,arguments)}}()),f()(this,"initDataLayer",function(){var e;try{e=$n(window.parent)}catch(t){e=$n(window)}o.dataLayer=window[e]}),f()(this,"reportReady",function(){var e=so()(oo.a.mark(function e(t,n,r){var i;return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=new Ho(r,n),e.next=3,i.attach();case 3:o.dataLayer.push(ea({event:co},i.getDimensions()));case 4:case"end":return e.stop()}},e)}));return function(t,n,r){return e.apply(this,arguments)}}()),f()(this,"reportEmbed",function(){o.onEvent(po.EMBED)}),f()(this,"onEvent",function(e,t,n,r){var i=r||o.eventCustomDimensions.getDimensions(),a=n||lo;o.dataLayer.push(ea(ea({event:a,mmPlusGA_event_action:e,mmPlusGA_event_label:t,mmPlusGA_event_category:"MMVideo"},i),{},{time:Date.now()}))}),this.store=t,this.initDataLayer(),this.videoEventsReporter=new Io(t,this,i,n),this.monetizationEventsReporter=new Yo(t,this,i),window.monetizationEventsReporter=this.monetizationEventsReporter,this.userInteractionReporter=new Jo(t,this),this.attach(t,n,r)},na=pn.discovery,ra=function(e){return na(e).nextVideo},ia=n(51).version,oa=function e(){var t=this;Ai()(this,e),f()(this,"controlsLoaded",void 0),f()(this,"loadInternalPlugins",function(e,n,r){var i=r.dev_config,o=e.getState,a=i&&!Un(i.pluginsPath)?i.pluginsPath:function(){try{return"https://www.oo-syringe.com/prod/players"}catch(w){return"./dist/bundle"}}();t.loadAnalyticsPlugin(e,n,r),t.loadActionsPlugin(n,a),t.loadMonetizationPlugin(e,n),t.loadControlsPlugin(n,a),t.loadAnchorPlugin(n,a),t.loadComscorePlugin(n,r,a),Sr(o())&&Un(Zn(o()))&&t.loadCloseBarPlugin(n,a),"none"!==ra(o())&&t.loadDiscoveryPlugin(n,a),Un(Zn(o()))||t.loadSplitViewPlugin(n,a)}),f()(this,"loadActionsPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.actionsPlugin)window.monti.dataset.plugins.actionsPlugin(e);else{var n=document.createElement("script");n.setAttribute("type","text/javascript"),n.setAttribute("src","".concat(t,"/mplayer_actions_plugin.").concat(ia,".js")),n.addEventListener("load",function(){window.monti.dataset.plugins.actionsPlugin(e)}),n.addEventListener("error",function(){console.log("ACTIONS PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadMonetizationPlugin",function(e,t){ro(e,t)}),f()(this,"loadControlsPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.controlsPlugin)window.monti.dataset.plugins.controlsPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_controls_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.controlsPlugin(e)}),n.addEventListener("error",function(){console.log("CONTROLS PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadAnchorPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.anchorPlugin)window.monti.dataset.plugins.anchorPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_anchor_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.anchorPlugin(e)}),n.addEventListener("error",function(){console.log("ANCHOR PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadSplitViewPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.splitViewPlugin)window.monti.dataset.plugins.splitViewPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_split_view_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.splitViewPlugin(e)}),n.addEventListener("error",function(){console.log("SPLIT VIEW PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadComscorePlugin",function(e,t,n){if(window.monti.dataset&&window.monti.dataset.plugins.comscorePlugin)window.monti.dataset.plugins.comscorePlugin(e,t);else{var r=document.createElement("script");r.setAttribute("src","".concat(n,"/mplayer_comscore_plugin.").concat(ia,".js")),r.setAttribute("type","text/javascript"),r.addEventListener("load",function(){window.monti.dataset.plugins.comscorePlugin(e,t)}),r.addEventListener("error",function(){console.log("COMSCORE PLUGIN LOADER ERROR !")}),document.body.appendChild(r)}}),f()(this,"loadAnalyticsPlugin",function(e,t,n){!function(e,t,n){var r=document.getElementById(bn(t));new ta(e,t,n,r)}(e,t,n)}),f()(this,"loadDiscoveryPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.discoveryPlugin)window.monti.dataset.plugins.discoveryPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_discovery_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.discoveryPlugin(e)}),n.addEventListener("error",function(){console.log("DISCOVERY PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadCloseBarPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.closeBar)window.monti.dataset.plugins.closeBarPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_close_bar_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.closeBarPlugin(e)}),n.addEventListener("error",function(){console.log("CLOSE BAR PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),this.controlsLoaded=!1};function aa(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"===typeof i?i(n,r,e):t(i)}}}}f()(oa,"instance",void 0),f()(oa,"getInstance",function(){return oa.instance||(oa.instance=new oa),oa.instance});var sa=aa();sa.withExtraArgument=aa;var ua=sa;function ca(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function la(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ca(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ca(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var da={loadingHLSStatus:"",loadingImaStatus:""};function pa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function fa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pa(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pa(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ha={playerId:"",playerInstanceUniqId:null,playbackMethod:"none",videoTagStatus:"idle",pendingVideoTagStatus:{type:null,value:null},currentVideoTime:0,currentVideoTimeFragment:0,currentVideoBufferedTime:0,currentVideoDuration:0,playerMode:"desktop",playerVisibility:0,playerPlaceholderVisibility:0,playerSettings:{muted:!0,volume:.5,speed:1,quality:"Auto",selectedSettingsCategory:"",fullscreen:{pendingFullscreenRequest:"",isFullscreenOn:!1}},loader:{showBlackScreen:!1},playerSize:"",errorMessage:"",loadingPlayer:!1};function ya(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ga(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ya(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ya(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var va={showVoltaxLogo:!0,brandingLogoSrc:"",brandingLogoUrl:"",brandingColor:null};function ma(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ba(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ma(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ma(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Oa={orientation:"right",canClose:!0,anchorData:{anchorEnabled:!1,anchorDisabledByUser:!1,anchorStatus:"inactive"},closableAd:!0,continueStreaming:!1,anchoringAppearance:"below",stickyBelowClassName:"",width:"",closeAfter:10,margins:{top:10,bottom:10,left:10,right:10}};function _a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Sa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_a(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ea,wa={continuePlayingWhileWaitingForAd:!1,midrolls:{},prerollEnabled:!1,vpaidMode:"ENABLED",adRequestTimeout:1e4,adsData:{podNumber:0,slotNumber:0,adType:null,adTagUrlTemplate:null,adErrorMessage:null,adDuration:0,adCurrentTime:0,adOrder:0,adStatus:"",pendingAdStatus:{type:""},playedMidrolls:[],adImpression:0,adOpportunity:0,isVastAd:!1,adMuted:!0,adVolume:.5,currentAdTag:null,adUnit:"",loadingAd:!1}},Pa=n(32),Ta=n.n(Pa);!function(e){e.POST="post",e.GET="get",e.DELETE="delete",e.PUT="put",e.PATCH="patch",e.HEAD="head",e.OPTIONS="options"}(Ea||(Ea={}));var Aa=function(){function e(){Ai()(this,e)}return Vi()(e,null,[{key:"preformRequest",value:function(e,t){return new Promise(function(n,r){Ta()({method:e,url:t}).then(function(e){var t=e.data;n(t)}).catch(function(e){r(e)})})}},{key:"preformGet",value:function(e){return this.preformRequest(Ea.GET,e)}}]),e}();f()(Aa,"HTTP_STATUS_CODES",{OK:200,UNAUTHORIZED:401,INTERNAL_SERVER_ERROR:500,BAD_REQUEST:400,NOT_FOUND:404,CONFLICT:409});var Ca=function(){function e(){Ai()(this,e)}return Vi()(e,null,[{key:"getSemanticPlaylistUrl",value:function(e,t,n){if(n&&!Un(n.semantic_url))return n.semantic_url;var r=function(e){for(var t="",n=0,r=0;r<e.length;r+=1)n=e.charCodeAt(r)+2,t+=String.fromCharCode(n);return encodeURIComponent(encodeURIComponent(t))}(e.split("?")[0]),i="".concat(function(){try{return"https://semantic-matching.minutemediaservices.com/semantic-feed"}catch(w){return"https://semantic-matching.minutemediaservices.com/semantic-feed"}}(),"/").concat(r),o="?";return Un(t.minimumDateFactor)||(i="".concat(i).concat(o,"minimum_date_factor=").concat(t.minimumDateFactor),o="&"),Un(t.tags)||(i="".concat(i).concat(o,"tags=").concat(t.tags),o="&"),Un(t.scopedKeywords)||(i="".concat(i).concat(o,"scoped_keywords=").concat(t.scopedKeywords),o="&"),Un(t.scannedElement)||Un(t.scannedElementType)||(i="".concat(i).concat(o,"article_container=").concat(function(e,t){switch(t){case"id":return"".concat("#").concat(e);case"className":return e.split(" ").map(function(e){return"".concat(".").concat(e)}).join("");default:return"".concat("").concat(e)}}(t.scannedElement,t.scannedElementType)),o="&"),Un(t.scanImagesOnPage)||(i="".concat(i).concat(o,"scan_images=").concat(String(t.scanImagesOnPage))),i}},{key:"getSpecificPlaylistUrl",value:function(e,t){return t&&!Un(t.playlist_url)?t.playlist_url:"".concat("https://vms-videos.minutemediaservices.com","/").concat(e,"/").concat(e,".json")}}]),e}(),Ra=function(e,t){var n=e.findIndex(function(e){return e.type===t});return n>=0?e[n].file:""},Da=function(){function e(){Ai()(this,e)}return Vi()(e,null,[{key:"getSemanticPlaylist",value:function(e,t){var n=window.location.href,r=Ca.getSemanticPlaylistUrl(n,e,t);return Aa.preformGet(r)}},{key:"getSpecificPlaylist",value:function(e,t){var n=Ca.getSpecificPlaylistUrl(e,t);return Aa.preformGet(n)}}]),e}();f()(Da,"getPromotedVideos",function(){var e=so()(oo.a.mark(function e(t){var n;return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.map(function(e){return Da.getSpecificPlaylist(e).then(function(e){return e.data}).catch(function(){return[]})}),e.abrupt("return",new Promise(function(e){Promise.all(n).then(function(t){var n=t.reduce(function(e,t){return e.concat(t)},[]);n.length>0&&e(n)})}));case 2:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}());var Ma=function(e,t){return function(n){n({type:"[CORE] load video request success",payload:e.data.map(function(e,n){return{mediaId:e.payload_id,tags:e.tags,sources:e.sources,duration:e.duration,thumbnail:e.image,title:t?e.title:"",description:e.description,creator:e.creator,provider:e.video_provider,externalId:e.external_id,index:n}})})}},Ia=function(e){return function(t){t({type:"[CORE] load video request error",payload:e})}},ka=function(e,t,n){return function(){var r=so()(oo.a.mark(function r(i){var o;return oo.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i({type:"[CORE] load video request"}),r.prev=1,r.next=4,Da.getSpecificPlaylist(e,n);case 4:o=r.sent,Ma(o,t)(i),r.next=11;break;case 8:r.prev=8,r.t0=r.catch(1),Ia(Xn.GENERAL_ERROR)(i);case 11:case"end":return r.stop()}},r,null,[[1,8]])}));return function(e){return r.apply(this,arguments)}}()},Na=function(e,t,n){return function(){var r=so()(oo.a.mark(function r(i){var o,a;return oo.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(i({type:"[CORE] load video request"}),o=[],r.prev=2,!(Array.isArray(e.promotedVideos)&&e.promotedVideos.length>0)){r.next=7;break}return r.next=6,Da.getPromotedVideos(e.promotedVideos);case 6:o=r.sent;case 7:return r.next=9,Da.getSemanticPlaylist(e,n);case 9:(a=r.sent).data=o.concat(a.data),Ma(a,t)(i),r.next=17;break;case 14:r.prev=14,r.t0=r.catch(2),o.length>0?Ma({data:o},t)(i):Ia(Xn.GENERAL_ERROR)(i);case 17:case"end":return r.stop()}},r,null,[[2,14]])}));return function(e){return r.apply(this,arguments)}}()},La=function(e,t){return function(n){n({type:"[CORE] set current video",payload:{index:e,videoData:t}})}};function xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Va(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xa(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xa(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ja={activeVideoIndex:0,mediaType:"semantic",mediaId:"",loadingMedia:!1,mediaLoadingError:"",mediaRequest:{type:null,value:""},videoList:[],videoData:{mediaId:"",tags:[],sources:[],duration:0,thumbnail:"",title:"",showTitle:!0,description:"",creator:"",provider:"",externalId:"",index:0}};function Ua(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ua(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ua(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ba={promotedVideos:[],scannedElement:"",tags:"",scopedKeywords:"",minimumDateFactor:"",scannedElementType:null,scanImagesOnPage:!1};function Ha(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function qa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ha(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ha(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Wa={userInteractionType:""};function za(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ga(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?za(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):za(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var $a={splitViewRatio:null};function Ka(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ya(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ka(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ka(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Za={nextVideo:"none",showUpNext:!1,showSkippableContent:!1},Xa=function(e){return"none"===e?"none":"up_next"===e?"upNext":"skippable_content"===e?"skippableContent":"none"},Ja=function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];"function"===typeof e[i]&&(n[i]=e[i])}var o,a=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:yt.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if("undefined"===typeof n(void 0,{type:yt.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+yt.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(n)}catch(s){o=s}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},s=0;s<a.length;s++){var u=a[s],c=n[u],l=e[u],d=c(l,t);if("undefined"===typeof d){var p=mt(u,t);throw new Error(p)}i[u]=d,r=r||d!==l}return(r=r||a.length!==Object.keys(e).length)?i:e}}({dependenciesLoadingStatus:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:da,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] update hls status":return la(la({},e),{},{loadingHLSStatus:t.payload});case"[CORE] update ima status":return la(la({},e),{},{loadingImaStatus:t.payload});default:return e}},playerData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ha,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":var n=t.payload;return fa({},function(e,t,n){var r=t.playback_method,i=t.player_id;return fa(fa({},e),{},{playbackMethod:Un(r)?e.playbackMethod:r,playerId:Un(i)?e.playerId:i,playerInstanceUniqId:n,playerMode:Fn()?"mobile":"desktop"})}(e,n.initiateParams,n.playerInstanceUniqId));case"[CORE] reset player data time params":return fa(fa({},e),{},{currentVideoTimeFragment:0,currentVideoBufferedTime:0,currentVideoDuration:0,currentVideoTime:0});case"[COMMON] set mute video":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{muted:t.payload})});case"[COMMON] set volume":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{volume:t.payload})});case"[COMMON] change selected settings category":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{selectedSettingsCategory:t.payload})});case"[COMMON] change settings speed":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{speed:t.payload})});case"[COMMON] change settings quality":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{quality:t.payload})});case"[COMMON] set fullscreen":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{fullscreen:fa(fa({},e.playerSettings.fullscreen),{},{isFullscreenOn:t.payload,pendingFullscreenRequest:""})})});case"[COMMON] set fullscreen request":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{fullscreen:fa(fa({},e.playerSettings.fullscreen),{},{pendingFullscreenRequest:t.payload})})});case"[COMMON] set pending video status":var r=t.payload.pendingStatusObject;return fa(fa({},e),{},{pendingVideoTagStatus:fa({},r)});case"[COMMON] set player mode":return fa(fa({},e),{},{playerMode:t.payload});case"[CORE] update video current fragment position":return fa(fa({},e),{},{currentVideoTimeFragment:t.payload});case"[CORE] update video current position":return fa(fa({},e),{},{currentVideoTime:t.payload});case"[CORE] update video current buffered time":return fa(fa({},e),{},{currentVideoBufferedTime:t.payload});case"[CORE] update video current duration":return fa(fa({},e),{},{currentVideoDuration:t.payload});case"[CORE] change video tag status":return fa(fa({},e),{},{videoTagStatus:t.payload});case"[CORE] update player visibility":return fa(fa({},e),{},{playerVisibility:t.payload});case"[CORE] update placeholder visibility":return fa(fa({},e),{},{playerPlaceholderVisibility:t.payload});case"[CORE] change loading player status":return fa(fa({},e),{},{loadingPlayer:t.payload});case"[COMMON] show black screen with loader":return fa(fa({},e),{},{loader:fa(fa({},e.loader),{},{showBlackScreen:t.payload})});case"[CORE] set player size":return fa(fa({},e),{},{playerSize:t.payload});case"[COMMON] set error message":return fa(fa({},e),{},{errorMessage:t.payload});default:return e}},brandingData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:va,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return ga({},function(e,t){var n=t.powered_by_strip,r=t.brand_logo,i=t.brand_logo_click_url,o=t.brand_color;return ga(ga({},e),{},{showVoltaxLogo:Un(n)?e.showVoltaxLogo:n,brandingLogoSrc:Un(r)?e.brandingLogoSrc:r,brandingLogoUrl:Un(i)?e.brandingLogoUrl:i,brandingColor:Un(o)?e.brandingColor:o})}(e,t.payload.initiateParams));default:return e}},anchorOptions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Oa,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return ba({},function(e,t){var n=t.anchor_options;if(!Un(n)){var r=n.anchoring_appearance,i=n.can_close,o=n.closable_ad,a=n.close_after,s=n.continue_streaming,u=n.orientation,c=n.margins,l=n.sticky_below_class_name,d=n.width,p=Un(c)?e.margins:{top:Number.isInteger(c.top)?c.top:e.margins.top,bottom:Number.isInteger(c.bottom)?c.bottom:e.margins.bottom,left:Number.isInteger(c.left)?c.left:e.margins.left,right:Number.isInteger(c.right)?c.right:e.margins.right};return ba(ba({},e),{},{anchoringAppearance:r||e.anchoringAppearance,canClose:Un(i)?e.canClose:i,orientation:Un(u)?e.orientation:u,closableAd:Un(o)?e.closableAd:o,closeAfter:Un(a)?e.closeAfter:a,continueStreaming:Un(s)?e.continueStreaming:s,stickyBelowClassName:Un(l)?e.stickyBelowClassName:l,width:Un(d)?e.width:d,margins:p,anchorData:ba(ba({},e.anchorData),{},{anchorEnabled:!0})})}return e}(e,t.payload.initiateParams));case"[COMMON] set anchor enable":return ba(ba({},e),{},{anchorData:ba(ba({},e.anchorData),{},{anchorEnabled:t.payload})});case"[ANCHOR] update is anchor status":return ba(ba({},e),{},{anchorData:ba(ba({},e.anchorData),{},{anchorStatus:t.payload})});case"[COMMON] set anchor disabled by user":return ba(ba({},e),{},{anchorData:ba(ba({},e.anchorData),{},{anchorDisabledByUser:t.payload})});default:return e}},monetization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:wa,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Sa({},function(e,t){var n=t.monetization;if(Un(n))return e;var r=n.ad_tag,i=n.ad_type,o=n.vpaid_mode,a=n.ad_request_timeout,s=n.continue_content_play_while_waiting_for_ad,u=n.midrolls,c=u&&u.on&&u.on.sort(Wn),l=Un(s)?e.continuePlayingWhileWaitingForAd:s,d=c?c.indexOf(0):-1,p=-1!==d&&!l;return p&&(c=c.splice(d,1)),Sa(Sa({},e),{},{midrolls:Sa(Sa({},e.midrolls),{},{every:u&&u.every,on:c}),prerollEnabled:p,adRequestTimeout:Un(a)?e.adRequestTimeout:parseInt(a,10),vpaidMode:Un(o)?e.vpaidMode:o,continuePlayingWhileWaitingForAd:l,adsData:Sa(Sa({},e.adsData),{},{adType:Un(i)?e.adsData.adType:i,adTagUrlTemplate:Un(r)?e.adsData.adTagUrlTemplate:r})})}(e,t.payload.initiateParams));case"[COMMON] set new ad tag url template":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adTagUrlTemplate:t.payload})});case"[MONETIZATION] change ad status":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adStatus:t.payload,adErrorMessage:null})});case"[MONETIZATION] change ad tag":var n=t.payload,r=n.adUnit,i=n.adTag;return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{currentAdTag:i,adUnit:r})});case"[MONETIZATION] change pending ad status":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{pendingAdStatus:t.payload})});case"[MONETIZATION] change ad error":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adStatus:"error",adErrorMessage:t.payload})});case"[MONETIZATION] increase ad impression counter":var o=e.adsData.adImpression;return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adImpression:o+1})});case"[MONETIZATION] increase ad Opportunity counter":var a=e.adsData.adOpportunity;return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adOpportunity:a+1})});case"[MONETIZATION] add played midroll number":var s=e.adsData.playedMidrolls,u=In()(s);return u.push(t.payload),Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adOrder:t.payload,playedMidrolls:u})});case"[MONETIZATION] clear played midrolls":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{playedMidrolls:[]})});case"[MONETIZATION] clear ad data":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adOrder:0,currentAdTag:null,adDuration:0,adUnit:""})});case"[MONETIZATION] change ad duration":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adDuration:t.payload})});case"[MONETIZATION] update is vast ad":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{isVastAd:t.payload})});case"[MONETIZATION] change ad current time":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adCurrentTime:t.payload})});case"[MONETIZATION] update ad muted":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adMuted:t.payload})});case"[MONETIZATION] change ad volume":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adVolume:t.payload})});case"[MONETIZATION] change pod info":var c=t.payload,l=c.podNumber,d=c.slotNumber;return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{podNumber:l,slotNumber:d})});case"[MONETIZATION] change loading ad status":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{loadingAd:t.payload})});default:return e}},mediaData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ja,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Va({},function(e,t){var n=t.content_type,r=t.media_id,i=t.display_title;return Va(Va({},e),{},{mediaType:Un(n)?e.mediaType:n,mediaId:Un(r)?e.mediaId:r,videoData:Va(Va({},e.videoData),{},{showTitle:!!Un(i)||i})})}(e,t.payload.initiateParams));case"[CORE] load video request":return Va(Va({},e),{},{loadingMedia:!0});case"[CORE] load video request success":return Va(Va({},e),{},{loadingMedia:!1,videoList:t.payload});case"[CORE] set current video":var n=t.payload,r=n.index,i=n.videoData;return Va(Va({},e),{},{activeVideoIndex:r,videoData:i});case"[CORE] load video request error":return Va(Va({},e),{},{loadingMedia:!1,mediaLoadingError:t.payload});case"[COMMON] media request":var o=t.payload.mediaRequestObject;return Va(Va({},e),{},{mediaRequest:Va({},o)});default:return e}},semanticOptions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ba,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Fa({},function(e,t){var n=t.semantic_options;if(Un(n))return e;var r=n.minimum_date_factor,i=n.promoted_videos,o=n.scan_images_on_page,a=n.scanned_element,s=n.scanned_element_type,u=n.scoped_keywords,c=n.tags;return Fa(Fa({},e),{},{minimumDateFactor:Un(r)?e.minimumDateFactor:r,promotedVideos:Un(i)?e.promotedVideos:i,scanImagesOnPage:Un(o)?e.scanImagesOnPage:o,scannedElement:Un(a)?e.scannedElement:a,scannedElementType:Un(s)?e.scannedElementType:s,scopedKeywords:Un(u)?e.scopedKeywords:u,tags:Un(c)?e.tags:c})}(e,t.payload.initiateParams));default:return e}},userInteraction:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Wa,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[USER INTERACTION] change user interaction":return qa(qa({},e),{},{userInteractionType:t.payload});default:return e}},splitView:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Ga({},function(e,t){var n=t.anchor_options;if(!Un(n)){var r=n.split_view,i=n.split_view_ratio;return Ga(Ga({},e),{},{splitViewRatio:Un(r)||!r||Un(i)?e.splitViewRatio:i})}return e}(e,t.payload.initiateParams));default:return e}},discovery:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Za,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Ya({},function(e,t){var n=t.next_video;return Un(n)?e:Ya(Ya({},e),{},{nextVideo:Xa(n)})}(e,t.payload.initiateParams));case"[DISCOVERY] show up next":return Ya(Ya({},e),{},{showUpNext:t.payload});case"[DISCOVERY] show skippable content":return Ya(Ya({},e),{},{showSkippableContent:t.payload});default:return e}}}),Qa=[],es=!1,ts=function e(){return function(t){return function(n){if(es)return Qa.push(n),null;es=!0;var r=t(n);return es=!1,Qa.length>0&&e()(t)(Qa.shift()),r}}},ns=function(e){var t=[];if(function(e){return!Un(e)&&!Un(e.enable_redux_debugging)&&e.enable_redux_debugging}(e)){var n=window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__();"function"===typeof n&&t.push(n)}var r=Et.apply(void 0,[wt(ua,ts)].concat(t));return vt(Ja,r)},rs=function(){function e(t){Ai()(this,e),f()(this,"playerVisibilitySubscriber",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"shouldPlayIfLazyplay",!0),f()(this,"shouldPlayIfAutoplayWhenViewable",!0),f()(this,"videoPausedByObserver",!1),this.store=t,this.playerVisibilitySubscriber=null,this.videoTagStatusSubscriber=null,this.playAccordingToPlaybackMethod()}return Vi()(e,[{key:"lazyplayHandler",value:function(e){hn.playerVisibility(e)>=.5&&(this.playVideo(),this.shouldPlayIfLazyplay=!1)}},{key:"autoplayWhenViewableHandler",value:function(e){hn.playerVisibility(e)>=.5?this.playVideo():this.pauseVideo()}},{key:"onPlayerVisibilityChanged",value:function(e){var t=hn.playbackMethod(e);"lazyplay"===t&&this.shouldPlayIfLazyplay&&this.lazyplayHandler(e),"autoplay_when_viewable"===t&&this.shouldPlayIfAutoplayWhenViewable&&this.autoplayWhenViewableHandler(e)}},{key:"onVideoTagStatusChanged",value:function(e){var t=hn.videoTagStatus(e);"paused"!==t||this.videoPausedByObserver||(this.shouldPlayIfAutoplayWhenViewable=!1),"playing"===t&&(this.shouldPlayIfAutoplayWhenViewable=!0,this.videoPausedByObserver=!1)}},{key:"initiatePlayerVisibilitySubscriber",value:function(){this.playerVisibilitySubscriber=new ji(this.store,e.getPlayerVisibilityDependencies,this.onPlayerVisibilityChanged.bind(this))}},{key:"initiateVideoTagStatusSubscriber",value:function(){this.videoTagStatusSubscriber=new ji(this.store,e.getVideoTagStatusDependencies,this.onVideoTagStatusChanged.bind(this))}},{key:"playVideo",value:function(){var e=this.store,t=e.dispatch,n=e.getState;"idle"===hn.videoTagStatus(n())?on("play")(t):on("resume")(t)}},{key:"pauseVideo",value:function(){var e=this.store,t=e.dispatch,n=e.getState;"paused"!==hn.videoTagStatus(n())&&(this.videoPausedByObserver=!0,on("pause")(t))}},{key:"playAccordingToPlaybackMethod",value:function(){var e=this.store,t=e.dispatch,n=(0,e.getState)();switch(hn.playbackMethod(n)){case"autoplay":this.playVideo();break;case"lazyplay":this.initiatePlayerVisibilitySubscriber();break;case"autoplay_when_viewable":this.initiatePlayerVisibilitySubscriber(),this.initiateVideoTagStatusSubscriber();break;case"none":an(!1)(t)}}}],[{key:"getPlayerVisibilityDependencies",value:function(e){return[hn.playerVisibility(e)]}},{key:"getVideoTagStatusDependencies",value:function(e){return[hn.videoTagStatus(e)]}}]),e}(),is=function(){function e(t,n,r,i){var o=this;Ai()(this,e),f()(this,"videoStatusSubscriber",void 0),f()(this,"videoListSubscriber",void 0),f()(this,"mediaRequestSubscriber",void 0),f()(this,"playerVisibilitySubscriber",void 0),f()(this,"playbackMethodManager",void 0),f()(this,"store",void 0),f()(this,"loadContent",function(e,t,n,r){o.loadMedia(t,n,r).then(function(){o.playbackMethodManager=new rs(e)})}),f()(this,"loadMedia",function(e,t,n){var r=o.store,i=r.dispatch,a=r.getState,s=Dn.showTitle(a());if("semantic"===e){var u=pn.semanticOptions(a());return Na(u,s,n)(i)}return ka(t,s,n)(i)}),this.store=t,this.videoStatusSubscriber=new ji(t,e.getVideoStatusDependencies,this.onVideoStatusChanged.bind(this)),this.videoListSubscriber=new ji(t,e.getVideoListDependencies,this.onVideoListChanged.bind(this)),this.mediaRequestSubscriber=new ji(t,e.getMediaRequestDependencies,this.onMediaRequestChanged.bind(this)),this.playerVisibilitySubscriber=null,this.loadContent(t,r,n,i)}return Vi()(e,null,[{key:"createInstance",value:function(t,n,r,i){return new e(t,n,r,i)}}]),Vi()(e,[{key:"playNextVideo",value:function(e){var t=this.store.dispatch,n=Cn.videoList(e),r=Cn.activeVideoIndex(e)+1;n.length>1&&r>=n.length&&(r=0),r<n.length&&(!function(e){e({type:"[CORE] reset player data time params"})}(t),La(r,n[r])(t),on("play")(t))}},{key:"playPreviousVideo",value:function(e){var t=this.store.dispatch,n=Cn.videoList(e),r=Cn.activeVideoIndex(e);if(r>0){var i=r-1;La(i,n[i])(t),on("play")(t)}}},{key:"onVideoStatusChanged",value:function(e){"complete"===hn.videoTagStatus(e)&&this.playNextVideo(e)}},{key:"onVideoListChanged",value:function(e){var t=this.store.dispatch,n=Cn.videoList(e);!jn(n)&&n.length>0&&La(0,n[0])(t)}},{key:"onMediaRequestChanged",value:function(e){var t=Cn.mediaRequest(e);switch(t.type){case"playNewVideo":this.loadMedia("specific",t.value);break;case"playNextVideo":this.playNextVideo(e);break;case"playPreviousVideo":this.playPreviousVideo(e)}}}],[{key:"getVideoStatusDependencies",value:function(e){return[hn.videoTagStatus(e)]}},{key:"getVideoListDependencies",value:function(e){return[Cn.videoList(e)]}},{key:"getMediaRequestDependencies",value:function(e){return[Cn.mediaRequest(e)]}}]),e}(),os=function e(t){var n=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"onDependencyFailure",function(e,t){console.log("onDependencyFailure",e,t);var r=n.store,i=r.dispatch,o=r.getState;switch(e){case"ima":"blocked"!==Fi.loadingImaStatus(o())&&Qn("error")(i);break;case"hls":er("error")(i)}}),f()(this,"onDependencyReady",function(e){var t=n.store.dispatch;switch(e){case"ima":Qn("success")(t);break;case"hls":er("success")(t)}}),this.store=t},as=function(e){return function(t){t({type:"[COMMON] set fullscreen",payload:e})}},ss=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"videoTag",void 0),f()(this,"pendingFullscreenSubscriber",void 0),f()(this,"adStatusSubscriber",void 0),f()(this,"playerUniqId",void 0),f()(this,"onAdStatusChanged",function(e){var t=_i.adStatus(e),n=r.videoTag.webkitDisplayingFullscreen;"playing"===t&&Bn()&&n&&r.exitFullscreen(r.videoTag)}),f()(this,"isPlayerInFullscreen",function(){var e=document,t=Bn()?En(r.playerUniqId):bn(r.playerUniqId);return Un(e.fullscreenElement)?!Un(e.webkitFullscreenElement)&&0===e.webkitFullscreenElement.id.localeCompare(t):0===e.fullscreenElement.id.localeCompare(t)}),f()(this,"changePlayerWidth",function(e){r.videoTag.style.width=e?"100%":"auto"}),f()(this,"onFullscreenChanged",function(){var e=r.store.dispatch,t=r.isPlayerInFullscreen();r.changePlayerWidth(t),as(t)(e)}),f()(this,"onFullscreenChangedIos",function(){var e=r.store.dispatch,t=r.videoTag.webkitDisplayingFullscreen;t||on("resume")(e),r.changePlayerWidth(t),as(t)(e)}),f()(this,"onPendingFullscreenRequestChanged",function(e){var t=gn.pendingFullscreenRequest(e);"enter"===t?r.enterFullscreen(r.videoTag):"exit"===t&&r.exitFullscreen(r.videoTag)}),f()(this,"getFullScreenElement",function(e,t){var n=document.getElementById(bn(r.playerUniqId));return Bn()?t:e?document:n}),f()(this,"enterFullscreen",function(e){var t=r.getFullScreenElement(!1,e);Bn()?t.webkitEnterFullscreen():document.webkitExitFullscreen?t.webkitRequestFullscreen():document.webkitCancelFullScreen?t.webkitRequestFullScreen():document.mozCancelFullScreen?t.mozRequestFullScreen():document.msExitFullscreen&&t.msRequestFullscreen()}),f()(this,"exitFullscreen",function(e){var t=r.getFullScreenElement(!0,e);document.webkitExitFullscreen||Bn()?t.webkitExitFullscreen():document.webkitCancelFullScreen?t.webkitCancelFullScreen():document.mozCancelFullScreen?t.mozCancelFullScreen():document.msExitFullscreen&&t.msExitFullscreen()}),this.store=t,this.videoTag=document.getElementById(En(n)),this.playerUniqId=n,document.addEventListener("fullscreenchange",this.onFullscreenChanged.bind(this)),document.addEventListener("webkitfullscreenchange",this.onFullscreenChanged.bind(this)),Bn()&&(this.videoTag.addEventListener("webkitendfullscreen",this.onFullscreenChangedIos.bind(this)),this.videoTag.addEventListener("webkitbeginfullscreen",this.onFullscreenChangedIos.bind(this))),this.pendingFullscreenSubscriber=new ji(t,e.getPendingFullscreenDependencies,this.onPendingFullscreenRequestChanged.bind(this)),this.adStatusSubscriber=new ji(t,e.getAdStatusDependencies,this.onAdStatusChanged.bind(this))}return Vi()(e,null,[{key:"createInstance",value:function(t,n){return new e(t,n)}}]),Vi()(e,null,[{key:"getPendingFullscreenDependencies",value:function(e){return[gn.pendingFullscreenRequest(e)]}},{key:"getAdStatusDependencies",value:function(e){return[_i.adStatus(e)]}}]),e}();function us(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function cs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?us(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):us(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ls,ds=function(e){return function(e){return e&&window.monti.playerConfigs&&window.monti.playerConfigs[e]}(e)?function(e){return window.monti.playerConfigs[e]}(e):window.monti.playerConfigs?window.monti.playerConfigs&&window.monti.playerConfigs[Object.keys(window.monti.playerConfigs)[0]]:null},ps=function e(t){var n=this;Ai()(this,e),f()(this,"videoTag",void 0),f()(this,"isBufferError",void 0),f()(this,"hls",void 0),f()(this,"hlsSetup",function(e,t,r,i){n.initiateHls(e),n.loadHlsSource(e,t,r,i)}),f()(this,"detachMedia",function(){Un(n.hls)||(n.hls.detachMedia(),n.hls.destroy(),n.hls=null)}),f()(this,"initiateHls",function(e){n.hls=new e,n.hls.attachMedia(n.videoTag)}),f()(this,"loadHlsSource",function(e,t,r,i){n.hls.on(e.Events.MEDIA_ATTACHED,function(){n.hls.loadSource(t)}),n.hls.on(e.Events.ERROR,function(t,o){n.mapHlsToErrors(e,o,i),t.details===e.ErrorDetails.BUFFER_STALLED_ERROR&&(r(!0),n.isBufferError=!0)}),n.hls.on(e.Events.FRAG_BUFFERED,function(){n.isBufferError&&(r(!1),n.isBufferError=!1)})}),f()(this,"mapHlsToErrors",function(e,t,r){if(t.fatal)switch(t.type){case e.ErrorTypes.NETWORK_ERROR:r(Xn.GENERAL_ERROR),n.hls.startLoad();break;case e.ErrorTypes.MEDIA_ERROR:r(Xn.GENERAL_ERROR),n.hls.recoverMediaError();break;default:r(Xn.GENERAL_ERROR),n.hls.destroy()}}),this.hls=void 0,this.videoTag=t,this.isBufferError=!1},fs=function e(){var t=this;Ai()(this,e),f()(this,"videoStreaming",void 0),f()(this,"hlsLibrarySetup",function(e,n,r,i){Un(t.videoStreaming)||t.videoStreaming.detachMedia(),t.videoStreaming=new ps(e),t.videoStreaming.hlsSetup(ls,n,r,i)})};f()(fs,"shouldLoadVideoStreamingSrcDirectly",function(e,t,n){return"no-need"===n&&!(""===e.canPlayType("application/vnd.apple.mpegurl"))}),f()(fs,"shouldUseHlsLibrary",function(e,t){return"success"===t&&(ls=void 0!==window.Hls?Hls:mmHls).isSupported()}),f()(fs,"isValidHlsUrl",function(e){return!Un(e)&&!e.includes(".mp4")}),f()(fs,"suitableVideoSource",function(e,t,n){return fs.isValidHlsUrl(t)?fs.shouldUseHlsLibrary(t,n)?"m3u8 with hls":fs.shouldLoadVideoStreamingSrcDirectly(e,t,n)?"m3u8 directly":"loading"!==n?"mp4":"":"mp4"}),f()(fs,"loadHlsVideoDirectly",function(e,t){e.setAttribute("src",t),e.load()});var hs=function(e){return function(t){t({type:"[MONETIZATION] change pending ad status",payload:{type:e}})}},ys="video/mp4",gs="application/vnd.apple.mpegurl",vs=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"videoTag",void 0),f()(this,"prerollEnabled",void 0),f()(this,"pendingVideoStatusSubscriber",void 0),f()(this,"videoStreamingManager",void 0),f()(this,"videoDataSubscriber",void 0),f()(this,"hlsLoadingStatusSubscriber",void 0),f()(this,"newVideoDataLoaded",void 0),f()(this,"onHlsLoadingStatusChanged",function(e){"success"===Fi.loadingHLSStatus(e)&&(r.newVideoDataLoaded=!0,r.onPendingVideoStatusChanged(e))}),f()(this,"onPendingVideoStatusChanged",function(e){var t=hn.pendingVideoTagStatus(e),n=Dn.sources(e),i=Fi.loadingHLSStatus(e),o="blocked"===Fi.loadingImaStatus(e);r.handlePendingVideoStatus(t,n,i,o)}),f()(this,"onVideoDataChanged",function(){r.newVideoDataLoaded=!0}),f()(this,"sendPrerollPlayRequest",function(){var e=r.store.dispatch;hs("playPreroll")(e)}),f()(this,"handlePlayRequest",function(e,t,n){var i=r.store.dispatch;if(e&&e.length>0){if(r.newVideoDataLoaded&&(r.loadVideoSource(r.videoTag,e,t),r.newVideoDataLoaded=!1,r.prerollEnabled&&!n))return void r.sendPrerollPlayRequest();r.videoTag.play().catch(function(e){return console.error("Error playing the video: ",e)})}else dn(Xn.VIDEO_ERROR)(i)}),f()(this,"handlePendingVideoStatus",function(e,t,n,i){switch(e.type){case"play":r.handlePlayRequest(t,n,i);break;case"resume":r.videoTag.play().catch(function(e){return console.error("Error resuming the video: ",e)});break;case"pause":r.videoTag.pause();break;case"replay":r.videoTag.currentTime=0,r.videoTag.play().catch(function(e){return console.error("Error replaying the video: ",e)});break;case"seekTo":r.videoTag.pause(),r.videoTag.currentTime=e.value}}),f()(this,"loadMp4Source",function(e,t,n){var r=Ra(t,ys);n.setAttribute("src",r),n.load()}),f()(this,"loadVideoSource",function(e,t,n){var i=r.store.dispatch,o=Ra(t,gs);switch(fs.suitableVideoSource(e,o,n)){case"mp4":r.loadMp4Source(n,t,e);break;case"m3u8 with hls":r.videoStreamingManager.hlsLibrarySetup(e,o,function(e){return un(e)(i)},function(e){return dn(e)(i)});break;case"m3u8 directly":fs.loadHlsVideoDirectly(e,o)}}),this.store=t;var i=t.getState;this.videoStreamingManager=new fs,this.videoTag=document.getElementById(En(n)),this.prerollEnabled=bi.prerollEnabled(i()),this.pendingVideoStatusSubscriber=new ji(t,e.getPendingVideoStatusDependencies,this.onPendingVideoStatusChanged.bind(this)),this.videoDataSubscriber=new ji(t,e.getVideoDataDependencies,this.onVideoDataChanged.bind(this)),this.hlsLoadingStatusSubscriber=new ji(t,e.getHLSLoadingStatusDependencies,this.onHlsLoadingStatusChanged.bind(this))}return Vi()(e,null,[{key:"createInstance",value:function(t,n){return new e(t,n)}}]),Vi()(e,null,[{key:"getHLSLoadingStatusDependencies",value:function(e){return[Fi.loadingHLSStatus(e)]}},{key:"getPendingVideoStatusDependencies",value:function(e){return[hn.pendingVideoTagStatus(e)]}},{key:"getVideoDataDependencies",value:function(e){return[Cn.videoData(e)]}}]),e}();function ms(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ms(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ms(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Os={READY_EVENT:"ready",PLAY_EVENT:"play",PAUSE_EVENT:"pause",TIME_EVENT:"time",SEEK_EVENT:"seek",COMPLETE_EVENT:"complete",VOLUME_EVENT:"volume",MUTE_EVENT:"mute"},_s=Object.values(Os),Ss={FULLSCREEN_EVENT:"fullscreen",ANCHOR_STATUS_EVENT:"anchorStatusChanged",ANCHOR_CLOSED_EVENT:"anchorClosed"},Es={AD_PLAY_EVENT:"adPlay",AD_PAUSE_EVENT:"adPause",AD_RESUME_EVENT:"adResume",AD_COMPLETE_EVENT:"adComplete",AD_TIME_EVENT:"adTime",AD_MUTE_EVENT:"adMute",AD_SKIPPED_EVENT:"adSkipped",AD_ERROR_EVENT:"adError",AD_BLOCK_EVENT:"adBlock",AD_REQUEST_EVENT:"adRequest",AD_OPPORTUNITY_EVENT:"adOpportunity",AD_IMPRESSION_EVENT:"adImpression"},ws=Object.values(Es),Ps=Object.values(bs(bs(bs({},Os),Es),Ss)),Ts=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"eventsCallbacksHandler",void 0),f()(this,"store",void 0),f()(this,"videoStatusSubscriber",void 0),f()(this,"videoMuteSubscriber",void 0),f()(this,"videoVolumeSubscriber",void 0),f()(this,"videoTimeFragmentSubscriber",void 0),f()(this,"videoListStoreSubscriber",void 0),f()(this,"previousVideoTagStatus",void 0),f()(this,"startSeekTime",0),f()(this,"canHandleReady",function(e,t,n){if(t===Os.READY_EVENT){var r=Cn.videoList(e);if(Array.isArray(r)&&r.length>0)return n(),!0}return!1}),f()(this,"canBeHandled",function(e,t){var n=r.store.getState;return r.canHandleReady(n(),e,t)}),f()(this,"reportSeekEnd",function(e){var t={position:hn.currentVideoTimeFragment(e),offset:r.startSeekTime};r.eventsCallbacksHandler.onEvent(Os.SEEK_EVENT,t)}),f()(this,"onMuteStateChanged",function(e){var t=gn.muted(e);r.eventsCallbacksHandler.onEvent(Os.MUTE_EVENT,{state:t})}),f()(this,"onVolumeChanged",function(e){var t=gn.muted(e),n=gn.volume(e);r.eventsCallbacksHandler.onEvent(Os.VOLUME_EVENT,{level:t?0:n})}),f()(this,"onVideoTimeFragmentChanged",function(e){var t=hn.currentVideoTimeFragment(e),n=hn.currentVideoDuration(e);r.eventsCallbacksHandler.onEvent(Os.TIME_EVENT,{duration:n,position:t})}),f()(this,"onVideoListChanged",function(){r.eventsCallbacksHandler.onEvent(Os.READY_EVENT)}),this.store=t,this.eventsCallbacksHandler=n,this.videoStatusSubscriber=new ji(t,e.getVideoStatusDependencies,this.onVideoStatusChanged.bind(this)),this.videoMuteSubscriber=new ji(t,e.getVideoMuteDependencies,this.onMuteStateChanged.bind(this)),this.videoVolumeSubscriber=new ji(t,e.getVolumeDependencies,this.onVolumeChanged.bind(this)),this.videoTimeFragmentSubscriber=new ji(t,e.getVideoTimeDependencies,this.onVideoTimeFragmentChanged.bind(this)),this.videoListStoreSubscriber=new ji(t,e.getVideoListDependencies,this.onVideoListChanged.bind(this)),this.previousVideoTagStatus=hn.videoTagStatus(t.getState())}return Vi()(e,[{key:"onVideoStatusChanged",value:function(e){var t=hn.videoTagStatus(e);switch("seeking"===this.previousVideoTagStatus&&this.reportSeekEnd(e),t){case"paused":this.eventsCallbacksHandler.onEvent(Os.PAUSE_EVENT);break;case"seeking":this.startSeekTime=hn.currentVideoTimeFragment(e);break;case"complete":this.eventsCallbacksHandler.onEvent(Os.COMPLETE_EVENT);break;case"playing":this.eventsCallbacksHandler.onEvent(Os.PLAY_EVENT)}this.previousVideoTagStatus=t}}],[{key:"getVideoStatusDependencies",value:function(e){return[hn.videoTagStatus(e)]}}]),e}();f()(Ts,"getVideoMuteDependencies",function(e){return[gn.muted(e)]}),f()(Ts,"getVolumeDependencies",function(e){return[gn.volume(e)]}),f()(Ts,"getVideoTimeDependencies",function(e){return[hn.currentVideoTimeFragment(e)]}),f()(Ts,"getVideoListDependencies",function(e){return[Cn.videoList(e)]}),f()(Ts,"isContentEvent",function(e){return _s.some(function(t){return t===e})});var As=function e(t,n){var r=this;Ai()(this,e),f()(this,"eventsCallbacksHandler",void 0),f()(this,"store",void 0),f()(this,"fullscreenSubscriber",void 0),f()(this,"anchorStatusSubscriber",void 0),f()(this,"anchorDisabledByUserSubscriber",void 0),f()(this,"onFullscreenChanged",function(e){var t=gn.isFullscreenOn(e);r.eventsCallbacksHandler.onEvent(Ss.FULLSCREEN_EVENT,{state:t})}),f()(this,"onAnchorStatusChanged",function(e){var t="active"===Pr(e)?"activated":"deactivated";r.eventsCallbacksHandler.onEvent(Ss.ANCHOR_STATUS_EVENT,{state:t})}),f()(this,"onAnchorDisabledByUser",function(e){if(wr(e)){var t=hn.currentVideoTimeFragment(e);r.eventsCallbacksHandler.onEvent(Ss.ANCHOR_CLOSED_EVENT,{position:t})}}),this.store=t,this.eventsCallbacksHandler=n,this.fullscreenSubscriber=new ji(t,e.getFullscreenDependencies,this.onFullscreenChanged.bind(this)),this.anchorStatusSubscriber=new ji(t,e.getAnchorStatusDependencies,this.onAnchorStatusChanged.bind(this)),this.anchorDisabledByUserSubscriber=new ji(t,e.getAnchorDisabledByUserDependencies,this.onAnchorDisabledByUser.bind(this))};f()(As,"getFullscreenDependencies",function(e){return[gn.isFullscreenOn(e)]}),f()(As,"getAnchorStatusDependencies",function(e){return[Pr(e)]}),f()(As,"getAnchorDisabledByUserDependencies",function(e){return[wr(e)]});var Cs=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"eventsCallbacksHandler",void 0),f()(this,"adStatusSubscriber",void 0),f()(this,"adImpressionSubscriber",void 0),f()(this,"adOpportunitySubscriber",void 0),f()(this,"adTimeSubscriber",void 0),f()(this,"adMuteSubscriber",void 0),f()(this,"adProviderLoadingStatusSubscriber",void 0),f()(this,"previousAdStatus",void 0),f()(this,"canBeHandled",function(e,t){var n=r.store.getState;switch(Fi.loadingImaStatus(n())){case"loading":return!1;case"success":case"error":return!0;case"blocked":return t(),!0;case"":default:return!1}}),f()(this,"onAdStatusChanged",function(e){var t=_i.adStatus(e),n=_i.currentAdTag(e);switch(t){case"requested":r.eventsCallbacksHandler.onEvent(Es.AD_REQUEST_EVENT,{tag:n});break;case"paused":r.eventsCallbacksHandler.onEvent(Es.AD_PAUSE_EVENT,{tag:n});break;case"completed":r.eventsCallbacksHandler.onEvent(Es.AD_COMPLETE_EVENT,{tag:n});break;case"skipped":r.eventsCallbacksHandler.onEvent(Es.AD_SKIPPED_EVENT,{tag:n});break;case"playing":"paused"===r.previousAdStatus?r.eventsCallbacksHandler.onEvent(Es.AD_RESUME_EVENT,{tag:n}):r.eventsCallbacksHandler.onEvent(Es.AD_PLAY_EVENT,{tag:n});break;case"error":var i=_i.adErrorMessage(e);r.eventsCallbacksHandler.onEvent(Es.AD_ERROR_EVENT,{tag:n,message:i})}r.previousAdStatus=t}),f()(this,"onAtTimeChanged",function(e){var t=_i.adCurrentTime(e),n=_i.currentAdTag(e),i=_i.adDuration(e);r.eventsCallbacksHandler.onEvent(Es.AD_TIME_EVENT,{position:t,tag:n,duration:i})}),f()(this,"onAdMuteChanged",function(e){var t=_i.adMuted(e);r.eventsCallbacksHandler.onEvent(Es.AD_MUTE_EVENT,{state:t})}),f()(this,"onAdProviderLoadingChanged",function(e){"blocked"===Fi.loadingImaStatus(e)&&r.eventsCallbacksHandler.onEvent(Es.AD_BLOCK_EVENT)}),f()(this,"onAdImpressionChanged",function(e){var t=_i.currentAdTag(e);r.eventsCallbacksHandler.onEvent(Es.AD_IMPRESSION_EVENT,{tag:t})}),f()(this,"onAdOpportunityChanged",function(e){var t=_i.currentAdTag(e);r.eventsCallbacksHandler.onEvent(Es.AD_OPPORTUNITY_EVENT,{tag:t})}),this.store=t,this.eventsCallbacksHandler=n,this.previousAdStatus=_i.adStatus(t.getState()),this.adStatusSubscriber=new ji(t,e.getAdStatusDependencies,this.onAdStatusChanged.bind(this)),this.adTimeSubscriber=new ji(t,e.getAdTimeDependencies,this.onAtTimeChanged.bind(this)),this.adMuteSubscriber=new ji(t,e.getAdMuteDependencies,this.onAdMuteChanged.bind(this)),this.adImpressionSubscriber=new ji(t,e.getAdImpressionDependencies,this.onAdImpressionChanged.bind(this)),this.adOpportunitySubscriber=new ji(t,e.getAdOpportunitySubscriberDependencies,this.onAdOpportunityChanged.bind(this)),this.adProviderLoadingStatusSubscriber=new ji(t,e.getAdProviderLoadingDependencies,this.onAdProviderLoadingChanged.bind(this))}return Vi()(e,null,[{key:"getAdStatusDependencies",value:function(e){return[_i.adStatus(e)]}},{key:"getAdTimeDependencies",value:function(e){return[_i.adCurrentTime(e)]}},{key:"getAdMuteDependencies",value:function(e){return[_i.adMuted(e)]}},{key:"getAdProviderLoadingDependencies",value:function(e){return[Fi.loadingImaStatus(e)]}}]),e}();f()(Cs,"isAdEvent",function(e){return ws.some(function(t){return t===e})}),f()(Cs,"getAdImpressionDependencies",function(e){return[_i.adImpression(e)]}),f()(Cs,"getAdOpportunitySubscriberDependencies",function(e){return[_i.adOpportunity(e)]});var Rs=function e(t){var n=this;Ai()(this,e),f()(this,"contentEvents",void 0),f()(this,"generalEvents",void 0),f()(this,"adEvents",void 0),f()(this,"subscribers",{}),f()(this,"onRegisterToEvent",function(e,t,r){n.isValidEvent(e)&&(Ts.isContentEvent(e)&&n.contentEvents.canBeHandled(e,t)||Cs.isAdEvent(e)&&n.adEvents.canBeHandled(e,t())||n.getEventSubscribersList(e).push({callback:t,once:r}))}),f()(this,"isValidEvent",function(e){return Ps.some(function(t){return t===e})}),f()(this,"getEventSubscribersList",function(e){return Array.isArray(n.subscribers[e])||(n.subscribers[e]=[]),n.subscribers[e]}),f()(this,"filterOutOnceCallbacks",function(e,t){n.subscribers[e]=t.filter(function(e){return!e.once})}),f()(this,"onEvent",function(e,t){var r=n.getEventSubscribersList(e);r.forEach(function(e){(0,e.callback)(t)}),n.filterOutOnceCallbacks(e,r)}),this.contentEvents=new Ts(t,this),this.generalEvents=new As(t,this),this.adEvents=new Cs(t,this)},Ds=function(){function e(t){Ai()(this,e),f()(this,"eventsHandler",void 0),this.eventsHandler=new Rs(t)}return Vi()(e,[{key:"on",value:function(e,t){this.eventsHandler.onRegisterToEvent(e,t,!1)}},{key:"once",value:function(e,t){this.eventsHandler.onRegisterToEvent(e,t,!0)}}]),e}();function Ms(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Is(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ms(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ms(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ks=function(){var e=window.monti.dataset;return jn(e)?(e={players:{},preact:Is(Is({},r),i),store:{},plugins:{}},window.monti.dataset=e,e):e},Ns=function(e){var t=function(){var e=(new Date).getTime(),t=performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var r=16*Math.random();return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),("x"===n?r:3&r|8).toString(16)})}(),n=function(e,t){var n=ns(e.dev_config),r=ks(),i=n.dispatch;return r.store[t]=n,function(e,t){return function(n){n({type:"[CORE] initiate store",payload:{initiateParams:e,playerInstanceUniqId:t}})}}(e,t)(i),n}(e,t);return function(e,t,n){B(b(Pi,{playerId:t,store:n,playerPosition:e}),e)}(e.player_pos,t,n),oa.getInstance().loadInternalPlugins(n,t,e),ss.createInstance(n,t),vs.createInstance(n,t),is.createInstance(n,e.media_id,e.content_type,e.dev_config),function(e){var t=e.dispatch;if(er(Ci.getInstance().getHLSLoadingStatus())(t),Qn(Ci.getInstance().getIMALoadingStatus())(t),!Ci.getInstance().isDependenciesReady()){var n=new os(e);Ci.getInstance().addDependenciesCallback(n)}}(n),function(e,t){ks().players[t]=new Ds(e)}(n,t),t},Ls=function(e){return console.log("player initiation start",e),new Promise(function(t,n){try{var r=function(e){var t=e.player_pos||document.currentScript.parentElement,n=e.media_id||e.content_id;return cs(cs({},e),{},{player_pos:t,media_id:n})}(function(e){var t=e.player_id,n=ds(t);return null===n?e:cs(cs({},e),n)}(e)),i=Ns(r);!function(e){var t=new CustomEvent("montiConfigLoaded",{detail:{playerKey:e}});window.dispatchEvent(t)}(i),t(i)}catch(o){console.error("Player initiation error",o),n(o)}})},xs=function(){return{initiate:Ls}};window.monti=xs,Ci.getInstance().loadExternalDependencies()}]); window.monti().initiate(Object.assign({player_pos: document.currentScript.parentElement}, {"is_conflicting_with_other_jw_players":false,"programmatic_play_with_sound_on_desktop":false,"referrer_id":"af93e181-b289-0560-a2bf-808e93bb05bc","width":"100","comscore_publisher_id":"18120612","monetization":{"ad_type":"static_tag","continue_content_play_while_waiting_for_ad":false,"strategy":"on_player_load","ad_request_timeout":"10000","midrolls":{"on":[0]},"vpaid_mode":"ENABLED","ad_tag":"https://pubads.g.doubleclick.net/gampad/ads?sz=400x300|640x480|480x270|640x360&iu=/175840252/MMPlus/smithsonianmag/Video&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url=##REFERRER_URL_UNESC##&description_url=##DESCRIPTION_URL_UNESC##&correlator=##CACHEBUSTER##&cust_params=mm_midroll%3D##MIDROLL_ORDER##%26video_ID%3D##VIDEO_ID##"},"sponsorship":false,"player_identifier":"mplayer","recommendation_id":null,"brand_color":"#FF9900","powered_by_strip":true,"platform":"buffy","type":"video","config_name":"MM+ | Smithsonianmag | Podding","player_id":"3v9g2u2f","playlist_id":"fSkmeWKF","playback_method":"autoplay","anchor_viewability_method":"none","player_version":"v4","playlist_type":"semantic","semantic_options":{"scan_images_on_page":true,"scanned_element":"","tags":"geogrophy,nature,animals,habitat,outdoors,science,history","minimum_date_factor":30,"scanned_element_type":"tag","scoped_keywords":"mentalfloss","promoted_videos":[]},"script_destination":"mm","publisher_contribution":"floor8","general_script_description":"","brand_logo":"","brand_logo_click_url":"","next_video":"none","uniq_key":"af93e181-b289-0560-a2bf-808e93bb05bc","content_id":"fSkmeWKF","content_type":"semantic"})); Finland has vastly improved in reading, math and science literacy over the past decade in large part because its teachers are trusted to do whatever it takes to turn young lives around. This 13-year-old, Besart Kabashi, received something akin to royal tutoring.

      Kari Louhiuori, a principal at a Finnish school made a mostly unheaard of and uncanny decision to hold back an immigrant student from 6th grader named Besart because he hadnʻt felt that this young man was falling behind due to laziness but to a lack of comprehension. After a year of "royal tutoring," by allowing the boy to read at his own pace, it worked!

    1. Reviewer #3

      The work by Barros et al. looks at the role of the Ribosome Quality Control pathway (RQC) in regulating the expression of endogenous messages containing polybasic sequences. Using ribosome profiling and western blotting, the authors show that proteins containing various types of polybasic sequences are not targeted by the RQC. The authors argue that one of the few endogenous RQC substrate, RQC1, is not regulated via the canonical RQC pathway, but by a Ltn1p-dependent post transcriptional mechanism.

      The question of whether there are endogenous RQC substrates has previously been explored. With the exception of the few identified substrates, such as RQC1 (Brandman et al, 2012) and SDD1 (Matsuo et al., 2020), these studies largely concluded the RQC has a minimal regulatory role for endogenous messages, and is most likely protecting cells from damage and environmental stressors. This idea is further supported by the observation that the RQC is non-essential under standard growth condition, but becomes synthetic lethal with translation inhibitors (Kostova et al, 2017, Choe et al, 2016). The work by Barros et al. comes to the same conclusions, and therefore it is unclear how this work contributes to the already established role of the RQC.

      The authors also explore the regulation of RQC1 by the RQC and argue that this gene is regulated by Ltn1p in an RQC-independent way. However, mechanistic understanding of the proposed regulation is lacking, and the data are largely inconsistent with the previously published observations by Brandman et al, 2012.

      Major points:

      1) The authors use the dataset published by Pop et al., 2014 for their 27-29 nt no drug ribosome profiling analysis. However, these no-drug samples have been reported to exhibit surprising heterogeneity, and similarities with CHX-pretreated samples (see Hussmann et al., 2015 for detailed analysis). It is unclear how this heterogeneity can affect the analysis in the current manuscript, and whether the authors were aware of these caveats. Have the authors used independent datasets to confirm their observations? Have they excluded replicas that show CHX-like characteristics, such as A-site occupancy bias similar to CHX pretreated samples?

      2) It is not clear what the purpose of the analysis presented in Fig 2 is, and how it is different from the modeling in the Park and Subramaniam 2019 paper? Are the authors using these parameters (TE, Kozak score, etc.) to show adaptations that minimize ribosome collisions?

      3) Fig 3 - some of the selected examples (Dbp3, Yro2, Nop58) lack sufficient coverage in the region of interested highlighted in the right column for the short and/or long footprints. Since the data are insufficient to make conclusions about ribosome stalling and queuing, these examples should be excluded from the analysis.

      4) Fig 4:

      -Does ASC1 deletion cause frameshifting? Since the TAP-tag is C-terminal, it is possible that it is now out of frame, and therefore undetectable. Is it possible for the authors to introduce the tag on the N-terminus, and follow simultaneously the stalled nascent polypeptide (upon LTN1 deletion), and the full length protein?

      -Is the putative stalling site of Dbp3 too close to the stat codon to cause collisions?

      -Can the authors include a positive control, such as TAP-tagged Sdd1 to make sure their assay works and their strains and KOs behave as expected?

      5) Fig 5:

      -What is causing the inconsistency with the Brandman et al., 2012 data about RQC-dependent regulation of RQC1? In the original paper, Rqc1p has an N-terminal FLAG tag, so the authors primarily follow the stalled nascent polypeptide, whereas the current study focuses on the full length protein. Can the authors compare the same construct (FLAG-tagged Rqc1p) in their strains, so it is an "apples to apples" comparison?

      -Fig 5c bottom panel - the read coverage is too sparse to make a conclusion. This analysis should be removed.

      -5 d, e. The comparison between the GFP-12R-RFP stalling reporter and RQC2-TAP is not fair. The GFP construct reports on the fate of the stalled nascent polypeptide, whereas the RQC1-TAP looks at the full-length protein, and remains blind to the putative stalling product. Can the authors change the location of the tag, and repeat the experiment now looking at the stalled nascent polypeptide for RQC1? In addition, the signal in Fig. 5e look saturated. Is it possible that no effect is observed simply because the TAP signal is out of the dynamic range for the assay?

      Minor Comments:

      1) The introduction presents an overly simplistic view of ribosome stalling, arguing that stalling can be caused by polybasic stretches. We now know that stalling is much more complex, and there are many other factors, including the presence of non-optimal codon pairs, that cause ribosome collisions. Although the authors discuss these factors in their discussion, they should also be emphasized in the introductory paragraph.

    1. At

      Sentence structure. Most everything carries that long sentence structure. At least in the beginning parts. If it changes I will tag in the bottom when I get there!

  4. Sep 2020
    1. The FBI said it has stopped using the "Black Identity Extremist" tag and acknowledged that white supremacist violence is the biggest terrorist threat this country faces.

      When using the "Always Check" Approach, this headline generated many relevant Google searches, with multiple other media outlets covering this. Hence, The Root appears to be credible. I'm very surprised that it took a long time for the FBI to make this decision.

    1. The <output> tag represents the result of a calculation. Typically this element defines a region that will be used to display text output from some calculation.

      How <output> tag can be used in HTML5

    1. D&D is the superior mental health resource

      Useful tag with stories and experiences

    1. globals are assumed to have their field value on the window object and can be referenced inside the bundle by their field name globals: { name: 'Value', }, assumes that some other script tag or whatever establishes window.Value and the emitted umd bundle for example, calls the factory like factory(global.Value). So globals is just stuff to bring into the factory on the globals object. It doesn't even make it "global" inside the bundle. Basically, the resolver does not check the globals object during the loading process. The resolver needs to be told how to link these globals and that's what the external option is for. external: ['name'], Then you can reference it like import myName from 'name'; myName();
    1. Reviewer #1:

      Previous work has shown that the nuclear import of TyrRS is stimulated under stress and that nucleus-localized TyrRS functions through the transcriptional machinery to promote the expression of DNA damage response genes for cell protection. In this work, evidence is presented that nuclear TyrRS also inhibits bulk translation in a manner correlated with its association with several AARS-encoding genes and that for elongation factor eEF1A, and recruitment to these genes of HDACs. Mutation of the TyrRS NLS, whose function in nuclear localization provides for coupling between low tRNATyr binding and nuclear localization, was found to derepress bulk translation after prolonged oxidative stress by H2O2, without altering eIF2 phosphorylation levels or mTOR activation, and overexpression (o/e) of TyrRS can reduce protein synthesis, in a manner enhanced by the E196K mutation associated with Charcot-Marie-Tooth disease (CMT), shown previously to enhance TyrRS association with transcriptional co-repressors. ChIP-Seq of overexpressed V5-tagged TyrRS showed binding to only 17 sites, of which 15 are within gene coding sequences, among which four encode TyrRS, TrpRS, SerRS and GlyRS, and a fifth encodes elongation factor eEF1A. These results were confirmed by ChIP analysis of endogenous TyrRS, using the HisRS gene as negative control; and the occupancies were shown to increase on H2O2 treatment. The expression of these AARS/eEF1A gene transcripts was shown to be reduced by o/e of TyrRS, in a manner enhanced for at least some of them by the E196K CMT mutation; and the repression was shown to be eliminated by the NLS_mut for YARS expressed at native levels. Reductions in AARS/eEF1A protein expression were also observed on WT TyrRS o/e. Sequence analysis of the genes showing TyrRS binding by ChIP-seq led to identification of a motif that was shown to be required for binding to TyrRS in vitro in EMSA assays with either purified TyrRS or in extracts from cells overexpressing it, in a manner requiring the full-length TyrRS and not only the catalytic core of the enzyme. It was not shown however that eliminating this motif from any of the target genes attenuated their repression by nuclear-localized TyrRS. Mass spec analysis of affinity-purified, overexpressed TyrRS identified interacting proteins, and several of which were shown to be coimmunoprecipitated with endogenous TyrRS in non-stressed cells, including the transcription cofactors Trim28, HDAC1, and subunits of the NURD co-repressor/histone deacetylase complex. ChIP assays showed that overexpression of TyrRS lead to decreased levels of H3K27Ac, a histone mark of active transcription, and elevated occupancies HDAC1, TRIM28, or NURD subunit CHD4 in non-stressed cells at the AARS/eEF1A genes, with either TRIM28/HDAC1 or CHD4 being observed for all of the genes except the TyrRS gene that shows all three cofactors present. Based on these results, the authors conclude that increased nuclear localization of TyrRS on oxidative stress leads to increased binding of TyrRS to the AARS/eEF1A genes with attendant direct recruitment of either TRM28/HDAC1 or NURD, leading to transcriptional repression of these genes, which is responsible for the reduction in bulk protein synthesis observed after prolonged H2O2 treatment. They go on to provide evidence that cell survival in H2O2 is enhanced by nuclear association of TyrRS (dependent on the NLS), and that in its absence, conferred by the NLS_mut, apoptosis is increased. They also show that ROS increases by preventing TyrRS nuclear localization by the NLS_mut, and that this effect as well as decreased cell survival for this mutant in H2O2 can be rescued by the translation elongation inhibitor harringtonine.

      The results presented in this report provide some support for the main conclusions of the paper and the overall model presented in Fig. 4F. However, as detailed below, many of the main conclusions of the paper are based on correlations and lack direct experimental support, and a number of the experiments are not comprehensive enough with sufficient conditions and controls to establish that the effects observed can be attributed to enhanced nuclear localization of TyrRS in response to H2O2. Considering the statements in the abstract, the evidence is reasonably strong that nuclear localization of TyrRS leads to inhibition of global translation at a stage later than that of eIF2α/ATF4 and mTOR responses, and that excluding TyrRS from the nucleus increases apoptosis under prolonged oxidative stress (although even this last point requires better documentation). However, the evidence is inadequate in several respects to claim that TyrRS directly represses the transcription of translation-related genes by recruiting TRIM28 or NURD complex, and as claimed on p. 13 of the Discussion, that the repression of the four AARS genes and the gene for eEF1A accounts for the reduction in bulk protein synthesis on H2O2 treatment.

      Major issues:

      -Evidence is lacking that the binding of TyrRS to the AARS/eEF1A genes is functionally important for the repression of any of the 6 putative target genes upon increased nuclear localization of TyrRS conferred by the NLS_mut or in response to H2O2. This would require ChIP analysis of TyrRS binding to the target genes for WT vs. NLS_mut TyrRS in H2O2-treated cells; and CRISPR mutagenesis of the putative TryRS binding site in the genome and analysis of transcription in the presence and absence of H2O2 for at least one of the putative TyrRS target genes.

      -Evidence from ChIP analysis is lacking that TRIM28, HDAC1, or the NURD complex are recruited to the AARS/eEF1A genes at native levels of TyrRS in a manner dependent on the NLS and stimulated by H2O2, as the ChIP experiments involved only overexpressed WT TyrRS in non-stressed cells. It is also unclear whether H3K27Ac levels at the putative target genes decline at endogenous levels of TyrRS on treatment with H2O2. Similarly, evidence is lacking that the physical association of TyrRS with these co-repressors is dependent on the NLS and stimulated by H2O2, as the co-IP analysis was limited to endogenous WT TyrRS in non-stressed cells.

      -Evidence is lacking that the cofactors TRIM28, HDAC1, or CHD4 are required for the down-regulation of target gene transcription on H2O2 treatment, which would require knock-down or elimination of these factors by CRISPR accompanied by analysis of target gene transcription +/- H2O2.

      -Direct evidence is lacking from ChIP analysis of RNA Pol II that the transcription of the AARS/eEF1A genes is reduced on H2O2.

      -Evidence is lacking that the repression of bulk protein synthesis is actually mediated by the reduced expression of the 4 AARSs and eEF1A. The fact that the TyrRS-E196K mutation enhances repression of bulk translation and also repression of 3 of the 5 target genes does support the idea that the repression of the target genes is instrumental in reducing protein synthesis, but again, this is still a correlation. There is no evidence that the reduced expression of the AARSs is sufficient to reduce charging of the cognate tRNAs, or that the reduced expression of eEF1A decreases the rate of translation elongation in cells or cell extracts.

      -There is an important lack of information provided needed to evaluate the quality and significance of the ChIP-seq analysis of TyrRS binding to DNA. No details are provided concerning the ChIP-seq analysis of V5-tagged TyrRS to indicate how the TyrRS occupancy peaks were identified and distinguished above background signal from the cells expressing V5 tag alone, whether replicates were examined to provide statistical significance for the identified occupancy peaks, and the sequencing library depths. No genome browser views were provided to show the signals from the cells expressing V5-TyrRS vs V5 alone to demonstrate the quality and reproducibility of data from replicates. The supplementary table S1 describing these data was even omitted from the submission, and it's unclear whether these data are being deposited in GEO.

      -There is an important lack of information provided needed to evaluate the quality and significance of the mass-spec analysis of TyrRS interacting proteins. No details are provided about the statistical significance of the protein interactions identified by mass-spec analysis of the affinity-purified TyrRS; and a negative control for non-specific association seems not to have been included in the analysis. The supplementary table describing these data was even omitted from the submission.

      -It's unclear whether the motif described in Fig. 3A was found under the peaks of TyrRS occupancy in the various genes showing TyrRS binding in the ChIP-seq experiments, nor whether its occurrence is statistically significant. It was not indicated that the motif coincides with the peak ChIP-seq occupancies for TyrRS, and if not, how this could be explained.

      -Evidence is lacking that harringtonine treatment reduced bulk protein synthesis under the conditions where it suppressed the effects of the TryRS NLS mutation in elevating ROS and decreasing cell survival.

      -In general, the figure legends are poorly written in lacking important details about the nature of the TyrRS being examined in the experiment (tagged vs endogenous; overexpressed vs. native levels), and also whether oxidative stress was imposed in the experiment, and if so, the exact conditions for the treatment. Figure legends should contain all of the critical details needed to understand and evaluate the significance of the experimental results without having to search elsewhere in the paper for them.

      -It needs to be clarified whether the mini-TyrRS construct lacks the NLS, and the significance of its behavior as a negative control for the effects of overexpressing WT TyrRS.

      -For the experiment in Fig. 5B, quantification of the fraction of caspase-3 or PARP cleaved from biological replicates is required.

      -The experiment in Supp. Fig. S4 lacks the results from cells untreated with H2O2 to ensure that these proteins were being induced by H2O2 in their hands.

    1. including computer vision, machine vision, speech recognition, natural language processing, audio recognition, social network filtering, machine translation, bioinformatics, drug design, medical image analysis, material inspection and board game programs, where they have produced results comparable to and in some cases surpassing human expert performance<br> yes ma

    1. Your tooltip component will have to wrap your image with a span tag or something, it can’t just add events to its children. And if you are adding multiple actions to it you will have to wrap it multiple times.
      <Concern1> <Concern2> </Concern2> </Concern1>

      vs.

      <img use:concern1 use:concern2>

    1. “Who are you then?" "I am part of that power which eternally wills evil and eternally works good.”

    1. Anti‐Flag monoclonal

      DOI: 10.1096/fj.202001340R

      Resource: (Wako Cat# 018-22381, RRID:AB_10659453)

      Curator: @Naa003

      SciCrunch record: RRID:AB_10659453

      Curator comments: Anti-DYKDDDDK tag Monoclonal Antibody, Unconjugated, Clone 1E6 Wako Cat# 018-22381


      What is this?

    2. anti‐Myc‐tag

      DOI: 10.1096/fj.202001340R

      Resource: (MBL International Cat# 562, RRID:AB_591105)

      Curator: @Naa003

      SciCrunch record: RRID:AB_591105

      Curator comments: Rabbit Anti-Myc Tag Antibody, Unconjugated MBL International Cat# 562


      What is this?

    1. Ich würde das, was du hier diagnostizierst, als Epistemic Crisis bezeichnen. Ich nehme sie genauso wahr wie du, und ich bin auch darüber entsetzt. Das erste Warnsignal, das ich ernst genommen habe, war der Brexit, das zweite die Wahl von Trump. Beide habe ich vorher nicht erwartet, weil sie jenseits des Horizonts waren, in dem ich Entwicklungen erwartet habe. ich muss also auch an der Art und Weise zweifeln, in der ich politische Entwicklungen verstanden habe.—Später kam dann für mich der Aufstieg der Freiheitlichen hier in Österreich, bis hin zur Regierungsbeteiligung, und die rechtspopulistische Welle (wenn man es so nennen will) in Frankreich und Italien.

    1. Your solution is a very basic. The case above is more complex because using your solution you can't manipulate with fetched data outside of template and even outside {#await / } tag. So, if you need a read-only solution it's good but otherwise, it won't help you.
    1. I save the things I read online, too, in a digital research library. I’ve long used Evernote to clip the full text of articles I find and gather them in various digital notebooks, separated into categories for easy reference. I can full-text search everything that I've saved over the past decade, to find the citation really quickly. The combination of my physical library and my note-taking softwares act as a kind of external brain—in other words, my memory gets me to the original source of what I’ve read by searching my notebooks, Evernote, or Pinboard.Recently I’ve been migrating this clip-taking to Pinboard, inspired by a Superorganizers post. Pinboard is much like Evernote, but allows you to tag clipped articles into multiple categories. Pinboard automatically saves a full-text version of each page you clip, so you can search and reference the text even if the website is removed or the page is no longer available. 

      Pinboard, huh? I should take a look at this.

    1. The RFID tag - short for Radio-Frequency Identification - is ubiquitous in the modern economy.

      Bugs

    1. Say I want to style this javascript routing anchor tag on various pages (some may be buttons, plain links, images) it makes it incredibly difficult. Eg:
    1. learning

      In your initial tag line you have "education" and I like that better. It is just a bit more broad.

    1. Author Response

      Reviewer #1:

      Major comments:

      1) The title and the conclusion that SON and SRRM2 form nuclear speckles are not supported by the data. The data show that SON and SRRM2 are necessary for nuclear speckle formation. They do not rule out that another factor is necessary, such as SRRM1, which interacts with SRRM2 and itself harbors an intrinsically-disordered domain. That is, the authors have not shown that SON and SRRM2 are also sufficient for nuclear speckle formation. Such a test is necessary to draw the strong conclusion the authors make, and precedence for such a test has been established in the study of Cajal bodies. Specifically, central factors to Cajal body formation were shown to nucleate Cajal body formation at a specific site in chromatin when such central factors were localized to that site. The authors either need to perform such a sufficiency experiment or moderate their conclusions (and title).

      2) In principle, in the immunofluorescence studies, the disappearance of mAb SC35 signal on depletion of SRRM2 does not alone prove that SRRM2 is what is visualized by the mAb SC35 in such assays. Given that this paper seeks to establish rigorously that mAb SC35 marks nuclear speckles by recognition of SRRM2, given that SRSF7 is recognized by the antibody on blots, and given that SRSF2 has been traditionally presumed the target of mAb SC35 in nuclear speckles, the rigor of this study demands that SRFS7 and SRSF2 be visualized in cells in the presence of an SRRM2 truncation to rule out that either SRSF7 or SRSF2 phenocopy SRRM2 in this assay.

      This is a valid concern and we have thought of the same principal that is if any strongly speckle-associated intrinsically disordered domain containing protein, such as SRRM1 or RBM25, two proteins that are also frequently used as NS markes, would have a similar impact on NS formation as SRRM2 has. To this end, we performed a co-depletion of SON and SRRM1 (shown in Supplementary Figure 10) in a cell line that has a TagGFP2 inserted into SRRM2 gene locus. As it can be seen from the imaging presented in this figure for 4 individual cells (but also more generally on 10 independent field imaged, (data not shown)) we did not score a reduction in the GFP intensity, or dissolution of the spherical bodies as is the case in SON-SRRM2 co-depleted cells. We observed the nuclear speckles have the round-up morphology, that is seen upon SON-KD, but are not dissolved shown with PNN staining and SRRM2-TagGFP signals. Moreover, we performed a co-depletion of RBM25 (another strongly NS-associated protein also used as a NS-marker) and SON which did not result in the dissolution of nuclear speckles (Supplementary Figure 10). Therefore, we have reached to the conclusion that SON and SRRM2 form nuclear speckles with the contribution of SON being more important for the formation and titled our study accordingly.

      Traditionally, because of the Fu & Maniatis 1992 paper, as pointed out by the reviewer, it is assumed that SC-35 recognizes SRSF2 in immunofluorescence experiments and potentially multiple SR-proteins in immunoblots. The former point, to the best of our knowledge, has never really been proven in any type of rigorous experiment. Fu lab. has generated SRSF2 K/O mice, but never provided an immunofluorescence image that shows that SC-35 signal disappears in K/O cells.

      Just to summarize our line of reasoning here:

      1) We do an unbiased IP-MS experiment, which shows that SRRM2 is the top candidate protein, at least an order of magnitude away from any other protein in the dataset by any measure. This strongly suggest that SRRM2 is the primary target of this antibody, although doesn’t prove it due to technical reasons i.e. no input normalization, some proteins produce more ‘mass-specable’ peptides than others, and larger proteins tend to produce more peptides.

      2) We carry out a biased screen of 12 SR-proteins and find that SRSF7 is strongly recognized by mAb SC-35

      3) We do IP-western blotting experiments, which correct for input and are not affected by relative ‘mass-specable’ peptide issues or protein sizes, which reveal a strong enrichment of SRRM2 (>10% of input), some enrichment for SRSF7 (~2% of input) and no enrichment for SRSF2, SRSF1 or other proteins that we have tested.

      4) Since the “35kDa” protein is so engrained with the history of this antibody and our results were most consistent with the idea that this protein is SRSF7 rather than anything else, we insert a degron tag to SRSF7. If the hypothesis is true, then we expect a shift of the SC-35 band, concomitant to the shift in SRSF7, which is indeed the case. This is not proof that SC-35 doesn’t recognize any other protein but it does provide very strong evidence (combined with the other two experiments) that the 35kDa band detected by SC-35 in immunoblots is in fact SRSF7.

      5) We then show, by TagGFP2 insertion into the SRRM2 locus, that SC-35 mAb can recognize SRRM2 specifically on immunoblots, and furthermore truncations beyond a certain point completely eliminates this signal. We also show later that siRNA mediated KD of SRRM2 also leads to the elimination of the signal from immunoblots (Supplementary Figure 9).

      6) Combining the results so far, we address the issue of immunofluorescence, i.e. which protein or proteins are responsible for this signal. We think there are two possible scenarios that could both be true based on the presented evidence so far:

      a. This signal is mainly, if not entirely, originates from SRRM2. b. The signal is a combination of SRRM2, SRSF7 and/or other SR-proteins that the SC-35 might be cross-reacting.

      7) We then take advantage of our cell lines with SRRM2 truncations. These truncated SRRM2 version are not recognized by SC-35 mAb on immunoblots, therefore it is reasonable to suspect that they will not be recognized by SC-35 mAb in immunofluorescence as well.

      8) If scenario (b) is correct and nuclear speckles are still intact in these cells (which we show that they are indeed intact, judged by SON, RBM25 and SRRM1 stainings Fig. 3A-B), then we would expect either no change in SC-35 signal, or a somewhat reduced signal. We see a complete loss of signal.

      9) Being extra careful with this result, we also mix the control cell line and SRRM2-truncated cells and image them side-by-side to address any issues related to imaging settings etc. There is no detectable SC-35 signal in truncated cells.

      10) We also show that the 35kDa band is still unchanged in SRRM2 truncated cells (Figure 2E), showing that SRSF7 itself is not affected in these cells.

      These results, combined together, show that SC-35 signal in immunofluorescence originates from SRRM2, and any other signal potentially contributed by other proteins are below the detection of immunofluorescence microscopy.

      Reviewer #2:

      This study reports important evidence that the widely-used SC-35 antibody primarily recognizes SRRM2 rather than the assumed SRSF2. The manuscript provides several lines of evidence supporting this conclusion, and the work has broad impact on the field of nuclear structure and function as this antibody is the most common marker for the major nuclear component, nuclear speckles.

      The one concern with the manuscript is the interpretation of some of the previous literature and understanding in the field.

      First, since the 1990s it has been widely known that the SC-35 mAb has very limited specificity for denatured proteins and was not suitable for immunoblots (see abcam page for ab11826). Indeed, the assumption has always been that it recognizes a folded epitope. Therefore, the use of western blots to conclude anything about the specificity of this antibody is inappropriate.

      Secondly, it has also been previously documented that this antibody has cross-reactivity with SRSF7 (i.e. 9G8; Lynch and Maniatis Genes Dev 1996).

      Third, most SR proteins are not abundantly observed in tryptic MS due to high cleavage of RS domains. This is particularly true of SRSF2, which has a highly "pure" RS domain (i.e. all RS repeats) that encompasses almost half of the total protein. SRRM2, on the other hand, has much more complex and degenerate RS domains that encompass a much smaller percentage of the total protein. SRRM2 is also 10x the size of SRSF2. Thus, given equal molar amounts of SRSF2 and SRRM2, one would expect at least 20x the number of peptides and much more complete coverage of SRRM2 vs. SRSF2. Therefore, while the subsequent immunoblot in Figure 1C is compelling evidence that SRRM2 is precipitated with the SC-35 antibody, while SRSF2 is not, the IP-MS data alone is not strong proof that the SC35 mAb primarily recognizes SRRM2 rather than SRSF2. The text should be revised accordingly.

      Finally, the abstract implies that the demonstration of SON as a central component of speckles is new ("elusive core"). As appropriately referenced in the text, this is not the case, rather SON is often used as a marker for nuclear speckles, and SON has long been considered to be part of the core of speckles, as knock-down has been documented by several groups to disrupt speckles. The wording in the abstract should therefore be more parsimonious.

      With all due respect to all previous researchers that have used mAb SC35 and published their results, we think that the specificity issue has become unnecessarily convoluted due to the initial inaccurate characterization. Abcam’s recommendations highlight the issue in an interesting way. In the old marketing images, abcam shows a single band in a total lysate prepared from HEK293 cells: https://www.abcam.com/ps/products/11/ab11826/reviews/images/ab11826_49518.jpg

      However, producing such an image, in our experience as we have also reported in the manuscript, is only possible under non-ideal western-blotting conditions i.e. when the transfer is not adequate to reveal proteins with large molecular weights. Intriguingly, a customer (not us) complains about an improper WB result obtained with this antibody (with a 2-star rating):

      https://www.abcam.com/sc35-antibody-sc-35-nuclear-speckle-marker-ab11826/reviews/68414?productWallTab=ShowAll

      It looks like an unexplainable high-molecular smear without the information that we provide in our manuscript, but in light of it, it’s clear that protein stained here is SRRM2.

      In our experience the antibody works perfectly fine for western blotting, and very specifically and robustly reveals SRRM2 at ~300kDa, as long as the immunoblotting conditions are optimized for large proteins. We also show that bulk of the signal around 35kDa originates from SRSF7, however as indicated by the other reviewer’s comments, and also previous research, the antibody probably cross-reacts with other proteins as well with varying degree.

      In this sense, the antibody can be used for immunoblotting, but pretty much any result obtained from such an experiment must be verified with an independent antibody or independent methods, which we did in this manuscript.

      The SC35 mAb is actually suitable for western blotting if the gel running and transfer conditions are carefully performed to have SRRM2: a) enter the gel and b) transferred properly to the membrane. Under conditions where SRRM2 is just not entering the gel (due to high percentage gels, or gels with too much bis-acrylamide), or doesn’t get transferred to a membrane (non-ideal buffer conditions, protein stuck in stacking part and cut away etc.), we have seen the unspecific bands, but we had to use the most sensitive detection reagents at hand to see those, so they are rather weak. We have provided a detailed explanation to what these conditions are in the methods section of our manuscript, but briefly: running the gel slowly allowing the protein to enter in the gel and transferring overnight with CAPS buffer were key to get the western blot working. As we have shown in Figure 2C and 2E, the majority of signal detected comes from SRRM2. The unspecific binding of SC35 mAb could only be scored if the above-mentioned conditions were not met.

      We believe what made matters historically worse has been the use Mg++ precipitation that enriches many SR proteins, but actually completely depletes SRRM2 (Blencowe et al. 1994 DOI: 10.1083/jcb.127.3.593, Figure 5, https://pubmed.ncbi.nlm.nih.gov/7962048/ ). When we’re sure that SRRM2 is in the gel though, it just shines as a single band. So in conclusion, SC-35 is reasonably specific to SRRM2, especially in immunofluorescence, but it certainly cross-reacts with other SR-proteins, especially when SRRM2 is missing for technical or biochemical reasons.

      We will update in the manuscript for the corresponding section by citing earlier studies reporting the specificity issues of mAb SC35.

      We absolutely agree that IP-MS data alone is not enough to conclude that SC-35 recognizes SRRM2, or whether it is the primary target or not. The overwhelming amount of SRRM2 peptides detected, in addition to the overwhelming amount of total peptide counts from SRRM2 does strongly suggest that it is the case, which we then followed up by IP-western blotting which controls for relative input, and the various experiments shown in later figures.

      We have looked at our MS results and found out that:

      SRSF2 was detected with 4 unique peptides with an MS/MS count of 5 and a sequence coverage of 29% (intensity 3E+07), whereas SRRM2 was detected with 227 unique peptides with an MS/MS count of 3317 and a sequence coverage of 61.9% (intensity 2E+11).

      These numbers show a 6600 times higher intensity for SRRM2 (not normalized). As the identification and abundance of different peptides/proteins can by dramatically different in MS, it is indeed correct that one should be careful with such comparisons. The only way would be to use peptide standards for both proteins and record standard curves, then a real quantitative comparison would give the true numbers. Hence, we will revise the wording of that section.

      Finally, as the reviewer has pointed out, we have not shown that speckles can be reformed by introducing ectopically expressed SON/SRRM2 into cells which now appear not to have nuclear speckles. This would indeed be the formal proof showing that SON/SRRM2 are not just necessary but also sufficient to form nuclear speckles. Such an experiment is quite challenging due to the length of these proteins and difficulty in establishing conditions where one can express these proteins, but not overexpress them which leads to round-up speckles (as shown and discussed by Belmonte lab). Therefore, we will change the title to “SON and SRRM2 are essential for the formation of nuclear speckles” to better reflect our conclusions.

      We really did try to be clear and just about the previous literature around SON. Indeed, it is clear that SON is a crucial part of NS, likely the most important component for the integrity of speckles. However, in all of these previous studies, RNAi-mediated depletion of SON, without exception, leaves behind spherical bodies that are strongly stained with mAb SC35, that also harbor other NS-markers (which we also show). This is of course not new, as we also appropriately cited previous work, however being able to dissolve these “left-over” speckles by co-depletion of SRRM2, and perhaps more importantly by deletion of the SRRM2’s C-terminal region is indeed novel.

      In essence, our results show that in the absence of SON, as shown by previous work as well, NS-associated proteins are still able to organize themselves into nuclear bodies, indicating that either all other SR-proteins without the need of another organizer clump together, or another factor (or factors) is still acting as an organizer. When we remove the C-terminus of SRRM2, which we show is the primary target of SC-35, which strongly stains these left-over nuclear bodies in the absence of SON, then deplete SON, all NS markers that we could find become diffuse, indicating that nuclear speckles no longer exist, or become too small to be detected or classified as “nuclear bodies”. Co-depletion of SON and SRRM2 leads to the same phenotype, but co-depletion of SON and SRRM1 (or RBM25) doesn’t, leaving behind spherical nuclear speckles that harbor SRRM2 which are no different than SON KD cells.

      Reviewer #3:

      Nuclear speckles in the last several years have attracted significant attention for their association with transcriptionally active chromosome regions (after largely being ignored by most for the previous 20 years). Overwhelmingly, a single monoclonal antibody has been used as a marker for nuclear speckles for several decades.

      This manuscript now argues convincingly that the main target that is recognized by this monoclonal antibody is not SRSF2 (SC35) as long thought, but rather SRRM2. The authors thus clarify a vast literature, while also focusing attention on the very large protein SRRM2 that in many ways resembles another nuclear speckle protein, SON. Both have huge IDRs and unusual RS repeats, while SON has been proposed to act as a scaffold for many SR-containing proteins, which is likely also true for SRRM2, by extension. Moreover, the manuscript provides a convincing explanation for why the target of this antibody was previously misidentified, by showing a lesser cross-reaction with SRSF7, of similar MW to SC35.

      Finally, the manuscript suggests that SON and SRRM2 together help nucleate nuclear speckles, as a double KD, or a SON KD in a background of a truncated SRRM2, leads to loss of nuclear speckle-like staining of other proteins normally enriched in nuclear speckles (RBM25, SRRM1, PNN). The authors go on to suggest that this double KD approach will now provide an important means of disrupting nuclear speckles to aid in functional studies.

      Interestingly, some of the results of this manuscript actually are already confirmed or consistent with previous literature. For example, a cited paper describes changes in Hi-C compartmentalization patterns after "elimination" of nuclear speckles- actually, they performed a SRRM2 KD and showed loss of SC35 staining, which is now explained as simply due to the KD that they performed. More recently, a new proteomics study of nuclear speckles (Dopie et al, JCB, 2020: https://doi.org/10.1083/jcb.201910207) reported both SON and SRRM2 as the two most highly enriched nuclear speckle proteins, with enrichment scores similar to each other but more than twice that of all other speckle proteins. Moreover, this same paper also did a SRRM2 KD and observed loss of anti-SC35 staining but not SON staining.

      Overall, I found this manuscript of significant interest for people in the nuclear cell biology field and technically thorough and well done. I just had one issue and one point to make in my main comments, plus some minor points.

      1) The evidence that nuclear speckles are nucleated by SON and SRRM2 is based on the dispersion of staining of nuclear speckle proteins RMB25, SRRM1, and PNN. However, an alternative explanation is that some other protein(s) nucleates nuclear speckles, while these other nuclear speckle proteins bind to SON and SRRM2, and are therefore enriched in nuclear speckles. To eliminate this concern, the authors could show that SON and/or SRRM2 do not bind to these proteins- for instance using co-IP or other methods. Of course, it could be that such binding or scaffolding of nuclear speckle proteins is how they form nuclear speckles. But just one protein that is not bound by SON and SRRM2 but still stains nuclear speckles after the double KD would be inconsistent with their hypothesis. Therefore, if they do find that all these proteins bind SON and/or SRRM2 they could simply discuss this as a scaffolding mechanism but qualify their conclusion based on the alternative explanation described above.

      2) In our lab we have not been comfortable using the kinase manipulations, discussed in this paper, to eliminate nuclear speckles for experimental purposes because the cells appear very sick after these manipulations. For other reasons, we also tried a double SON and SRRM2 KD. Our experience is that the cells after this double KD were also not very normal. If the authors are suggesting the SON and SRRM2 double KD as an experimental tool to disrupt nuclear speckles in order to access nuclear speckle function, then it would be valuable for them to indicate cell toxicity, etc. Many SR-protein KDs for example do not allow selection of stable cells. What about this double KD?

      The first point of Reviewer #3 has been addressed above in response to the Reviewer #2.

      We have stated that our work identifying SON and SRRM2 as the elusive core of nuclear speckles paves the way to study the nuclear speckles under physiological conditions. Here, we have used the cells 24 hours after transfection (~18 hours of knock-down) as the primary reason being that SON-KD caused a mitotic arrest if the cells were kept longer in culture. This was reported earlier in Sharma et al MBC 2010. There was no additional severity in the phenotype when the SON-KD was combined with SRRM2-KD, therefore we believe the arrest phenotype we scored is mainly due to depletion SON. In this sense, double-depletion of SON and SRRM2 can be used to study the effects of loss of NS (transcription, post-transcriptional, topological), but certainly within a time-frame of around 24 hours in cells that haven’t gone through mitosis. We will clarify this statement in the revised manuscript to avoid any misunderstanding as pointed by the reviewer. Faster depletion strategies, and/or a system where cells are mitotically arrested would be required to observe long term effects more reliably.

    1. This package exposes an hyperscript compatible function: h(tag, properties, ...children) which returns a svelte component.
    1. Mouse anti-HA

      DOI: 10.1016/j.celrep.2020.108101

      Resource: AB_2864345

      Curator: @Naa003

      SciCrunch record: RRID:AB_2864345

      Curator comments: HA-Tag (26D11) Mouse Antibody Abmart Cat# M20003


      What is this?

    1. n the Iranian case, meanwhile, the people tweeting about the demonstrations were almost all in the West. “It is time toget Twitter’s role in the events in Iran right,” Golnaz Esfandiari wrote, this past summer, in Foreign Policy. “Simply put: There wasno Twitter Revolution inside Iran.” The cadre of prominent bloggers, like Andrew Sullivan, who championed the role of socialmedia in Iran, Esfandiari continued, misunderstood the situation. “Western journalists who couldn’t reach—or didn’t botherreaching?—people on the ground in Iran simply scrolled through the English-language tweets post with tag #iranelection,” shewrote. “Through it all, no one seemed to wonder why people trying to coordinate protests in Iran would be writing in anylanguage other than Farsi.”

      twitter protesters forget to translate text about votings in Iran and were inconsiderate to the fact that they speak farsi there. they are protesting without actually aiming to create change.

    Annotators

    1. In the Iranian case, meanwhile, the people tweeting about the demonstrations were almost all in the West. “It is time to get Twitter’s role in the events in Iran right,” Golnaz Esfandiari wrote, this past summer, inForeign Policy.“Simply put: There was no Twitter Revolution inside Iran.” The cadre of prominent bloggers, like Andrew Sullivan, who championed the role of social media in Iran, Esfandiari continued, misunderstood the situation. “Western journalists whocouldn’t reach—or didn’t bother reaching?—people on the ground in Iran simply scrolled through the English-language tweets post with tag #iranelection,” she wrote. “Through it all, no one seemed to wonder why people trying to coordinate protests in Iran would be writing in any language other than Farsi.”

      western journalists took matter into their own hands without truly knowing what was happening from people inside of Iran. they took what they knew from things they collected from twitter and put it into their own hands. this is where i strongly disagree with social media activism. you may not need to be face to face but you do need to speak directly to people instead of making assumptions.

    Annotators

    1. Ein Tag im Exilwo die Stunden sich bückenum aus dem Keller ins Zimmer zu komme

      Die Verkorperung hier ist sehr stark und ich finde das sehr interessant, dass Auslander eine Person, die aus dem Keller kommt, mit die Stunden in Exil. Ich glaube, dass die Stunded durch einen Tag sich andern. Was meint ihr, was die Wirkung von die Verkorperung hier ist?

    2. Ein Tag im ExilHaus ohne Türen und FensterAuf weißerTafel mit Kohle verzeichnetdie Zeit

      Die Exilerfahrung wird hier wie eine Haftstrafe beschreibt. Was ist die Wirkung von diesem Vergleich?

    1. 「晨间记录」和「晚间思考」(Morning Journal & Evening Reflectin)这两个板块用于早晚的个人记录和总结。「输入(Input)」指我这一天做了什么、学了什么、了解了什么;「输出(Output)」则更关注产出,包括「地标(Landmark)」这样值得铭记的成就和阶段性成果;「个人观察记录」更多是跟我身心状态相关的记录。如果我工作在一个具体而较为宏观的任务上,我就会选择创建对应 Page 并跳转到其中去工作。等待任务完成再回到 Journal 中。此外,如果不生成新页面的话,我会尽量给某个记录添加相应的 Tag,以便索引。

      DEF

    1. rabbit anti-HA epitope tag, DyLight™ 549

      DOI: 10.1186/s13064-020-00146-6

      Resource: (Rockland Cat# 600-442-384, RRID:AB_1961543)

      Curator: @Naa003

      SciCrunch record: RRID:AB_1961543

      Curator comments: Anti-HA EPITOPE TAG (RABBIT) Antibody DyLight 549 Conjugated - 600-442-384 Rockland Cat# 600-442-384


      What is this?

    1. anti-HA

      DOI: 10.3390/cancers12071989

      Resource: (Abcam Cat# ab18181, RRID:AB_444303)

      Curator: @Naa003

      SciCrunch record: RRID:AB_444303

      Curator comments: HA tag antibody [HA.C5] Abcam Cat# ab18181


      What is this?

    1. anti‐Myc

      DOI: 10.1111/bph.15023

      Resource: (Cell Signaling Technology Cat# 2276, RRID:AB_331783)

      Curator: @Naa003

      SciCrunch record: RRID:AB_331783

      Curator comments: Mouse Anti-Myc-Tag Monoclonal Antibody, Unconjugated, Clone 9B11 Cell Signaling Technology Cat# 2276


      What is this?

    1. HA-Tag (6E2) mouse mAb (Alexa Fluor 488 conjugate)

      DOI: 10.1016/j.chembiol.2020.03.004

      Resource: (Cell Signaling Technology Cat# 2350, RRID:AB_491023)

      Curator: @ethanbadger

      SciCrunch record: RRID:AB_491023


      What is this?

    1. 2367s

      DOI: 10.1101/gad.332395.119

      Resource: (Cell Signaling Technology Cat# 2367, RRID:AB_10691311)

      Curator: @Naa003

      SciCrunch record: RRID:AB_10691311

      Curator comments: HA-Tag (6E2) Mouse mAb antibody Cell Signaling Technology Cat# 2367


      What is this?

    2. HA

      DOI: 10.1101/gad.332395.119

      Resource: (Cell Signaling Technology Cat# 3724, RRID:AB_1549585)

      Curator: @Naa003

      SciCrunch record: RRID:AB_1549585

      Curator comments: Rabbit Anti-HA-Tag Monoclonal Antibody, Unconjugated, Clone C29F4 Cell Signaling Technology Cat# 3724


      What is this?

    1. HA

      DOI: 10.2337/db19-0508

      Resource: (Cell Signaling Technology Cat# 3724, RRID:AB_1549585)

      Curator: @Naa003

      SciCrunch record: RRID:AB_1549585

      Curator comments: Rabbit Anti-HA-Tag Monoclonal Antibody, Unconjugated, Clone C29F4 Cell Signaling Technology Cat# 3724


      What is this?

    2. FLAG-tag

      DOI: 10.2337/db19-0508

      Resource: (Sigma-Aldrich Cat# F1804, RRID:AB_262044)

      Curator: @Naa003

      SciCrunch record: RRID:AB_262044

      Curator comments: Monoclonal ANTI-FLAG® M2 antibody Sigma-Aldrich Cat# F1804


      What is this?

    3. MYC-ta

      DOI: 10.2337/db19-0508

      Resource: (Millipore Cat# 05-724, RRID:AB_309938)

      Curator: @Naa003

      SciCrunch record: RRID:AB_309938

      Curator comments: Anti-Myc Tag, clone 4A6 antibody Millipore Cat# 05-724


      What is this?

    1. anti-HA tag

      DOI: 10.3233/CBM-190993

      Resource: (Abcam Cat# ab130275, RRID:AB_11156884)

      Curator: @Naa003

      SciCrunch record: RRID:AB_11156884

      Curator comments: HA tag antibody [16B12] Abcam Cat# ab130275


      What is this?

    2. anti-6 ××<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" alttext="\times" display="inline" id="S2.SS8.p2.m3"><mml:mo>×</mml:mo></mml:math> His tag

      DOI: 10.3233/CBM-190993

      Resource: (Abcam Cat# ab18184, RRID:AB_444306)

      Curator: @Naa003

      SciCrunch record: RRID:AB_444306

      Curator comments: 6X His tag® antibody [HIS.H8] Abcam Cat# ab18184


      What is this?

    1. HA-tag

      DOI: 10.3390/ijms21051773

      Resource: (Cell Signaling Technology Cat# 3724, RRID:AB_1549585)

      Curator: @Naa003

      SciCrunch record: RRID:AB_1549585

      Curator comments: Rabbit Anti-HA-Tag Monoclonal Antibody, Unconjugated, Clone C29F4 Cell Signaling Technology Cat# 3724


      What is this?

    1. anti-V5 antibody

      DOI: 10.1038/s41586-020-1947-z

      Resource: (Thermo Fisher Scientific Cat# R960-25, RRID:AB_2556564)

      Curator: @evieth

      SciCrunch record: RRID:AB_2556564

      Curator comments: Thermo Fisher Scientific Cat# R960-25, V5 Tag Monoclonal Antibody


      What is this?

    1. Note: This rebuttal was posted by the corresponding author to Review Commons. Content has not been altered except for formatting.

      Learn more at Review Commons


      Reply to the reviewers

      Reviewer 1

      __*Review 1 Summary:

      __In this manuscript, Borah et al showed that Heh2, a component of INM, can be co-purified with a specific subset of nucleoporins. They also found that disrupting interactions between Heh2 and NPC causes NPC clustering. Lastly, they showed that the knockout of Nup133, which does not physically interact with Heh2, causes the dissociation of Heh2 from NPCs. These findings led the authors to propose that Heh2 acts as a sensor of NPC assembly state. *

      __Reviewer 1 major comment 1:__ The authors claimed that Heh2 acts as a sensor of NPC assembly state, as evidenced by their finding that Heh2 fails to bind with NPCs in nup133 Δ cells (Fig2, Fig 5). However, there is a possibility that the association between Heh2 and NPCs is merely affected by the clustering of the NPCs (as the authors discussed) but not related to the structural integrity of NPC.

      • *

      Our Response: We agree that this is a possibility, however, we ask the reviewer to also consider that we artificially cluster NPCs using the anchor away system (Figure 3C) and this does not affect Heh2’s association with NPCs. Thus, clustering per se is insufficient to disrupt Heh2 binding to NPCs. We will also make changes in the text to make this point.

      • *

      Reviewer 1 major comment 2: In addition, their data showing that the Heh2-NPCs association is not easily disrupted by knocking out the individual components of the IRC (Fig. 5A and 5D), also disfavor the idea that Heh2 could sense NPC assembly state.

      Our Response: There are three considerations here. The first is that as this is the first evidence of any kind of “NPC assembly state” sensor, it is difficult to make any assumptions as to what specifically such a sensor would be monitoring. i.e. perhaps sensing only the ORC is what is functionally important. Second, for obvious reasons, we only tested non-essential IRC nups so by definition there is inherent functional redundancy that maintains NPC function and thus there may be no need to “sense” anything in the absence of these IRC nups. Further (and last), the IRC is essential for NPC assembly. Thus, without an IRC there is no NPC assembly state to sense.

      Reviewer 1 major comment 3: Since some nup knockout strains, other than nup133 Δ, are also known to show the NPC clustering (ex. nup159 (Gorsch JCB 1995) and nup120 (Aitchison JCB 1995; Heath JCB 1995)), it will be worth trying to monitor the localization of Heh2 and its interaction with nucleoporins (by Heh2-TAP) using these strains. While Nup159 is a member of the cytoplasmic complex, Nup120 is an ORC nucleoporin. Thus, biochemical and phenotypical analysis using these mutant cells will be useful to clarify if the striking phenotypes the authors found are specific to nup133 knockout strain (or ORC Nup knockouts) or could be commonly observed in the strains that show NPC clustering. Another interesting point is that Nup159 shows strong interaction with Heh2, even in nup133Δ cells. As the authors mentioned, Nup159-Heh2 interaction may not be sufficient for Heh2-NPC association, but it could be important for NPC clustering.

      Our Response: These are excellent points and we agree that there is a need to more thoroughly explore how NPC clustering driven by abrogating the function of other nups impacts Heh2’s association with NPCs. Thus, in a revised manuscript, we would examine Heh2’s association with NPCs in several additional genetic backgrounds where NPCs cluster.

      Reviewer 1 major comment 4: Figure 4C: Is it known that rapamycin treatment in this strain did not affect the protein levels of nucleoporins? Otherwise, the authors should confirm this by western blotting (at least some of them).

      Our Response: This is a good point and we will directly address this with Western blotting of some nups.

      Reviewer 1 major comment 5: Figure 5: The authors mentioned (line 256-257) that "in all cases the punctate, NPC-like distribution of Heh2-GFP was retained (Fig 5D)". However, nup107 KO strain seems to show more diminished punctate staining as compared with other strains. To clarify this, the authors should express mCherry tagged Nup as in Fig. 2 or Fig. 3.

      Our Response: Yes, we agree and in fact this observation is consistent with the fact that there is an ER-pool of Heh2 observed in this strain and we observe loss of nup interactions in the affinity purification. We will include a more thorough quantification of this in a revised manuscript and more directly address this in the text.

      **Minor comments:**

      Reviewer 1 minor comment 1: Figure 4A and 4B: The authors should show Scatter plot as in Fig. 2 and Fig. 3.

      • *

      We will include this in a revised manuscript.

      Reviewer 1 minor comment 2: Figure 5C: Explanations of the arrowheads is missing in the figure legend.

      Thank you for pointing this out, it will be fixed in a revised manuscript.

      Reviewer 1 minor comment 3: Figure 6: Is there any information as to where Heh2 (316-663) is localized in the cell?

      As this truncation lacks INM targeting sequences, it is found throughout the cortical ER. The determinants of Heh2 targeting (including truncations) has been extensively evaluated in King et al. 2006, Meinema et al., 2011 and Rempel et al. 2020. We will make this clearer in the revised manuscript.

      Reviewer 1 minor comment 4: Figure 6B: Nucleoporins should be marked with color circles as in Fig. 1 and Fig. 5.

      This will be done.

      Reviewer 2

      Borah et al. present a biochemical and cell biological examination of the inner nuclear membrane (INM) protein Heh2 and its putative interactions with the nuclear pore complex (NPC). The potential conceptual advance of this study is that Heh2 interacts with the NPC, while mutations believed to trigger NPC mis-assembly are shown to abolish interaction with Heh2, leading to the hypothesis that Heh2 is a sensor for NPC assembly states within the (INM). The conclusions would undoubtably be of broad interest to the nucleocytoplasmic transport field, but the evidence provided thus far is insufficient to build confidence and consequently this manuscript is premature for publication.

      Our Response: We thank the reviewer for recognizing the potential for a significant conceptual advance for the field but object to the notion that the work is “premature for publication”. This is a highly subjective statement that does not seem to meet the mission or purpose of the Review Commons platform. While it is possible that some of the conclusions drawn in our manuscript might not be fully supported by the data in its current form, there is a substantial body of work here that is certainly publishable.

      Reviewer 2 major comment 1: The TAP-tag Heh1/Heh2 pulldowns are the most significant experiment presented, and on face value provide compelling evidence that Heh2 interacts with the NPC. It is stated that mass spectroscopy (MS) was used to confirm the identities of the labeled bands yet there is no methods section, nor any MS data reported in the manuscript. Given the large number of unspecified proteins observed in these gels, and the single-step pulldown methodology used, knowledge of the contaminants present may aid in elucidating how Heh2 pulls down NPC components. Consequently, within the supplementary materials, the authors must indicate which regions of the gel were excised for MS analysis and provide a table listing all of the proteins that were detected for each sample, including the number of unique/expected peptides observed. Our Response: This was a major oversight on our part and a revised manuscript will contain all relevant details with regards to the MS analysis including a more detailed description of the excised bands and the quantification of spectra derived from these bands.

      Reviewer 2 major comment 2a: The representative micrographs provided across Figures 2, 3, 4, 5 and 6 are very noisy. Particularly in the case of the mCherry labeled nucleoporins, this is both unusual and unfortunate given this is used to infer colocalization of Heh2 with the NPC.

      Our Response: These micrographs are not unusual and are in fact of respectable quality. We agree that the apparent “noise” is unfortunate, but this is simply a reality of the yeast system. We remind the reviewer that there are only ~100 to ~200 NPCs per budding yeast nucleus, which is an order of magnitude smaller than a typical mammalian cell nucleus. Further, the copy number of yeast nups per NPC is half of the mammalian cell NPC. Further, budding yeast are spherical with a cell wall that is extremely effective at scattering light; they are also highly autofluorescent (particularly in the red channel). Lastly, unlike in mammalian cells, budding yeast NPCs are mobile on the nuclear envelope. Thus, co-localization is challenging (particularly with the long exposures required to obtain good images). This is why clustering of NPCs driven by nup133**∆ cells has provided one of the key assays in the field to assess whether a given protein associates with NPCs at the level of light microscopy.

      Reviewer 2 major comment 2b: As a result it is unclear whether this experiment can be used to differentiate between NPC colocalization vs. nuclear envelope colocalization.

      Our Response: The reviewer is correct. Co-localization between Heh2-GFP and any Nup-mCherry is insufficient to assess NPC association in WT cells. In fact, as we point out in Figure 3B, at best one can expect a correlation of r = 0.48 for two well established nups. Thus, to further support the conclusion that Heh2 associates with NPCs, we established the Nsp1-FRB NPC clustering assay (Figure 3).

      Reviewer 2 major comment 2c: The authors should include negative controls for an alternative NE membrane protein that doesn't bind the NPC, which would be expected to exhibit a reduced level of colocalization with NPC proteins when compared to Heh2. For example, Heh1 would be a suitable, given the clear-cut negative pulldown data and its prior usage as a negative control in Figure 4.

      • *

      Our Response: This is included in Figure 3D.

      Reviewer 2 major comment 3a. Figure 2. The rim staining for the Nup82-mCherry in the WT background is unusually punctate, bringing into question the viability of the cells imaged.

      Our Response: As the middle cell in the panel is undergoing cell division, these cells are clearly viable. All our imaging is performed on mid-log phase cultures.

      • *

      Reviewer 2 major comment 3b. Why has ScNup82, a cytoplasmic filament component, been selected for colocalization experiments when Heh2 is proposed to interact with the inner ring complex?

      Our Response: The resolution of a conventional light microscope is, at best, 200 nm in x, y. As NPCs are 100 nm in diameter, even two NPCs side-by-side cannot be resolved. The IRC is tens of nm away from the cytoplasmic filaments thus any nup is relevant for a co-localization analysis with a light microscope.

      Reviewer 2 major comment 3c: Additionally, the experiments shown in panels A and C are not directly comparable, ScNup82 is an asymmetric cytoplasmic nucleoporin, while SpNup107 is located in the Y-shaped Nup84 nucleoporin complex and present on both faces of the NPC. This experiment should be repeated with scNup84 to match panel C, additionally a viability dot spot assay and western blot analysis of the labeled proteins should be conducted.

      Our response: These are in fact directly comparable within the limits of resolution of light microscopy as described above. Viability assays are not required here as both nups are essential and perturbation to their function would lead to inviability.

      Reviewer 2 major comment 4: Figure 3, the authors use yeast strains where proteins are tagged with FRB and FKBP12 domains, which dimerize upon the addition of rapamycin inducing NPC clusters. The authors then observe the effect this has on Heh2 NPC colocalization. However, Rapamycin may also have an effect independent from the induced dimerization event. Negative controls should be performed in strains lacking the FRB and FKBP12 tagged proteins to demonstrate that Rapamycin doesn't modify Heh2 localization independently of NPC clustering.

      Our response: This is a good point and important control that we performed in prior studies, see Colombi et al., JCB, 2013. We will be more explicit in describing that this control has been done.

      Reviewer 2 major comment 5: Figure 4. The authors provide a qualitative description of the colocalization presented, while in all other instances they calculate a Pearson correlation coefficient. This is significant because Heh2 appears to be evenly distributed within the NE of the DMSO control (panel B). Given the presented hypothesis isn't colocalization expected with Nup192? As a minimum, a Pearson correlation coefficient analysis should be conducted and added to Figure 4.

      Our response: This will be included in a revised manuscript.

      Reviewer 2 major comment 6: Figure 4. Pom152-mCherry localizes at both the NE and strongly within the cytoplasm, which is unexpected given typical rim staining phenotypes observed previously for both Pom152-YFP and Pom152-GFP strains (Katta, ..., Jaspersen et al., Genetics (2015) & Upla, ..., Fernandez-Martinez et al., Structure (2017), respectively). Given the unusually weak rim staining observed throughout, viability assays of the strains listed in Table S1 and protein expression analysis of the tagged nucleoporins via western blot is necessary.

      Our response: This is not localization in the cytoplasm but is in fact autofluorescence from the yeast vacuole. We regret we were not more explicit in describing this and we will make the manuscript more accessible for the non yeast expert. In order to perform the Western blot analysis for all strains requested by the reviewer would require a battery of antibodies to the endogenous proteins to directly assess how tagging influences nup levels, which we do not have (nor does anyone else that we are aware of). This is also not standard practice in the field as it is an onerous and unnecessary burden.

      Reviewer 2 major comment 7:* Figure 5A. The TAP-tagged pulldowns from ∆Pom152 and ∆Nup133 strains appear to be from a different round of experiments than the previous deletion strains presented. Interestingly, there appears to be an additional band at approximately 250 kDa in both cases that is not present in any other experiments. This band could be a contaminant observed due to different experimental conditions, or a protein that exclusively binds to Heh2 in the ∆Pom152 and ∆Nup133 background. Either way the authors should identify this protein with MS to address this ambiguity.

      *

      Our response: We will include negative controls for these specific experiments to show that this is a non specific band.

      Reviewer 2 major comment 8: Figure 6B. Please label the nucleoporin bands in the TAP-tagged pulldowns.

      Our response: This will be done.

      Reviewer 2 major comment 9: Figure 6D. Please specify Heh2-GFP clustering in the y-axis.

      Our response: As this represents both Heh2-GFP and heh2-1-570-GFP, we will keep it as is to avoid confusion.

      Reviewer 2 major comment 10: *Under the results section titled 'Heh2 binds to specific nups in evolutionarily distant yeasts', the authors state that spHeh2 co-purifies with "several specific species". The meaning is unclear, this sentence should be rephrased and the specific species clearly described. **

      *

      Our response: Ok.

      Reviewer 2 major comment 11: Under the results section titled 'Heh2 fails to interact with NPCs lacking Nup133', the authors refer to a Pearson correlation coefficient of -0.03 as a clear anticorrelation. Instead state there was no correlation.

      Our response: Ok.

      Reviewer 2 major comment 12: In the discussion, the authors state that "clustering itself may sterically preclude an interaction with Heh2". The text should be expanded to explain this in more detail, it is not clear from the presented data why this would occur.

      Our response: Ok.

      Reviewer 2 comment on significance: the manuscript is premature for publication.

      Our Response: Such a statement has no relevance to this form of review as a decision as to whether a study is premature for publication should be made by journal editors, not reviewers. We would argue quite strongly that we have definitively shown that Heh2 binds to NPCs, that it does so in multiple evolutionarily distant yeasts and that this binding is functionally relevant. For example, we can specifically disrupt the association of Heh2 with NPCs with a specific domain deletion and observe a loss of function phenotype (e.g. NPC clustering). What all three reviewers agree on is that the concept of a “NPC assembly state sensor” needs additional data to be fully supported, although we note that this reviewer did not provide any suggestions for how we might achieve this goal. We further note that we added the qualifier “may” into the title of the work. Thus, we will therefore perform additional experiments as outlined in comments to Reviewer 1 to support this conclusion in order to introduce this as a new concept in the field.

      Reviewer Comment from Cross Commenting: It seems to me that all reviewers agree that the manuscript is premature for publication. The data thus far do not support the conclusion that Heh2 may be an NPC assembly sensor nor does it provide any mechanistic insight. Reading the comments of the other two reviewers makes me more negative, as it is care that the paper also lacks scientific rigor. The manuscript is a great starting point for a rigorous dissection but I do not see this paper to be a candidate for a broad impact journal.

      Our Response: The statement that this manuscript is premature for publication is an opinion and does not seem to reflect the sentiment of the other reviewers. It is also confounding that this reviewer suggests that this work lacks rigor. With the exception of the omission of the MS analysis (our fault), the data are of high quality and rigorously quantified. Our assertion of rigor and data quality is based on our collective team’s many decades-long history of publishing and reviewing papers at the highest levels in this field. Questions as to the quality of the data as stated by this reviewer (and only this reviewer) in fact address limitations of light microscopy and the yeast system more generally in this one respect.


      Reviewer 3

      Reviewer 3 Summary part a*: This is quite an interesting manuscript that explores the relationship between an INM protein, Heh2, and NPCs. It represents an extension of earlier work performed by this group in which it was shown that the HEH2 gene shares genetic interactions with the genes encoding various nucleoporins. Heh2 belongs to an intriguing family of conserved proteins that includes its orthologue, Heh1, as well as human MAN1 (LEMD3) and LEMD2, among others. Each of these proteins contains two transmembrane domains with the N- and C-terminal regions extending in to the nucleoplasm. The two TM domains are separated by a short lumenal loop.

      In this study, the authors show that a population of Heh2 is associated with Nups of the NPC inner ring complex. This was demonstrated initially in pulldown experiments. The authors go on to show that when NPCs are caused to aggregate, by physical tethering employing an FKBP/FRP system in combination with Rapamycin, Heh2, but not Heh1, colocalizes with the NPC clusters. *

      • *

      Our Response: Thank you to the reviewer for recognizing the value of this work.

      • *

      Reviewer 3 Summary_b. Although not stated explicitly in the manuscript, this would imply that there is a population of Heh2 that resides in the NPC membrane domain, with the remainder in the INM. As an idle question, is there any evidence for a similar localization of MAN1 or LEMD2 in mammals? I am guessing probably not.

      Our Response: We regret this was not made more clear but the idea that there is a pool of Heh2 at the POM and a pool at the INM is an important conclusion of the work and was stated in the results - we’ll re-emphasize in the revised discussion. As to whether MAN1 or LEMD2 has a similar NPC association, we hypothesize that MAN1 but not LEMD2 will indeed interact with NPCs in mammalian cells. This is based on considering that we show that both the budding and fission yeast orthologues of MAN1 share this association so unless it was lost in evolution, this is a likely outcome of future studies.

      Reviewer 3 Significance statement a: The complications arise when the authors show that an alternative method of NPC aggregation (although they did this first), involving Nup133 deletion, results in failure of Heh2 to co-aggregate. In other words, Nup133 is required for the association of Heh2 with NPCs. The issue here is that there is no evidence for an interaction between Heh2 and Nup133, and furthermore that loss of Nup133 (a Y complex component of the outer ring complex) leaves the inner ring complex intact.

      • *

      Our Response: We tested the nup133Δ background first as this is the standard approach for assessing NPC-association of a given protein so we felt this would be logical for a reader in the field. Further, while the disruption of Heh2’s binding by loss of Nup133 may be a complication, we prefer to see it as an opportunity for discovery. As described in our manuscript, we have chosen to interpret this result in the context of a new biological function/concept with Heh2 being a novel “NPC assembly state” sensor. While one could argue that we have not fully met this bar yet, we will perform additional experiments as outlined in our response to reviewer 1 to help support this compelling conclusion.

      • *

      Reviewer 3 Signfiicance statement b: What is clear, however, is that Heh2 seems to be required to inhibit NPC aggregation since Heh2 deficient cells exhibit NPC clusters. The association between Heh2 and IRC Nups resides in the C-terminal nucleoplasmic winged helix domain. The N-terminal domain, in contrast confers INM localization.

      • *

      Our Response: We agree.__*


      Reviewer 3 Signfiicance statement c I must admit, I am in two minds about this manuscript. The data clearly show that Heh2 is associated with IRC components and I agree with the authors that this protein may well have a role in NPC assembly quality control perhaps in the guise of a chaperone. However, I find it hard to come up with a convincing model for the effects of Nup133. On the one hand, one could make an argument that the data presented here is too preliminary and fails to provide a complete story. On the other hand, it does provide an intriguing foundation for future studies and I do feel positively disposed towards it. In short, I have no fundamental complaints about the science, I am just uncertain as to whether the study is ready for publication.

      Our Response: This statement nicely articulates the challenge with this manuscript as there are some solid findings (that Heh2 binds specifically to NPCs etc.) but also a provocative finding (that loss of Nup133 breaks Heh2’s interaction with NPCs despite not physically interacting). Thus, there is a decision to be made about whether there is value in introducing a novel concept to the field once additional data is provided in a revised manuscript.

      Reviewer 3 Cross commenting: I have no fundamental disagreements with either of the other two reviewers. The comment from Reviewer#2 summarises this quite neatly. While I have fewer concerns about the quality of the data as presented, I think we all agree that at best the study is preliminary. What the authors need to do is to construct a coherent model that will account for the observations described here and then to design experiments that will test this model. I'm not suggesting that they must have a complete story, but they do need to go beyond what is in the current manuscript.

      • *

      Our Response: We appreciate that the reviewer does not have any questions about the quality of our data, but we argue that we have in fact presented the most coherent interpretation of the data as it currently stands. As described above, we intend to attempt to solidify this model by performing experiments suggested by reviewer 1.



      Note: This preprint has been reviewed by subject experts for Review Commons. Content has not been altered except for formatting. Reply to the Reviewers I thank the Referees for their...Referee #1__

      1. The authors should provide more information when... Responses__

      The typical domed appearance of a hydrocephalus-harboring skull is apparent as early as P4, as shown in a new side-by-side comparison of pups at that age (Fig. 1A). Though this is not stated in the MS

      1. Figure 6: Why has only... Response: We expanded the comparisonMinor comments:__

      2. The text contains several... Response: We added... Referee #2__

    2. Note: This preprint has been reviewed by subject experts for Review Commons. Content has not been altered except for formatting.

      Learn more at Review Commons


      Referee #2

      Evidence, reproducibility and clarity

      Borah et al. present a biochemical and cell biological examination of the inner nuclear membrane (INM) protein Heh2 and its putative interactions with the nuclear pore complex (NPC). The potential conceptual advance of this study is that Heh2 interacts with the NPC, while mutations believed to trigger NPC mis-assembly are shown to abolish interaction with Heh2, leading to the hypothesis that Heh2 is a sensor for NPC assembly states within the (INM). The conclusions would undoubtably be of broad interest to the nucleocytoplasmic transport field, but the evidence provided thus far is insufficient to build confidence and consequently this manuscript is premature for publication.

      Specific comments:

      (1)The TAP-tag Heh1/Heh2 pulldowns are the most significant experiment presented, and on face value provide compelling evidence that Heh2 interacts with the NPC. It is stated that mass spectroscopy (MS) was used to confirm the identities of the labeled bands yet there is no methods section, nor any MS data reported in the manuscript. Given the large number of unspecified proteins observed in these gels, and the single-step pulldown methodology used, knowledge of the contaminants present may aid in elucidating how Heh2 pulls down NPC components. Consequently, within the supplementary materials, the authors must indicate which regions of the gel were excised for MS analysis and provide a table listing all of the proteins that were detected for each sample, including the number of unique/expected peptides observed.

      (2)The representative micrographs provided across Figures 2, 3, 4, 5 and 6 are very noisy. Particularly in the case of the mCherry labeled nucleoporins, this is both unusual and unfortunate given this is used to infer colocalization of Heh2 with the NPC. As a result it is unclear whether this experiment can be used to differentiate between NPC colocalization vs. nuclear envelope colocalization. The authors should include negative controls for an alternative NE membrane protein that doesn't bind the NPC, which would be expected to exhibit a reduced level of colocalization with NPC proteins when compared to Heh2. For example, Heh1 would be a suitable, given the clear-cut negative pulldown data and its prior usage as a negative control in Figure 4.

      (3)Figure 2. The rim staining for the Nup82-mCherry in the WT background is unusually punctate, bringing into question the viability of the cells imaged. Why has ScNup82, a cytoplasmic filament component, been selected for colocalization experiments when Heh2 is proposed to interact with the inner ring complex? Additionally, the experiments shown in panels A and C are not directly comparable, ScNup82 is an asymmetric cytoplasmic nucleoporin, while SpNup107 is located in the Y-shaped Nup84 nucleoporin complex and present on both faces of the NPC. This experiment should be repeated with scNup84 to match panel C, additionally a viability dot spot assay and western blot analysis of the labeled proteins should be conducted.

      (4)Figure 3, the authors use yeast strains where proteins are tagged with FRB and FKBP12 domains, which dimerize upon the addition of rapamycin inducing NPC clusters. The authors then observe the effect this has on Heh2 NPC colocalization. However, Rapamycin may also have an effect independent from the induced dimerization event. Negative controls should be performed in strains lacking the FRB and FKBP12 tagged proteins to demonstrate that Rapamycin doesn't modify Heh2 localization independently of NPC clustering.

      (5)Figure 4. The authors provide a qualitative description of the colocalization presented, while in all other instances they calculate a Pearson correlation coefficient. This is significant because Heh2 appears to be evenly distributed within the NE of the DMSO control (panel B). Given the presented hypothesis isn't colocalization expected with Nup192? As a minimum, a Pearson correlation coefficient analysis should be conducted and added to Figure 4.

      (6)Figure 4. Pom152-mCherry localizes at both the NE and strongly within the cytoplasm, which is unexpected given typical rim staining phenotypes observed previously for both Pom152-YFP and Pom152-GFP strains (Katta, ..., Jaspersen et al., Genetics (2015) & Upla, ..., Fernandez-Martinez et al., Structure (2017), respectively). Given the unusually weak rim staining observed throughout, viability assays of the strains listed in Table S1 and protein expression analysis of the tagged nucleoporins via western blot is necessary.

      (7)Figure 5A. The TAP-tagged pulldowns from ∆Pom152 and ∆Nup133 strains appear to be from a different round of experiments than the previous deletion strains presented. Interestingly, there appears to be an additional band at approximately 250 kDa in both cases that is not present in any other experiments. This band could be a contaminant observed due to different experimental conditions, or a protein that exclusively binds to Heh2 in the ∆Pom152 and ∆Nup133 background. Either way the authors should identify this protein with MS to address this ambiguity.

      (8)Figure 6B. Please label the nucleoporin bands in the TAP-tagged pulldowns.

      (9)Figure 6D. Please specify Heh2-GFP clustering in the y-axis.

      (10)Under the results section titled 'Heh2 binds to specific nups in evolutionarily distant yeasts', the authors state that spHeh2 co-purifies with "several specific species". The meaning is unclear, this sentence should be rephrased and the specific species clearly described.

      (11)Under the results section titled 'Heh2 fails to interact with NPCs lacking Nup133', the authors refer to a Pearson correlation coefficient of -0.03 as a clear anticorrelation. Instead state there was no correlation.

      (12)In the discussion, the authors state that "clustering itself may sterically preclude an interaction with Heh2". The text should be expanded to explain this in more detail, it is not clear from the presented data why this would occur.

      Significance

      the manuscript is premature for publication.

      REFEREES CROSS COMMENTING

      It seems to me that all reviewers agree that the manuscript is premature for publication. The data thus far do not support the conclusion that Heh2 may be an NPC assembly sensor nor does it provide any mechanistic insight. Reading the comments of the other two reviewers makes me more negative, as it is care that the paper also lacks scientific rigor. The manuscript is a great starting point for a rigorous dissection but I do not see this paper to be a candidate for a broad impact journal.

    1. Note: This rebuttal was posted by the corresponding author to Review Commons. Content has not been altered except for formatting.

      Learn more at Review Commons


      Reply to the reviewers

      Reviewer #1 (Evidence, reproducibility and clarity (Required)): The manuscript by Huh et al. reports that oxidative stress causes fragmentation of a specific tyrosine pre-tRNA, leading to two parallel outcomes. First, the fragmentation depletes the mature tRNA, causing translational repression of genes that are disproportionally rich in tyrosine codon. These genes are enriched for those involved in electron transport chain, cell cycle and growth. Second, the fragmentation generates tRNA fragments (tRFs) that bind to two known RNA binding proteins. Finally, the authors identify a nuclease that is needed for efficient formation of tyrosine tRFs. Comment 1: Th­­­­e authors should include a short diagram indicating the various known steps of pre-tRNA fragmentation (perhaps as a supplement) for general readers.

      Response: We thank the reviewer for their suggestion. Pre-tRNA fragmentation is still an unknown field but an initial introduction is best seen from pre-tRNA processing where there is a cleavage event for pre-tRNAs with an intron. This is a complex subject but a recent review from Hopper and Nostramo has done an excellent job in in describing the current field in yeast and vertebrate species (Hopper and Nostramo, Front. Genet., 2019). We have added this citation and new text in the manuscript about pre-tRNA processing for general readers to follow up on. We feel that a supplementary figure might be a bit too brief in describing the knowns and unknowns of pre-tRNA processing and fragmentation.

      Comment 2: I find the enrichment for mitochondrial electron transport chain (ETC) curious. The ETC includes several oxidoreductases, which may be rich in tyrosine as it is a common amino acid used in electron transfer. The depletion of the tyrosine tRNA from among many tRNAs under oxidative stress may not be incidental but related to an attempt by the cell to decrease oxygen consumption to avoid further oxidative damage. The authors could further mine their data to corroborate this hypothesis. For example, are the ETC genes among the targets of the RNA binding proteins targeted by tyrosine tRFs? This could potentially connect the effects of mature tRNA depletion and tRFs.

      Response: We thank the reviewer for this very interesting comment and insight, which had not occurred to us. The relationship between this response and oxidoreductase regulation could be a factor in both the tRNA and tRF modulations seen in our cells. Interestingly, we find that many oxidoreductases genes (such as the NDUF family) are bound by hnRNPA1 by CLIP. In new data, we have done stability experiments with the tRF (new Fig 7E-F) to show the regulon of hnRNPA1 is modulated with overexpression and LNA against the tRF, revealing that this tRNA fragmentation response modulates expression of certain oxidoreductase genes. However, we do not see clear and significant differences for ETC genes in particular. As hnRNPA1 is known to act as both a promoter and destabilizer of genes depending on context, it is likely that further and more detailed work will be needed to parse this hypothesis out in future studies.

      Comment 3: In figure 4A, the authors should provide the tyrosine codon content of the overlap genes and show how much it differs from a randomly selected sample.

      Response: We have identified an error in our manuscript where the overlap actually identifies 109 proteins rather than the 102 reported in the original manuscript. We apologize for this oversight. As for the overlap proteins, we plotted the downstream proteins detected in the proteome by mass spectrometry based off on Tyr-codon content. As explained in the text, the targets we tested were chosen for having higher than median levels of Tyr-codon, as seen in the histogram, and for showing some of the greatest reduction after Tyr tRNA-GUA depletion (Fig S4A). The other proteins found in the overlap will fall in a similar pattern along the histogram.

      Comment 4: Fig.6F, lower panel: the model should show pre-tRNA, as opposed to mature tRNA, because it is the former that is fragmented.

      Response: We apologize for the confusion. The model in Fig 7F was supposed to denote the pre-tRNA with the trailer and leader sequences intact initially, then lost with processing to mature tRNA. To make it clearer, we have now labeled the first species as “Pre-tRNA.”

      Reviewer #1 (Significance (Required)): This study is comprehensive and novel, and includes several orthogonal and complementary approaches to provide convincing evidence for the conclusions. The main discovery is significant because it presents an important advance in post-transcriptional control of gene expression. The process of tRF formation was previously thought not to affect the levels of mature tRNA. This study changes that understanding by describing for the first time the depletion of a specific mature tRNA as its precursor form is fragmented to generate tRFs. Finally, the authors identify DIS3L2 as a nuclease involved in fragmentation. This is also an important finding as the only other suspected nuclease, albeit with contradictory evidence, is angiogenin. Collectively, the findings of this study would be of interest to a broad group of scientists. I only have a few minor comments and suggestions (see above).

      Response: We thank the reviewer for their very positive and insightful comments and feedback.

      REFEREES CROSS-COMMENTING I have the following comments on other reviewers' critiques. Regarding the concern that the disappearance of the pre-tRNA could be a transcriptional response (reviewer 2), I think that the appearance of tRFs makes this scenario unlikely. If pre-tRNA levels decreased due to transcriptional repression, wouldn't one expect that both tRNA and the tRF levels diminish concomitantly? Reviewer 3 raises the issue of cross hybridization in Northern blots. The authors indicate that they "could not detect the other tyrosyl tRNA (tRNA Tyr AUA) in MCF10A cells by northern blot..." (page 6). Also, they gel extracted tRFs and sequenced them (figure S6B), directly identifying the fragments. I think these findings mitigate the concern of cross hybridization and clearly identify the nature of tRFs. Finally, I think that the codon-dependent reporter experiment (figure 5D) addresses many issues surrounding codon dependent vs indirect effects. In that experiment, the authors mutate 5 tyrosine codons of a reporter gene and demonstrate that the encoded protein is less susceptible to repression in response to oxidative stress.

      Response: We thank the reviewer for their tremendous insights. We are in agreement regarding the three points in the cross-comments.

      Reviewer #2 (Evidence, reproducibility and clarity (Required)): This very interesting study from Sohail Tavazoie's lab describes the consequences of oxidative stress on the tRNA pool in human epithelial cell lines. As previously described, the authors observed that tRNA fragments were generated upon exposure of cells to ROS. In addition, the authors made the novel observation that specific mature tRNAs were also depleted under these conditions. In particular, the authors focused on tyrosyl tRNA-GUA, which was decreased ~50% after 24 hours of ROS exposure, an effect attributable to a decrease in the pre-tRNA pool. Depletion of tyrosyl tRNA resulted in reduced translation of specific mRNAs that are enriched in tyr codons and likely contributed to the anti-proliferative effects of ROS exposure. In addition, the authors demonstrated that the tRFs produced from tyr tRNA-GUA can interact with specific RNA binding proteins (SSB and hnRNPA1). The major contribution of this paper is the novel finding that stress-induced tRNA fragmentation can result in a measurable reduction of specific mature tRNAs, leading to a selective reduction in translation of mRNAs that are enriched for the corresponding codons. Previously, studies of tRNA fragmentation largely focused on the functions of the tRFs themselves and it was generally believed that the mature tRNA pool was not impacted sufficiently to reduce translation. The findings reported here therefore add a new dimension to our understanding of the cellular consequences of stress-induced tRNA cleavage. Overall, the data are of high quality, the experiments are convincing, and the conclusions are well supported. I have the following suggestions that would further strengthen the study and bolster the conclusions. Comment 1: The authors have not formally demonstrated that the reduction in pre-tRNA in H2O2-treated cells is a consequence of pre-tRNA cleavage. It is possible that reduced transcription contributes to this effect. Pulse-chase experiments with nucleotides such as EU would provide a tractable approach to demonstrate that a labelled pool of pre-tRNA is rapidly depleted upon H2O2 treatment, which would further support their model. Since the response occurs rapidly (within 1 hour), it would be feasible to monitor the rate of pre-tRNA depletion during this time period in control vs. H2O2-treated cells.

      Response: We thank the reviewer for their suggestion and agree that testing for a transcriptional effect using a pulse-chase experiment would further support these findings. We are grateful to both reviewer 1 and reviewer 2 in the cross-comments for recognizing that the tRNA repression response we see is too rapid to be a transcriptional response and that the fact that this tRNA depletion response occurs concomitantly with the tRF generation supports our model that this is a pre-tRNA fragmentation response. It would be of interest for future studies to also examine the impact of cellular stress on tRNA transcription.

      Comment 2: To what extent is the growth arrest that results from H2O2 treatment attributable to tyr tRNA-GUA depletion (Fig. 3A)? Since the reduction in tRNA levels is only partial (~50%), it should be feasible to restore tRNA levels by overexpression (strategy used in Fig. 3E, S3B) and determine whether this measurably rescues growth in H2O2-treated cells.

      Response: We thank the reviewer for their suggestion. Originally, we had also thought of this experiment and attempted to test this hypothesis. Upon experimentation, we ran into technical challenges that prevented us from drawing any conclusions. The problems were that we were unable to develop a cell line that stably overexpressed the Tyr tRNA-GUA and had to settle for a transient overexpression that only lasted for a couple of days (Fig S3B). For transient transfection, we used Lipofectamine 3000 (Invitrogen) that has associated cell toxicities and requires a control RNA transfection in lipofectamine. In addition, H2O2 in itself is a stress. The simultaneous occurrence of these two stresses led to a combination of cell death and cell growth for the control and experimental group. Given the high variability, we were unable to draw any conclusions on cell growth with this combination. We hope to identify a way to stably overexpress Tyr tRNA-GUA in the future to address this hypothesis.

      Comment 3: Knockdown of YARS/tyr tRNA-GUA resulted in reduced expression of EPCAM, SCD, and USP3 at both the protein and mRNA levels (Fig. 4C-D, S4C). In contrast, H2O2-exposure reduced the abundance of these proteins without affecting mRNA levels (Fig. 5A-B, S5A). The authors should comment on this apparent discrepancy. Perhaps translational stalling induces No-Go decay, but it is unclear why this response would not also be triggered by ROS.

      Response: We would like to clarify that out of the three genes in Fig. S5A, only EPCAM mRNA levels were significantly reduced with H2O2-exposure while no changes were observed in the mRNA levels of USP3 or SCD. It is difficult to ascertain the reason for EPCAM mRNA reduction but one hypothesis is due to timing and steady state levels. Levels of mRNAs seen with knockdown of YARS or tRNA represent steady state levels where mRNA decay and transcriptional changes can be easily seen. Following H2O2, the data is collected at 24 hours, which may be before mRNA effects can be fully appreciated. We have edited the text to clarify the uncertainty involved. We agree with the reviewer’s insightful comment and find these differences to be interesting and will consider them in future studies to better understand the interplay between translation and mRNA levels in the context of tRNA depletion.

      Comment 4: In addition to the analyses of ribosome profiling in Fig. 5E-F, it might also be helpful to show a metagene analysis of ribosome occupancy centered upon UAC/UAU codons (for an example, see Figure 2 of Schuller et al., Mol Cell, 2017). This has previously been used as an effective way to visualize ribosome stalling at specific codons. Additionally, do the authors see a global correlation between tyrosine codon density and reduced translational efficiency in tRNA knockdown cells?

      Response: We thank the reviewer for their important suggestion. We have expanded the analysis to look at codon usage scatterplots across all codons for shTyr and shControl replicates (Fig S5D). The 5 most changed codons are labeled with UAC, a codon for the tyrosine amino acid, being the most affected (red arrow). Consistent with our model, a tyrosine codon, when at the ribosome A-site, is most affected with depletion of the corresponding tRNA. The text has also been edited to reflect our new analysis providing further evidence that ribosomal stalling could occur upon depletion of this tRNA. The gray outline around the regression line represents the 95% confidence interval.

      Fig S5D

      As seen in Fig 5F, a significant overlap was noted for genes with the lowest translational efficiency and tyrosine enrichment. We did further analysis to test if a direct and linear relationship exists between tyrosine codon density and reduced translational efficiency on the global scale (i.e. does more stalling occur with more tyrosine codons on a global scale). We again see that a reduced translational efficiency is significantly correlated with tyrosine codon enrichment (above median parameters) in the tRNA knockdown ribosome profiling data. However, our analysis on a direct relationship between codon density and translational efficiency is inconclusive. This analysis is limited given the sequencing depth and number of experimental replicates available and we lack the statistical power to draw strong conclusions. To prevent overstating our claims, we have omitted any conclusions regarding this second analysis.

      Comment 5: MINOR: On pg. 4, the authors state that tRF-tyrGUA is the most highly induced tRF, but Fig. S1B appears to show stronger induction of tRF-LeuTAA.

      Response: The reviewer is correct in that the data from Fig S1B shows Leu-tRFs with higher induction. Our text was meant to suggest we focused on tRF-TyrGUA due to higher band intensity seen on northern blot validation. We have edited the text in the manuscript to clarify this.

      Reviewer #2 (Significance (Required)): The major advance provided by this work is the demonstration that stress-induced tRNA cleavage can reduce the abundance of the mature tRNA pool sufficiently to impact translation. Moreover, the effect on mature tRNAs is selective, resulting in the reduced translation of a specific set of mRNAs under these conditions. These findings reveal previously unknown consequences of oxidative stress on gene expression and will be of interest to scientists working on cellular stress responses and post-transcriptional regulation.

      Response: We thank the reviewer for the kind comments and feedback.

      REFEREES CROSS-COMMENTING Regarding the concern that the disappearance of the pre-tRNA could be a transcriptional response (reviewer 2), I think that the appearance of tRFs makes this scenario unlikely. If pre-tRNA levels decreased due to transcriptional repression, wouldn't one expect that both tRNA and the tRF levels diminish concomitantly? Here is what I was thinking: The generation of tRFs does not generally result in reduction in levels of the mature tRNAs. So you can imagine a scenario where oxidative stress causes tRF generation from the mature tyr tRNA (which does not impact its steady-state levels), as is the case for other tRNAs. At the same time, decreased transcription would reduce the pre-tRNA pool, leading to a delayed reduction in mature tRNA, as observed. However, looking back at the data, I see that after only 5 min of H2O2 treatment, the authors observed reduced pre-tRNA and increased tRFs (Fig. 2A). This seems very fast for a transcriptional response, which would presumably require some kind of signal transduction. In addition, when you consider the amount of tRFs produced in Fig. S2C, it is hard to imagine that this would not impact the mature tRNA pool if they were derived from there. So I agree that the transcriptional scenario seems unlikely. Nevertheless, I think that looking at pre-tRNA degradation directly with the pulse-chase strategy would strengthen their story, so I would like to give the authors this suggestion. However, I am fine with listing this as an optional experiment which would enhance the paper but should not be essential for publication.

      Response: We thank the reviewer for these insightful comments. As mentioned above, five minutes is likely too rapid for a transcriptional response to be the main effect of H2O2 on Tyr-tRNA GUA. Moreover, the concomitant appearance of the tRF at this time-point makes tRNA fragmentation the most parsimonious and likely explanation rather than transcriptional repression, which would not cause a tRNA fragment to occur concurrently. Moreover, extraction and sequencing of the tRF shows it likely derives from the pre-tRNA as a 5’ leader sequence is present. We appreciate the reviewer’s suggestion and scholarly willingness to reassess their own hypothesis.

      Reviewer #3 (Evidence, reproducibility and clarity (Required)): The major findings in this manuscript are: 1.) Oxidative stress in human cells causes a decrease in tyrosine tRNA levels and accumulation of tyrosine tRNA fragments; 2.) The depletion of tyrosyl-tRNA synthetase or tyrosine tRNAs in human cells results in altered translation of certain genes and reduced cell growth and 3.) hnRNPA1 and SSB/La can bind tyrosine tRNA fragments. There is also preliminary evidence that the DIS3L2 endonuclease contributes to the appearance of tyrosine tRNA fragments upon oxidative stress. Based upon these results, the Authors conclude that tyrosine tRNA depletion is part of a conserved stress-response pathway to regulate translation in a codon-based manner. **Major comments:** Comment 1: There is a considerable amount of data in this paper and the experiments are performed in a generally rigorous manner. Sufficient details are provided for reproducing the findings and all results have been provided to appropriate databases (RNA-Seq and ribosome profiling).

      Response: We thank the reviewer for the positive comments and feedback.

      Comment 2: The manuscript uses a probe against the 5' half of Tyrosine tRNA for Northern blotting. However, tRNA probes can be prone to cross-hybridization, especially with some tRNA isoacceptors being similar in sequence. Thus, the blots in Figure 2 and Supplemental Figures should be probed with an oligonucleotide against the 3' half of tRNA-Tyr. This will confirm the pre- and mature tRNA-Tyr bands detected with the 5' probe. Moreover, this will determine whether 3' tRNA-Tyr fragments accumulate.

      Response: We agree that the reviewer is correct in suggesting that the 3’ tRNA-Tyr might also accumulate. However, we disagree that any accumulation of the 3’ tRF might be relevant in our particular model for multiple reasons. As supported by reviewer 1’s cross-comments, cross-hybridization between isoacceptors (GUA vs AUA) would be unlikely as Tyr-AUA could not even be detected by the initial 5’ tRF probe. Additionally, the sequences for Tyr-GUA are different with no nucleotide alignment from Tyr-AUA. Furthermore, the extraction and sequencing of the 5’ tRF (Fig S6B) confirms the 5’ leader sequence unique to the pre-tRNA (also noted by reviewer 1). While the 3’ half of many Tyr-GUA are similar, we find selective binding of our RNA binding proteins only to the 5’ tRF. The 3’ tRF may play some role in binding to other proteins in cell regulatory pathways but such experiments would be outside the scope of this study.

      Comment 3: The analysis of the proteomic and ribosome profiling experiments seem rather limited, or based upon what was presented in this manuscript. If additional analyses were performed, then they should be included as well, even if they yielded negative results. For example, the manuscript identifies 102 proteins that decrease after tRNA-Tyr depletion and YARS-depletion with a certain threshold of Tyr codon content. We realize the Authors were trying to find potential genes that are modulated under all three conditions. However, this does not provide information whether there is a relationship between a certain codon such as Tyr and protein abundance if only binning into two categories representing below and above a certain codon content. The Authors should plot the abundance change of each detected protein versus each codon and determine the correlation coefficient. This analysis is important for substantiating the conclusion of a codon-based system of specifically modulating transcripts enriched for certain codons. Otherwise, how could changes in tRNA-Tyr levels modulate codon-dependent gene expression if two different transcripts with the same Tyr codon content exhibit differences in translation? Moreover, this analysis should be performed with all the other codons as well.

      Response: We have identified an error in our manuscript where the overlap identified 109 proteins and not 102 as reported previously. We apologize for this oversight. While the reviewer is correct in that identifying codon dependent changes for all 3500+ proteins detected would offer greater insight, our study was specifically focused on tyrosine as we observed this tRNA to become depleted and our experimental system modulated this specific tRNA. As for the second point on Tyr tRNA level effects on translation, we felt that the most rigorous course would be to assess causality rather than an association for this tRNA and its codon in regulating a target gene. The only way to do this is to perform mutagenesis and reporter studies. Our codon dependent reporter clearly shows a direct effect on translation in a tyrosine-codon dependent manner. As for translational regulation for two different transcripts with the same Tyr codon content, it is unclear the molecular mechanisms that could dictate these differences. The reviewer has already brought up possibilities in the next comment regarding Tyr codons in 5’ or 3’ ends or consecutive Tyr codons. These are all interesting hypotheses that others in the field have devoted entire publications to try and understand how and why codon interactions and localizations impact translation (see Gamble et al., Cell 2016, Kunec and Osterreider, Cell Reports 2016, Gobet et al., PNAS 2020). While these further analyses would be interesting, our current experimental data would be insufficient to properly address these questions. We have focused on a specific tRNA, its fragment, and demonstrated direct effects of the tRNA on the codon-dependent translation of a specific growth-regulating target gene and the tRNA fragment on the modulation of the activity of the RNA binding protein it binds to with respect to its regulon. We believe that these findings individually reveal causal roles for this tRNA and tRF in downstream gene regulation and collectively reveal a previously unappreciated post-transcriptional response. We hope the reviewer agrees with us regarding the already deep extent of the studies and that further such analyses beyond this tRNA are outside the scope and focus of this current study.

      Comment 4: The Authors should provide the specific parameters used to calculate the median abundance of Tyr codons in a protein and the list of proteins containing higher than median abundance of Tyr codon content. Moreover, the complete list of 102 candidate genes should also be provided. This will allow one to determine what percentage of these Tyr-enriched proteins exhibited a decrease in levels. Moreover, is there anything special about these Tyr codon-enriched transcripts where they are affected at the level of translation but not the other Tyr-codon enriched transcripts? For example, are these transcripts enriched at the 5' or 3' ends for Tyr codons? Do these transcripts exhibit multiple consecutive Tyr codons? This deeper analysis would enrich the findings in this manuscript.

      Response: For the proteins identified in the mass spectrometry and overlap listed in Fig 4A, Tyr codon abundance was calculated by dividing the number of Tyr amino acids present by the total number of amino acids for each protein. For genes with different isoforms possible, the principal isoform, using ENSEMBL, was used for calculations. We are also happy to provide the entire list of proteins. Additionally, please see above response to comment 3. We wish to emphasize that the goal of identification of these proteins was to identify downstream targets of this response for functional studies, which we have done. We have identified downstream genes that become modulated by this response and that regulate cell growth, consistent with the phenotype of the tRNA. We then demonstrated a direct causal tRNA-dependent codon-based response with a specific target gene using mutagenesis.

      While we agree that the additional analysis the reviewer is requesting to determine what constitutes heightened translational sensitivity to this response is interesting, we believe this is a challenging question for future studies. It is possible that enrichment at 5’ or 3’ or concentration of tyrosine codons could cause increased sensitivity. Ideally, one would have information on a larger set of proteins so that such challenging questions could be better statistically bolstered. Ultimately, the requested experiments that go beyond our current work would require further analyses and experiments to allow firm conclusions to be drawn. As the other reviewers state and this reviewer agrees, we have uncovered the initial discovery regarding this tRNA fragmentation response and provided mechanistic characterization. Future studies, which are beyond the scope of the current work will undoubtedly further characterize features of this response.

      Comment 5: The ribosome profiling results are condensed into two panels of Figure 5E and 5F. We recommend the ribosome profiling experiment be expanded into its own figure with more extensive analysis and comparison beyond just looking at tRNA-Tyr. This could reveal insight into other codons that are impacted coordinately with Tyr codons and perhaps strengthen their conclusion. As an example of a more thorough analysis of ribosome profiling and proteomics, we point the Authors to this recent paper: Lyu et al. 2020 PLoS Genetics, https://journals.plos.org/plosgenetics/article?id=10.1371/journal.pgen.1008836

      Response: We thank the reviewer for their suggestion. We have expanded the analysis to look at codon usage scatterplots across all codons for shTyr and shControl replicates (Fig S5D). The 5 most changed codons are labeled with UAC, a codon for the tyrosine amino acid, being the most affected (red arrow). Consistent with our model, a tyrosine codon, when at the ribosome A-site, is most affected with depletion of the corresponding tRNA. The text has also been edited to reflect our new analysis providing further evidence that ribosomal stalling might occur with depletion of a given tRNA. The gray outline around the regression line represents the 95% confidence interval.

      Fig S5D

      Comment 6: Moreover, one would expect that the mRNAs encoding USP3, EPCAM and SCD would exhibit increased ribosome occupancy. Thus, the authors should at least provide relative ribosome occupancy information on these transcripts to provide evidence that the decrease in protein levels is indeed linked to ribosome pausing or stalling.

      Response: We would like to emphasize that resolution of ribosomal profiling data at the codon level for specific genes requires a high number of reads and replicates to draw accurate conclusions. There is an inherent level of stochasticity when mapping RPFs to specific genes and as a result, our analysis revolved around Tyr-enriched vs Tyr-low populations as this analysis was appropriate for our sequencing depth and number of replicates. To be able to conclusively make claims regarding ribosome pausing or stalling for specific genes, we would likely need further experimentation than can be currently done. However, we are currently conducting the requested bioinformatic analysis and have promising preliminary transcript-level data supporting our model.

      Comment 7: The results with hnRNPA1 and SSB/La are extremely preliminary and simply show binding of tRNA fragments but no biological relevance. We realize that the Authors attempted to see if Tyr-tRNA fragments impacted RNA Pol III RNA but found no effect. A potential experiment would be to perform HITS-CLIP on H2O2-treated cells to see if stress-induced tRNA fragments bind to SSB/La or hnRNPA1. In this case, at least the Authors would link the oxidative stress results found in Figure 1 and 2 with La/SSB and hnRNPA1.

      Response: We agree with the reviewer that a tRF function was not established in the manuscript. As a result, we have recently completed experiments looking at mRNA stability of the hnRNPA1 regulon in the context of overexpressing the tRF as well as using LNA to inhibit this Tyr-tRF (Fig 7E-F). Our data shows, in an hnRNPA1-dependent manner, that its regulon can be functionally regulated by Tyr-tRF. With tRF overexpression and RNAi-mediated depletion of hnRNPA1, a right shift in transcript stability is seen. Importantly, when we do the converse experiment with tRF inhibition in the same RNAi-mediated reduction of hnRNPA1, we see a left shift. These complementary experiments provide data that the Tyr-tRF has a functional role when bound to hnRNPA1 by modulating the regulon of hnRNPA1 and expand the scope of this manuscript and extend the pathway defined downstream of this tRNA fragmentation event.

      Fig 7E-F

      Comment 8: The manuscript concludes that "Tyrosyl tRNA-GUA fragments are generated in a DIS3L2-dependent manner" based upon data in Supplemental Figure S7. However, there is still a substantial amount of tyrosine tRNA fragments in both worms and human cells depleted of DIS3L2. Thus, DIS3L could play a role in the formation of Tyrosine tRNA fragments but it is too strong a claim to say that tRNA fragments are "dependent" upon DIS3L2. We suggest that the Authors soften their conclusions.

      Response: While there are certainly tRFs still apparent with DIS3L2 depletion (Fig S7F-I), we note significant impairment of tRF induction with DIS3L2 knockdown/knockout with multiple different methods in C. elegans and human cells. This data supports our conclusion that tRF generation is dependent on DIS3L2 as this ribonuclease is necessary to elicit the full Tyr-tRF response. We do not make claims that Tyr-tRFs are solely or completely dependent on DIS3L2. There must be other RNases involved given the data highlighted by the reviewer. To this point, we have added clarifying text that DIS3L2 depletion does not completely eliminate the tRF induction.

      Comment 9: Moreover, what is the level of DIS3L2 depletion in the worm and human cell lines? The Authors should provide the immunoblot of DIS3L2 that was described in the Materials and Methods.

      Response: An immunoblot of DIS3L2 depletion in human cells has now been added as a supplementary figure (Fig S7I). Depletion in C. elegans was confirmed through sequencing of a mutation, as is standard in the field. The wild-type PCR product is 1nt longer (859 bp) than the mutant product (858 bp) with CTC to TAG nonsynonymous mutation preceding a single nucleotide deletion.

      Wild-type disl-2: GTTGAAGCCGCAGGGC[CTC]ACTCAGACAGCTACAGG

      disl-2 (syb1033): GTTGAAGCCGCAGGGC[TAG]-CTCAGACAGCTACAGG

      Fig S7I

      Comment 10: The key conclusions of "a tRNA-regulated growth suppressive oxidative stress response pathway" and an "underlying adaptive codon-based gene regulatory logic inherent to the genetic code" are overstated. This is because of the major caveat that knockdown of tyrosine-tRNA or tyrosyl-tRNA synthetase are likely to trigger numerous indirect effects. While the authors validate that three proteins are expressed at lower levels under all three conditions (H2O2, tRNA-Tyr and YARS), they might overlap in some manner but not necessarily define a coordinated response. Thus, a glaring gap in this paper is a clear, mechanistic link between H2O2-induced changes in translation versus the changes in expression when either tRNA-Tyr or YARS is depleted. Thus, it is too preliminary to conclude that tRNA depletion is part of a "pathway" and "regulatory logic" when it could all be pleiotropic effects. At the very least, the authors should discuss the possibility of indirect effects to provide a more nuanced discussion of the results obtained using two different cell systems and oxidative stress.

      Response: We thank the reviewer for the feedback. While we agree that indirect effects may exist, we do not make any claims that our pathway is the only one required to have translation effects. The text for Fig 4A already acknowledges the pleiotropic effects of tRNA depletion. Our data shows that H2O2 stress leads to a depletion of Tyr tRNA-GUA and that depletion of this tRNA through multiple complementary methods has a codon-dependent effect on protein expression. We hope the reviewer agrees that the reduction of a specific target gene in a tyrosine codon-dependent manner (demonstrated by mutagenesis) and the binding of the tRF directly to an RBP and the modulation of the regulon of this RBP by this tRF (demonstrated by gain- and loss-of-function studies) demonstrates a direct role of this response on specific downstream target genes rather than pleiotropy. This is in keeping with the cross-comments of reviewer 1, where Fig 5D shows a direct Tyr codon link between H2O2 and downstream effects. As a result, we feel that our conclusions of a pathway (not the only pathway) are valid. However, the conclusion of a “regulatory logic” might not be interpreted in the same way by all readers and we have thus changed the text to reflect a more nuanced position.

      **Minor comments:** Comment 11: Tyrosyl-tRNAs refers to the aminoacylated form of tRNA. We recommend that all instances of tyrosyl-tRNA be changed to tyrosine tRNA or tRNA-Tyr which is more generic and provides no indication as to the aminoacylation status of a tRNA.

      Response: We thank the reviewer for their correction. We have changed all instances of “tyrosyl” to “tyrosine” in the text.

      Comment 12: In Figure 5C, the promoter is drawn as T7, which is a bacteriophage promoter. While the plasmid used in this manuscript (psiCHECK2) does contain a T7 promoter, mammalian gene expression is driven from the SV40 promoter. Thus, the relevant label in Figure 5C should be "SV40 promoter". Moreover, additional details should be provided on how the construct was made (such as sequence information etc.).

      Response: We thank the reviewer for their correction. We have changed the promoter text in the figure. In the methods for the construct, we have included which USP3 was used and would be happy to include further information if requested.

      Comment 13: Please provide original blots for each of the replicates in: Figure 4C, n=4 Figure 4A, n=9 Figure 4D, n=3 Figure 5D, n=3

      Response: There appears to be an unintentional mislabeling of the requested blots by the reviewer. The original blots for Fig 4C, Fig 5A, Fig 5D, and Fig 6D have been made available in a separate file for reviewers.

      Reviewer #3 (Significance (Required)): This manuscript provides evidence that specific tRNAs are depleted upon oxidative stress as part a conserved stress-response pathway in humans (and worms) to regulate translation in a codon-based manner. Unfortunately, the manuscript attempts to tie together results from different conditions and systems without providing any definitive links that suggest a "pathway" involved in the oxidative stress response. The findings in this paper provide a useful starting point but fall short of being a major advance due to the lack of a clear mechanism. However, there are intriguing results in this manuscript based upon the cell lines depleted of tRNA-Tyr or tyrosine synthetase that could interest researchers in the field of tRNA biology.

      Response: We thank the reviewer for the positive comments regarding our demonstration of a conserved stress response, acknowledging the intriguing nature of our findings that will be a starting point for future studies and that our work will be of interest to researchers in the field of tRNA biology. We hope that the very positive comments of reviewer 1 and 2, the cross-comments of reviewer 1 in response to reviewer 3’s comments regarding the specificity of this response, and our inclusion for reviewer 3 of additional data on the function of the tRF in regulating the activity of the hnRNPA1 RNA binding protein defining a post-transcriptional pathway and additional corroborating requested codon-level computational analyses provide compelling support that that our findings indeed represent a major advance for the field.

    1. RRID:AB_2556564

      DOI: 10.1016/j.celrep.2020.107944

      Resource: (Thermo Fisher Scientific Cat# R960-25, RRID:AB_2556564)

      Curator: @Naa003

      SciCrunch record: RRID:AB_2556564

      Curator comments: V5 Tag Monoclonal Antibody Thermo Fisher Scientific Cat# R960-25


      What is this?

    1. Mouse anti-myc-tag monoclonal Antibody, clone 4A6

      DOI: 10.1016/j.cub.2019.11.058

      Resource: (Millipore Cat# 05-724, RRID:AB_11211891)

      Curator: @ethanbadger

      SciCrunch record: RRID:AB_11211891


      What is this?

    1. mouse anti‐HA.11

      DOI: 10.1002/ana.25666

      Resource: (BioLegend Cat# 901515, RRID:AB_2565334)

      Curator: @Naa003

      SciCrunch record: RRID:AB_2565334

      Curator comments: Anti-HA.11 Epitope Tag antibody BioLegend Cat# 901515


      What is this?

    1. Myc

      DOI: 10.1126/scisignal.aax2364

      Resource: (Cell Signaling Technology Cat# 2272, RRID:AB_10692100)

      Curator: @Naa003

      SciCrunch record: RRID:AB_10692100

      Curator comments: Anti-Myc-Tag Polyclonal Antibody, Unconjugated Cell Signaling Technology Cat# 2272


      What is this?

    1. mouse anti-His

      DOI: 10.1007/s12035-020-02038-6

      Resource: AB_2532664

      Curator: @Naa003

      SciCrunch record: RRID:AB_2532664

      Curator comments: 6x-His Tag Recombinant Polyclonal Antibody (21HCLC) Thermo Fisher Scientific Cat# 710286


      What is this?

    1. anti-HA

      DOI: 10.1016/j.celrep.2020.108044

      Resource: (Cell Signaling Technology Cat# 3724, RRID:AB_1549585)

      Curator: @Naa003

      SciCrunch record: RRID:AB_1549585

      Curator comments: Rabbit Anti-HA-Tag Monoclonal Antibody, Unconjugated, Clone C29F4 Cell Signaling Technology Cat# 3724


      What is this?

    1. Mouse monoclonal anti-Myc

      DOI: 10.1016/j.str.2020.04.023

      Resource: (Cell Signaling Technology Cat# 2276, RRID:AB_331783)

      Curator: @Naa003

      SciCrunch record: RRID:AB_331783

      Curator comments: Mouse Anti-Myc-Tag Monoclonal Antibody, Unconjugated, Clone 9B11 Cell Signaling Technology Cat# 2276


      What is this?

    1. Flag tag

      DOI: 10.1016/j.redox.2020.101669

      Resource: (Sigma-Aldrich Cat# F3165, RRID:AB_259529)

      Curator: @Naa003

      SciCrunch record: RRID:AB_259529

      Curator comments: Monoclonal ANTI-FLAG® M2 antibody Sigma-Aldrich Cat# F3165


      What is this?

    2. Myc tag

      DOI: 10.1016/j.redox.2020.101669

      Resource: (Abcam Cat# ab32, RRID:AB_303599)

      Curator: @Naa003

      SciCrunch record: RRID:AB_303599

      Curator comments: c-Myc antibody [9E10] - ChIP Grade Abcam Cat# ab32


      What is this?

    1. mouse anti-Myc

      DOI: 10.1074/jbc.RA120.012835

      Resource: (Cell Signaling Technology Cat# 2276, RRID:AB_331783)

      Curator: @Naa003

      SciCrunch record: RRID:AB_331783

      Curator comments: Mouse Anti-Myc-Tag Monoclonal Antibody, Unconjugated, Clone 9B11 Cell Signaling Technology Cat# 2276


      What is this?

    2. anti-HA

      DOI: 10.1074/jbc.RA120.012835

      Resource: (Cell Signaling Technology Cat# 3724, RRID:AB_1549585)

      Curator: @Naa003

      SciCrunch record: RRID:AB_1549585

      Curator comments: Rabbit Anti-HA-Tag Monoclonal Antibody, Unconjugated, Clone C29F4 Cell Signaling Technology Cat# 3724


      What is this?

    1. HA

      DOI: 10.3390/cancers12061643

      Resource: (Cell Signaling Technology Cat# 3724, RRID:AB_1549585)

      Curator: @Naa003

      SciCrunch record: RRID:AB_1549585

      Curator comments: Rabbit Anti-HA-Tag Monoclonal Antibody, Unconjugated, Clone C29F4 Cell Signaling Technology Cat# 3724


      What is this?

    1. polyclonal anti-HA-tag

      DOI: 10.1523/JNEUROSCI.1707-19.2020

      Resource: (Synaptic Systems Cat# 245 003, RRID:AB_10805758)

      Curator: @Naa003

      SciCrunch record: RRID:AB_10805758

      Curator comments: Anti-HA-tag antibody Synaptic Systems Cat# 245 003


      What is this?

    2. monoclonal mouse anti-HA-tag

      DOI: 10.1523/JNEUROSCI.1707-19.2020

      Resource: (OriGene Cat# TA180128, RRID:AB_2622290)

      Curator: @Naa003

      SciCrunch record: RRID:AB_2622290

      Curator comments: HA mouse monoclonal antibody, clone CB051 OriGene Cat# TA180128


      What is this?

    1. HA tag

      DOI: 10.1128/JVI.00099-20

      Resource: (Sigma-Aldrich Cat# H3663, RRID:AB_262051)

      Curator: @Naa003

      SciCrunch record: RRID:AB_262051

      Curator comments: Monoclonal Anti-HA antibody produced in mouse Sigma-Aldrich Cat# H3663


      What is this?

    1. anti-V5

      DOI: 10.7554/eLife.55806

      Resource: (Thermo Fisher Scientific Cat# PA1-993, RRID:AB_561893)

      Curator: @Naa003

      SciCrunch record: RRID:AB_561893

      Curator comments: V5 Tag Polyclonal Antibody Thermo Fisher Scientific Cat# PA1-993


      What is this?

    2. anti-V5

      DOI: 10.7554/eLife.55806

      Resource: (Thermo Fisher Scientific Cat# R960-25, RRID:AB_2556564)

      Curator: @Naa003

      SciCrunch record: RRID:AB_2556564

      Curator comments: V5 Tag Monoclonal Antibody Thermo Fisher Scientific Cat# R960-25


      What is this?

    3. anti-HA

      DOI: 10.7554/eLife.55806

      Resource: (BioLegend Cat# 901515, RRID:AB_2565334)

      Curator: @Naa003

      SciCrunch record: RRID:AB_2565334

      Curator comments: Anti-HA.11 Epitope Tag antibody BioLegend Cat# 901515


      What is this?

    1. mouse α V5

      DOI: 10.1038/s41467-020-16695-7

      Resource: (Thermo Fisher Scientific Cat# R960-25, RRID:AB_2556564)

      Curator: @Naa003

      SciCrunch record: RRID:AB_2556564

      Curator comments: V5 Tag Monoclonal Antibody Thermo Fisher Scientific Cat# R960-25


      What is this?

    1. anti-MYC

      DOI: 10.1172/JCI128994

      Resource: (Abcam Cat# ab9106, RRID:AB_307014)

      Curator: @Naa003

      SciCrunch record: RRID:AB_307014

      Curator comments: Myc tag antibody Abcam Cat# ab9106


      What is this?

    1. anti-c-Myc tag

      DOI: 10.1074/jbc.RA119.010472

      Resource: (Abcam Cat# ab32, RRID:AB_303599)

      Curator: @Naa003

      SciCrunch record: RRID:AB_303599

      Curator comments: c-Myc antibody [9E10] - ChIP Grade Abcam Cat# ab32


      What is this?

    1. Anti-V5 Rabbit monoclonal

      DOI: 10.7554/eLife.54995

      Resource: (Cell Signaling Technology Cat# 13202, RRID:AB_2687461)

      Curator: @Naa003

      SciCrunch record: RRID:AB_2687461

      Curator comments: V5-Tag (D3H8Q) Rabbit Antibody Cell Signaling Technology Cat# 13202


      What is this?

    1. Mouse monoclonal Anti-V5

      DOI: 10.7554/eLife.56611

      Resource: (Bio-Rad Cat# MCA1360, RRID:AB_322378)

      Curator: @Naa003

      SciCrunch record: RRID:AB_322378

      Curator comments: Mouse Anti-Viral V5-TAG Monoclonal antibody, Unconjugated, Clone SV5-Pk1 Bio-Rad Cat# MCA1360


      What is this?

    1. Y=L

      Eigentlich:

      Y = L Y/L,

      wobei Y/L als Arbeitsproduktivität bezeichnet wird, die angibt, wieviele Outputeinheiten pro Arbeitseinheit (Stunde, Tag, Woche oder Jahr) produziert werden. Wenn Y/L = 1, wenn also eine/r Beschäftigte/r pro Zeiteinheit genau eine Outputeinheit produziert, dann ist Y = L.

      Gleichung dann auch in eine gesonderte Zeile und nummerieren

    1. Optional) Click save 'Save to item' to connect this tag to its equipment

      new line

    2. In the category Equipment module, select  all items that you want to download the QR codes of. Click on the More actions more_vert button and choose 'Create document'. Choose a template, a letterhead, which serial numbers to include, and if you want to add a personal text. Click on  Generate Download the file by clicking the download icon  (Optional) Click save 'Save to item' to connect this tag to its equipment

      Styling

    1. Author Response

      Summary:

      A strength of the work was that the mathematical modeling of re-replication captured variability in origin firing and supported a mechanism that might explain copy number variation observed in many eukaryotes. However, concern was expressed regarding the influence of assumptions made in developing the model on the outcomes and the moderate correlations between simulations and experimental data. Further explanation of the questions being investigated, the validity and nature of assumptions that were used to develop the simulations, and details explaining how these assumptions were built into the modeling were considered important. Some attempt to align the modeling outcomes with known re-replication hotspots would also improve the study. Some of the parameters used for modeling were concerning, including the use of a 16C ploidy cutoff without adequate justification. Reviewers also made suggestions for improving the experimental validation tests. Reviewers also noted places in the manuscript that require additional clarification. Overall, some concerns were raised regarding the experimental methods, and the impact of the insights gained.

      We would like to thank eLife for this Preprint Review service.

      In this manuscript, we present for the first time a model of DNA rereplication, which permits us to analyse how the process evolves at the single-cell level, across a complete genome, over time. This analysis revealed a pronounced heterogeneity at the single cell level, resulting in increased copies of different genomic loci in different cells, and highlighted rereplication as a powerful mechanism for genome plasticity within an evolving population. We would like to thank the reviewers for their critical appraisal of our work and the editor for his summary of the reviews. The points raised were overall easy to address, and we have done so in a revised version of the manuscript, where we have also clarified points which were unclear to the reviewers. Importantly, we have clarified that: there are currently no available methods for studying rereplication dynamics experimentally at the single cell level across the genome, and it is exactly this analysis that our manuscript offers; model assumptions were either standard and previously validated experimentally for DNA replication or subjected to sensitivity analysis with key findings shown to be robust to model assumptions; there was no arbitrary cut-off point in the rereplication process, which was analysed over time - an advantage of our approach. Data were depicted early in the process (2C) and late in the process (16C) but findings were robust across the process; fission yeast cells can be experimentally induced to rereplicate to different extents (from 2C to 16C or even 32C) and our model permits us to capture the process as it evolves at any ploidy; correlations between experimental and simulated data were highly significant and robust to model assumptions.

      We would like to thank the reviewers for their comments, which we believe have helped us improve our manuscript and clarify points of possible misunderstanding. A point-by-point response follows.

      Reviewer #1:

      The authors develop and analyse a mathematical model of DNA rereplication in situations, where re-firing of origins during replication is not suppressed. Using the experimentally measured position and relative strength of origins in yeast, the authors simulate DNA copy number profiles in individual cells. They show that the developed model can mostly recapitulate the experimentally measured DNA copy number profile along the genome, but that the simulated profiles are highly variable. The fact that increasing copy number of an origin will facilitate its preferential amplification essentially constitutes a self-reinforcing feedback loop and might be the mechanism that leads to overamplification of some genomic regions. In addition different regions compete for a limiting factor, and thereby repress each others' over-amplification. While the model generates some interesting hypotheses it is unclear in the current version of the manuscript, to what extent they arise from specific model assumptions. The authors do not clearly formulate the scientific questions asked, they do not discuss the model assumptions and their validity and they do not adequately describe how model results depend on those assumptions. Taken together, the scientific process is insufficiently documented in this manuscript, making it difficult to judge whether the conclusions are actually supported by the data.

      The manuscript has been modified to further clarify the underlying questions and model assumptions. We would like to point out that the model was presented in detail in the supplementary material of the original manuscript, which included all model assumptions. In addition, model parameters used for the base-case model were systematically varied, the outcome was presented in a separate paragraph (“Sensitivity Analysis” in Results), and findings were shown to be robust to model assumptions. These points are presented in detail below.

      1) It is not clear what questions the authors want to address with their model. Do they want to understand how the experimentally observed copy number differences between regions arise? The introduction should elaborate more on the open questions in the field and explain why they should be addressed with a mathematical model.

      With this work our goal is to elucidate the fundamental mechanisms and properties underlying DNA re-replication. Specifically, we aim to investigate how re-replication evolves over time along the genome, and how it may lead to different number of copies of different loci at the single-cell level and result in genetic heterogeneity within a population. Given the large number of origins along the genome and the stochasticity of origin firing (Demczuk et al., 2012; Kaykov and Nurse, 2015; Patel et al., 2006), it is unclear how re-replication would evolve along the genome in each individual cell in a re-replicating population and how local properties and genome-wide effects would shape its progression and the resulting increases in the number of copies of specific loci. As no experimental method exists that can analyze DNA re-replication at the single-cell level over time along the genome, we designed a mathematical model that is able to track the firing and refiring of origins and the evolution of the resulting forks along a complete genome over time, and in this way capture the complex stochastic hybrid dynamics of DNA re-replication. Since existing methods to analyze DNA re-replication in vivo only provide static, population-level snapshots (Kiang et al., 2010; Menzel et al., 2020; Mickle et al., 2007), we believe that our in silico model, which is the first modeling framework of DNA re-replication, is an important contribution in the field.

      In the revised version of our manuscript, we have modified the introduction to explain these points in more detail.

      2) One of the main messages of the paper is that the amplification profiles are highly variable across single cells, because that was found in the described simulations. This behavior does however likely depend on specific choices that were made in the simulations, e.g. that the probabilities of the origin state transitions are exponentially distributed. These assumptions should at least be discussed, or better experimentally validated.

      Modeling choices and assumptions are presented in detail in the Supplementary material of the manuscript, and were made to accurately capture the dynamics of origin firing, which is known to be stochastic, as established by many studies in fission yeast (Bechhoefer and Rhind, 2012; Patel et al., 2006; Rhind et al., 2010) and the continuous movement of forks along the DNA. Specifically, the choice of the exponential distribution used for assigning a firing time to each origin has already been discussed and validated in our previous work on normal DNA replication (Lygeros et al., 2008). Indeed, as shown in Figure 2 of (Lygeros et al., 2008), our model was able to accurately reconstruct experimental data derived by single molecule DNA combing experiments (Patel et al., 2006).

      The use of the exponential distribution for transition firing times is standard in stochastic processes in general, including what are known as Piecewise Deterministic Markov Processes (PDMP), the class where the models considered in the paper belong. There are good mathematical reasons for this, for example the "memoryless" property that makes the resulting stochastic process Markov, a basic requirement for the model to be well-posed [M. H. A. Davis, "Markov models and optimization", Monographs on Statistics and Applied Probability, vol. 49, Chapman & Hall, London, 1993]. Practically, assuming an exponential distribution can be quite general, because the rate (the probability with which a transition "fires" per unit time) is allowed to depend on the state of the system, both the discrete state (in our case, the state of individual origins) and the continuous state (in our case, the progress of individual replication forks). It can be shown that one can exploit this dependence to write seemingly more general processes (that at first sight do not have exponential firing times) as PDMP (with exponential firing times) by appropriately defining a state for the system [M. H. A. Davis, "Piecewise-Deterministic Markov Processes: A General Class of Non-Diffusion Stochastic Models", Journal of the Royal Statistical Society. Series B (Methodological), Vol. 46, No. 3 (1984), pp. 353-388]. In the manuscript this feature is exploited in what we call the LF model, where the rate of the exponential firing time of each origin (probability of firing per unit time) depends on the state of the system (specifically, the number of PreR origins), as discussed in the section on Sensitivity Analysis. We have further clarified these in the revised manuscript.

      3) The authors aim at testing their prediction that rereplication is highly variable across cells. To this end they use the LacO/LacI system to estimate locus copy number. The locus intensity is indeed highly variable across cells. However, the Dapi quantification suggests that only a subset of cells actually undergo rereplication under the experimental conditions used (Fig. 4C). Therefore the analysis should atleast be limited to those cells. It would be even better, if a second locus could be labelled in another color to show that rereplication of two loci is anti-correlated as predicted by the model.

      Under the experimental conditions employed (ectopic expression of a mutant version of the licensing factor Cdc18, stably integrated in the genome under a regulatable promoter), the vast majority of cells undergo rereplication but to relatively low levels, resulting in cells with a DNA content of 2C-8C. Though the DNA content of several cells indeed appears similar to the DNA content of normal G2 phase cells, the vast majority (>90%) of cells undergo rereplication, as manifested by the appearance of DNA damage and, eventually, loss of viability. We have chosen this experimental set-up (medium levels of rereplication) as it allows induction of rereplication in practically all cells in the population, without the abnormal nuclear and cellular morphology which accompanies a pronounced increase in DNA content (ie 16C), and would make single-cell imaging more prone to artifacts. Fission yeast cells can be induced to undergo rereplication to various extents, by regulated expression of different versions of Cdc18 to different levels and/or co-expression of Cdt1. We have now explained this more extensively in the revised manuscript and thank the reviewer for identifying a point which may not have been clear in the first version of the manuscript.

      Concerning the possibility of studying two loci at the same time, we have indeed tried to tag a second region with TetR/TetO, however the signal-to-noise ratio and thus reproducible detection of the TetR focus was suboptimal under rereplication conditions. We therefore did not proceed further with this approach.

      4) What does "signal ratio" in Fig. 2 mean? And why are the peaks much higher in the simulations? Would the signal ratio between simulation and experiment correspond better, if an earlier time point in the simulation was selected?

      The definition of signal ratios is given in Results: DNA re-replication at the population level: “Specifically, we computed in silico mean amplification profiles across the genome, referred to as signal ratios in (Kiang et al., 2010), by averaging the number of copies for each origin location and normalizing it to the genome mean in 100 simulations. In these profiles, peaks above 1 correspond to highly re-replicated regions, and valleys below 1 correspond to regions that are under-replicated with respect to the mean.”

      Indeed, as observed by the reviewer, simulated peaks appear overall sharper and higher than experimental peaks. This is expected, since simulated data show the actual number of copies generated, while experimental data are subject to background noise and represent averages of 3 probes and 2 independent experiments. We have clarified this in the Results.

      Last, we chose to compare in silico and experimental profiles at a similar ploidy. Plotting in silico profiles of an earlier timepoint would indeed lead to visually more similar patterns in terms of peak intensity, but we believe this could be misleading for the readers.

      5) From line 248 onwards, the authors compare different assumptions for polymerase speed and conclude that "0.5 kb/min is closer to experimental observations". It is unclear, however, which experimental observations they refer to and what was observed there. The same question arises when they compare the LF and UF models (line 275-277).

      We have now clarified this point. Experimental observations show that under high levels of rereplication, DNA content reaches 16C four to six hours following accumulation of Cdc18 (Nishitani et al., 2000). Estimates for 0.5 kb/min and the LF model are therefore closer to experimental observations.

      6) I find the description of cis- and trans-effects rather confusing. The authors should rather explain what happens in the model. Neighboring strong origins can amplify a weak origin and origins compete for factors. In line 475-476 for example, it should be clarified that the assumption of the LF model could lead to trans-effects, instead of presenting this as a general model prediction.

      In the manuscript, we initially present what we observe in the Results section and then proceed to provide possible explanations in Discussion. We quote from the Discussion: “Such in trans negative regulation of distant origins could be explained by competition for the same limiting factor: high-level amplification of a given locus recruits high levels of the limiting factor, indirectly inhibiting firing of other genomic regions.” and “[…] in cis elements contribute to amplified copy numbers not only directly by passive re-replication, but also implicitly through increasing the firing activity of their neighbors”. To our understanding, these sentences are in complete agreement with the reviewer’s suggestions. Nonetheless, and to make this even more clear, we have modified the Discussion in our revised manuscript.

      7) Throughout the manuscript, a clear distinction should be made between the firing activity of one origin molecule and the cumulative activity of multiple copies of an origin. For example, it should be clarified in line 435 that the cumulative activity of weak origins might increase if they are closed to a strong origin, because they get amplified, instead of just writing "increased firing activity of weak origins".

      We have clarified this point in the revised manuscript.

      8) One of the major conclusions of the manuscript is that rereplication is robust on the population level. It is not clear to me what the authors mean by that. The average amplification levels are probably determined by the origin efficiencies that are put into the model. What would robustness mean in this context?

      As the reviewer points out, one of the important input parameters of the model are origin efficiencies. Since the model is stochastic however, origin efficiencies do not directly determine the amplification levels at a single-cell level. For example, in Figures 3A and Supplementary Figure S4, we show the outcome of 4 random simulations with identical underlying parameters, where it is clear that re-replication can lead to markedly different single-cell amplification levels. Indeed, genome-wide analysis across 100 simulations (Supplementary Figure S5) indicated that on the onset of re-replication, amplification levels are highly unpredictable (again, despite the fact that the input parameters are identical).

      On the contrary, when analyzing amplification profiles at a population level (averaging across sets of 100 simulations), the most highly amplified regions appear to be highly reproducible. We agree with the reviewer that these population level profiles are strongly affected by the origin efficiencies, but they are not determined solely by them. For example, low efficiency origins can be highly amplified, or highly efficient origins can be suppressed (see discussion on in cis and in trans effects) depending on their neighborhood and system-wide effects, and the extend of these effects depends on the fork speed. Sensitivity analysis with respect to different model assumptions, or model parameters (see Results, section Sensitivity Analysis and Supplementary Figure S3) indicated that amplification profiles might appear sharper or flatter, but overall amplification hotspots were highly robust.

      To summarize, in our conclusions (Discussion, section Emerging properties of re-replication) we highlight these properties (stochasticity vs. robustness) and elaborate further on how they emerge during the course of re-replication (onset vs. high re-replication) or depending on the level of analysis (single-cell vs. population level).

      9) It would be helpful if, in Fig. 2 also the origins and their respective efficiencies could be shown to understand to what extent the signal ratio reflects these efficiencies.

      We thank the reviewer for the useful suggestion, which we have incorporated in the revised manuscript.

      10) The methods section should provide more detail.

      We would like to point out that Supplementary Material, including a full mathematical description of the model is available on BioRxiv, which was also available at the time of the preprint review, (https://www.biorxiv.org/content/10.1101/2020.03.30.016576v1.supplementary-material ), and has also been uploaded as a separate document in our GitHub page: https://github.com/rapsoman/DNA_Rereplication

      Reviewer #2:

      Here, Rapsomaniki et al have modeled the process of DNA re-replication. The in silico analysis is an extension of their previous work describing normal DNA replication (Lygeros et al 2008). The authors show that there is a large amount of heterogeneity at the single cell level but when these heterogeneous signals are averaged across a population, the signal is robust. The authors support this with simulations and with experimental data, both at the single cell level and at the population level.

      1) It is a bit concerning that simulations were carried out to a ploidy level of 16C. Has it been observed that the DNA content in any given cell can rise to 16 times the initial amount? Figure 3 (simulations) shows that certain chromosomal regions can reach 30x and 160x copies for 2C and 16C. However, Figure 4 (experiment) suggests that copy numbers should only be slightly more in re-replicating conditions, compared to normal replicating conditions. Additionally, in Figure 2, the simulated data seems to be consistently noisier than the experimental data. Taken together, this may suggest that the assumptions in the model do not adequately recapitulate the biological system.

      Fission yeast cells undergo robust rereplication, and reach a ploidy up to 32C - see for example (Kiang et al., 2010; Mickle et al., 2007; Nishitani et al., 2000). 16C is therefore a usual ploidy for rereplicating fission yeast cells, observed under many experimental conditions. In addition, by manipulating the licensing factors over-expressed, different levels of ploidy can be experimentally achieved, ranging from 2C (the normal ploidy of a G2 cell, but with uneven replication) to 32C. In Figure 4, we have employed a truncated form of Cdc18 (d55P6-cdc18 (Baum et al., 1998)), which induces medium-level re-replication, as confirmed by FACS analysis in Supplementary Figure S6A. Under these conditions, the vast majority of the cells (>90%) undergo re-replication, albeit at medium to low levels. We have opted to use this strain to avoid artifacts due to disrupted nuclear morphology under high levels of re-replication We have now clarified this point in the revised manuscript. We would like to point out that in silico analysis is not carried out at 16C only but across different ploidies – it is actually a strength of our approach that we can follow the rereplication process as it evolves, at any ploidy, and we have shown that our conclusions are robust throughout. We show plots at the beginning of the process (2C) and towards the end (16C), at the single-cell and at the population level, to facilitate comparison.

      Last, as also discussed in our response to reviewer 1, simulated data appear sharper, with higher peak values than experimental data (Figure 2). This is expected, since simulated data show the actual number of copies generated, while experimental data are subject to background noise and represent averages of 3 neighboring microarray probes and 2 independent experiments. We have clarified this in the revised manuscript.

      2) This work currently is agnostic to the genes and sequences within the simulated genomes. The authors suggest that DNA re-replication can result in gene duplications. It might strengthen the manuscript if the authors are able to show that re-replication hotspots coincide with gene duplication events in S pombe. It should be relatively straightforward to overlap the hotspots found in this analysis with known gene duplication events in the literature.

      We agree with the reviewer that comparing our predictions with known gene duplication events in S.pombe would be of interest. Unfortunately to our knowledge no such dataset for fission yeast exists in the literature. The most comprehensive datasets are the ones from (Kiang et al., 2010; Mickle et al., 2007), which analyse rereplicating cells, and which we have already exploited in our paper. We would like to point out that this manuscript aims to show how rereplication evolves genome-wide. Whether the additional copies generated can lead to gene duplication events is beyond the scope of the present manuscript.

      3) The authors have nicely demonstrated that cis activation can be driven by the physical proximity of origins. The authors go on to describe trans suppression in which the activation of one origin suppresses the activation of a different origin. I would argue that this observation is simply the result of randomness in the model and stopping the simulations at fixed points.

      One of the two origins will randomly re-replicate first and simply outpace the other. Stopping the simulations at 16C will simply prevent the lagging origin from catching up the first origin. There does not seem to be an inhibitory mechanism that acts between two origins.

      This can be explained by the following equation: X + Y = constant Where X is the amount of origin 1 and Y is the amount of origin 2.

      It is also possible that the two origins could start re-replicating at the same time. This would result in the data points observed for cluster 2 (Figure 6 BC)

      We thank the reviewer for the positive comments. Indeed, as we elaborate in our Discussion, we believe that the mechanism behind the observed in trans effects is the competition for a factor that exists in a rate-limiting quantity (see also reply to point 6, reviewer 1 above), which is essentially the constant in his/her equation. Though less pronounced, such in-trans effects are also possible in the UF model, and could be due to the total DNA increase being dominated by certain origins, as suggested by the reviewer. We do not suggest anywhere in the manuscript that this inhibition is direct, but rather clearly state that it is an indirect effect.

      Reviewer #3:

      This manuscript by Rapsomaniki et al uses mathematical modeling to study the properties of DNA re-replication. They develop a model that shows some consistency with experimental data from S. pombe, and use it to conclude that re-replication is heterogeneous at the single-cell level.

      The simulations have only moderate correlations with experimental data (0.5-0.6). Indeed, simulations and actual data (Figure 2) appear quite different. Despite the statistical significance of the overlap, the limited correspondence brings into question the usefulness of the model compared to directly generating new experimental data.

      We would like to point out that the overlap between experimental and simulated data is highly significant. Firstly, the Spearman correlation coefficient between simulated and experimental genome-wide profiles is highly statistically significant (p values ranging from 7.310-12 to 3.610-41 for the three fission yeast chromosomes). Furthermore, 100.000 repetitions of random peak assignment resulted in only one case where 10 out of 22 peaks overlapped (median 2 out of 22 peaks overlapping), while comparing simulated and experimental data resulted in 14 out of 22 peaks overlapping. Simulations appear more sharp than experimental data, this is however expected as simulated data correspond to the actual number of copies generated, while experimental data are subject to background noise, have a signal-to-noise ratio that is limited by the experimental method employed and represent averages of 3 probes and 2 independent experiments (see Kiang et al., 2010 and also above). We have modified the manuscript to clarify this point. The reviewer suggests that the model is of limited use, because one could trivially generate new experimental data. We would like to point out that existing methods to analyze DNA re-replication in vivo only provide static, population-level snapshots (Kiang et al., 2010; Menzel et al., 2020; Mickle et al., 2007). To date no experimental method can generate single-cell, whole-genome, time-course measurements in re-replicating cells. Our model aims to fill this gap, and for this reason we believe in its usefulness.

      Heterogeneity among single cells, which appears to be one of the main messages of this paper, is not necessarily a surprising finding, and may even arise from the nature of the simulation being stochastic and defined at the level of single origins. They validate this prediction experimentally at a single locus, providing little novel insight.

      We would like to point out that it is the nature of replication in fission yeast which is stochastic, as experimentally shown (Patel et al., 2006), and defined at the level of single origins, and this is captured by the simulations. Heterogeneity amongst single rereplicating cells has not been previously shown or suggested in any organism, at least to the best of our knowledge. It is in our opinion a highly interesting observation, as it provides a powerful mechanism for generating a plethora of different genotypes within a population, from which phenotypic traits could be selected.

      Overall, the insights here are limited and would need to await experimental validation and further empirical data. Given that experimental measurements of re-replication are now feasible genome-wide, the value of these simulations is limited.

      Again, the reviewer seems unaware that no experimental method currently exists for analysing the dynamics of re-replication at a single-cell level genome-wide. We also feel obliged to point out that modeling and in silico analysis is in our opinion of great value for analysing complex biological processes, even when experimental methods are available. Though we are sure this is not what the reviewer really meant, his/her comment appears derogative to a complete field.

      Fork speed is assumed based on limited data and assumptions regarding re-replication fork speed without empirical data.

      As clearly stated in our manuscript (Results, section Modeling DNA re-replication across a complete genome), many studies have estimated fork speed in yeasts in normal DNA replication, with plausible values ranging from 0.5 kb/min to 3 kb/min (Duzdevich et al., 2015; Heichinger et al., 2006; Raghuraman et al., 2001; Sekedat et al., 2010; Yabuki et al., 2002). In our model, we set the base-case value as the lowest estimate (0.5 kb/min), but also explored the model’s sensitivity to this parameter by simulating the model for higher values (1 and 3 kb/min). This analysis indicated that estimates for 0.5 kb/min were closer to biological reality, a non-surprising finding given that fork speed is expected to be slower in re-replication that in normal replication.

      Overall, the comments of reviewer 3 appear in our eyes more derogative than constructive and provide little specific criticism.

      References

      Baum, B., Nishitani, H., Yanow, S., and Nurse, P. (1998). Cdc18 transcription and proteolysis couple S phase to passage through mitosis. The EMBO Journal 17, 5689–5698.

      Bechhoefer, J., and Rhind, N. (2012). Replication timing and its emergence from stochastic processes. Trends in Genetics 28, 374–381.

      Duzdevich, D., Warner, M.D., Ticau, S., Ivica, N.A., Bell, S.P., and Greene, E.C. (2015). The dynamics of eukaryotic replication initiation: origin specificity, licensing, and firing at the singlemolecule level. Mol. Cell 58, 483–494.

      Heichinger, C., Penkett, C.J., Bähler, J., and Nurse, P. (2006). Genome-wide characterization of fission yeast DNA replication origins. The EMBO Journal 25, 5171–5179.

      Kiang, L., Heichinger, C., Watt, S., B\ähler, J., and Nurse, P. (2010). Specific replication origins promote DNA amplification in fission yeast. Journal of Cell Science 123, 3047–3051.

      Lygeros, J., Koutroumpas, K., Dimopoulos, S., Legouras, I., Kouretas, P., Heichinger, C., Nurse, P., and Lygerou, Z. (2008). Stochastic hybrid modeling of DNA replication across a complete genome. Proceedings of the National Academy of Sciences 105, 12295–12300.

      Menzel, J., Tatman, P., and Black, J.C. (2020). Isolation and analysis of rereplicated DNA by Rerep-Seq. Nucleic Acids Res 48, e58–e58.

      Mickle, K.L., Oliva, A., Huberman, J.A., and Leatherwood, J. (2007). Checkpoint effects and telomere amplification during DNA re-replication in fission yeast. BMC Molecular Biology 8, 119.

      Nishitani, H., Lygerou, Z., Nishimoto, T., and Nurse, P. (2000). The Cdt1 protein is required to license DNA for replication in fission yeast. Nature 404, 625–628.

      Patel, P.K., Arcangioli, B., Baker, S.P., Bensimon, A., and Rhind, N. (2006). DNA Replication Origins Fire Stochastically in Fission Yeast. Mol. Biol. Cell 17, 308–316.

      Raghuraman, M.K., Winzeler, E.A., Collingwood, D., Hunt, S., Wodicka, L., Conway, A., Lockhart, D.J., Davis, R.W., Brewer, B.J., and Fangman, W.L. (2001). Replication Dynamics of the Yeast Genome. Science 294, 115–121.

      Rhind, N., Yang, S.C.-H., and Bechhoefer, J. (2010). Reconciling stochastic origin firing with defined replication timing. Chromosome Res 18, 35–43.

      Sekedat, M.D., Fenyö, D., Rogers, R.S., Tackett, A.J., Aitchison, J.D., and Chait, B.T. (2010). GINS motion reveals replication fork progression is remarkably uniform throughout the yeast genome. Molecular Systems Biology 6, 353.

      Yabuki, N., Terashima, H., and Kitada, K. (2002). Mapping of early firing origins on a replication profile of budding yeast. Genes to Cells 7, 781–789.

    1. So how do you use inline tagging to add keywords and categories while you read? Simply highlight a passage and add a note beginning with a period (.) followed by a single word or abbreviation (with no spaces).

      .productivity

    1. V5 Antibody

      DOI: 10.1016/j.molcel.2020.07.001

      Resource: (Thermo Fisher Scientific Cat# R960-25, RRID:AB_2556564)

      Curator: @Naa003

      SciCrunch record: RRID:AB_2556564

      Curator comments: V5 Tag Monoclonal Antibody Thermo Fisher Scientific Cat# R960-25


      What is this?

    1. RRID:AB_2556564

      DOI: 10.7554/eLife.49894

      Resource: (Thermo Fisher Scientific Cat# R960-25, RRID:AB_2556564)

      Curator: @evieth

      SciCrunch record: RRID:AB_2556564

      Curator comments: Thermo Fisher Scientific Cat# R960-25, V5 Tag Monoclonal Antibody


      What is this?

  5. Aug 2020
    1. Technical Communication Quarterly 145educated per se. Second, the "tag" of vocationalism, once established,took hold and was difficult to excise. Early impressions often linger,and the perception of "training for a trade" was slow to disappear. Inorder to counter the often negative perceptions of the profession ofengineering, educators embarked on curricular revision as one meansto elevate the social status of engineers.

      I love Kynell's usage of these historical nuggets. The early stages of Engineering as a field struggling to carve out its own space are oddly similar to that of Tech Comm. Obviously the two fields are directly related historically but I would not be surprised if similar histories exist across most fields of study. This challenges my original belief that Tech Comm would be better off having its elements absorbed into Rhetoric or other related fields. It does not surpass it to the point where I believe the opposite but it does set a good foundation for a shift in my thinking.

    1. Anti-Myc tag

      DOI: 10.3390/cancers12061441

      Resource: (Abcam Cat# ab32, RRID:AB_303599)

      Curator: @Naa003

      SciCrunch record: RRID:AB_303599

      Curator comments: c-Myc antibody [9E10] - ChIP Grade Abcam Cat# ab32


      What is this?

    1. Gratton, C., Gagnon-St-Pierre, É., & Markovits, H. (2020). When forewarned is not forearmed: The paradoxical effect of single warnings attached to repeated fake news [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/h5cxp

    2. The fight against misinformation on social media and the internet in general has gained tremendous attention in the recent years. One way of combatting this has been to attach warnings tags about verified content. In this paper, we report two studies that examine the potential effects of a single warning tag in a context where the gist of a False claim is often repeated without the tag, which, given the reality of the way that information is transmitted, can be said to be an ecologically realistic model. Study 1 showed that the placement of the tag makes no difference, while a simple tag produces higher levels of belief than a tag with explanatory details. Remarkably, the simple tag produces a large increase in belief in the False claim. Study 2 showed that enhancing the distinctive character of a tag by adding irrelevant information to it produces a relative increase in believability equivalent to that obtained by making the claim graphically more distinctive. However, repeating a simple tag more often reduces this effect. These results indicate that the effects of warning tags are a combination of adding to the distinctiveness of the memory trace of the False claim (which makes this more believable by increasing fluency) and the semantic content of the tag (which reduces belief).
    1. It appears therefore that the labeled vitamin was absorbed from the large intestine, perhaps by non-specific passive diffusion. Similarly, vitamin B12 synthesized in the large intestine by microbial flora could gain access to the tissues by such a mechanism. The possible role of intestinal vitamin B12 of microbial origin in rats, and perhaps in man, and factors affecting the utilization of this vitamin are discussed.

      This provides some reason to be agnostic as to whether vegans can obtain B12 naturally. Of course that shouldn't matter to any rational person (who'd just take a supplement). Note that I was searching for this info, and this is the first piece of evidence I found. Thus, I suspect there is more evidence since 1965. I'll try to tag updates with "nativeB12"

    1. Perfil

      Voilà ! Aqui vamos a mais uma apresentação, mas agora com outros formalismos e curiosidades!

      Sou Thays do Carmo, advogada, recém graduada em Direito pelo Centro Universitário de Brasília, e mestranda pela UnB na Linha de Pesquisa 2.

      O tema objeto de minha dissertação de mestrado relaciona-se à pesquisa empírica em direito, busco encontrar padrões argumentativos típicos das decisões que estabelecem a modulação de efeitos no STF.

      Assim, estou com grandes expectativas de aperfeiçoar minha estratégia de pesquisa para que os dados estejam cada fez mais organizados, sistematizados e coerentes.

    1. RRID:AB_1549

      DOI: 10.1016/j.celrep.2020.107974

      Resource: (Cell Signaling Technology Cat# 3724, RRID:AB_1549585)

      Curator: @Naa003

      SciCrunch record: RRID:AB_1549585

      Curator comments: Rabbit Anti-HA-Tag Monoclonal Antibody, Unconjugated, Clone C29F4 Cell Signaling Technology Cat# 3724


      What is this?