text
stringlengths
1
22.8M
Presidential elections were held in Austria on 28 April 1963. The result was a victory for incumbent President Adolf Schärf of the Socialist Party, who received 55% of the vote. Voter turnout was 96%. Results References Presidential elections in Austria President Austria Austria
The Alexander Hotel is a historic hotel in Reidsville, Tattnall County, Georgia, located at 204 West Brazell Street. It was built in 1892 and, although it is basically plain in style, it has gingerbread decorations that give it a Victorian architecture feel. It is a two-story Victorian building with two 20th century additions. It is a wood-frame building resting on brick piers. A second wing was added in the 1920s. Part of the first-floor porch was enclosed and expanded in the 1930s. There are several historic outbuildings. It was designed and built by carpenter D.J. Nobles, from Hagan, in Evans County. It was added to the National Register of Historic Places in 1982. See also National Register of Historic Places listings in Tattnall County, Georgia References External links Hotel buildings on the National Register of Historic Places in Georgia (U.S. state) Hotel buildings completed in 1892 Buildings and structures in Tattnall County, Georgia
```scss // Foundation for Sites by ZURB // foundation.zurb.com /// If `true`, all elements will have transparent backgrounds when printed, to save on ink. /// @type Boolean /// @group global $print-transparent-backgrounds: true !default; $print-hrefs: true !default; // sass-lint:disable-all @mixin foundation-print-styles { .show-for-print { display: none !important; } @media print { * { @if $print-transparent-backgrounds { background: transparent !important; } box-shadow: none !important; color: black !important; // Black prints faster: h5bp.com/s text-shadow: none !important; } .show-for-print { display: block !important; } .hide-for-print { display: none !important; } table.show-for-print { display: table !important; } thead.show-for-print { display: table-header-group !important; } tbody.show-for-print { display: table-row-group !important; } tr.show-for-print { display: table-row !important; } td.show-for-print { display: table-cell !important; } th.show-for-print { display: table-cell !important; } // Display the URL of a link after the text a, a:visited { text-decoration: underline;} @if $print-hrefs { a[href]:after { content: ' (' attr(href) ')'; } } // Don't display the URL for images or JavaScript/internal links .ir a:after, a[href^='javascript:']:after, a[href^='#']:after { content: ''; } // Display what an abbreviation stands for after the text abbr[title]:after { content: ' (' attr(title) ')'; } // Prevent page breaks in the middle of a blockquote or preformatted text block pre, blockquote { border: 1px solid $dark-gray; page-break-inside: avoid; } // h5bp.com/t thead { display: table-header-group; } tr, img { page-break-inside: avoid; } img { max-width: 100% !important; } @page { margin: 0.5cm; } p, h2, h3 { orphans: 3; widows: 3; } // Avoid page breaks after a heading h2, h3 { page-break-after: avoid; } // Helper to re-allow page breaks in the middle of certain elements (e.g. pre, blockquote, tr) .print-break-inside { page-break-inside: auto; } } } ```
```css /* originally authored by Nick Pettit - path_to_url */ @keyframes pulse { from { transform: scale3d(1, 1, 1); } 50% { transform: scale3d(1.05, 1.05, 1.05); } to { transform: scale3d(1, 1, 1); } } .pulse { animation-name: pulse; } ```
```objective-c /* This file is part of JQLibrary Contact email: 188080501@qq.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* QZxing path_to_url */ #ifndef JQQRCODEREADER_H_ #define JQQRCODEREADER_H_ // Qt lib import #include <QObject> #include <QSharedPointer> class QSemaphore; namespace zxing { class MultiFormatReader; } class JQQRCodeReader: public QObject { Q_OBJECT Q_DISABLE_COPY( JQQRCodeReader ) public: enum DecodeType { DecodeAztecType = 1 << 1, DecodeCodaBarType = 1 << 2, DecodeCode39Type = 1 << 3, DecodeCode93Type = 1 << 4, DecodeCode128Type = 1 << 5, DecodeDataMatrixType = 1 << 6, DecodeEan8Type = 1 << 7, DecodeEan13Type = 1 << 8, DecodeItfType = 1 << 9, DecodeMaxiCodeType = 1 << 10, DecodePdf417Type = 1 << 11, DecodeQrCodeType = 1 << 12, DecodeRss14Type = 1 << 13, DecodeRssExpandedType = 1 << 14, DecodeUpcAType = 1 << 15, DecodeUpcEType = 1 << 16, DecodeUpcEanExtensionType = 1 << 17 }; public: JQQRCodeReader(); ~JQQRCodeReader(); public slots: QString decodeImage(const QImage &image, const int &decodeType = static_cast< int >( DecodeQrCodeType ) ); signals: void decodingStarted(); void decodingFinished(bool succeeded); void tagFound(QString tag); private: QSharedPointer< zxing::MultiFormatReader > decoder_; QSharedPointer< QSemaphore > semaphore_; }; #endif//JQQRCODEREADER_H_ ```
```xml <vector xmlns:android="path_to_url" android:width="24dp" android:height="24dp" android:tint="#FDFDFE" android:viewportWidth="24" android:viewportHeight="24"> <path android:fillColor="@android:color/white" android:pathData="M17,3L5,3c-1.11,0 -2,0.9 -2,2v14c0,1.1 0.89,2 2,2h14c1.1,0 2,-0.9 2,-2L21,7l-4,-4zM12,19c-1.66,0 -3,-1.34 -3,-3s1.34,-3 3,-3 3,1.34 3,3 -1.34,3 -3,3zM15,9L5,9L5,5h10v4z" /> </vector> ```
```go // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. package common import ( "fmt" "strings" ) const ( resourceURNTemplateCreateDestination = "urn:cherami:dst:%v:%v" resourceURNTemplateOperateDestination = "urn:cherami:dst:%v:%v" resourceURNTemplateCreateConsumerGroup = "urn:cherami:cg:%v:%v" resourceURNTemplateOperateConsumerGroup = "urn:cherami:cg:%v:%v:%v" ) // GetResourceURNCreateDestination returns the resource URN to create destination, e.g. urn:cherami:dst:zone1_prod:/dst_prefix // We use URN (Uniform Resource Name) like this: path_to_url func GetResourceURNCreateDestination(scommon SCommon, dstPath *string) string { var dstPathString string if dstPath == nil { dstPathString = "" } else { dstPathString = getPathRootName(dstPath) } return fmt.Sprintf(resourceURNTemplateCreateDestination, getTenancyLowerCase(scommon), strings.ToLower(dstPathString)) } // GetResourceURNOperateDestination returns the resource URN to operate destination (read, delete), e.g. urn:cherami:dst:zone1_prod:/dst_prefix/dst1 // We use URN (Uniform Resource Name) like this: path_to_url func GetResourceURNOperateDestination(scommon SCommon, dstPath *string) string { var dstPathString string if dstPath == nil { dstPathString = "" } else { dstPathString = *dstPath } return fmt.Sprintf(resourceURNTemplateOperateDestination, getTenancyLowerCase(scommon), strings.ToLower(dstPathString)) } // GetResourceURNCreateConsumerGroup returns the resource URN to create consumer group, e.g. urn:cherami:cg:zone1:/cg_prefix // We use URN (Uniform Resource Name) like this: path_to_url func GetResourceURNCreateConsumerGroup(scommon SCommon, cgPath *string) string { var cgPathString string if cgPath == nil { cgPathString = "" } else { cgPathString = getPathRootName(cgPath) } return fmt.Sprintf(resourceURNTemplateCreateConsumerGroup, getTenancyLowerCase(scommon), strings.ToLower(cgPathString)) } // GetResourceURNOperateConsumerGroup returns the resource URN to operate consumer group (read, delete), e.g. urn:cherami:cg:zone1:/dst_prefix/dst1:/cg_prefix/cg1 // We use URN (Uniform Resource Name) like this: path_to_url func GetResourceURNOperateConsumerGroup(scommon SCommon, dstPath *string, cgPath *string) string { var dstPathString string if dstPath == nil { dstPathString = "" } else { dstPathString = *dstPath } var cgPathString string if cgPath == nil { cgPathString = "" } else { cgPathString = *cgPath } return fmt.Sprintf(resourceURNTemplateOperateConsumerGroup, getTenancyLowerCase(scommon), strings.ToLower(dstPathString), strings.ToLower(cgPathString)) } func getPathRootName(path *string) string { if path == nil || *path == "" { return "" } parts := strings.Split(*path, "/") if strings.HasPrefix(*path, "/") { return "/" + parts[1] } return parts[0] } func getTenancyLowerCase(scommon SCommon) string { deploymentName := scommon.GetConfig().GetDeploymentName() parts := strings.Split(deploymentName, "_") return strings.ToLower(parts[0]) } ```
```java /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * specific language governing permissions and limitations */ package org.ballerinalang.test.query; import org.ballerinalang.test.BCompileUtil; import org.ballerinalang.test.BRunUtil; import org.ballerinalang.test.CompileResult; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; /** * This contains methods to test query actions with records. * \ * * @since Swan Lake */ public class RecordQueryTest { private CompileResult result; @BeforeClass public void setup() { result = BCompileUtil.compile("test-src/query/query-expr-with-record.bal"); } @Test public void testSimpleQueryAction() { BRunUtil.invoke(result, "testRecordBasedQueryExpr"); } @AfterClass public void tearDown() { result = null; } } ```
David Greig (born 1969) is a Scottish playwright and theatre director. His work has been performed at many of the major theatres in Britain, including the Traverse Theatre, Royal Court Theatre, Royal National Theatre, Royal Lyceum Theatre and the Royal Shakespeare Company, and been produced around the world. Early life Greig was born in Edinburgh in 1969, and was brought up in Nigeria. Returning to Edinburgh in his teens, he was a pupil at the independent Stewart's Melville College. He later studied English and Drama at Bristol University. Career After university, in 1990 he co-founded Suspect Culture Theatre Company with Graham Eatough and Nick Powell in Glasgow; he would go on to write the texts for almost all of their shows until 2004, including Timeless (1997), Mainstream (1999), Candide 2000 (2000), Casanova (2001), Lament (2002), and 8000m (2004). His stand-alone plays, from Stalinland (1992) began to be picked up by major theatres; the Traverse produced Europe (1995), The Architect (1996, made into a film of the same title in 2006), Outlying Islands (2002), Damascus (2007) and Midsummer (a play with songs by Gordon McIntyre, 2008). Paines Plough produced The Cosmonaut's Last Message To The Woman He Once Loved In The Former Soviet Union (1999) and Pyrenees (2005). The RSC commissioned and produced Victoria (2000) and The American Pilot (2005). His sequel to Macbeth, Dunsinane (2010) was premiered at the Hampstead Theatre by the Royal Shakespeare Company. The Speculator (1999) and San Diego (2003) were commissioned by the Edinburgh International Festival. When the National Theatre of Scotland was formed in 2006, Greig served as its first Dramaturg and also wrote an adaptation of Euripides' The Bacchae for them. His adaptation of Alasdair Gray's novel Lanark opened at the Lyceum Theatre as part of the Edinburgh International Festival in 2015. In 2006, he joined the Board of the Traverse Theatre. Greig produced around 50 plays, texts, adaptations, translations and libretti in the first two decades of his career. Dr Korczak's Example (2004) is a play for young people and Danny 306 + Me 4 Ever (1999) is for puppets. He has produced adaptations of Tintin in Tibet (2005) for the Barbican, London, and Charlie and the Chocolate Factory (2013) for the Theatre Royal, Drury Lane. The Strange Undoing of Prudencia Hart (2011) for the National Theatre of Scotland was designed to be toured to and performed in pubs; partnering with Punchdrunk, it played an extended run from November 2016 to April 2017 at the Heath restaurant in the McKittrick Hotel, home of the similarly immersive theatrical experience Sleep No More in New York City. He has provided English-language versions of foreign plays, including Camus's Caligula (2003), and Strindberg's Creditors (2008). In 2013, he wrote The Events, in which different local choirs perform the musical numbers every night. Lyn Gardner, in The Guardian, chose this as her best piece of theatre in 2013. With local politician Sarah Beattie-Smith of the Scottish Green Party, Greig curated the political discussion show Two Minute Manifesto which toured Scotland in 2015. In 2018 it was announced that he would adapt the classic film Local Hero for the stage, with music by Mark Knopfler. The production opened at Edinburgh's Royal Lyceum Theatre in March 2019. Its 2020 transfer to the Old Vic in London was postponed due to the COVID-19 pandemic. Greig took over from Mark Thomson as Artistic Director of Edinburgh's Royal Lyceum Theatre in 2016. He adapted Aeschylus' The Suppliant Women for the Lyceum in October 2016. The 2019 opening of Greig's first original new play in 6 years, Adventures With The Painted People, at the Pitlochry Festival Theatre was cancelled due to the COVID-19 pandemic. Themes Despite the richness and variety of Greig's work, some persistent concerns and motifs are visible. A yearning for connection between characters, despite enormous personal, social, cultural and political distances between them; international and global links, represented through travel, desire, fantasies of other cultures; great value placed on imagination, creativity, wonder. Awards Greig has won the Carol Tambor Best of Edinburgh Award twice; for Midsummer (2012) and The Events (2013). In March 2018 it was announced that Royal Lyceum Theatre productions were shortlisted for awards in 12 categories at the Critics' Awards for Theatre in Scotland. Personal life Greig lives in Fife, Scotland, with his wife and two children. Greig has increasingly emerged as a significant political commentator in contemporary Scotland, intervening importantly in the debates over Creative Scotland in 2012 and proving an advocate of Scottish independence in the run-up to the Scottish Independence Referendum in 2014. Selected list of plays Original plays Europe (1994) One Way Street (1995) The Architect (1996) Caledonia dreaming (1997) The Cosmonaut's Last Message to the Woman he once Loved in the Former Soviet Union (1999) The Speculator (1999) Danny 306 + Me (4Ever) (1999) Victoria (2000) The Swannsong (2000) Dr Korczak’s Example (2001) Casanova (2001) Outlying Islands (2002) San Diego (2003) American Pilot (2005) Pyrenees (2005) Yellow Moon: the Ballad of Leila and Lee (2006) Damascus (2007) Midsummer (2008) Dunsinane (2010) The Monster in the Hall (2010) The Strange Undoing of Prudencia Hart (2011) The Letter of Last Resort (2012) The Events (2013) Adventures With The Painted People (2020) Translations and adaptations Battle of Will (2002), Laurent Gaudé Caligula (2003), Albert Camus Oedipus the visionary (2005), Sophocles The Bacchae (2007), Euripides, Creditors (2008), August Strindberg Peter Pan (2010), adaptation of JM Barrie's original fairy tale Charlie and the Chocolate Factory (2013), from the story by Roald Dahl Lanark: A Life in Three Acts (2015), from the novel by Alasdair Gray The Suppliant Women (2016), Aeschylus Touching the Void (2018), adaption of Touching the Void Solaris (2019), adaption of Solaris (novel) Local Hero (2019), adaption of Local Hero References External links David Greig on www.contemporarywriters.com David Greig on Charlie and the Chocolate Factory musical website 1969 births People from Edinburgh Alumni of the University of Bristol Theatre in Scotland 20th-century Scottish dramatists and playwrights 21st-century Scottish dramatists and playwrights Scottish theatre directors Living people
```smalltalk Extension { #name : 'Object' } { #category : '*NewValueHolder-Core' } Object >> asValueHolder [ "See NewValueHolder class comment" ^ NewValueHolder value: self ] { #category : '*NewValueHolder-Core' } Object >> isValueHolder [ ^ false ] ```
Briarcliff is a second-class city in Baxter County, Arkansas, United States. The population was 236 at the 2010 census. History The community began as a small retirement community near Lake Norfork following completion of the Norfork Dam. Initially an unincorporated area, residents voted to incorporate as a town in 1997. In 2000, town residents approved upgrading Briarcliff's status to a second-class city in order to establish a municipal government. Geography According to the United States Census Bureau, the town has a total area of 4.7 km2 (1.8 mi2), all land. List Of highways Arkansas Highway 5 Arkansas Highway 342 School District Briarcliff is in the Norfork School District with students graduating from Norfork High School. Demographics As of the census of 2000, there were 240 people, 98 households, and 68 families residing in the town. The population density was 50.9/km2 (131.8/mi2). There were 117 housing units at an average density of 24.8/km2 (64.2/mi2). The racial makeup of the town was 97.92% White, 0.83% Native American, and 1.25% from two or more races. There were 98 households, out of which 32.7% had children under the age of 18 living with them, 56.1% were married couples living together, 10.2% had a female householder with no husband present, and 30.6% were non-families. 29.6% of all households were made up of individuals, and 14.3% had someone living alone who was 65 years of age or older. The average household size was 2.45 and the average family size was 2.94. In the town the population was spread out, with 29.2% under the age of 18, 7.5% from 18 to 24, 22.1% from 25 to 44, 24.6% from 45 to 64, and 16.7% who were 65 years of age or older. The median age was 38 years. For every 100 females, there were 101.7 males. For every 100 females age 18 and over, there were 104.8 males. The median income for a household in the town was $26,875, and the median income for a family was $32,188. Males had a median income of $26,000 versus $16,250 for females. The per capita income for the town was $16,420. About 9.0% of families and 13.7% of the population were below the poverty line, including 21.7% of those under the age of eighteen and 5.1% of those 65 or over. References External links Map of Briarcliff (US Census Bureau) Map of Baxter County (US Census Bureau) Norfork School District Baxter County Historical and Genealogical Society Cities in Baxter County, Arkansas Cities in Arkansas Populated places established in 1997
Les Gardiner or Gardner may refer to: Les Gardiner (Scottish footballer), Scottish association footballer for Torquay United Les Gardiner (Australian footballer) (born 1923), former Australian rules footballer Les Gardner
```python # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # your_sha256_hash-------------- import itertools import sys import csv import json import yaml from sawtooth_cli import tty from sawtooth_cli.exceptions import CliException def format_terminal_row(headers, example_row): """Uses headers and a row of example data to generate a format string for printing a single row of data. Args: headers (tuple of strings): The headers for each column of data example_row (tuple): A representative tuple of strings or ints Returns string: A format string with a size for each column """ def format_column(col): if isinstance(col, str): return '{{:{w}.{w}}}' return '{{:<{w}}}' widths = [max(len(h), len(str(d))) for h, d in zip(headers, example_row)] # Truncate last column to fit terminal width original_last_width = widths[-1] if sys.stdout.isatty(): widths[-1] = max( len(headers[-1]), # console width - width of other columns and gutters - 3 for '...' tty.width() - sum(w + 2 for w in widths[0:-1]) - 3) # Build format string cols = [format_column(c).format(w=w) for c, w in zip(example_row, widths)] format_string = ' '.join(cols) if original_last_width > widths[-1]: format_string += '...' return format_string def print_terminal_table(headers, data_list, parse_row_fn): """Uses a set of headers, raw data, and a row parsing function, to print data to the terminal in a table of rows and columns. Args: headers (tuple of strings): The headers for each column of data data_list (list of dicts): Raw response data from the validator parse_row_fn (function): Parses a dict of data into a tuple of columns Expected args: data (dict): A single response object from the validator Expected return: cols (tuple): The properties to display in each column """ data_iter = iter(data_list) try: example = next(data_iter) example_row = parse_row_fn(example) data_iter = itertools.chain([example], data_iter) except StopIteration: example_row = [''] * len(headers) format_string = format_terminal_row(headers, example_row) top_row = format_string.format(*headers) print(top_row[0:-3] if top_row.endswith('...') else top_row) for data in data_iter: print(format_string.format(*parse_row_fn(data))) def print_csv(headers, data_list, parse_row_fn): """Takes headers, data, and a row parsing function, and prints data to the console in a csv format. """ try: writer = csv.writer(sys.stdout) writer.writerow(headers) for data in data_list: writer.writerow(parse_row_fn(data)) except csv.Error as e: raise CliException('Error writing CSV: {}'.format(e)) from e def print_json(data): """Takes any JSON serializable data and prints it to the console. """ print(json.dumps( data, indent=2, separators=(',', ': '), sort_keys=True)) def print_yaml(data): """Takes any YAML serializable data and prints it to the console. """ print(yaml.dump(data, default_flow_style=False)[0:-1]) ```
```java /* * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. */ package io.camunda.optimize.service.exceptions; import io.camunda.optimize.dto.optimize.rest.DefinitionExceptionItemDto; import java.util.Set; public class OptimizeImportDefinitionDoesNotExistException extends OptimizeValidationException { public static final String ERROR_CODE = "importDefinitionDoesNotExist"; private final Set<DefinitionExceptionItemDto> missingDefinitions; public OptimizeImportDefinitionDoesNotExistException( final String message, final Set<DefinitionExceptionItemDto> missingDefinitions) { super(message); this.missingDefinitions = missingDefinitions; } public Set<DefinitionExceptionItemDto> getMissingDefinitions() { return missingDefinitions; } @Override public String getErrorCode() { return ERROR_CODE; } } ```
```go package markdown import ( "strings" "code.gitea.io/gitea/modules/markup" giteautil "code.gitea.io/gitea/modules/util" "github.com/yuin/goldmark/ast" ) func (g *ASTTransformer) transformImage(ctx *markup.RenderContext, v *ast.Image) { // Images need two things: // // 1. Their src needs to munged to be a real value // 2. If they're not wrapped with a link they need a link wrapper // Check if the destination is a real link if len(v.Destination) > 0 && !markup.IsFullURLBytes(v.Destination) { v.Destination = []byte(giteautil.URLJoin( ctx.Links.ResolveMediaLink(ctx.IsWiki), strings.TrimLeft(string(v.Destination), "/"), )) } parent := v.Parent() // Create a link around image only if parent is not already a link if _, ok := parent.(*ast.Link); !ok && parent != nil { next := v.NextSibling() // Create a link wrapper wrap := ast.NewLink() wrap.Destination = v.Destination wrap.Title = v.Title wrap.SetAttributeString("target", []byte("_blank")) // Duplicate the current image node image := ast.NewImage(ast.NewLink()) image.Destination = v.Destination image.Title = v.Title for _, attr := range v.Attributes() { image.SetAttribute(attr.Name, attr.Value) } for child := v.FirstChild(); child != nil; { next := child.NextSibling() image.AppendChild(image, child) child = next } // Append our duplicate image to the wrapper link wrap.AppendChild(wrap, image) // Wire in the next sibling wrap.SetNextSibling(next) // Replace the current node with the wrapper link parent.ReplaceChild(parent, v, wrap) // But most importantly ensure the next sibling is still on the old image too v.SetNextSibling(next) } } ```
```go package endpointgroups import ( "errors" "net/http" portainer "github.com/portainer/portainer/api" "github.com/portainer/portainer/api/dataservices" httperror "github.com/portainer/portainer/pkg/libhttp/error" "github.com/portainer/portainer/pkg/libhttp/request" "github.com/portainer/portainer/pkg/libhttp/response" ) // @id EndpointGroupDelete // @summary Remove an environment(endpoint) group // @description Remove an environment(endpoint) group. // @description **Access policy**: administrator // @tags endpoint_groups // @security ApiKeyAuth // @security jwt // @param id path int true "EndpointGroup identifier" // @success 204 "Success" // @failure 400 "Invalid request" // @failure 404 "EndpointGroup not found" // @failure 500 "Server error" // @router /endpoint_groups/{id} [delete] func (handler *Handler) endpointGroupDelete(w http.ResponseWriter, r *http.Request) *httperror.HandlerError { endpointGroupID, err := request.RetrieveNumericRouteVariableValue(r, "id") if err != nil { return httperror.BadRequest("Invalid environment group identifier route variable", err) } if endpointGroupID == 1 { return httperror.Forbidden("Unable to remove the default 'Unassigned' group", errors.New("Cannot remove the default environment group")) } err = handler.DataStore.UpdateTx(func(tx dataservices.DataStoreTx) error { return handler.deleteEndpointGroup(tx, portainer.EndpointGroupID(endpointGroupID)) }) if err != nil { var httpErr *httperror.HandlerError if errors.As(err, &httpErr) { return httpErr } return httperror.InternalServerError("Unexpected error", err) } return response.Empty(w) } func (handler *Handler) deleteEndpointGroup(tx dataservices.DataStoreTx, endpointGroupID portainer.EndpointGroupID) error { endpointGroup, err := tx.EndpointGroup().Read(endpointGroupID) if tx.IsErrObjectNotFound(err) { return httperror.NotFound("Unable to find an environment group with the specified identifier inside the database", err) } else if err != nil { return httperror.InternalServerError("Unable to find an environment group with the specified identifier inside the database", err) } err = tx.EndpointGroup().Delete(endpointGroupID) if err != nil { return httperror.InternalServerError("Unable to remove the environment group from the database", err) } endpoints, err := tx.Endpoint().Endpoints() if err != nil { return httperror.InternalServerError("Unable to retrieve environment from the database", err) } for _, endpoint := range endpoints { if endpoint.GroupID == endpointGroupID { endpoint.GroupID = portainer.EndpointGroupID(1) err = tx.Endpoint().UpdateEndpoint(endpoint.ID, &endpoint) if err != nil { return httperror.InternalServerError("Unable to update environment", err) } err = handler.updateEndpointRelations(tx, &endpoint, nil) if err != nil { return httperror.InternalServerError("Unable to persist environment relations changes inside the database", err) } } } for _, tagID := range endpointGroup.TagIDs { tag, err := tx.Tag().Read(tagID) if tx.IsErrObjectNotFound(err) { return httperror.InternalServerError("Unable to find a tag inside the database", err) } delete(tag.EndpointGroups, endpointGroup.ID) err = tx.Tag().Update(tagID, tag) if err != nil { return httperror.InternalServerError("Unable to persist tag changes inside the database", err) } } return nil } ```
```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>iBase4J</title> <!-- --> <link href="path_to_url" rel="stylesheet" type="text/css"> <link href="../../assets/css/icons/icomoon/styles.css" rel="stylesheet" type="text/css"> <link href="../../assets/css/icons/fontawesome/styles.min.css" rel="stylesheet" type="text/css"> <link href="../../assets/css/bootstrap.css" rel="stylesheet" type="text/css"> <link href="../../assets/css/core.css" rel="stylesheet" type="text/css"> <link href="../../assets/css/components.css" rel="stylesheet" type="text/css"> <link href="../../assets/css/colors.css" rel="stylesheet" type="text/css"> <!-- / --> <!-- --> <link href="../../extends/dep/jquery-treetable/css/jquery.treetable.theme.default.css" rel="stylesheet" type="text/css"> <link href="../../extends/dep/jquery-treetable/css/jquery.treetable.css" rel="stylesheet" type="text/css"> <link href="../../extends/css/common.css" rel="stylesheet" type="text/css"> <link href="../../extends/css/admin/personalMenu.css" rel="stylesheet" type="text/css"> <!-- / --> <!-- js--> <script type="text/javascript" src="../../assets/js/core/libraries/vue.min.js"></script> <script type="text/javascript" src="../../assets/js/plugins/loaders/pace.min.js"></script> <script type="text/javascript" src="../../assets/js/core/libraries/jquery.min.js"></script> <script type="text/javascript" src="../../assets/js/core/libraries/bootstrap.min.js"></script> <script type="text/javascript" src="../../assets/js/plugins/loaders/blockui.min.js"></script> <script type="text/javascript" src="../../assets/js/plugins/notifications/pnotify.min.js"></script> <script type="text/javascript" src="../../assets/js/plugins/notifications/bootbox.min.js"></script> <!-- /js --> <!-- js --> <script type="text/javascript" src="../../assets/js/plugins/tables/datatables/datatables.min.js"></script> <script type="text/javascript" src="../../assets/js/plugins/tables/datatables/extensions/select.min.js"></script> <script type="text/javascript" src="../../assets/js/plugins/forms/selects/select2.min.js"></script> <script type="text/javascript" src="../../assets/js/plugins/tables/datatables/extensions/fixed_columns.min.js"></script> <script type="text/javascript" src="../../extends/dep/jquery-treetable/jquery.treetable.js"></script> <script type="text/javascript" src="../../assets/js/plugins/forms/styling/uniform.min.js"></script> <script type="text/javascript" src="../../assets/js/core/app.js"></script> <!-- /js --> <!-- js --> <script type="text/javascript" src="../../extends/js/common.js"></script> <script type="text/javascript" src="../../extends/js/admin/personalRole.js"></script> <!-- /js --> </head> <body> <!-- --> <div class="page-container"> <!-- --> <div class="page-content"> <!-- Main content --> <div class="content-wrapper"> <!-- Page header --> <div class="page-header page-header-default border-bottom-lg border-bottom-teal"> <div class="page-header-content"> <div class="page-title"> <h4><i class="icon-arrow-left52 position-left"></i> <span class="text-bold"></span> - </h4> </div> </div> <div class="breadcrumb-line"> <ul class="breadcrumb"> <li><a href="/main/welcome.html"><i class="icon-home2 position-left"></i></a></li> <li></li> <li></li> <li class="active"></li> </ul> </div> </div> <!-- /page header --> <!-- Content area --> <div class="content"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 no-padding-left"> <button class="btn bg-teal pull-right saveSet"> <i class="icon-floppy-disk"></i> </button> <button class="btn bg-danger-400 pull-right reflush"> <i class="icon-spinner4"></i> </button> </div> <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6 no-padding-left"> <div class="panel panel-white"> <div class="panel-heading"> <h6 class="panel-title"></h6> <div class="heading-elements"> <ul class="icons-list"> <li><a data-action="reload" data-fnReload="refreshData"></a></li> <li><a data-action="collapse"></a></li> </ul> </div> </div> <table class="personnal-list table table-bordered text-center"> <thead> <tr> <th class="text-center"></th> <th class="text-center"></th> <th class="text-center"></th> </tr> </thead> </table> </div> </div> <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6"> <div class="panel panel-white"> <div class="panel-heading"> <h6 class="panel-title" id="personalRole"></h6> <div class="heading-elements"> <ul class="icons-list"> <li><a data-action="reload" data-fnReload="refreshRoleData"></a></li> <li><a data-action="collapse"></a></li> </ul> </div> </div> <table class="personnal-role table table-bordered text-center"> <thead> <tr> <th class="text-center"> <input type="checkbox" class="styled" data-action="checkAll" data-target=".personnal-role tbody tr td" /> </th> <th></th> </tr> </thead> </table> </div> </div> <!-- Footer --> <div class="footer text-muted" v-html="footer"></div> <!-- /footer --> </div> <!-- /content area --> </div> <!-- /main content --> </div> <!-- / --> </div> <!-- / --> </body> </html> ```
```xml <?xml version="1.0" encoding="UTF-8"?> <!-- or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file path_to_url Unless required by applicable law or agreed to in writing, "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY specific language governing permissions and limitations --> <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> <concept id="perf_ddl"> <title>Performance Considerations for DDL Statements</title> <prolog> <metadata> <data name="Category" value="Performance"/> <data name="Category" value="Impala"/> <data name="Category" value="DDL"/> <data name="Category" value="SQL"/> <data name="Category" value="Developers"/> <data name="Category" value="Data Analysts"/> </metadata> </prolog> <conbody> <p> These tips and guidelines apply to the Impala DDL statements, which are listed in <xref href="impala_ddl.xml#ddl"/>. </p> <p> Because Impala DDL statements operate on the metastore database, the performance considerations for those statements are totally different than for distributed queries that operate on HDFS <ph rev="2.2.0">or S3</ph> data files, or on HBase tables. </p> <p> Each DDL statement makes a relatively small update to the metastore database. The overhead for each statement is proportional to the overall number of Impala and Hive tables, and (for a partitioned table) to the overall number of partitions in that table. Issuing large numbers of DDL statements (such as one for each table or one for each partition) also has the potential to encounter a bottleneck with access to the metastore database. Therefore, for efficient DDL, try to design your application logic and ETL pipeline to avoid a huge number of tables and a huge number of partitions within each table. In this context, <q>huge</q> is in the range of tens of thousands or hundreds of thousands. </p> <note conref="../shared/impala_common.xml#common/add_partition_set_location"/> </conbody> </concept> ```
```xml export * from 'rxjs-compat/operator/sequenceEqual'; ```
The 4th Battalion, Royal Australian Regiment (4 RAR) was an infantry battalion (later a special forces unit) of the Australian Army, forming part of the Royal Australian Regiment and eventually Special Operations Command. The battalion was formed on 1 February 1964, converted to a special forces unit on 01 February 1997, and was renamed the 2nd Commando Regiment on 19 June 2009. History Formation On 18 January 1952, a Royal Australian Regiment Depot was established as a training unit for a special establishment on the Order of Battle. The depot was later renamed 4 RAR on 10 March 1952. This renaming was necessary because government approval had been given to raise a battalion and not a depot. The primary function of 4 RAR at the time was to train and hold infantrymen for service in Korea. On 24 March 1960, the unit was incorporated into the School of Infantry as "Depot Company, Royal Australian Regiment". This resulted in the formation of the Infantry Centre. The political decision to raise the fourth battalion of the Royal Australian Regiment was made in 1963. Consequently, instructions for the raising of the battalion were issued on 13 January 1964. The official raising of 4 RAR on 1 February 1964 was the first time a regular infantry battalion had been raised on Australian soil. Additionally, it was stated that this battalion was a new battalion and not a resurrection of the old 4 RAR. The battalion subsequently served in Malaysia as part of the Far East Strategic Reserve from August 1965 – September 1967, and saw active service in Borneo against the Indonesian army during the Indonesia-Malaysia confrontation. After a period of training the battalion deployed to Sarawak in April 1966 where it was to operate from four company bases in the Bau area. By this time the war was winding down as peace negotiations had begun between Malaysia and Indonesia. Like 3 RAR, 4 RAR conducted cross-border operations and clashed with Indonesian forces on a number of occasions. Its tour was less eventful, however, and the battalion primarily operated in Malaysian territory where it ambushed tracks leading from the border with Indonesia. Malaysia and Indonesia agreed to a peace treaty on 11 August and 4 RAR and the other Commonwealth units in Borneo ceased operations the next day. The battalion returned to Camp Terendak on 30 August having suffered five fatalities in Borneo, though only one man had been killed in action. Upon its return to Australia in 1967 the battalion began training for service during the Vietnam War. Vietnam War The battalion began its first tour of South Vietnam on 1 June 1968, relieving 2 RAR. Based at Nui Dat, in Phuoc Tuy Province it was joined by Victor and Whisky companies from the Royal New Zealand Infantry Regiment (RNZIR) on 2 June, and was formally renamed 4 RAR/NZ (ANZAC) Battalion with an Australian Commander and New Zealander second in command. From 23 June the battalion took part in Operation Toan Thang II on the Biên Hòa-Long Bình border, before conducting patrols through Phuoc Tuy. It was subsequently conducting patrols, ambushes, and searches along the Long Khánh-Biên Hòa border from 15 September in an attempt to disrupt Vietcong (VC) activity and deny them access to supplies as part of Operation Hawkesbury. 4 RAR/NZ returned to Nui Dat on 24 September. 4 RAR/NZ returned to the Long Khánh-Biên Hòa border as part of Operation Goodwood on 27 December, in response to increased in VC activity that suggested an offensive was being planned. The battalion was given a brief respite at Nui Dat from 13 January to 7 February, before taking part in Operation Federal in Biên Hòa province. Operation Overlander commenced in Biên Hòa province on 8 April, before the battalion again returned to Phuoc Tuy on 17 April. It was subsequently replaced by 6RAR on 1 May and departed for Australia on 19 May. Total casualties during the deployment included 15 Australians killed and 97 wounded, with five New Zealanders killed and 37 wounded. 4 RAR subsequently underwent a period of further training in Australia, and subsequently returned to South Vietnam for its second tour in May 1971, again relieving 2 RAR. The New Zealanders from Victor Company RNZIR were again integrated into the battalion with the battalion being redesignated 4 RAR/NZ (ANZAC). Continuing the pacification program that 1st Australian Task Force had adopted in Phuoc Tuy in April 1969, 4 RAR/NZ engaged in operations designed at seeking out and destroying the VC in their base areas, preventing their access to the civilian population, and in helping to create a security for the South Vietnamese. However, with the Australian commitment to Vietnam reducing, intelligence reports had indicated the presence of North Vietnamese People's Army of Vietnam troops in northern Phuoc Tuy, and the final battles fought by Australians in Vietnam began following the launch of Operation Ivanhoe (18 September – 2 October 1971). The battalion became involved in intense fighting and although it sustained heavy casualties during these engagements, it successfully hindered VC attempts to move south. Its final involvement came during the Battle of Nui Le on 21 September 1971. The battalion's tour was cut short by the Australian withdrawal, however, and it ultimately completed only eight months of its designated twelve-month tour. The last Australian battalion to leave South Vietnam, the majority of 4 RAR/NZ withdrew from Nui Dat to the 1st Australian Support Compound at Vũng Tàu on 7 November 1971, before departing for Australia on 8 December. Victor Company, RNZIR departed on 9 December. Casualties included eight Australians killed and 41 wounded, with one New Zealander killed and five wounded. 'D' Company, 4 RAR, remained behind until 12 March 1972 in order to provide security to rear details. Post-Vietnam With the reorganisation of the Army during 1973 due to the cessation of National Service, 2 RAR and 4 RAR were linked on 15 August 1973, to form 2nd/4th Battalion, Royal Australian Regiment (2/4 RAR). Between 1977 and 1979 2/4 RAR concentrated on conventional warfare including night and mounted operations. On 1 July 1980, the unit was re-organised on light scales and trained as part of the Operational Deployment Force (ODF) in close country and conventional warfare operations. On 1 February 1982, with the official replacement of the title 'Task Force' with 'Brigade', 2/4 RAR became a unit of the 3rd Brigade, 1st Division. The battalion was placed on operational readiness in 1987 and 1990. On each occasion the battalion was prepared to evacuate Australian citizens from Pacific region countries experiencing civil disturbance. From 1990 to 1993 many individual soldiers from the battalion served with the United Nations in Cambodia. In 1993, 52 soldiers from the battalion were detached to 1RAR for operational service in Somalia as part of Operation Solace. In May 1993, 2/4 RAR was tasked to provide a Rifle Platoon for Operation Gemini in Cambodia. 12 Platoon Delta Company, deployed to Cambodia tasked with providing local security for Australian Army helicopters that were also deployed as part of the relief mission. It was during the battalion's deployment to Rwanda on Operation Tamar in 1994, that the government made the decision to unlink the 2nd/4th Battalion. This was a result of the 1994 Defence White Paper that identified the need for an additional infantry battalion to enhance the Army's capability to meet strategic guidance requirements. The 2nd/4th Battalion was unlinked by the Chief of the General Staff, Lieutenant General John Grey, on a parade at Samichon Lines, Lavarack Barracks, Townsville at 1500 hrs on 1 February 1995. Upon re-establishment, 4 RAR was based at Holsworthy, in New South Wales. Conversion and disbandment In 1996, a decision was made to convert 4 RAR to a special forces unit. On 1 February 1997 the unit was renamed to 4 RAR (Commando). Initially, both Regular and Reserve serving members were given the opportunity to undertake special forces training provided, mainly by 1st Commando Regiment, or elect a posting to a conventional forces unit. Around the beginning of 1998, General Reserve positions ceased to exist in the new structure and reserve members discharged or posted to GRes units. The initial years were busy creating a structure and recruiting members suitable for commando training. Bravo Company was raised first followed by Charlie Company in 1999, both taking 24 months to reach full maturity. The pace of battalion life during these development years was hectic with capability development, equipment acquisition and training, focussing every member's attention. The unit conducted operations in East Timor and Iraq, and later lost members in Afghanistan. It has also been awarded citations for bravery and the meritorious unit citation. On 19 June 2009 the battalion was renamed the 2nd Commando Regiment. At that time, 4 RAR remained on the order of battle, with its colours and traditions maintained and protected, ready to be re-raised as a regular infantry battalion in the future if required. Alliances United Kingdom – Irish Guards Notes References Further reading External links 4 RAR Associations of Australia Australian Army Commando Employment information Australian SF Community Commando operations in Afghanistan – September 2006 Special forces of Australia Infantry units and formations of Australia Military units and formations established in 1964 Airborne units and formations of Australia Military units and formations of Australia in the Vietnam War Military units and formations disestablished in 2009 Recipients of the Unit Citation for Gallantry
```java /* * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. */ package io.camunda.optimize.service; import static java.util.stream.Collectors.toMap; import com.google.common.collect.Sets; import io.camunda.optimize.dto.optimize.DefinitionType; import io.camunda.optimize.dto.optimize.GroupDto; import io.camunda.optimize.dto.optimize.IdentityDto; import io.camunda.optimize.dto.optimize.IdentityType; import io.camunda.optimize.dto.optimize.IdentityWithMetadataResponseDto; import io.camunda.optimize.dto.optimize.UserDto; import io.camunda.optimize.dto.optimize.query.IdentitySearchResultResponseDto; import io.camunda.optimize.dto.optimize.query.definition.AssigneeCandidateGroupDefinitionSearchRequestDto; import io.camunda.optimize.dto.optimize.query.definition.AssigneeCandidateGroupReportSearchRequestDto; import io.camunda.optimize.dto.optimize.query.report.ReportDefinitionDto; import io.camunda.optimize.dto.optimize.query.report.combined.CombinedReportDefinitionRequestDto; import io.camunda.optimize.dto.optimize.query.report.single.ReportDataDefinitionDto; import io.camunda.optimize.dto.optimize.query.report.single.SingleReportDataDto; import io.camunda.optimize.dto.optimize.query.report.single.process.SingleProcessReportDefinitionRequestDto; import io.camunda.optimize.service.db.reader.AssigneeAndCandidateGroupsReader; import io.camunda.optimize.service.identity.UserTaskIdentityService; import io.camunda.optimize.service.report.ReportService; import io.camunda.optimize.service.security.util.definition.DataSourceDefinitionAuthorizationService; import jakarta.ws.rs.ForbiddenException; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.function.Function; import java.util.stream.Collectors; import lombok.NonNull; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Component; @RequiredArgsConstructor @Slf4j @Component public class AssigneeCandidateGroupService { public static final IdentityType ASSIGNEE_IDENTITY_TYPE = IdentityType.USER; private static final IdentityType CANDIDATE_GROUP_IDENTITY_TYPE = IdentityType.GROUP; private final DataSourceDefinitionAuthorizationService definitionAuthorizationService; private final AssigneeAndCandidateGroupsReader assigneeAndCandidateGroupsReader; private final UserTaskIdentityService userTaskIdentityService; private final ReportService reportService; public Optional<IdentityWithMetadataResponseDto> getIdentityByIdAndType( final String id, final IdentityType type) { return userTaskIdentityService.getIdentityByIdAndType(id, type); } public List<UserDto> getAssigneesByIds(final Collection<String> assigneeIds) { final Map<String, UserDto> assigneesById = userTaskIdentityService.getAssigneesByIds(assigneeIds).stream() .collect(toMap(IdentityDto::getId, Function.identity())); return assigneeIds.stream().map(id -> assigneesById.getOrDefault(id, new UserDto(id))).toList(); } public IdentitySearchResultResponseDto searchForAssigneesAsUser( @NonNull final String userId, @NonNull final AssigneeCandidateGroupDefinitionSearchRequestDto requestDto) { return searchForAssignees( requestDto.getLimit(), requestDto.getTerms().orElse(""), validateAccessAndCreateDefinitionTenantMap( userId, requestDto.getProcessDefinitionKey(), requestDto.getTenantIds())); } public IdentitySearchResultResponseDto searchForAssigneesAsUser( @NonNull final String userId, @NonNull final AssigneeCandidateGroupReportSearchRequestDto requestDto) { return searchForAssignees( requestDto.getLimit(), requestDto.getTerms().orElse(""), retrieveAuthorizedDefinitionTenantMap(userId, requestDto.getReportIds())); } public List<GroupDto> getCandidateGroupsByIds(final Collection<String> candidateGroupIds) { final Map<String, GroupDto> candidateGroupsById = userTaskIdentityService.getCandidateGroupIdentitiesById(candidateGroupIds).stream() .collect(toMap(IdentityDto::getId, Function.identity())); return candidateGroupIds.stream() .map(id -> candidateGroupsById.getOrDefault(id, new GroupDto(id))) .toList(); } public IdentitySearchResultResponseDto searchForCandidateGroupsAsUser( @NonNull final String userId, @NonNull final AssigneeCandidateGroupDefinitionSearchRequestDto requestDto) { return searchForCandidateGroups( requestDto.getLimit(), requestDto.getTerms().orElse(""), validateAccessAndCreateDefinitionTenantMap( userId, requestDto.getProcessDefinitionKey(), requestDto.getTenantIds())); } public IdentitySearchResultResponseDto searchForCandidateGroupsAsUser( @NonNull final String userId, @NonNull final AssigneeCandidateGroupReportSearchRequestDto requestDto) { return searchForCandidateGroups( requestDto.getLimit(), requestDto.getTerms().orElse(""), retrieveAuthorizedDefinitionTenantMap(userId, requestDto.getReportIds())); } private IdentitySearchResultResponseDto searchForAssignees( final int limit, @NonNull final String terms, @NonNull final Map<String, Set<String>> definitionKeyToTenantsMap) { // this is not efficient but a compromise assuming assignee cardinality is usually within a // handleable frame // and that the effort to enrich the cache data with the definition scope is for now too complex // to be worth it final Set<String> assigneeIdsForProcess = assigneeAndCandidateGroupsReader.getAssigneeIdsForProcess(definitionKeyToTenantsMap); return userTaskIdentityService.searchAmongIdentitiesWithIds( terms, assigneeIdsForProcess, ASSIGNEE_IDENTITY_TYPE, limit); } private IdentitySearchResultResponseDto searchForCandidateGroups( final int limit, @NonNull final String terms, @NonNull final Map<String, Set<String>> definitionKeyToTenantsMap) { // this is not efficient but a compromise assuming assignee cardinality is usually within a // handleable frame // and that the effort to enrich the cache data with the definition scope is for now too complex // to be worth it final Set<String> candidateGroupIdsForProcess = assigneeAndCandidateGroupsReader.getCandidateGroupIdsForProcess(definitionKeyToTenantsMap); return userTaskIdentityService.searchAmongIdentitiesWithIds( terms, candidateGroupIdsForProcess, CANDIDATE_GROUP_IDENTITY_TYPE, limit); } private Map<String, Set<String>> retrieveAuthorizedDefinitionTenantMap( @NonNull final String userId, @NonNull final List<String> reportIds) { final List<ReportDefinitionDto> reports = reportService.getAllAuthorizedReportsForIds(userId, reportIds); // Add all single reports contained within combined reports reports.addAll( reports.stream() .filter(CombinedReportDefinitionRequestDto.class::isInstance) .map(CombinedReportDefinitionRequestDto.class::cast) .flatMap( report -> reportService .getAllAuthorizedReportsForIds(userId, report.getData().getReportIds()) .stream()) .collect(Collectors.toList())); return reports.stream() .filter(SingleProcessReportDefinitionRequestDto.class::isInstance) .map(SingleProcessReportDefinitionRequestDto.class::cast) .map(ReportDefinitionDto::getData) .map(SingleReportDataDto::getDefinitions) .flatMap(Collection::stream) .collect( toMap( ReportDataDefinitionDto::getKey, definition -> new HashSet<>(definition.getTenantIds()), (u, v) -> { u.addAll(v); return u; })); } private Map<String, Set<String>> validateAccessAndCreateDefinitionTenantMap( @NonNull final String userId, @NonNull final String definitionKey, @NonNull final List<String> tenantIds) { validateDefinitionAccess(userId, definitionKey, tenantIds); final Map<String, Set<String>> definitionKeyToTenantsMap = new HashMap<>(); definitionKeyToTenantsMap.put(definitionKey, Sets.newHashSet(tenantIds)); return definitionKeyToTenantsMap; } private void validateDefinitionAccess( final @NonNull String userId, final String processDefinitionKey, final List<String> tenantIds) { if (!definitionAuthorizationService.isAuthorizedToAccessDefinition( userId, DefinitionType.PROCESS, processDefinitionKey, tenantIds)) { throw new ForbiddenException( "Current user is not authorized to access data of the provided definition or tenants"); } } } ```
Concord Township is one of twenty-six townships in Iroquois County, Illinois, United States. As of the 2010 census, its population was 466 and it contained 238 housing units. Geography According to the 2010 census, the township has a total area of , all land. Cities, towns, villages Iroquois Cemeteries The township contains these five cemeteries: Gaffield, Liberty, Morris Chapel, Old Texas and Prairie Dell. Major highways U.S. Route 24 U.S. Route 52 Airports and landing strips Zoomer Field Demographics School districts Donovan Community Unit School District 3 Political districts Illinois' 16th congressional district State House District 105 State Senate District 53 References United States Census Bureau 2007 TIGER/Line Shapefiles United States National Atlas External links City-Data.com Illinois State Archives Townships in Iroquois County, Illinois Townships in Illinois
Spina vestibuli, or vestibular spine, is a bony structure, in anatomical terms a 'mesenchymal condensation', which extends from the mediastinum of the heart and covers the leading edge of the primary atrial septum; its origin is outside of the heart. Below the opening of the orifice of the coronary sinus they fuse to form a triangular thickening — the spina vestibuli. It is believed to play a formative role in atrial septation, which is how the common atrium of the heart divides into two during gestation. Its lack of development is thought to contribute to the morphogenesis of atrioventricular septal defect (AVSD) in Down syndrome. References External links "Development and structure of the atrial septum", at bmjjournals.com Embryology of cardiovascular system
```javascript import React from 'react'; import PropTypes from 'prop-types'; const Api = ({ className, label }) => ( <svg className={className} aria-label={label} xmlns="path_to_url" viewBox="0 0 16 16" > <path d="M15.124,12.749v-9.5A1.826,1.826,0,0,0,13.343,1.47H2.657A1.826,1.826,0,0,0,.876,3.251v9.5A1.826,1.826,0,0,0,2.657,14.53H13.343A1.826,1.826,0,0,0,15.124,12.749Zm-9.26-2.493L5.507,9.069H3.667L3.31,10.256H2.123L3.9,5.151H5.21l1.781,5.105ZM5.27,8.178c-.356-1.068-.534-1.721-.594-1.84s-.059-.3-.119-.356c-.059.3-.3,1.009-.653,2.2H5.27Zm5.936-1.425A1.534,1.534,0,0,1,10.671,8a2.21,2.21,0,0,1-1.484.415H8.713V10.2H7.644V5.21h1.6a2.145,2.145,0,0,1,1.425.415,1.378,1.378,0,0,1,.534,1.128Zm-2.434.831h.356A1.346,1.346,0,0,0,9.9,7.407a.626.626,0,0,0,.238-.594.725.725,0,0,0-.178-.534A.955.955,0,0,0,9.306,6.1H8.831V7.585h-.06Zm3.384,2.671V5.21h1.068v5.105H12.155Z" /> </svg> ); Api.propTypes = { className: PropTypes.string.isRequired, label: PropTypes.string.isRequired }; export default Api; ```
Jan van Dornicke was a South Netherlandish painter who was born in Doornik (nowadays also known as Tournai) in about 1470 and died about 1527. His first name is sometimes spelled "Janssone", and his last name is sometimes spelled "van Doornik" or "van Dornick". He was active in Antwerp from about 1509 to about 1525. His paintings are classified stylistically as Antwerp Mannerism, and he may be the same person as the Master of 1518. This Jan van Dornicke should not be confused with an eighteenth-century Dutch artist who had the same name. References Witt Library, "A checklist of painters c. 1200–1976 represented in the Witt Library, Courtauld Institute of Art, London", Mansell Information Publishing, London, 1978. External links Year of birth unknown 1527 deaths Year of death uncertain Flemish Renaissance painters Early Netherlandish painters Artists from Tournai
```asciidoc // This module is included in: // // overview/assembly-configuration-points.adoc [id="configuration-points-common_{context}"] = Common configuration Some of the configuration options common to resources are described here. xref:security-overview_{context}[Security] and xref:metrics-overview_{context}[metrics collection] might also be adopted where applicable. Bootstrap servers:: Bootstrap servers are used for host/port connection to a Kafka cluster for: + * Kafka Connect * Kafka Bridge * Kafka MirrorMaker producers and consumers CPU and memory resources:: You request CPU and memory resources for components. Limits specify the maximum resources that can be consumed by a given container. + Resource requests and limits for the Topic Operator and User Operator are set in the `Kafka` resource. Logging:: You define the logging level for the component. Logging can be defined directly (inline) or externally using a config map. Healthchecks:: Healthcheck configuration introduces _liveness_ and _readiness_ probes to know when to restart a container (liveness) and when a container can accept traffic (readiness). JVM options:: JVM options provide maximum and minimum memory allocation to optimize the performance of the component according to the platform it is running on. Pod scheduling:: Pod schedules use _affinity/anti-affinity_ rules to determine under what circumstances a pod is scheduled onto a node. [discrete] == Example YAML showing common configuration [source,yaml,subs=attributes+] ---- apiVersion: {KafkaConnectApiVersion} kind: KafkaConnect metadata: name: my-cluster spec: # ... bootstrapServers: my-cluster-kafka-bootstrap:9092 resources: requests: cpu: 12 memory: 64Gi limits: cpu: 12 memory: 64Gi logging: type: inline loggers: connect.root.logger.level: INFO readinessProbe: initialDelaySeconds: 15 timeoutSeconds: 5 livenessProbe: initialDelaySeconds: 15 timeoutSeconds: 5 jvmOptions: "-Xmx": "2g" "-Xms": "2g" template: pod: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: node-type operator: In values: - fast-network # ... ---- == Additional Volumes Strimzi supports specifying additional volumes and volume mounts in the following components: * Kafka * Kafka Connect * Kafka Bridge * Kafka MirrorMaker2 * Entity Operator * Cruise Control * Kafka Exporter * Zookeeper * User Operator * Topic Operator All additional mounted paths are located inside `/mnt` to ensure compatibility with future Kafka and Strimzi updates. Supported Volume Types * Secret * ConfigMap * EmptyDir * PersistentVolumeClaims [discrete] == Example configuration for additional volumes: [source,yaml,subs=attributes+] ---- kind: Kafka spec: kafka: # ... template: pod: volumes: - name: example-secret secret: secretName: secret-name - name: example-configmap configMap: name: config-map-name - name: temp emptyDir: {} - name: example-pvc-volume persistentVolumeClaim: claimName: myclaim kafkaContainer: volumeMounts: - name: example-secret mountPath: /mnt/secret-volume - name: example-configmap mountPath: /mnt/cm-volume - name: temp mountPath: /mnt/temp - name: example-pvc-volume mountPath: /mnt/data ---- ```
STX (a contraction of the word "sticks" but commonly called "S-T-X") is a global sports equipment manufacturer based in Baltimore, Maryland, US. It is a subsidiary of Wm. T. Burnett & Co. STX makes lacrosse equipment, field hockey equipment, and ice hockey equipment, but its main business is in manufacturing of men's and women's lacrosse sticks and protective gear, including gloves, pads, and women's eyewear. The company was founded in 1970 by Richard B.C. Tucker, Sr. as STX Inc. STX's first stick was the double wall, synthetic lacrosse head (U.S. Pat. #3,507,495), which was the first synthetic stick and the only type used to score goals in the first NCAA Men's Lacrosse Championship (1971). STX is one of the largest manufacturers of lacrosse equipment, and in Maryland, part of the $66+ million industry. Early history Richard B.J. Tucker Sr. grew up playing lacrosse in Baltimore and ultimately was an All-America member of the Johns Hopkins varsity men’s lacrosse team. Upon graduating from Hopkins in 1951, Tucker joined the family business, Wm. T Burnett & Co., which would prove to be one of the most significant occurrences in the history of the modern lacrosse era. At Burnett, Tucker, and his fellow lacrosse playing colleagues began to play with the notion of a synthetic lacrosse head that would make the game they were all so passionate about more accessible to the masses. Up until and through the 1960s, all lacrosse sticks were laboriously crafted and strung by hand on the Native American reservations where the game had been played for centuries. The very limited supply and relatively high level of inconsistency in the final product made for a relatively exclusive distribution network. In the case of Mr. Tucker, the situation was compounded by the fact that the vast majority of sticks were built and strung in such a manner that they were truly most conducive for right handed players. Being left handed, Tucker grew frustrated that if he broke a stick, finding a quality replacement was exponentially more difficult for him than it was for others. With a desire to improve and grow the game they cherished, and access to the latest in raw material technology, Tucker and his partners began experimenting with various fabrications for a synthetic lacrosse head. By 1966, Joseph Sollers Jr. (President of Burnett and former Hopkins Lacrosse All-American), Bill Crawford (former University of Virginia goaltender), and Roland Fracalossi (industry leading chemist at Burnett) had, along with Tucker, produced the first synthetic lacrosse head. A patent application was filed in 1967, while a refined prototype was developed over the next year. In 1968, during a game between the US Naval Academy and West Point, a synthetic lacrosse head was put into play for the first time. In 1970, US Patent #3,507,495 was received by STX, LLC. One year later, in the first NCAA Lacrosse National championship, Cornell outscored Maryland 12-6 for the win. Every single goal scored during the match was done so with an STX lacrosse head, a dramatic shift from just 12 months prior when wooden sticks were the standard. The new, synthetic type of stick has become the most common in the sport. Golf In the mid-1970s, STX began branching out from lacrosse equipment with the development of golf putters, aided by ties with the chemical company DuPont. In 2006, a survey conducted by the Darrell Survey Company on the PGA Tour determined that STX putters were considered among the top five. As of 2021, STX no longer sells golf clubs. Ice hockey STX produces ice hockey equipment, including shoulder pads, elbow pads, gloves, shin guards, and sticks. They have three lines of equipment: Stallion, Surgeon, and Halo. There are several NHL players who use STX gear, including Jiří Hudler, Matt Moulson, Vincent Trocheck, Ivan Barbashev, and Brandon Pirri. References External links Wm. T. Burnett & Co. Official Website - Parent company STX Official Website Manufacturing companies established in 1970 sportswear brands Sporting goods brands Manufacturing companies based in Baltimore Manufacturer Sporting goods manufacturers of the United States Ice hockey brands Golf equipment manufacturers 1970 establishments in Maryland Premier Lacrosse League partnerships
The Char Dham Railway, the Indian Railways's under construction twin railway lines under Char Dham Pariyojana project by connecting the holiest places of Hinduism called Chota Char Dham, from the existing Doiwala railway station near Dehradun to Gangotri and Yamunotri via a fork at Uttarkashi and another set of twin rail links from the upcoming railway station at Karnaprayag to Kedarnath and Badrinath via a fork at Saikot. The line is also of strategic military importance and has been designated a national project. Railway routes Existing railheads At present, the relevant railway lines are as follows: From the Raiwala Junction railway station, one line goes in the north-west direction via Doiwala Railway Station and terminates in Dehradun; another line goes in the north-east direction to terminate in Rishikesh (at the new Yog Nagari Rishikesh railway station, the old Rishikesh railway station being almost defunct). The Rishikesh–Karnaprayag line is already under construction, to extend the railway network beyond Yog Nagari Rishikesh railway station, and upon completion, Karnaprayag will become the terminal point The Char Dham Railway will consist of two different railway lines: one taking off from the existing railhead at Doiwala and going towards Gangotri, with a fork towards Yamunotri the other taking off from the forthcoming railhead at Karnaprayag and going towards Kedarnath, with a fork towards Badrinath Proposed new lines The Char Dham Railway has two different Y-shaped railways, with total of the following four individual rail lines: A. Gangotri–Yamunotri spurs: Main spur will go to Gangotri which will also Y–fork for another spur to Yamunotri. A1. Doiwala–Dehradun–Uttarkashi–Maneri Gangotri Railway 131 km long route will have the following 11 stations: Doiwala, Sangatiyawala Khurd, Sarangdharwala, Ampata, Maror, Kandisaur, Chinyalisaur, Dunda, Athali Junction, Ladari and Maneri. Pilgrims will road transport from Maneri to Harsil-Gangotri via NH-34. This will take the railway and Char Dham road highway at Gangotri closer to the large disputed India-China border area of Nelang Valley which is currently in India's operational control. Maneri to Gangotri is a further 84 km. A2. Uttarkashi–Palar Yamunotri Railway, 22 km long route will make a "Y" fork connection at Athali Junction from the Gangotri railway above to reach Palar railway station, from where pilgrims will take road and track to Yamunotri. Palar to Yamunotri is a further 42 km. B. Kedarnath–Badrinath spurs: Main spur will go to Kedarnath which will also Y–fork for another spur to Badrinath. B1. Karnaprayag–Saikot–Sonprayag Kedarnath Railway 99 km long route will have the following 7 stations: Karnaprayag, Siwai, Saikot Junction, Bairath, Chopta, Makkumath and Sonprayag near Gaurikund. The distance from Sonprayag to Kedarnath is 19 km. The 6 km stretch from Sonprayag to Gaurikund is paved and motorable, whereas the remaining 13-14 km is a mountainous track, which must be done either on foot, or by palanquin, or on pony-back. B2. Saikot–Joshimath Badrinath Railway, 75 km long route will make a "Y" fork connection at Saikot from the Kedarnath railway above to Joshimath. It will have the following 4 stations: Saikot Junction, Tripak, Tartoli and Joshimath. Pilgrims will travel the 37 km from Joshimath to Badrinath by the existing all-weather road. This will take the railway network closer to the disputed India-China border area of Bara Hoti valley, which is currently in India's operational control, and make it easier to supply equipment and troops to that border post. Note: Rishikesh–Karnaprayag Railway is also an under construction new railway link extension from the exiting Rishikesh railway station to Karnaprayag. It will have the following 11 stations: Rishikesh, Shivpuri, Byasi, Devprayag, Maletha, Srinagar, Dhari, Rudraprayag, Gholtir, Gauchar, Karnaprayag. Strategic importance Once this railway line is completed, India-China border will be closer to the rest of India by railways. The time taken to reach the strategic border military stations from Delhi will be reduced by providing safe and quick mode of public transport for personnel and equipment. Challenges After the Konkan Railway, Hassan–Mangalore line and Jammu–Baramulla line, this line will be the most challenging railway project in Indian Railways due to mountainous terrain, a large number of tunnels and high bridges and severe cold weather in flood, landslide and earthquake prone high altitude mountainous area. Current status Char Dham Railway project's 327 km long construction, costing ₹43,292 crore (USD $6.6 billion), began with the foundation stone laying and commencement of ₹120 crore Final Location Survey (FSL) in May 2017 by the Union Minister of Railways Suresh Prabhu. In January 2018, reconnaissance survey was complete, and final survey using airborne electromagnetic technique was underway by Turkish-Ukrainian company, which will be completed in 2 years, after which track laying would begin in December 2019. As of July, 2020 New Rishikesh railway station is ready and operational. Bridge over Chandrabhaga river is being laid. Also a bridge over Alaknanda river in Tehri is under construction. Both these bridges will be ready by 2021 as per plan. Land for all railway stations is acquired and work is going on in small phases over the entire route. See also Char Dham Highway Diamond Quadrilateral railway project Golden Quadrilateral road project Setu Bharatam railway crossing-free flyover and underpass project New geostrategic rail lines of India under construction References Rail transport in Uttarakhand Proposed railway lines in India Proposed infrastructure in Uttarakhand Modi administration initiatives
The Amherst Ballet Theatre Company is a dance school located at 29 Strong Street in Amherst, Massachusetts. It is a non-profit (501(c)3) organization overseen by a volunteer board of directors and administered by an executive director. Though it has a few classes in Contemporary and Jazz dance, the preponderance of its classes teach the Vaganova syllabus of ballet. History Amherst Ballet School was founded in 1971, by Therese Brady Donohue, as a private, for-profit business. Classes were based on the syllabus of London's Royal Academy of Dancing. In 1976 Donohue founded the non-profit Amherst Ballet Theatre Company to provide for a greater range of performance opportunities for the students and the community. The for-profit Amherst Ballet School and the non-profit Amherst Ballet Theater Company existed as separate entities until 2000 when they were merged into a single non-profit organization. Between 2003 and 2011 the executive director was Catherine Fair. In 2012, Sueann Townsend was hired as executive director. Artistic collaboration Amherst Ballet works to engage with the artistic community. It collaborated with local artists—the Arabic musical ensemble, Layali; the Pioneer Valley Symphony, conducted by Paul Phillips; Rebecca Guay and Jane Yolen to produce a ballet based on their book The Barefoot Book of Ballet Stories; and Jane Wald, director of the Emily Dickinson Museum to produce a ballet based on the life of Emily Dickinson, called Emily of Amherst Community outreach Amherst Ballet works engage with the community at large. It believes that ballet is not just for those who might make it a profession. Amherst Ballet believes that ballet is for everybody, regardless of age, body type, or ability. It has developed classes for adults, whether absolute beginners, or people who gave up dance long ago and wished they hadn't. Amherst Ballet also brings in internationally regarded master teachers to work with all students, regardless of a student's expertise. It brought Ilya Kuznetsov, master teacher of Moscow's Bolshoi Ballet Academy, to work with students from the cities of Springfield, Holyoke, and Greenfield—students who might not otherwise get the opportunity to study with such masters. Amherst Ballet believes that ballet education is not just for those who might excel at ballet in the future; ballet education is for anybody who wants to enjoy the beauty of dance. As the artistic director of Amherst Ballet, Sueann Townsend, said, "Everybody deserves to have a participatory aesthetic in their life." Notable graduates Paige Turco - actress in Teenage Mutant Ninja Turtles II, The Guiding Light, American Gothic, NYPD Blue, and NCIS. References Charities based in Massachusetts Ballet companies in the United States Ballet schools in the United States
Karlheinz Hackl (16 May 1949 – 1 June 2014) was an Austrian actor and theater director whose varied career included theater, television, film and cabaret performances as well as musical performances (singing). Biography Hackl was born and was raised in Vienna's fifth district. As an only child, he grew up in stable modest circumstances in Theodor-Körner-Hof, a social housing complex. After his Matura, he went on to study Business economics at the Vienna University of Economics and Business, but began acting at the private Viennese drama school Krauss. He began his career in 1972 at the Theater der Courage in Vienna. Between 1974 and 1976, he performed at the Viennese Volkstheater, then went on to the Thalia-Theater in Hamburg before returning to Austria in 1978 and joining the Viennese Burgtheater's ensemble, where he soon became a crowd favourite. In 1988, Hackl debuted as theater director at the Volkstheater. He frequently appeared in movies and television series and worked with the likes of Axel Corti and Alan J. Pakula (Sophie's Choice). He is well known for his chilling role in that film as the SS physician forcing Sophie to choose which one of her two children would be gassed and which would proceed to the labor camp. He made a name of himself as playing females, as in La Cage aux Folles at Volkstheater, one of his signature roles. From 1996 onward, Hackl taught at the Max Reinhardt Seminar school of drama in Vienna. In 1997 he married a second time, to Austrian actress Maria Köstlinger. In 2009, he published an autobiography. Illness/last years In 2003, Hackl was diagnosed with a malignant brain tumor, but recovered and returned to the stage in 2005, also appearing in different films and series. In 2009 he published a book about his cancer and the long process of recovery and also recorded a CD with cover versions of songs from Austrian singer Georg Danzer. In 2012, he was the recipient of the Nestroy award, an Austrian award which honors theater professionals. In mid-2013, during a performance of Danzer's songs, he collapsed and was again diagnosed with cancer. On 1 June 2014, Hackl died, after a second diagnosis of cancer in 2013, in Vienna at the age of 65. Filmography References External links Rehling Agency Berlin Austrian male television actors Austrian male film actors Male actors from Vienna Deaths from brain cancer in Austria 1949 births 2014 deaths
Call of Cthulhu: The Wasted Land is a Lovecraftian horror tactical role-playing game developed by British studio Red Wasp Design in conjunction with Chaosium. The game was released in 2012, for iOS in January, for PC in May, and for Android in June. The Wasted Land is based on the works of H. P. Lovecraft, author of The Call of Cthulhu and progenitor of the Cthulhu Mythos. It bases some of its narrative on Lovecraft's novella Herbert West–Reanimator, and also contains elements from the Call of Cthulhu role-playing game. The game is set during World War I and pits a group of soldiers and investigators against a conspiracy within the German army to build an army of re-animated corpses from the dead of the conflict. Gameplay The game is a mixture of a turn-based strategy and a role-playing game. The developer explained the mix of gameplay, and the development process, as follows: "When we started out, we were aiming for something in the style of Fire Emblem or Advance Wars, but it's evolved into something more like X-Com as we've gone on. The closest parallel is probably with an old PC game called Incubation, which was more storyline-based than X-Com." In keeping with its influences, the game uses an action point system combined with aspects of the stats system from the paper version of Call of Cthulhu. Plot In 1915, Professor Brightmeer is called by a shady part of Britain's secret service MI-47, to go to France then in the midst of the Great War; he joins a British Army officer, Captain Hill in tracking down a secret cult while the war rages about them. The cult, headed by a mysterious figure called Docktor Kaul is using the stolen technology of Herbert West (the re-animator) combined with arcane mythos magic to build an undead army from the victims of the war. The Captain and the Professor track Kaul across the trench lines, fighting German soldiers, the undead, and the Cthulhu Mythos monsters, including the Dark Young and hybrid Star Spawn of Cthulhu. They eventually track Kaul to his underground lab where he has built a machine to generate monsters for Germany, also to power a ritual to summon a full Star Spawn. A larger plot is revealed as the cult seeks to eliminate humanity from Earth to clear it for a new hybrid species of part human, part Star Spawn. The ritual goes forward, and the Star Spawn appears. The player is victorious if the Star Spawn is defeated. Development The development of the game was influenced heavily by both Lovecraft's original writings and the Call of Cthulhu RPG. The game's designer, Tomas Rawlings, commented in an interview: "What lifted Lovecraft's work above much of that written by his contemporaries was that he managed to tap into the very human desire we have to explore our own mortality. [...] I had talked to Chaosium about doing something in video games on a number of occasions but it never seemed to happen for one reason or another. Then, the stars aligned last year, and I found myself in a position to do a mobile adaptation of Call of Cthulhu." The game took around a year to develop, though it was initially announced on 10 May 2011, with SD screenshots then HD screenshots later released. Reception The game has been generally well received. For example, The Guardian recommended it as a download and T3 Magazine called it "stunningly complex turn-by-turn strategy-based SIM redefines expectations for the iPad as games platform." However, some reviews expressed concern at the control sensitivity, a point the developers claim they addressed in an update. The ongoing cultural influence of H.P.Lovecraft as embodied in this game (and others) was underscored by Wired's GeekDad decision to release the review to coincide with the 75th anniversary of his death; "And I cannot think of a better way to celebrate his death — it is Lovecraft after all — than losing your mind playing Call of Cthulhu: The Wasted Land." ComboCaster gave the game 6.8 out of 10, praising the setting and Lovecraft inspiration References External links 2012 video games Android (operating system) games Call of Cthulhu (role-playing game) Cthulhu Mythos video games IOS games Single-player video games Tactical role-playing video games Video games about cults Video games based on tabletop role-playing games Video games developed in the United Kingdom Windows games World War I video games
```go // Package agh contains common entities and interfaces of AdGuard Home. package agh import "context" // Service is the interface for API servers. // // TODO(a.garipov): Consider adding a context to Start. // // TODO(a.garipov): Consider adding a Wait method or making an extension // interface for that. type Service interface { // Start starts the service. It does not block. Start() (err error) // Shutdown gracefully stops the service. ctx is used to determine // a timeout before trying to stop the service less gracefully. Shutdown(ctx context.Context) (err error) } // type check var _ Service = EmptyService{} // EmptyService is a [Service] that does nothing. // // TODO(a.garipov): Remove if unnecessary. type EmptyService struct{} // Start implements the [Service] interface for EmptyService. func (EmptyService) Start() (err error) { return nil } // Shutdown implements the [Service] interface for EmptyService. func (EmptyService) Shutdown(_ context.Context) (err error) { return nil } // ServiceWithConfig is an extension of the [Service] interface for services // that can return their configuration. // // TODO(a.garipov): Consider removing this generic interface if we figure out // how to make it testable in a better way. type ServiceWithConfig[ConfigType any] interface { Service Config() (c ConfigType) } // type check var _ ServiceWithConfig[struct{}] = (*EmptyServiceWithConfig[struct{}])(nil) // EmptyServiceWithConfig is a ServiceWithConfig that does nothing. Its Config // method returns Conf. // // TODO(a.garipov): Remove if unnecessary. type EmptyServiceWithConfig[ConfigType any] struct { EmptyService Conf ConfigType } // Config implements the [ServiceWithConfig] interface for // *EmptyServiceWithConfig. func (s *EmptyServiceWithConfig[ConfigType]) Config() (conf ConfigType) { return s.Conf } ```
```python #!/usr/bin/python3 import sys if __name__ == "__main__": for line in sys.stdin: if line == "\\N\n": print("Key Nullable", end="\n") else: print("Key " + line, end="") sys.stdout.flush() ```
"I Got Rhythm" is a piece composed by George Gershwin with lyrics by Ira Gershwin and published in 1930, which became a jazz standard. Its chord progression, known as the "rhythm changes", is the foundation for many other popular jazz tunes such as Charlie Parker's and Dizzy Gillespie's bebop standard "Anthropology (Thrivin' on a Riff)". Composition The song came from the musical Girl Crazy, which also includes two other hit songs, "Embraceable You" and "But Not for Me", and has been sung by many jazz singers since. It was originally written as a slow song for Treasure Girl (1928) and found another, faster setting in Girl Crazy. Ethel Merman sang the song in the original Broadway production and Broadway lore holds that George Gershwin, after seeing her opening reviews, warned her never to take a singing lesson. The four-note opening riff bears a striking resemblance to the opening melody of the third movement of William Grant Still's Symphony No. 1, "Afro-American." In the 1920s, Still played in the pit orchestra for Shuffle Along, and speculated that Gershwin may have borrowed the melody from his improvisations in the pit, which were later used in his own symphony. The piece was originally penned in the key of D major. The song melody uses four notes of the five-note pentatonic scale, first rising, then falling. A rhythmic interest in the song is that the tune keeps behind the main pulse, with the three "I got..." phrases syncopated, appearing one beat behind in the first bar, while the fourth phase "Who could..." rushes in to the song. The song's chorus is in a 34-bar AABA form. Its chord progression (although often reduced to a standard 32-bar structure for the sake of improvised solos) is known as the "rhythm changes" and is the foundation for many other popular jazz tunes. The song was used as the theme in Gershwin's last concert piece for piano and orchestra, Variations on "I Got Rhythm", written in 1934. The song has become symbolic of the Gershwins, of swing and of the 1920s. As usual, George Gershwin wrote the melody first and gave it to Ira to set, but Ira found it an unusually hard melody for which to compose lyrics. He experimented for two weeks with the rhyme scheme he felt the music called for — sets of triple rhymes — but found that the heavy rhyming "seemed at best to give a pleasant and jingly Mother Goose quality to a tune which should throw its weight around more". Finally, he began to experiment with leaving most of the lines unrhymed. "This approach felt stronger," he wrote, "and I finally arrived at the present refrain, with only 'more-door' and 'mind him-find him' the rhymes." He added that this approach "was a bit daring for me who usually depended on rhyme insurance". Ira also wrote that, although the phrase "Who could ask for anything more?" is repeated four times in the song, he decided not to make it the title because "somehow the first line of the refrain sounded more arresting and provocative". Disputed authorship In 1987 Judith Anne Still, the daughter of William Grant Still, wrote in a letter that Gershwin stole the song from her father. ... my father said that Gershwin came to the Negro shows in Harlem to get his inspiration, stealing melodies wholesale from starving minority composers and then passing them off as his own. "I Got Rhythm" was my father's creation, according to Eubie Blake. History The song was included in the Gershwin brothers' 1931 Broadway musical Of Thee I Sing.The meaning of this song is how she was perfectly fine with her life and loved how it was going no matter what. An instrumental arrangement for piano and orchestra appears in the 1945 Hollywood Victory Caravan. The song is featured in the 1951 musical film An American in Paris. Gene Kelly sang the song and tap-danced, while French-speaking children whom he had just taught a few words of English shouted the words "I got" each time they appeared in the lyrics. This version finished at #32 in AFI's 100 Years...100 Songs survey of top tunes in American cinema. The song appears in the fifth episode of the third season of Amazon Prime’s streaming series The Boys. While watching the 1943 version of Girl Crazy, The Female (Karen Fukuhara) daydreams about performing “I Got Rhythm” as a Broadway-style song-and-dance number with Frenchie (Tomer Capone). Fukuhara performed her own vocals for the scene. It is also featured in the film Mr. Holland's Opus, during a scene in which students are trying out for a Gershwin revue, and in the movie My Girl, during a dinner scene in which the grandmother sings it, oblivious of the other characters. An extensive list of notable singers have recorded this song. The most popular versions are those of The Happenings (#3 on the US charts in 1967), Judy Garland, Ethel Merman, Ella Fitzgerald and, more recently, Jodi Benson. The song immediately became a jazz standard with recordings occurring already the year of publication. One of the first in jazz style (or maybe the very first one) is by Loring “Red” Nichols and his Orchestra on Brunswick (4957) recorded 23 October 1930.It is a very popular jazz standard. Many songs use its chord progression, such as Duke Ellington's "Cotton Tail". Charlie Parker alone based many songs on its chord progression, such as "Moose the Mooche". Gary Larson referenced the song in the Far Side. In 1939, I Got Rhythm was arranged and orchestrated by Bruce Chase for a premiere performance by the Kansas Philharmonic, now the Kansas City Symphony. A version of the song set to a disco beat was recorded by Ethel Merman for her Ethel Merman Disco Album in 1979. In 1992, the show Crazy for You featured the song sung by Jodi Benson. Another version of the song was arranged for solo guitar by Ton Van Bergeyk. It appears on the album Black and Tan Fantasy. Mike Oldfield and Wendy Roberts performed a version on Oldfield's Platinum album. The song was satirized in an episode of The Muppet Show where Rowlf and Fozzie attempt to perform it but Fozzie is unable to keep in tempo. To compensate, Rowlf has him change the lyrics to "I don't got rhythm". The song has appeared in several film versions of Girl Crazy: Girl Crazy (1932), performed by Kitty Kelly Girl Crazy (1943), performed by Judy Garland and Mickey Rooney with Six Hits and a Miss, The Music Maids and Tommy Dorsey with his OrchestraWhen the Boys Meet the Girls (1965), performed by Harve Presnell and Connie Francis Other recordings George Gershwin – 1931 Louis Armstrong – 1931 Casa Loma Orchestra – 1933 Duke Ellington Jimmy Dorsey and his Orchestra – 1937 Benny Goodman – 1938 Metronome All Stars (Count Basie, Benny Carter, Benny Goodman) – 1942 Esquire All Stars (Louis Armstrong, Roy Eldridge, Art Tatum) – 1944 Jazz at the Philharmonic (Coleman Hawkins, Charlie Parker, Lester Young) – 1946 Willie "The Lion" Smith – 1949 The Happenings – Psycle (1967) Bing Crosby included the song in his 1976 album At My Time of Life. Ethel Merman – including a disco version for The Ethel Merman Disco Album (1979) Mike Oldfield (with Wendy Roberts) arranged the song as a ballad - Platinum (1979) Stephane Grappelli and McCoy Tyner – One on One (1990) Thelonious Monk Red Nichols Charlie Parker Hiromi's Sonicbloom – Beyond Standard (2008) The Puppini Sisters – Hollywood (2011) Ethel Waters Tony Glausi - My Favorite Tunes (2020) See also List of 1930s jazz standards Thirty-two-bar form References Sources Greenberg, Rodney (1998). George Gershwin. Phaidon Press. . Gershwin, George (1996). The Complete Gershwin Keyboard Works''. Warner Brothers Publications. . 1930 songs 1930s jazz standards 1967 singles Songs with music by George Gershwin Songs with lyrics by Ira Gershwin Songs from Girl Crazy Ella Fitzgerald songs Barbra Streisand songs Jazz compositions in B-flat major Cashbox number-one singles
Dragon: The Bruce Lee Story is a fighting video game developed and originally published by Virgin Interactive Entertainment in Europe for the Sega Genesis in June 1994. It is based on the 1993 film of the same name, which is a semi-fictionalized account of the life of Hong Kong-American actor and martial artist Bruce Lee. Following the events of the movie, players take control of Bruce Lee across several stages that takes places in different time periods of his life and fight against some of his adversaries. Initially released for Sega platforms, Dragon: The Bruce Lee Story was later ported to the Atari Jaguar and Super Nintendo Entertainment System, each one featuring several changes and additions compared with the original version while both the Game Gear and Master System versions, which were also released in 1994, feature an entirely different gameplay format. Since its release, Dragon: The Bruce Lee Story garnered mostly negative reviews, with criticism directed at the slow-paced and shallow gameplay. Gameplay Dragon: The Bruce Lee Story is a fighting game where players assume control of the titular "Dragon" and must defeat the sailor from the dance in Hong Kong, the chefs from the Chinese Restaurant in San Francisco, the martial arts master who challenges Lee, amongst others adversaries through his life to progress further in the title, recalling major action scenes from the film. However, the video game adaptation leaves out valuable plot information from the film and most of the romantic content between Bruce and his future wife Linda. Players can use a variety of martial arts moves to defeat their enemies and build up a chi meter, which can help unleash special moves on their opponents. The players have three continues, and if lost, they must fight The Phantom (the personification of Bruce's fear who takes the form of an armored Japanese Samurai) to continue, though he is near invincible. They face The Phantom Samurai again at the end as a final boss. The game features supports for up to three players simultaneously, playing through the game co-operatively, or against each other in a battle mode. The CPU-controlled enemy characters are non-playable, and so the additional players only control clones of the same different colored such as: Bruce Lee Wearing blue trousers (black in the SNES port). Bruce Li Wearing green trousers (blue in the SNES port). Bruce Le Wearing red trousers (in any port). Development and release The producer for the video game adaptation of Dragon: The Bruce Lee Story, Daniel Marchant, stated in a 1993 interview with Mean Machines Sega that the team was against the idea of creating a beat 'em up project similar to Sega's Streets of Rage 2 (1992) and they instead opted in developing an arcade-style fighting title that was more in the lines of the Street Fighter II series which is also the arcade blockbuster that the developers of Streets of Rage 2 had also used as their inspiration, Dragon: The Bruce Lee Story on the other hand has beat 'em up mechanics that are rather similar to the Japanese version of Double Dragon 3: The Rosetta Stone (1990), because of the cooperative modes up to three players who fight as re-skinned clones of the same character, the abilitily for characters to wield and attack with nunchucks, and both games having the "Dragon Stomp" move when the opponent is on the ground. The sprite work for each characters consists of 100 frames of animation and the music was done by composer Allister Brimble. Dragon: The Bruce Lee Story was first released for Sega platforms in 1994 on Europe including the Genesis, Game Gear and Master System, while each version of the game were developed internally at Virgin Interactive Entertainment. The Genesis version was also released on Australia during the same year, then in North America the next year where both it and the Game Gear version were published by Acclaim Entertainment instead, and later in Brazil as well by Tectoy. The first console port to be released outside of Europe was the Atari Jaguar conversion on 28 November 1994, which was published by Atari Corporation instead of Virgin and/or Acclaim, and this version was also released in Japan by Messe Sansao in July 1995. The second console port to be released was for the Super Nintendo Entertainment System on 23 February 1995 in Europe and later in North America on July of the same year, becoming both the last version of the game to be officially released and the final version developed by the original team. A version for the 3DO Interactive Multiplayer was planned but never released. Both the Sega Genesis and the later Super Nintendo port are similar but have a number of key differences between each other besides visuals and audio such as the latter having a new introductory sequence upon starting the game, a missing intermission sequence before a bonus stage after completing two levels, among other changes. The Atari Jaguar version plays like the previous 16-bit version and contains the same game modes but has considerably more frames of animation than the Super NES and Genesis versions without running any slower that results in smoother animation, redrawn visuals, higher color palette for both stages and sprites, as well as a higher quality soundtrack. However, the Jaguar version lacks the introduction and intermission cutscenes between stages and since its release predates the launch of the Team Tap adapter, it only supports up to two players. Although the Genesis, Jaguar and SNES versions are a one-on-one fighting title, both 8-bit versions are a hybrid beat 'em up/platform game instead and the only difference between the Game Gear and Master System versions is mainly screen resolution. Reception Dragon: The Bruce Lee Story received mostly negative reviews. Reviewing the Jaguar version, Electronic Gaming Monthly called it "more or less your run-of-the-mill action fighter game". They commented that the game was released too long after the movie (which came out well over a year before) to benefit from the license. GamePro similarly commented that the game "lacks fire", elaborating that the graphics are moderately impressive, but the gameplay is crude and requires little skill due to the limited set of moves. French magazine Joypad regarded the controls better than those of the 16-bit versions. Next Generation called it "nothing truly amazing, but still good fun". Reviewing the later Genesis port, GamePro criticized the unimaginative graphics and weak music, and summarized that "there's nothing special about this fighter". Next Generation reviewed the Genesis version of the game, writing that "Virgin was right on the money when it decided not to release Dragon. If only Acclaim had a conscience then we wouldn't have had to waste our time reviewing this retread of a game." Entertainment Weekly wrote that the characters are very stiff, and more resemble Rock'Em Sock'Em Robots than graceful martial artists. GamePro was no more pleased with the Super NES version, saying that the game has weak graphics and sound effects, and is so simplistic that it is more of a beat 'em up than a true fighting game. A critic for Next Generation said the Super NES version plays much better than the Jaguar version, but that the game is still poor. He elaborated that "this is the only fighting game we've ever come across that not only has no special moves to speak of, but also enables you play as only one (count it, one) character, namely Bruce Lee, even in VS mode." He also criticized the fighting system. The Jaguar version has sold nearly 20,000 copies since its release as of 1 April 1995, though it is unknown how many were sold in total during its lifetime. In 2018, Complex ranked the game 94th on their "The Best Super Nintendo Games of All Time". References External links Dragon: The Bruce Lee Story at AtariAge Dragon: The Bruce Lee Story at GameFAQs Dragon: The Bruce Lee Story at Giant Bomb Dragon: The Bruce Lee Story at MobyGames Dragon: The Bruce Lee Story (8-bit) at MobyGames Dragon: The Bruce Lee Story (Game Gear) can be played for free in the browser on the Internet Archive 1994 video games Acclaim Entertainment games Atari games Atari Jaguar games Bruce Lee video games Cancelled 3DO Interactive Multiplayer games Cooperative video games Fighting games Master System games Multiplayer and single-player video games Game Gear games Super Nintendo Entertainment System games Video games based on films Video games set in Hong Kong Video games set in San Francisco Video games scored by Allister Brimble Virgin Interactive games Video games developed in the United Kingdom
Tikrit East Air Base is a former Iraqi Air Force base in the Saladin Governorate of Iraq. It was captured by Coalition forces during Operation Iraqi Freedom in 2003. Overview Tikrit East Air Base was an auxiliary air base for the Iraqi Air Force. It had a 9,700 foot runway, a parking ramp and a few support structures. It attacked by Coalition air forces during Operation Iraqi Freedom with numerous bomb craters visible in the main runway. It was abandoned by the Iraqi Air Force after March 2003. Current aerial imagery shows that the operational structures around the airfield appear to have been demolished and removed. Today the concrete runway and series of taxiways remain exposed and deteriorating to the elements, being reclaimed by the desert. See also Tikrit East Airport References Iraqi Air Force bases
Call of the Wild is the fifth studio album by The Amboy Dukes, credited as "Ted Nugent & The Amboy Dukes", released in 1973. Composition AllMusic says that the composition of the Call of the Wild album was influenced by AM and FM radio hits of the period in which the album was recorded. The publication says that the album's title track, which opens the album, is "not as blistering as ["Cat Scratch Fever"], but more metallic than the psychedelia/blues of the original Amboy Dukes", calling the song "more Jeff Beck gone rock than the quasi-Ozzie persona Nugent gleefully would embrace" in his subsequent albums under his own name, comparing the composition to the music of Spirit and Jo Jo Gunne. AllMusic also said that "Sweet Revenge" lifted it's melody from the Grass Roots' song "Things I Should Have Said". The website called the song "Pony Express" "a strange amalgam of '60s out-of-the-garage/heading-toward-stadiums riff rock", saying that it borrowed it's melody from Deep Purple's "Highway Star", and said that "Ain't It the Truth" was a piano boogie, comparing it to "Jumpin' Jack Flash". The album's second side is sequenced to sound like a single continuous jam session. AllMusic says that "Rot Gut" sounds like "Joe Perry emulating Jeff Beck". "Below the Belt" contains keyboard and flute instrumentation played by Gabe Magno; AllMusic compared the song to the Rolling Stones' "2000 Light Years from Home", and called "Cannon Balls" a "heavy vocal progressive rocker". Reception AllMusic described the Call of the Wild album as "Ted Nugent going through another mutation, but shows him as more diverse and adventurous than he sometimes gets credit for". Track listing Personnel Andy Jezowski - vocals Ted Nugent - guitars, vocals, percussion Gabriel Magno - keyboards, flute Rob Grange - bass, vocals Vic Mastrianni - drums, vocals John Childs, engineer Lew Futterman, producer References 1973 albums The Amboy Dukes albums DiscReet Records albums Ted Nugent albums
```java /* * * * * * * * path_to_url * * * * Unless required by applicable law or agreed to in writing, software * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * */ package com.sample; import android.annotation.SuppressLint; import android.content.Context; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.view.View; import androidx.appcompat.app.AppCompatActivity; import com.sample.database.CarDBHelper; import com.sample.database.ContactDBHelper; import com.sample.database.ExtTestDBHelper; import com.sample.database.room.User; import com.sample.database.room.UserDBHelper; import com.sample.utils.Utils; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; public class MainActivity extends AppCompatActivity { @SuppressLint("CommitPrefEdits") @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Set<String> stringSet = new HashSet<>(); stringSet.add("SetOne"); stringSet.add("SetTwo"); stringSet.add("SetThree"); SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()); SharedPreferences prefsOne = getSharedPreferences("countPrefOne", Context.MODE_PRIVATE); SharedPreferences prefsTwo = getSharedPreferences("countPrefTwo", Context.MODE_PRIVATE); sharedPreferences.edit().putString("testOne", "one").commit(); sharedPreferences.edit().putInt("testTwo", 2).commit(); sharedPreferences.edit().putLong("testThree", 100000L).commit(); sharedPreferences.edit().putFloat("testFour", 3.01F).commit(); sharedPreferences.edit().putBoolean("testFive", true).commit(); sharedPreferences.edit().putStringSet("testSix", stringSet).commit(); prefsOne.edit().putString("testOneNew", "one").commit(); prefsTwo.edit().putString("testTwoNew", "two").commit(); ContactDBHelper contactDBHelper = new ContactDBHelper(getApplicationContext()); if (contactDBHelper.count() == 0) { for (int i = 0; i < 100; i++) { String name = "name_" + i; String phone = "phone_" + i; String email = "email_" + i; String street = "street_" + i; String place = "place_" + i; contactDBHelper.insertContact(name, phone, email, street, place); } } CarDBHelper carDBHelper = new CarDBHelper(getApplicationContext()); if (carDBHelper.count() == 0) { for (int i = 0; i < 50; i++) { String name = "name_" + i; String color = "RED"; float mileage = i + 10.45f; carDBHelper.insertCar(name, color, mileage); } } ExtTestDBHelper extTestDBHelper = new ExtTestDBHelper(getApplicationContext()); if (extTestDBHelper.count() == 0) { for (int i = 0; i < 20; i++) { String value = "value_" + i; extTestDBHelper.insertTest(value); } } // Room database UserDBHelper userDBHelper = new UserDBHelper(getApplicationContext()); if (userDBHelper.count() == 0) { List<User> userList = new ArrayList<>(); for (int i = 0; i < 20; i++) { User user = new User(); user.id = (long) (i + 1); user.name = "user_" + i; userList.add(user); } userDBHelper.insertUser(userList); } // Room inMemory database if (userDBHelper.countInMemory() == 0) { List<User> userList = new ArrayList<>(); for (int i = 0; i < 20; i++) { User user = new User(); user.id = (long) (i + 1); user.name = "in_memory_user_" + i; userList.add(user); } userDBHelper.insertUserInMemory(userList); } Utils.setCustomDatabaseFiles(getApplicationContext()); Utils.setInMemoryRoomDatabases(userDBHelper.getInMemoryDatabase()); } public void showDebugDbAddress(View view) { Utils.showDebugDBAddressLogToast(getApplicationContext()); } } ```
```objective-c // // // path_to_url // // Unless required by applicable law or agreed to in writing, software // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #pragma once #include <ostream> #include <string> #include <unordered_map> #include "paddle/pir/include/core/attribute.h" #include "paddle/pir/include/core/block.h" #include "paddle/pir/include/core/operation.h" #include "paddle/pir/include/core/program.h" #include "paddle/pir/include/core/region.h" #include "paddle/pir/include/core/type.h" #include "paddle/pir/include/core/value.h" namespace pir { class BasicIrPrinter { public: explicit BasicIrPrinter(std::ostream& os) : os(os) {} virtual void PrintType(Type type); virtual void PrintAttribute(Attribute attr); public: std::ostream& os; }; class IR_API IrPrinter : public BasicIrPrinter { public: explicit IrPrinter(std::ostream& os) : BasicIrPrinter(os) {} /// @brief print program /// @param program void PrintProgram(const Program* program); /// @brief dispatch to custom printer function or PrintGeneralOperation virtual void PrintOperation(Operation* op); /// @brief print operation itself without its regions void PrintOperationWithNoRegion(Operation* op); /// @brief print operation and its regions void PrintGeneralOperation(Operation* op); void PrintRegion(const Region& Region); void PrintBlock(const Block& block); virtual void PrintValue(Value v); void PrintOpResult(Operation* op); void PrintAttributeMap(Operation* op); void PrintOpOperands(Operation* op); void PrintOperandsType(Operation* op); void PrintOpReturnType(Operation* op); void AddValueAlias(Value value, const std::string& alias); void AddIndentation(); void DecreaseIndentation(); const std::string& indentation() const { return cur_indentation_; } private: size_t cur_result_number_{0}; size_t cur_block_argument_number_{0}; std::string cur_indentation_; std::unordered_map<const void*, std::string> aliases_; }; using ValuePrintHook = std::function<void(Value value, IrPrinter& printer)>; // NOLINT using TypePrintHook = std::function<void(Type type, IrPrinter& printer)>; // NOLINT using AttributePrintHook = std::function<void(Attribute attr, IrPrinter& printer)>; // NOLINT using OpPrintHook = std::function<void(Operation* op, IrPrinter& printer)>; // NOLINT struct IR_API PrintHooks { ValuePrintHook value_print_hook{nullptr}; TypePrintHook type_print_hook{nullptr}; AttributePrintHook attribute_print_hook{nullptr}; OpPrintHook op_print_hook{nullptr}; }; class IR_API CustomPrintHelper { public: explicit CustomPrintHelper(const Program& program, const PrintHooks& hooks) : hooks_(hooks), prog_(program) {} friend IR_API std::ostream& operator<<(std::ostream& os, const CustomPrintHelper& p); private: const PrintHooks& hooks_; const Program& prog_; }; IR_API std::ostream& operator<<(std::ostream& os, const CustomPrintHelper& p); } // namespace pir ```
```ruby # frozen_string_literal: true require 'rubygems/package' require_relative 'base' module Mastodon::CLI class Emoji < Base option :prefix option :suffix option :overwrite, type: :boolean option :unlisted, type: :boolean option :category desc 'import PATH', 'Import emoji from a TAR GZIP archive at PATH' long_desc <<-LONG_DESC Imports custom emoji from a TAR GZIP archive specified by PATH. Existing emoji will be skipped unless the --overwrite option is provided, in which case they will be overwritten. You can specify a --category under which the emojis will be grouped together. With the --prefix option, a prefix can be added to all generated shortcodes. Likewise, the --suffix option controls the suffix of all shortcodes. With the --unlisted option, the processed emoji will not be visible in the emoji picker (but still usable via other means) LONG_DESC def import(path) imported = 0 skipped = 0 failed = 0 category = options[:category] ? CustomEmojiCategory.find_or_create_by(name: options[:category]) : nil Gem::Package::TarReader.new(Zlib::GzipReader.open(path)) do |tar| tar.each do |entry| next unless entry.file? && entry.full_name.end_with?('.png', '.gif') filename = File.basename(entry.full_name, '.*') # Skip macOS shadow files next if filename.start_with?('._') shortcode = [options[:prefix], filename, options[:suffix]].compact.join custom_emoji = CustomEmoji.local.find_by('LOWER(shortcode) = ?', shortcode.downcase) if custom_emoji && !options[:overwrite] skipped += 1 next end custom_emoji ||= CustomEmoji.new(shortcode: shortcode, domain: nil) custom_emoji.image = StringIO.new(entry.read) custom_emoji.image_file_name = File.basename(entry.full_name) custom_emoji.visible_in_picker = !options[:unlisted] custom_emoji.category = category if custom_emoji.save imported += 1 else failed += 1 say('Failure/Error: ', :red) say(entry.full_name) say(" #{custom_emoji.errors[:image].join(', ')}", :red) end end end say("Imported #{imported}, skipped #{skipped}, failed to import #{failed}", color(imported, skipped, failed)) end option :category option :overwrite, type: :boolean desc 'export PATH', 'Export emoji to a TAR GZIP archive at PATH' long_desc <<-LONG_DESC Exports custom emoji to 'export.tar.gz' at PATH. The --category option dumps only the specified category. If this option is not specified, all emoji will be exported. The --overwrite option will overwrite an existing archive. LONG_DESC def export(path) exported = 0 category = CustomEmojiCategory.find_by(name: options[:category]) export_file_name = File.join(path, 'export.tar.gz') fail_with_message "Archive already exists! Use '--overwrite' to overwrite it!" if File.file?(export_file_name) && !options[:overwrite] fail_with_message "Unable to find category '#{options[:category]}'!" if category.nil? && options[:category] File.open(export_file_name, 'wb') do |file| Zlib::GzipWriter.wrap(file) do |gzip| Gem::Package::TarWriter.new(gzip) do |tar| scope = !options[:category] || category.nil? ? CustomEmoji.local : category.emojis scope.find_each do |emoji| say("Adding '#{emoji.shortcode}'...") tar.add_file_simple(emoji.shortcode + File.extname(emoji.image_file_name), 0o644, emoji.image_file_size) do |io| io.write Paperclip.io_adapters.for(emoji.image).read exported += 1 end end end end end say("Exported #{exported}") end option :remote_only, type: :boolean desc 'purge', 'Remove all custom emoji' long_desc <<-LONG_DESC Removes all custom emoji. With the --remote-only option, only remote emoji will be deleted. LONG_DESC def purge scope = options[:remote_only] ? CustomEmoji.remote : CustomEmoji scope.in_batches.destroy_all say('OK', :green) end private def color(green, _yellow, red) if !green.zero? && red.zero? :green elsif red.zero? :yellow else :red end end end end ```
```ruby require_relative '../../spec_helper' require_relative 'fixtures/classes' require_relative 'shared/values_at' describe "Hash#values_at" do it_behaves_like :hash_values_at, :values_at end ```
Lingard is an unincorporated community in Merced County, California. It is located on the Southern Pacific Railroad west of Le Grand, at an elevation of 194 feet (59 m). References Unincorporated communities in California Unincorporated communities in Merced County, California
```javascript /** * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ 'use strict'; // MODULES // var bench = require( '@stdlib/bench' ); var randu = require( '@stdlib/random/base/randu' ); var isnan = require( '@stdlib/math/base/assert/is-nan' ); var pow = require( '@stdlib/math/base/special/pow' ); var pkg = require( './../package.json' ).name; var gsumkbn2 = require( './../lib/ndarray.js' ); // FUNCTIONS // /** * Creates a benchmark function. * * @private * @param {PositiveInteger} len - array length * @returns {Function} benchmark function */ function createBenchmark( len ) { var x; var i; x = []; for ( i = 0; i < len; i++ ) { x.push( ( randu()*10.0 ) - 20.0 ); } return benchmark; function benchmark( b ) { var v; var i; b.tic(); for ( i = 0; i < b.iterations; i++ ) { v = gsumkbn2( x.length, x, 1, 0 ); if ( isnan( v ) ) { b.fail( 'should not return NaN' ); } } b.toc(); if ( isnan( v ) ) { b.fail( 'should not return NaN' ); } b.pass( 'benchmark finished' ); b.end(); } } // MAIN // /** * Main execution sequence. * * @private */ function main() { var len; var min; var max; var f; var i; min = 1; // 10^min max = 6; // 10^max for ( i = min; i <= max; i++ ) { len = pow( 10, i ); f = createBenchmark( len ); bench( pkg+':ndarray:len='+len, f ); } } main(); ```
Ellis Archer is a professional rugby league footballer who plays as a for Barrow Raiders in the RFL Championship. He started his senior career at St Helens (Heritage № 1280) in the Betfred Super League. Archer made his first team début for Saints in August 2022 against Wakefield Trinity. References External links St Helens profile Saints Heritage Society profile 2004 births Living people Barrow Raiders players English rugby league players Rugby league halfbacks Rugby league players from Barrow-in-Furness St Helens R.F.C. players
Bekopaka is a rural municipality in western Madagascar. It belongs to the district of Antsalova, which is a part of Melaky Region. The population of the commune was estimated to be approximately 9,000 in 2001 commune census. Bekopaka is served by a local airport, and primary and junior level secondary education are available in town. The most important crop is rice, while other important products are bananas, maize and cassava. Rivers Bekopaka is situated on the Manambolo River. Nature The Tsingy de Bemaraha Strict Nature Reserve is situated north from Bekopaka (17 km). Roads The unpaved National road 8 from Morondava (195 km)/ References Populated places in Melaky
Jordan Case (born ) is a former Canadian football quarterback in the Canadian Football League who played for the Ottawa Rough Riders. He played college football for the North Texas Mean Green. In 2001, Case was inducted into the North Texas Athletics Hall of Fame. References 1957 births Living people American football quarterbacks Canadian football quarterbacks Ottawa Rough Riders players North Texas Mean Green football players
Joshua Flook (born 22 September 2001) is an Australian professional rugby union player who plays as a centre for Super Rugby club the Reds. Professional career Flook was named in the Reds squad for round 1 of the Super Rugby AU competition in 2020. He made his debut for the in round 2 of the Super Rugby AU competition against the , coming on as a replacement. Flook scored a crucial try in the Reds' victory over the Brumbies late in the 2021 Super Rugby AU season, a win that would secure Queensland's first home Grand Final since 2011. Flook cut through the line and bumped off a Wallaby to cross in the corner. References External links Rugby.com.au profile itsrugby.co.uk profile Australian rugby union players Living people Rugby union wings 2001 births Rugby union centres Queensland Reds players Rugby union players from Sydney
Georges Tournay (born 6 October 1960) is a French former professional footballer who is currently the manager of Championnat National side US Boulogne. During his career he played as a forward for Cambrai, Lens, Abbeville and Louhans-Cuiseaux and made over 200 league appearances in total. After retiring in 1992 he became manager of the Lens C team and was then named reserve team coach two years later. Between 1999 and 2005, Tournay was the assistant manager at Lens, and had a four-month spell in charge of the first team between February 2001 and June 2001. He later worked as the head of youth development at the club before returning to the assistant manager post under László Bölöni in January 2011. Tournay was hired as head coach of Boulogne on 23 June 2012. He was selected ahed of former Neuchâtel Xamax manager François Ciccolini and Carquefou trainer Denis Renaud. References 1960 births Living people People from Cambrai French men's footballers Men's association football forwards RC Lens players Louhans-Cuiseaux FC players Ligue 1 players French football managers RC Lens managers US Boulogne managers SC Abbeville players Footballers from Nord (French department)
The Spiders from Mars were rock singer David Bowie's backing band in the early 1970s, and initially consisted of Mick Ronson on guitars, Trevor Bolder on bass guitar, and Mick Woodmansey on drums. The group had its origins in Bowie's earlier backing outfit the Hype, which featured Ronson and Woodmansey, but Tony Visconti on bass. They were briefly signed as a band on its own, known as Ronno. With Bolder taking over bass, they were subsequently named via the landmark 1972 Bowie concept album, The Rise and Fall of Ziggy Stardust and the Spiders from Mars, and were billed as such on the accompanying large-scale Ziggy Stardust Tour. Bowie had originally wanted keyboardist Rick Wakeman to join the band (Wakeman had played piano on Bowie's second album and on Hunky Dory and was active with the band The Strawbs); however, Wakeman declined and instead joined progressive rock band Yes. Wakeman would feature uncredited on the album, and would collaborate with Bowie again on "Absolute Beginners". The band would move through a series of keyboard players culminating in Mike Garson. The Spiders from Mars were present again on Bowie's 1973 album, Aladdin Sane. Another leg of the tour followed that year, with the final show captured in the film, Ziggy Stardust and the Spiders from Mars. With Aynsley Dunbar replacing Woodmansey, the band made the 1980 Floor Show in late 1973. This line-up also recorded the album Pin Ups. After Ronson and Bolder also moved on Bowie, Garson and Dunbar recorded Diamond Dogs. These latter two albums both still depicted Bowie as the Ziggy Stardust character on the sleeve. The group joined Bowie's stage persona, Ziggy Stardust in the theatrical style of the material's presentation. Ronson's guitar and arranging during the Spiders from Mars era not only fitted into this style, but also provided much of the underpinning for later punk rock musicians. In 1975, Bolder and Woodmansey reformed the band without Ronson, and were joined in this lineup by Mike Garson, Dave Black, and Pete McDonald. Their self-titled album, released in 1976, was their only album before the group disbanded. The band's name came from the UFO sighting on 27 October 1954, where a stadium crowd thought they had witnessed Martian spacecraft which cast off a thin filament material, later hypothesised to be webs from migrating spiders. The band's name did not come, as sometimes believed by Bowie fans, from the Martian aerographic features often labelled as 'spiders' and 'baby spiders'. Band members Primary lineup David Bowie – lead vocals, rhythm guitar, keyboards, saxophone (1972–1973; died 2016), harmonica (1972–1973) Mick Ronson – lead guitar, backing vocals, keyboards, string arrangements (1972–1973; died 1993) Trevor Bolder – bass guitar (1972–1973; died 2013) Mick "Woody" Woodmansey – drums (1972–1973) Touring musicians Nicky Graham – keyboards (1972) Robin Lumley – keyboards (1972) Matthew Fisher – keyboards (1972) Mike Garson – keyboards (1972–1973) John Hutchinson – rhythm guitar (1973; died 2021) Ken Fordham – saxophone (1973) Brian Wilshaw – saxophone, flute (1973) Aynsley Dunbar – additional drums (1973) Warren Peace – percussion, backing vocals (1973) Timeline Discography Studio albums with David Bowie Hunky Dory (1971) The Rise and Fall of Ziggy Stardust and the Spiders From Mars (1972) Aladdin Sane (1973) Studio albums Spiders From Mars (1976) Live albums Live Santa Monica '72 (rec. 1972, rel. 2008) Ziggy Stardust: The Motion Picture (rec. 1973, rel. 1983) References David Bowie English rock music groups English glam rock groups Protopunk groups Musical backing groups
```swift /** * Question Link: path_to_url * Primary idea: Dynamic programming, dp array means the max value sold at today * Time Complexity: O(n^2), Space Complexity: O(n) * */ class BestTimeBuySellStockCooldown { func maxProfit(_ prices: [Int]) -> Int { guard prices.count > 1 else { return 0 } var res = 0 var dp = Array(repeating: 0, count: prices.count) for i in 1..<prices.count { for j in (0..<i).reversed() { if j >= 2 { dp[i] = max(dp[i], prices[i] - prices[j] + dp[j - 2]) } else { dp[i] = max(dp[i], prices[i] - prices[j]) } } dp[i] = max(dp[i], dp[i - 1]) res = max(res, dp[i]) } return res } } ```
UEFA Group C of the 2023 FIFA Women's World Cup qualification competition consists of five teams: Netherlands, Iceland, Czech Republic, Belarus, and Cyprus. The composition of the nine groups in the qualifying group stage was decided by the draw held on 30 April 2021, with the teams seeded according to their coefficient ranking. The group is played in home-and-away round-robin format between 17 September 2021 and 6 September 2022, with a pause for the Women's Euro 2022 in July. The group winners qualify for the final tournament, while the runners-up advance to the play-offs second round if they are one of the three best runners-up among all nine groups (counting results against the fifth-placed team). Due to the Belarus' involvement in the Russian invasion of Ukraine, the country is required to play its home matches at neutral venues behind closed doors until further notice. The Dutch Football Association has announced that the representative teams of the Netherlands will not play against national teams of Russia and Belarus until further notice. However on 6 May 2022, they announced the Netherlands would play the match against Belarus behind closed doors on 28 June 2022. Standings Matches Times are CET/CEST, as listed by UEFA (local times, if different, are in parentheses). Goalscorers Notes References External links FIFA Women's World Cup, UEFA.com Group C
Season 1997–98 was an unqualified disaster for Hibs, as the club was relegated to the First Division by finishing bottom of the Premier Division. There was also disappointment in the cup competitions, as the club were beaten by First Division club Raith Rovers in the Scottish Cup, and Dundee United in the League Cup. Manager Jim Duffy was sacked and replaced by Alex McLeish midway through the season. League season Hibs got off to a good start to the season, winning 2–1 against Celtic on the opening day, with Chic Charnley scoring a memorable winning goal. The season "rapidly turned into a nightmare", however. With the club four points adrift at the bottom of the league, manager Jim Duffy was sacked after a 6–2 defeat by Motherwell. Alex McLeish was hired as Duffy's replacement, but he was unable to save the club from relegation to the First Division. Results Final table Scottish League Cup Results Scottish Cup Results Transfers Players in Players out Loans in Loans out Player stats During the 1997–98 season, Hibs used 32 different players in competitive games. The table below shows the number of appearances and goals scored by each player. |} See also List of Hibernian F.C. seasons Notes External links Hibernian 1997/1998 results and fixtures , Soccerbase Hibernian F.C. seasons Hibernian
```javascript parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"Jy7r":[function(require,module,exports) { var define; var t;!function(t){var e=setTimeout;function n(){}function i(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(t,this)}function o(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,i._immediateFn(function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var i;try{i=n(t._value)}catch(o){return void r(e.promise,o)}s(e.promise,i)}else(1===t._state?s:r)(e.promise,t._value)})):t._deferreds.push(e)}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof i)return t._state=3,t._value=e,void a(t);if("function"==typeof n)return void c((o=n,s=e,function(){o.apply(s,arguments)}),t)}t._state=1,t._value=e,a(t)}catch(l){r(t,l)}var o,s}function r(t,e){t._state=2,t._value=e,a(t)}function a(t){2===t._state&&0===t._deferreds.length&&i._immediateFn(function(){t._handled||i._unhandledRejectionFn(t._value)});for(var e=0,n=t._deferreds.length;e<n;e++)o(t,t._deferreds[e]);t._deferreds=null}function l(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function c(t,e){var n=!1;try{t(function(t){n||(n=!0,s(e,t))},function(t){n||(n=!0,r(e,t))})}catch(i){if(n)return;n=!0,r(e,i)}}i.prototype.catch=function(t){return this.then(null,t)},i.prototype.then=function(t,e){var i=new this.constructor(n);return o(this,new l(t,e,i)),i},i.all=function(t){var e=Array.prototype.slice.call(t);return new i(function(t,n){if(0===e.length)return t([]);var i=e.length;function o(s,r){try{if(r&&("object"==typeof r||"function"==typeof r)){var a=r.then;if("function"==typeof a)return void a.call(r,function(t){o(s,t)},n)}e[s]=r,0==--i&&t(e)}catch(l){n(l)}}for(var s=0;s<e.length;s++)o(s,e[s])})},i.resolve=function(t){return t&&"object"==typeof t&&t.constructor===i?t:new i(function(e){e(t)})},i.reject=function(t){return new i(function(e,n){n(t)})},i.race=function(t){return new i(function(e,n){for(var i=0,o=t.length;i<o;i++)t[i].then(e,n)})},i._immediateFn="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){e(t,0)},i._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},i._setImmediateFn=function(t){i._immediateFn=t},i._setUnhandledRejectionFn=function(t){i._unhandledRejectionFn=t},"undefined"!=typeof module&&module.exports?module.exports=i:t.Promise||(t.Promise=i)}(this);try{var e=new window.CustomEvent("test");if(e.preventDefault(),!0!==e.defaultPrevented)throw new Error("Could not prevent default")}catch(s){var n=function(t,e){var n,i;return e=e||{bubbles:!1,cancelable:!1,detail:void 0},(n=document.createEvent("CustomEvent")).initCustomEvent(t,e.bubbles,e.cancelable,e.detail),i=n.preventDefault,n.preventDefault=function(){i.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(s){this.defaultPrevented=!0}},n};n.prototype=window.Event.prototype,window.CustomEvent=n}!function(t){var e=function(){function t(){}return t.lerp=function(t,e,n){return(n-e)*t+e},t.norm=function(t,e,n){return(t-e)/(n-e)},t.getXYFromMouseTouchEvent=function(t){var e=null;return t.originalEvent?e=t.originalEvent.touches||t.originalEvent.changedTouches:t.changedTouches&&(e=t.changedTouches),e?{x:e[0].pageX,y:e[0].pageY,touches:e[0]}:{x:t.pageX,y:t.pageY,touches:null}},t.getInnerTextOfElement=function(t){var e=document.createElement("DIV");e.innerHTML=t.innerHTML;var n=e.textContent||e.innerText||"";return n=String(n).replace(/^\s+|\s+$/g,"")},t.getMouseEvent=function(t){var e=[];return e.click="ontouchstart"in window?"touchstart":"click",e.mousedown="ontouchstart"in window?"touchstart":"mousedown",e.mouseup="ontouchstart"in window?"touchend":"mouseup",e.mousemove="ontouchstart"in window?"touchmove":"mousemove",e[t]},t.isInternetExlorer=function(){return window.navigator.userAgent.indexOf("MSIE ")>0||!!navigator.userAgent.match(/Trident.*rv\:11\./)},t.getValuesOfBars=function(t){var e=t.split("||");return e.length<=1&&(e=t.split("|")),e},t.setTransform=function(t,e){t.style["-webkit-transform"]=e,t.style["-moz-transform"]=e,t.style["-ms-transform"]=e,t.style.transform=e},t.extendObject=function(t,e){for(var n in e)e[n]&&e[n].constructor&&e[n].constructor===Object?(t[n]=t[n]||{},arguments.callee(t[n],e[n])):t[n]=e[n];return t},t.caniuse={fileReader:function(){return!!(window.File&&window.FileReader&&window.FileList&&window.Blob)}},t}();t.Helpers=e}(o||(o={})),function(t){var e=function(){function t(t){void 0===t&&(t=null),this._cf=t,this.target=document.createDocumentFragment()}return Object.defineProperty(t.prototype,"cf",{get:function(){return this._cf},set:function(t){this._cf=t},enumerable:!0,configurable:!0}),t.prototype.addEventListener=function(t,e,n){return this.target.addEventListener(t,e,n)},t.prototype.dispatchEvent=function(t){return this.target.dispatchEvent(t)},t.prototype.removeEventListener=function(t,e,n){this.target.removeEventListener(t,e,n)},t}();t.EventDispatcher=e}(o||(o={})),function(t){var e=function(){function t(){}return t.parseTag=function(t){var e=document.createElement(t.tag);for(var n in e.setAttribute("cf-formless",""),t)"tag"!==n&&"children"!==n&&e.setAttribute(n,t[n]);return e},t.parseGroupTag=function(e){for(var n=t.parseTag(e),i=e.children,o=0;o<i.length;o++){var s=i[o],r=t.parseTag(s);n.appendChild(r)}return n},t.parseJSONIntoElements=function(e){for(var n=document.createElement("form"),i=0;i<e.length;i++){var o=e[i],s=t.parseTag(o);if(o.children&&o.children.length>0)for(var r=0;r<o.children.length;r++){var a=t.parseTag(o.children[r]);s.appendChild(a)}n.appendChild(s)}return n},t.isElementFormless=function(t){return!!t.hasAttribute("cf-formless")},t}();t.TagsParser=e}(o||(o={})),function(t){t.UserInterfaceDefaultOptions={controlElementsInAnimationDelay:250,robot:{robotResponseTime:0,chainedResponseTime:500},user:{showThinking:!1,showThumb:!1}}}(o||(o={})),function(t){var e=function(){function t(t){if(this.eventTarget=t.eventTarget,this.cfReference=t.cfReference,t.customTemplate&&(this.customTemplate=t.customTemplate),!this.eventTarget)throw new Error("this.eventTarget not set!! : "+this.constructor.name);this.setData(t),this.createElement(),this.onElementCreated()}return t.prototype.setData=function(t){},t.prototype.onElementCreated=function(){},t.prototype.createElement=function(){var t=document.createElement("template");return t.innerHTML=this.getTemplate(),this.el=t.firstChild||t.content.firstChild,this.el},t.prototype.getTemplate=function(){return this.customTemplate||"should be overwritten..."},t.prototype.dealloc=function(){this.el.parentNode.removeChild(this.el)},t}();t.BasicElement=e}(o||(o={}));var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){t.ControlElementEvents={SUBMIT_VALUE:"cf-basic-element-submit",PROGRESS_CHANGE:"cf-basic-element-progress",ON_FOCUS:"cf-basic-element-on-focus",ON_LOADED:"cf-basic-element-on-loaded"},t.ControlElementProgressStates={BUSY:"cf-control-element-progress-BUSY",READY:"cf-control-element-progress-READY"};var e=function(e){function o(t){var n=e.call(this,t)||this;return n.animateInTimer=0,n._partOfSeveralChoices=!1,n._focus=!1,n.onFocusCallback=n.onFocus.bind(n),n.el.addEventListener("focus",n.onFocusCallback,!1),n.onBlurCallback=n.onBlur.bind(n),n.el.addEventListener("blur",n.onBlurCallback,!1),n.referenceTag.disabled&&n.el.setAttribute("disabled","disabled"),n}return i(o,e),Object.defineProperty(o.prototype,"type",{get:function(){return"ControlElement"},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"partOfSeveralChoices",{get:function(){return this._partOfSeveralChoices},set:function(t){this._partOfSeveralChoices=t},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"value",{get:function(){var e,n=this.referenceTag.hasImage;n&&!this.partOfSeveralChoices?e=(n?'<img src="'+this.referenceTag.domElement.getAttribute("cf-image")+'"/>':"")+t.Helpers.getInnerTextOfElement(this.el):e=t.Helpers.getInnerTextOfElement(this.el);return e},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"positionVector",{get:function(){return this._positionVector},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"tabIndex",{set:function(t){this.el.tabIndex=t},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"highlight",{get:function(){return this.el.classList.contains("highlight")},set:function(t){t?this.el.classList.add("highlight"):this.el.classList.remove("highlight")},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"focus",{get:function(){return this._focus},set:function(t){this._focus=t,this._focus?this.el.focus():this.el.blur()},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"visible",{get:function(){return!this.el.classList.contains("hide")},set:function(t){t?this.el.classList.remove("hide"):(this.el.classList.add("hide"),this.tabIndex=-1,this.highlight=!1)},enumerable:!0,configurable:!0}),o.prototype.onBlur=function(t){this._focus=!1},o.prototype.onFocus=function(e){this._focus=!0,t.ConversationalForm.illustrateFlow(this,"dispatch",t.ControlElementEvents.ON_FOCUS,this.referenceTag),this.eventTarget.dispatchEvent(new n(t.ControlElementEvents.ON_FOCUS,{detail:this.positionVector}))},o.prototype.hasImage=function(){return!1},o.prototype.calcPosition=function(){var t=parseInt(window.getComputedStyle(this.el).getPropertyValue("margin-right"),10);this._positionVector={height:this.el.offsetHeight,width:this.el.offsetWidth+t,x:this.el.offsetLeft,y:this.el.offsetTop,el:this},this._positionVector.centerX=this._positionVector.x+.5*this._positionVector.width,this._positionVector.centerY=this._positionVector.y+.5*this._positionVector.height},o.prototype.setData=function(t){this.referenceTag=t.referenceTag,e.prototype.setData.call(this,t)},o.prototype.animateIn=function(){clearTimeout(this.animateInTimer),this.el.classList.add("animate-in")},o.prototype.animateOut=function(){this.el.classList.add("animate-out")},o.prototype.onChoose=function(){t.ConversationalForm.illustrateFlow(this,"dispatch",t.ControlElementEvents.SUBMIT_VALUE,this.referenceTag),this.eventTarget.dispatchEvent(new n(t.ControlElementEvents.SUBMIT_VALUE,{detail:this}))},o.prototype.dealloc=function(){this.el.removeEventListener("blur",this.onBlurCallback,!1),this.onBlurCallback=null,this.el.removeEventListener("focus",this.onFocusCallback,!1),this.onFocusCallback=null,e.prototype.dealloc.call(this)},o}(t.BasicElement);t.ControlElement=e}(o||(o={})),function(t){t.ControlElementsEvents={ON_RESIZE:"cf-on-control-elements-resize",CHANGED:"cf-on-control-elements-changed"};var e=function(){function e(e){this.ignoreKeyboardInput=!1,this.rowIndex=-1,this.columnIndex=0,this.elementWidth=0,this.filterListNumberOfVisible=0,this.listWidth=0,this.el=e.el,this.eventTarget=e.eventTarget,this.cfReference=e.cfReference,this.list=this.el.getElementsByTagName("cf-list")[0],this.infoElement=e.infoEl,this.onScrollCallback=this.onScroll.bind(this),this.el.addEventListener("scroll",this.onScrollCallback,!1),this.onResizeCallback=this.onResize.bind(this),window.addEventListener("resize",this.onResizeCallback,!1),this.onElementFocusCallback=this.onElementFocus.bind(this),this.eventTarget.addEventListener(t.ControlElementEvents.ON_FOCUS,this.onElementFocusCallback,!1),this.onElementLoadedCallback=this.onElementLoaded.bind(this),this.eventTarget.addEventListener(t.ControlElementEvents.ON_LOADED,this.onElementLoadedCallback,!1),this.onChatReponsesUpdatedCallback=this.onChatReponsesUpdated.bind(this),this.eventTarget.addEventListener(t.ChatListEvents.CHATLIST_UPDATED,this.onChatReponsesUpdatedCallback,!1),this.onUserInputKeyChangeCallback=this.onUserInputKeyChange.bind(this),this.eventTarget.addEventListener(t.UserInputEvents.KEY_CHANGE,this.onUserInputKeyChangeCallback,!1),this.userInputUpdateCallback=this.onUserInputUpdate.bind(this),this.eventTarget.addEventListener(t.FlowEvents.USER_INPUT_UPDATE,this.userInputUpdateCallback,!1),this.listScrollController=new t.ScrollController({interactionListener:this.el,listToScroll:this.list,eventTarget:this.eventTarget,listNavButtons:this.el.getElementsByTagName("cf-list-button")})}return Object.defineProperty(e.prototype,"active",{get:function(){return this.elements&&this.elements.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focus",{get:function(){if(!this.elements)return!1;for(var t=this.getElements(),e=0;e<t.length;e++){if(t[e].focus)return!0}return!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"highlighted",{get:function(){if(!this.elements)return!1;for(var t=this.getElements(),e=0;e<t.length;e++){if(t[e].highlight)return!0}return!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{set:function(t){t?this.list.classList.add("disabled"):this.list.classList.remove("disabled")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this.getElements().length},enumerable:!0,configurable:!0}),e.prototype.onScroll=function(t){this.el.scrollLeft=0},e.prototype.onElementLoaded=function(t){this.onResize(null)},e.prototype.onElementFocus=function(t){var e=t.detail,n=e.x+e.width<this.elementWidth?0:e.x-e.width;n*=-1,this.updateRowColIndexFromVector(e),this.listScrollController.setScroll(n,0)},e.prototype.updateRowColIndexFromVector=function(t){for(var e=0;e<this.tableableRows.length;e++)for(var n=this.tableableRows[e],i=0;i<n.length;i++){if(n[i]==t.el){this.rowIndex=e,this.columnIndex=i;break}}},e.prototype.onChatReponsesUpdated=function(t){var e=this;clearTimeout(this.animateInFromResponseTimer),t.detail.currentResponse.isRobotResponse||(this.animateInFromResponseTimer=setTimeout(function(){e.animateElementsIn()},this.cfReference.uiOptions.controlElementsInAnimationDelay))},e.prototype.onListChanged=function(){var e=this;this.list.offsetHeight,requestAnimationFrame(function(){t.ConversationalForm.illustrateFlow(e,"dispatch",t.ControlElementsEvents.CHANGED),e.eventTarget.dispatchEvent(new n(t.ControlElementsEvents.CHANGED))})},e.prototype.onUserInputKeyChange=function(e){if(this.ignoreKeyboardInput)this.ignoreKeyboardInput=!1;else{var n=e.detail,i=n.dto.input;if(this.active){var o=-1!=[t.Dictionary.keyCodes.left,t.Dictionary.keyCodes.right,t.Dictionary.keyCodes.down,t.Dictionary.keyCodes.up].indexOf(n.keyCode);if(n.inputFieldActive&&!o){var s=e.detail.dto.input.getInputValue();this.filterElementsFrom(s)}else n.keyCode==t.Dictionary.keyCodes.left?this.columnIndex--:n.keyCode==t.Dictionary.keyCodes.right?this.columnIndex++:n.keyCode==t.Dictionary.keyCodes.down?this.updateRowIndex(1):n.keyCode==t.Dictionary.keyCodes.up?this.updateRowIndex(-1):n.keyCode!=t.Dictionary.keyCodes.enter&&n.keyCode!=t.Dictionary.keyCodes.space||(this.tableableRows[this.rowIndex]&&this.tableableRows[this.rowIndex][this.columnIndex]?this.tableableRows[this.rowIndex][this.columnIndex].el.click():this.tableableRows[0]&&1==this.tableableRows[0].length&&this.tableableRows[0][0].el.click()),this.validateRowColIndexes()||i.setFocusOnInput()}i.active||!this.validateRowColIndexes()||!this.tableableRows||0!=this.rowIndex&&1!=this.rowIndex?i.active||i.setFocusOnInput():this.tableableRows[this.rowIndex][this.columnIndex].focus=!0}},e.prototype.validateRowColIndexes=function(){this.el.classList.contains("two-row");return-1!=this.rowIndex&&this.tableableRows[this.rowIndex]?(this.columnIndex<0&&(this.columnIndex=this.tableableRows[this.rowIndex].length-1),this.columnIndex>this.tableableRows[this.rowIndex].length-1&&(this.columnIndex=0),!0):(this.resetTabList(),!1)},e.prototype.updateRowIndex=function(t){var e=this.rowIndex;if(this.rowIndex+=t,this.tableableRows[this.rowIndex])for(var n=this.tableableRows[e]?this.tableableRows[e][this.columnIndex].positionVector.centerX:0,i=this.tableableRows[this.rowIndex],o=1e13,s=0;s<i.length;s++){var r=i[s];o>Math.abs(n-r.positionVector.centerX)&&(o=Math.abs(n-r.positionVector.centerX),this.columnIndex=s)}},e.prototype.resetTabList=function(){this.rowIndex=-1,this.columnIndex=-1},e.prototype.onUserInputUpdate=function(t){if(this.el.classList.remove("animate-in"),this.infoElement.classList.remove("show"),this.elements)for(var e=this.getElements(),n=0;n<e.length;n++){e[n].animateOut()}},e.prototype.filterElementsFrom=function(e){var n=e.toLowerCase().split(" ");-1!=n.indexOf("")&&n.splice(n.indexOf(""),1);var i=this.getElements();if(i.length>1){for(var o=[],s=0;s<i.length;s++){var r=i[s];r.highlight=!1;for(var a=!0,l=0;l<n.length;l++){var c=n[l];a&&(a=-1!=r.value.toLowerCase().indexOf(c))}r.visible=a,a&&r.visible&&o.push(r)}this.infoElement.innerHTML=0==o.length?t.Dictionary.get("input-no-filter").split("{input-value}").join(e):"",0==o.length?this.infoElement.classList.add("show"):this.infoElement.classList.remove("show"),this.filterListNumberOfVisible!=o.length&&this.animateElementsIn(),this.filterListNumberOfVisible=o.length,""!=e&&this.filterListNumberOfVisible>0&&(o[0].highlight=!0)}},e.prototype.clickOnHighlighted=function(){for(var t=this.getElements(),e=0;e<t.length;e++){var n=t[e];if(n.highlight){n.el.click();break}}},e.prototype.animateElementsIn=function(){var t=this;this.elements.length>0&&(this.resize(),this.list.style.height="0px",setTimeout(function(){t.list.style.height=t.list.scrollHeight+"px";var e=t.getElements();setTimeout(function(){if(e.length>0){t.el.classList.contains("animate-in")||t.el.classList.add("animate-in");for(var n=0;n<e.length;n++){e[n].animateIn()}}document.querySelector(".scrollableInner").classList.remove("scroll");var i=document.querySelector("scrollable");i.scrollTop<i.scrollHeight&&(i.scrollTop=i.scrollHeight)},300)},200))},e.prototype.getElements=function(){return this.elements&&this.elements.length>0&&"OptionsList"==this.elements[0].type?this.elements[0].elements:this.elements},e.prototype.buildTabableRows=function(){this.tableableRows=[],this.resetTabList();var t=this.getElements();if(this.el.classList.contains("two-row")){this.tableableRows[0]=[],this.tableableRows[1]=[];for(var e=0;e<t.length;e++){(n=t[e]).visible&&(n.positionVector.y<30?this.tableableRows[0].push(n):this.tableableRows[1].push(n))}}else{this.tableableRows[0]=[];for(e=0;e<t.length;e++){var n;(n=t[e]).visible&&this.tableableRows[0].push(n)}}},e.prototype.resetAfterErrorMessage=function(){this.currentControlElement=null,this.disabled=!1},e.prototype.focusFrom=function(t){this.tableableRows&&(this.columnIndex=0,"bottom"==t?this.rowIndex=this.el.classList.contains("two-row")?1:0:"top"==t&&(this.rowIndex=0),this.tableableRows[this.rowIndex]&&this.tableableRows[this.rowIndex][this.columnIndex]?(this.ignoreKeyboardInput=!0,this.tableableRows[this.rowIndex][this.columnIndex].focus=!0):this.resetTabList())},e.prototype.updateStateOnElementsFromTag=function(t){for(var e=0;e<this.elements.length;e++){var n=this.elements[e];if(n.referenceTag==t){this.updateStateOnElements(n);break}}},e.prototype.updateStateOnElements=function(t){if(this.currentControlElement=t,"RadioButton"==this.currentControlElement.type)for(var e=this.getElements(),n=0;n<e.length;n++){(i=e[n]).checked=i==t}else if("CheckboxButton"==this.currentControlElement.type)for(e=this.getElements(),n=0;n<e.length;n++){var i;if((i=e[n])==t){var o=i.referenceTag.domElement.checked;i.checked=o}}},e.prototype.reset=function(){this.infoElement.classList.remove("show"),this.el.classList.remove("one-row"),this.el.classList.remove("two-row"),this.list.style.height="0px"},e.prototype.getElement=function(t){return this.elements[t]},e.prototype.getDTO=function(){var e={text:void 0,controlElements:[]};if(this.elements&&this.elements.length>0)switch(this.elements[0].type){case"CheckboxButton":for(var n=0,i=[],o=0;o<this.elements.length;o++){if(this.elements[o].checked&&n++>1)break}for(o=0;o<this.elements.length;o++){var s=this.elements[o];s.checked&&(n>1&&(s.partOfSeveralChoices=!0),i.push(s.value)),e.controlElements.push(s)}e.text=t.Dictionary.parseAndGetMultiValueString(i);break;case"RadioButton":for(o=0;o<this.elements.length;o++){var r=this.elements[o];r.checked&&(e.text=r.value),e.controlElements.push(r)}break;case"OptionsList":var a=this.elements[0];e.controlElements=a.getValue();i=[];if(e.controlElements&&e.controlElements[0])for(var l=0;l<e.controlElements.length;l++){e.controlElements[l];i.push(e.controlElements[l].value)}e.controlElements=a.elements,e.text=t.Dictionary.parseAndGetMultiValueString(i);break;case"UploadFileUI":e.text=this.elements[0].getFilesAsString(),e.controlElements.push(this.elements[0])}return e},e.prototype.clearTagsAndReset=function(){if(this.reset(),this.elements)for(;this.elements.length>0;)this.elements.pop().dealloc();this.list.innerHTML="",this.onListChanged()},e.prototype.buildTags=function(e){var i=this;this.disabled=!1;this.el.parentNode.getElementsByTagName("ul")[0],this.el.parentNode.getElementsByTagName("ul")[1];this.clearTagsAndReset(),this.elements=[];for(var o=0;o<e.length;o++){var s=e[o];switch(s.type){case"radio":this.elements.push(new t.RadioButton({referenceTag:s,eventTarget:this.eventTarget}));break;case"checkbox":this.elements.push(new t.CheckboxButton({referenceTag:s,eventTarget:this.eventTarget}));break;case"select":this.elements.push(new t.OptionsList({referenceTag:s,context:this.list,eventTarget:this.eventTarget}));break;case"input":default:"file"==s.type&&this.elements.push(new t.UploadFileUI({referenceTag:s,eventTarget:this.eventTarget}))}if("select"!=s.type&&this.elements.length>0){var r=this.elements[this.elements.length-1];this.list.appendChild(r.el)}}var a=this.elements[0]&&"OptionsList"==this.elements[0].type;this.filterListNumberOfVisible=a?this.elements[0].elements.length:e.length,new Promise(function(t,e){return i.resize(t,e)}).then(function(){var e={height:i.list.offsetHeight};i.onListChanged(),t.ConversationalForm.illustrateFlow(i,"dispatch",t.UserInputEvents.CONTROL_ELEMENTS_ADDED,e),i.eventTarget.dispatchEvent(new n(t.UserInputEvents.CONTROL_ELEMENTS_ADDED,{detail:e}))})},e.prototype.onResize=function(t){this.resize()},e.prototype.resize=function(e,i){this.list.style.width="100%",this.el.classList.remove("resized"),this.el.classList.remove("one-row"),this.el.classList.remove("two-row"),this.elementWidth=0,this.listWidth=0;var o=this.getElements();if(o&&o.length>0){for(var s=[],r=[],a=!1,l=0;l<o.length;l++){(d=o[l]).visible&&(d.calcPosition(),this.listWidth+=d.positionVector.width,s.push(d.positionVector.x+d.positionVector.width),r.push(d)),d.hasImage()&&(a=!0)}var c=this.el.offsetWidth,h=this.listWidth>c;h&&!a?(this.el.classList.add("two-row"),this.listWidth=Math.max(c,Math.round(s[Math.floor(s.length/2)]+50)),this.list.style.width=this.listWidth+"px"):this.el.classList.add("one-row");for(l=0;l<o.length;l++){(d=o[l]).visible&&d.calcPosition()}c=this.el.offsetWidth,h=this.listWidth>c;var u=o.slice().sort(function(t,e){var n=t.positionVector.y>e.positionVector.y;return t.positionVector.x==e.positionVector.x?n?1:-1:t.positionVector.x<e.positionVector.x?-1:1}),p=0;for(l=0;l<u.length;l++){var d;(d=u[l]).visible?d.tabIndex=2+p++:d.tabIndex=-1}h?this.el.classList.remove("hide-nav-buttons"):this.el.classList.add("hide-nav-buttons"),this.elementWidth=c,this.listScrollController.resize(this.listWidth,this.elementWidth),this.el.classList.add("resized"),this.eventTarget.dispatchEvent(new n(t.ControlElementsEvents.ON_RESIZE)),e&&(this.buildTabableRows(),e())}},e.prototype.dealloc=function(){this.currentControlElement=null,this.tableableRows=null,window.removeEventListener("resize",this.onResizeCallback,!1),this.onResizeCallback=null,this.el.removeEventListener("scroll",this.onScrollCallback,!1),this.onScrollCallback=null,this.eventTarget.removeEventListener(t.ControlElementEvents.ON_FOCUS,this.onElementFocusCallback,!1),this.onElementFocusCallback=null,this.eventTarget.removeEventListener(t.ChatListEvents.CHATLIST_UPDATED,this.onChatReponsesUpdatedCallback,!1),this.onChatReponsesUpdatedCallback=null,this.eventTarget.removeEventListener(t.UserInputEvents.KEY_CHANGE,this.onUserInputKeyChangeCallback,!1),this.onUserInputKeyChangeCallback=null,this.eventTarget.removeEventListener(t.FlowEvents.USER_INPUT_UPDATE,this.userInputUpdateCallback,!1),this.userInputUpdateCallback=null,this.eventTarget.removeEventListener(t.ControlElementEvents.ON_LOADED,this.onElementLoadedCallback,!1),this.onElementLoadedCallback=null,this.listScrollController.dealloc()},e}();t.ControlElements=e}(o||(o={})),function(t){var e=function(){function e(e){this.listWidth=0,this.visibleAreaWidth=0,this.max=0,this.interacting=!1,this.x=0,this.xTarget=0,this.startX=0,this.startXTarget=0,this.mouseSpeed=0,this.mouseSpeedTarget=0,this.direction=0,this.directionTarget=0,this.inputAccerlation=0,this.inputAccerlationTarget=0,this.interactionListener=e.interactionListener,this.eventTarget=e.eventTarget,this.listToScroll=e.listToScroll,this.prevButton=e.listNavButtons[0],this.nextButton=e.listNavButtons[1],this.onListNavButtonsClickCallback=this.onListNavButtonsClick.bind(this),this.prevButton.addEventListener("click",this.onListNavButtonsClickCallback,!1),this.nextButton.addEventListener("click",this.onListNavButtonsClickCallback,!1),this.documentLeaveCallback=this.documentLeave.bind(this),this.onInteractStartCallback=this.onInteractStart.bind(this),this.onInteractEndCallback=this.onInteractEnd.bind(this),this.onInteractMoveCallback=this.onInteractMove.bind(this),document.addEventListener("mouseleave",this.documentLeaveCallback,!1),document.addEventListener(t.Helpers.getMouseEvent("mouseup"),this.documentLeaveCallback,!1),this.interactionListener.addEventListener(t.Helpers.getMouseEvent("mousedown"),this.onInteractStartCallback,!1),this.interactionListener.addEventListener(t.Helpers.getMouseEvent("mouseup"),this.onInteractEndCallback,!1),this.interactionListener.addEventListener(t.Helpers.getMouseEvent("mousemove"),this.onInteractMoveCallback,!1)}return e.prototype.onListNavButtonsClick=function(t){var e=t.currentTarget.getAttribute("direction");this.pushDirection("next"==e?-1:1)},e.prototype.documentLeave=function(t){this.onInteractEnd(t)},e.prototype.onInteractStart=function(e){var n=t.Helpers.getXYFromMouseTouchEvent(e);this.interacting=!0,this.startX=n.x,this.startXTarget=this.startX,this.inputAccerlation=0,this.render()},e.prototype.onInteractEnd=function(t){this.interacting=!1},e.prototype.onInteractMove=function(e){if(this.interacting){var n=t.Helpers.getXYFromMouseTouchEvent(e),i=n.x-this.startX;this.inputAccerlationTarget=6.2*i,this.directionTarget=this.inputAccerlationTarget<0?-1:1,this.startXTarget=n.x}},e.prototype.render=function(){var n=this;this.rAF&&cancelAnimationFrame(this.rAF),this.startX+=.2*(this.startXTarget-this.startX),this.inputAccerlation+=(this.inputAccerlationTarget-this.inputAccerlation)*(this.interacting?Math.min(e.acceleration+.1,1):e.acceleration);this.inputAccerlationTarget*=.25,this.direction+=.2*(this.directionTarget-this.direction),this.mouseSpeed+=.2*(this.mouseSpeedTarget-this.mouseSpeed),this.direction+=this.mouseSpeed,this.xTarget+=.05*this.inputAccerlation,this.xTarget>0&&(this.xTarget+=(0-this.xTarget)*t.Helpers.lerp(e.acceleration,.3,.8)),this.xTarget<this.max&&(this.xTarget+=(this.max-this.xTarget)*t.Helpers.lerp(e.acceleration,.3,.8)),this.x+=.4*(this.xTarget-this.x);var i=Math.round(this.x);i<0&&(this.prevButton.classList.contains("active")||this.prevButton.classList.add("active"),this.prevButton.classList.contains("cf-gradient")||this.prevButton.classList.add("cf-gradient")),0==i&&(this.prevButton.classList.contains("active")&&this.prevButton.classList.remove("active"),this.prevButton.classList.contains("cf-gradient")&&this.prevButton.classList.remove("cf-gradient")),i>this.max&&(this.nextButton.classList.contains("active")||this.nextButton.classList.add("active"),this.nextButton.classList.contains("cf-gradient")||this.nextButton.classList.add("cf-gradient")),i<=this.max&&(this.nextButton.classList.contains("active")&&this.nextButton.classList.remove("active"),this.nextButton.classList.contains("cf-gradient")&&this.nextButton.classList.remove("cf-gradient"));var o=this.x;t.Helpers.setTransform(this.listToScroll,"translateX("+o+"px)"),(this.interacting||Math.abs(this.x-this.xTarget)>.02&&!this.interacting)&&(this.rAF=window.requestAnimationFrame(function(){return n.render()}))},e.prototype.setScroll=function(t,e){this.xTarget=this.visibleAreaWidth==this.listWidth?0:t,this.render()},e.prototype.pushDirection=function(t){this.inputAccerlationTarget+=5e3*t,this.render()},e.prototype.dealloc=function(){this.prevButton.removeEventListener("click",this.onListNavButtonsClickCallback,!1),this.nextButton.removeEventListener("click",this.onListNavButtonsClickCallback,!1),this.onListNavButtonsClickCallback=null,this.prevButton=null,this.nextButton=null,document.removeEventListener("mouseleave",this.documentLeaveCallback,!1),document.removeEventListener(t.Helpers.getMouseEvent("mouseup"),this.documentLeaveCallback,!1),this.interactionListener.removeEventListener(t.Helpers.getMouseEvent("mousedown"),this.onInteractStartCallback,!1),this.interactionListener.removeEventListener(t.Helpers.getMouseEvent("mouseup"),this.onInteractEndCallback,!1),this.interactionListener.removeEventListener(t.Helpers.getMouseEvent("mousemove"),this.onInteractMoveCallback,!1),this.documentLeaveCallback=null,this.onInteractStartCallback=null,this.onInteractEndCallback=null,this.onInteractMoveCallback=null},e.prototype.reset=function(){this.interacting=!1,this.startX=0,this.startXTarget=this.startX,this.inputAccerlation=0,this.x=0,this.xTarget=0,t.Helpers.setTransform(this.listToScroll,"translateX(0px)"),this.render(),this.prevButton.classList.remove("active"),this.nextButton.classList.remove("active")},e.prototype.resize=function(t,e){this.reset(),this.visibleAreaWidth=e,this.listWidth=Math.max(e,t),this.max=-1*(this.listWidth-this.visibleAreaWidth),this.render()},e.acceleration=.1,e}();t.ScrollController=e}(o||(o={})),function(t){var e=function(){function e(e){var n=this;this.flowUpdateCallback=this.onFlowUpdate.bind(this),this.eventTarget=e.eventTarget,this.eventTarget.addEventListener(t.FlowEvents.FLOW_UPDATE,this.flowUpdateCallback,!1),this.eventTarget.addEventListener(t.FlowEvents.FORM_SUBMIT,function(){return n.setWidth(100)},!1),this.el=document.createElement("div"),this.el.className="cf-progressBar",this.bar=document.createElement("div"),this.bar.className="bar",this.el.appendChild(this.bar),setTimeout(function(){return n.init()},800)}return e.prototype.init=function(){this.el.classList.add("show")},e.prototype.onFlowUpdate=function(t){this.setWidth(t.detail.step/t.detail.maxSteps*100)},e.prototype.setWidth=function(t){this.bar.style.width=t+"%"},e.prototype.dealloc=function(){this.eventTarget.removeEventListener(t.FlowEvents.FLOW_UPDATE,this.flowUpdateCallback,!1),this.flowUpdateCallback=null},e}();t.ProgressBar=e}(o||(o={})),function(t){var e=function(){function e(t){this.data={"user-image":"data:image/svg+xml;base64,your_sha256_hashyour_sha256_hashZyI+your_sha256_hashIi8+your_sha256_hashIGZpbGw9IiNFNUU2RUEiLz4KPC9zdmc+Cg==","entry-not-found":"Dictionary item not found.","awaiting-mic-permission":"Awaiting mic permission","user-audio-reponse-invalid":"I didn't get that, try again.","microphone-terminal-error":"Audio input not supported","input-placeholder":"Type your answer here ...","group-placeholder":"Type to filter ...","input-placeholder-error":"Your input is not correct ...","input-placeholder-required":"Input is required ...","input-placeholder-file-error":"File upload failed ...","input-placeholder-file-size-error":"File size too big ...","input-no-filter":"No results found for {input-value}","user-reponse-and":" and ","user-reponse-missing":"Missing input ...","user-reponse-missing-group":"Nothing selected ...",general:"General type1||General type2","icon-type-file":"<svg class='cf-icon-file' viewBox='0 0 10 14' version='1.1' xmlns='path_to_url xmlns:xlink='path_to_url stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g transform='translate(-756.000000, -549.000000)' fill='#0D83FF'><g transform='translate(736.000000, 127.000000)'><g transform='translate(0.000000, 406.000000)'><polygon points='20 16 26.0030799 16 30 19.99994 30 30 20 30'></polygon></g></g></g></g></svg>"},this.robotData={"robot-image":"data:image/svg+xml;base64,your_sha256_hashyour_sha256_hashZyI+your_sha256_hashIi8+your_sha256_hashPSIjMzAzMDMwIi8+Cjwvc3ZnPgo=",input:"Please write some text.",text:"Please write some text.",textarea:"Please write some text.",checkbox:"Select as many as you want.",name:"What's your name?",email:"Need your e-mail.",password:"Please provide password",tel:"What's your phone number?",radio:"I need you to select one of these.",select:"Choose any of these options.",file:"Select a file to upload.",general:"General1||General2||General3.."},e.instance=this,this.version=t.version,t&&t.data&&(this.data=this.validateAndSetNewData(t.data,this.data)),t.userImage?this.data["user-image"]=t.userImage:this.data["user-image"]=this.data["user-image"],t.robotImage?this.robotData["robot-image"]=t.robotImage:this.robotData["robot-image"]=this.robotData["robot-image"],t&&t.robotData&&(this.robotData=this.validateAndSetNewData(t.robotData,this.robotData))}return e.get=function(n){var i=e.instance,o=i.data[n];if(o){var s=t.Helpers.getValuesOfBars(o);o=s[Math.floor(Math.random()*s.length)]}else o=i.data["entry-not-found"];return o},e.set=function(t,n,i){var o=e.instance,s="robot"==n?o.robotData:o.data;return s[t]=i,s[t]},e.getRobotResponse=function(n){var i=e.instance,o=i.robotData[n];if(o){var s=t.Helpers.getValuesOfBars(o);o=s[Math.floor(Math.random()*s.length)]}else{var r=t.Helpers.getValuesOfBars(i.robotData.general);o=r[Math.floor(Math.random()*r.length)]}return o},e.parseAndGetMultiValueString=function(t){for(var n="",i=0;i<t.length;i++){var o=t[i],s=t.length>1&&i==t.length-2?e.get("user-reponse-and"):", ";n+=o+(i<t.length-1?s:"")}return n},e.prototype.validateAndSetNewData=function(t,e){for(var n in e)t[n]||(console.warn("Conversational Form Dictionary warning, '"+n+"' value is undefined, mapping '"+n+"' to default value. See Dictionary.ts for keys."),t[n]=e[n]);return t},e.keyCodes={left:37,right:39,down:40,up:38,backspace:8,enter:13,space:32,shift:16,tab:9},e}();t.Dictionary=e}(o||(o={})),function(t){t.TagEvents={ORIGINAL_ELEMENT_CHANGED:"cf-tag-dom-element-changed"};var e=function(){function e(e){if(this.domElement=e.domElement,this.initialDefaultValue=this.domElement.value||this.domElement.getAttribute("value")||"",this.changeCallback=this.onDomElementChange.bind(this),this.domElement.addEventListener("change",this.changeCallback,!1),this.domElement.tabIndex=-1,this.skipUserInput=!1,e.questions&&(this.questions=e.questions),this.domElement.getAttribute("cf-validation")){var n=window[this.domElement.getAttribute("cf-validation")];this.validationCallback=n}this.domElement.getAttribute("pattern")&&(this.pattern=new RegExp(this.domElement.getAttribute("pattern"))),"group"!=this.type&&t.ConversationalForm.illustrateAppFlow&&(t.ConversationalForm.suppressLog||console.log("Conversational Form > Tag registered:",this.type,this)),this.refresh()}return Object.defineProperty(e.prototype,"type",{get:function(){return this.domElement.getAttribute("type")||this.domElement.tagName.toLowerCase()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.domElement.getAttribute("name")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.domElement.getAttribute("id")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputPlaceholder",{get:function(){return this._inputPlaceholder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formless",{get:function(){return t.TagsParser.isElementFormless(this.domElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this.getLabel()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.domElement.value||this.initialDefaultValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasImage",{get:function(){return this.domElement.hasAttribute("cf-image")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rows",{get:function(){return this.domElement.hasAttribute("rows")?parseInt(this.domElement.getAttribute("rows")):0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return!this.checkConditionalAndIsValid()||null!=this.domElement.getAttribute("disabled")&&null!=this.domElement.getAttribute("disabled")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return!!this.domElement.getAttribute("required")||""==this.domElement.getAttribute("required")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"question",{get:function(){return this.questions&&0!=this.questions.length?this.questions[Math.floor(Math.random()*this.questions.length)]:t.Dictionary.getRobotResponse(this.type)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"eventTarget",{set:function(t){this._eventTarget=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errorMessage",{get:function(){return this.errorMessages||(this.domElement.getAttribute("cf-error")?this.errorMessages=t.Helpers.getValuesOfBars(this.domElement.getAttribute("cf-error")):this.domElement.parentNode&&this.domElement.parentNode.getAttribute("cf-error")?this.errorMessages=t.Helpers.getValuesOfBars(this.domElement.parentNode.getAttribute("cf-error")):this.required?this.errorMessages=[t.Dictionary.get("input-placeholder-required")]:"file"==this.type?this.errorMessages=[t.Dictionary.get("input-placeholder-file-error")]:this.errorMessages=[t.Dictionary.get("input-placeholder-error")]),this.errorMessages[Math.floor(Math.random()*this.errorMessages.length)]},enumerable:!0,configurable:!0}),e.prototype.dealloc=function(){this.domElement.removeEventListener("change",this.changeCallback,!1),this.changeCallback=null,this.domElement=null,this.defaultValue=null,this.errorMessages=null,this.pattern=null,this._label=null,this.validationCallback=null,this.questions=null},e.testConditions=function(t,e){var n=function(e,n){return"object"==typeof n?n.test(e):t===n};if("string"==typeof t){for(var i=t,o=!1,s=0;s<e.conditionals.length;s++){if(o=n(i,r=e.conditionals[s]))break}return o}if(t){for(o=!1,s=0;s<e.conditionals.length;s++){var r=e.conditionals[s];if("string"!=typeof t)for(var a=0;a<t.length&&!(o=n(t[a],r));a++);else o=n(t.toString(),r);if(o)break}return o}return!1},e.isTagValid=function(e){if("hidden"===e.getAttribute("type"))return!1;if("submit"===e.getAttribute("type"))return!1;if("button"==e.getAttribute("type"))return!1;if(e.style){if("none"===e.style.display)return!1;if("hidden"===e.style.visibility)return!1}var n=t.TagsParser.isElementFormless(e),i=t.Helpers.getInnerTextOfElement(e);return!("option"==e.tagName.toLowerCase()&&(!n&&""==i||" "==i))&&("select"==e.tagName.toLowerCase()||"option"==e.tagName.toLowerCase()||(!!n||!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)))},e.createTag=function(n){if(e.isTagValid(n)){var i=void 0;return"input"==n.tagName.toLowerCase()?i=new t.InputTag({domElement:n}):"textarea"==n.tagName.toLowerCase()?i=new t.InputTag({domElement:n}):"select"==n.tagName.toLowerCase()?i=new t.SelectTag({domElement:n}):"button"==n.tagName.toLowerCase()?i=new t.ButtonTag({domElement:n}):"option"==n.tagName.toLowerCase()?i=new t.OptionTag({domElement:n}):"cf-robot-message"==n.tagName.toLowerCase()&&(i=new t.CfRobotMessageTag({domElement:n})),i}return null},e.prototype.reset=function(){this.refresh(),this.defaultValue=this.domElement.value=this.initialDefaultValue.toString()},e.prototype.refresh=function(){this.defaultValue=this.domElement.value||this.domElement.getAttribute("value")||"",this.questions=null,this.findAndSetQuestions(),this.findConditionalAttributes()},e.prototype.hasConditionsFor=function(t){if(!this.hasConditions())return!1;for(var e=0;e<this.conditionalTags.length;e++){var n=this.conditionalTags[e];if("cf-conditional-"+t.toLowerCase()===n.key.toLowerCase())return!0}return!1},e.prototype.hasConditions=function(){return this.conditionalTags&&this.conditionalTags.length>0},e.prototype.checkConditionalAndIsValid=function(){return!this.hasConditions()||this.flowManager.areConditionsInFlowFullfilled(this,this.conditionalTags)},e.prototype.setTagValueAndIsValid=function(t){var e=!0,n=t.text;this.domElement.hasAttribute("type")&&"email"===this.domElement.getAttribute("type")&&!this.pattern&&n.length>0?this.pattern=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/:this.domElement.hasAttribute("type")&&"email"===this.domElement.getAttribute("type")&&this.pattern&&0===n.length&&!this.required&&(this.pattern=null),this.pattern&&(e=this.pattern.test(n)),""==n&&this.required&&(e=!1);var i=parseInt(this.domElement.getAttribute("minlength"),10)||-1,o=parseInt(this.domElement.getAttribute("maxlength"),10)||-1;return-1!=i&&n.length<i&&(e=!1),-1!=o&&n.length>o&&(e=!1),this.validateMaxMinValue(n)||(e=!1),e&&"file"!=this.type&&(this.domElement.value=n),e},e.prototype.validateMaxMinValue=function(t){if(!t)return!0;var e=parseInt(t,10),n=parseInt(this.domElement.getAttribute("min"),10)||-1,i=parseInt(this.domElement.getAttribute("max"),10)||-1;return!(-1!==n&&e<n)&&!(-1!==i&&e>i)},e.prototype.getLabel=function(){return this._label||this.findAndSetLabel(),this._label?this._label:t.Dictionary.getRobotResponse(this.type)},e.prototype.findConditionalAttributes=function(){var t=this.domElement.attributes;if(t.length>0)for(var e in this.conditionalTags=[],t)if(t.hasOwnProperty(e)){var n=t[e];if(n&&n.name&&-1!==n.name.indexOf("cf-conditional")){for(var i=[],o=-1!==n.value.indexOf("||")?n.value.split("||"):n.value.split("&&"),r=0;r<o.length;r++){var a=o[r];try{i.push(new RegExp(a))}catch(s){}i.push(a)}this.conditionalTags.push({key:n.name,conditionals:i})}}},e.prototype.findAndSetQuestions=function(){if(!this.questions){if(this.domElement.getAttribute("cf-questions"))this.questions=t.Helpers.getValuesOfBars(this.domElement.getAttribute("cf-questions")),this.domElement.getAttribute("cf-input-placeholder")&&(this._inputPlaceholder=this.domElement.getAttribute("cf-input-placeholder"));else if(this.domElement.parentNode&&this.domElement.parentNode.getAttribute("cf-questions")){var e=this.domElement.parentNode;this.questions=t.Helpers.getValuesOfBars(e.getAttribute("cf-questions")),e.getAttribute("cf-input-placeholder")&&(this._inputPlaceholder=e.getAttribute("cf-input-placeholder"))}else{var n=this.domElement.getAttribute("id"),i=document.querySelector("label[for='"+n+"']");i&&(this.questions=[t.Helpers.getInnerTextOfElement(i)])}!this.questions&&this.domElement.getAttribute("placeholder")&&(this.questions=[this.domElement.getAttribute("placeholder")])}},e.prototype.findAndSetLabel=function(){if(this.domElement.getAttribute("cf-label"))this._label=this.domElement.getAttribute("cf-label");else{var e=this.domElement.parentNode;if(e){var n="label"==e.tagName.toLowerCase()?[e]:e.getElementsByTagName("label");if(0==n.length){var i=t.Helpers.getInnerTextOfElement(e);i&&i.length>0&&(n=[e])}else if(n.length>0)for(var o=0;o<n.length;o++){var s=n[o];s.getAttribute("for")==this.id&&(this._label=t.Helpers.getInnerTextOfElement(s))}!this._label&&n[0]&&(this._label=t.Helpers.getInnerTextOfElement(n[0]))}}},e.prototype.onDomElementChange=function(){this._eventTarget.dispatchEvent(new n(t.TagEvents.ORIGINAL_ELEMENT_CHANGED,{detail:{value:this.value,tag:this}}))},e}();t.Tag=e}(o||(o={})),function(t){var e=function(){function e(e){this.elements=e.elements,this._fieldset=e.fieldset,this._fieldset&&this._fieldset.getAttribute("cf-questions")&&(this.questions=t.Helpers.getValuesOfBars(this._fieldset.getAttribute("cf-questions"))),this._fieldset&&this._fieldset.getAttribute("cf-input-placeholder")&&(this._inputPlaceholder=this._fieldset.getAttribute("cf-input-placeholder")),t.ConversationalForm.illustrateAppFlow&&(t.ConversationalForm.suppressLog||console.log("Conversational Form > TagGroup registered:",this.elements[0].type,this)),this.skipUserInput=!1}return Object.defineProperty(e.prototype,"required",{get:function(){for(var t=0;t<this.elements.length;t++){this.elements[t];if(this.elements[t].required)return!0}return!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"eventTarget",{set:function(t){this._eventTarget=t;for(var e=0;e<this.elements.length;e++){this.elements[e].eventTarget=t}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"flowManager",{set:function(t){for(var e=0;e<this.elements.length;e++){this.elements[e].flowManager=t}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return"group"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._fieldset&&this._fieldset.hasAttribute("name")?this._fieldset.getAttribute("name"):this.elements[0].name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._fieldset&&this._fieldset.id?this._fieldset.id:this.elements[0].id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"question",{get:function(){return this.questions&&this.questions.length>0?this.questions[Math.floor(Math.random()*this.questions.length)]:this.elements[0]&&this.elements[0].question?this.elements[0].question:t.Dictionary.getRobotResponse(this.getGroupTagType())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeElements",{get:function(){return this._activeElements},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._values?this._values:[""]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){for(var t=0,e=0;e<this.elements.length;e++){this.elements[e].disabled&&t++}return t===this.elements.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errorMessage",{get:function(){for(var e=t.Dictionary.get("input-placeholder-error"),n=0;n<this.elements.length;n++){e=this.elements[n].errorMessage}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputPlaceholder",{get:function(){return this._inputPlaceholder},enumerable:!0,configurable:!0}),e.prototype.dealloc=function(){for(var t=0;t<this.elements.length;t++){this.elements[t].dealloc()}this.elements=null},e.prototype.refresh=function(){for(var t=0;t<this.elements.length;t++){this.elements[t].refresh()}},e.prototype.reset=function(){this._values=[];for(var t=0;t<this.elements.length;t++){this.elements[t].reset()}},e.prototype.getGroupTagType=function(){return this.elements[0].type},e.prototype.hasConditionsFor=function(t){for(var e=0;e<this.elements.length;e++){if(this.elements[e].hasConditionsFor(t))return!0}return!1},e.prototype.hasConditions=function(){for(var t=0;t<this.elements.length;t++){if(this.elements[t].hasConditions())return!0}return!1},e.prototype.checkConditionalAndIsValid=function(){for(var t=0;t<this.elements.length;t++){this.elements[t].checkConditionalAndIsValid()}return!0},e.prototype.setTagValueAndIsValid=function(t){var e=!1,n=this.elements[0].type;switch(this._values=[],this._activeElements=[],n){case"radio":var i=!1,o=[];if(t.controlElements)for(var s=0;s<t.controlElements.length;s++){var r=t.controlElements[s],a=this.elements[this.elements.indexOf(r.referenceTag)];o.push(r),a==r.referenceTag&&(r.checked&&(this._values.push(a.value),this._activeElements.push(a)),!i&&r.checked&&(i=!0))}else for(s=0;s<this.elements.length;s++){var l=(a=this.elements[s]).value.toString().toLowerCase(),c=t.text.toString().toLowerCase();-1===l.indexOf(c)&&-1===c.indexOf(l)||(this._activeElements.push(a),this._values.push(a.value),a.domElement.checked=!0,i=!0)}e=i;break;case"checkbox":if(e=!0,t.controlElements)for(s=0;s<t.controlElements.length;s++){r=t.controlElements[s];(a=this.elements[this.elements.indexOf(r.referenceTag)]).domElement.checked=r.checked,r.checked&&(this._values.push(a.value),this._activeElements.push(a))}this.required&&0==this._activeElements.length&&(e=!1)}return e},e}();t.TagGroup=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(t){function e(e){var n=t.call(this,e)||this;return"text"==n.type||"email"==n.type||"tel"==n.type||"checkbox"==n.type||"radio"==n.type||"password"==n.type||n.type,n}return i(e,t),e.prototype.findAndSetQuestions=function(){t.prototype.findAndSetQuestions.call(this)},e.prototype.findAndSetLabel=function(){t.prototype.findAndSetLabel.call(this),this._label},e.prototype.setTagValueAndIsValid=function(e){return"checkbox"==this.type||t.prototype.setTagValueAndIsValid.call(this,e)},e.prototype.dealloc=function(){t.prototype.dealloc.call(this)},e}(t.Tag);t.InputTag=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(e){function n(n){var i=e.call(this,n)||this;i.optionTags=[];for(var o=i.domElement.getElementsByTagName("option"),s=0;s<o.length;s++){var r=o[s],a=t.Tag.createTag(r);a?i.optionTags.push(a):console.warn(i.constructor.name,"option tag invalid:",a)}return i}return i(n,e),Object.defineProperty(n.prototype,"type",{get:function(){return"select"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this.domElement&&this.domElement.hasAttribute("name")?this.domElement.getAttribute("name"):this.optionTags[0].name},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this._values},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"multipleChoice",{get:function(){return this.domElement.hasAttribute("multiple")},enumerable:!0,configurable:!0}),n.prototype.setTagValueAndIsValid=function(t){var e=!1,n=[];if(this._values=[],t.controlElements)for(var i=0;i<this.optionTags.length;i++)for(var o=this.optionTags[i],s=0;s<t.controlElements.length;s++){var r=t.controlElements[s];r.referenceTag==o&&(o.selected=r.selected,!e&&o.selected&&(e=!0),o.selected&&this._values.push(o.value),r.visible&&n.push(r))}else{var a=!1;for(i=0;i<this.optionTags.length;i++){var l=(o=this.optionTags[i]).value.toString().toLowerCase(),c=t.text.toString().toLowerCase();-1===l.indexOf(c)&&-1===c.indexOf(l)||(this._values.push(o.value),o.domElement.checked=!0,a=!0)}e=a}if(!e&&1==n.length){var h=n[0];o=this.optionTags[this.optionTags.indexOf(h.referenceTag)];h.selected=!0,o.selected=!0,e=!0,o.selected&&this._values.push(o.value)}return e},n}(t.Tag);t.SelectTag=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(t){function e(e){var n=t.call(this,e)||this;return"submit"==n.domElement.getAttribute("type")||n.domElement.getAttribute("type"),n}return i(e,t),e}(t.Tag);t.ButtonTag=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i(n,e),Object.defineProperty(n.prototype,"type",{get:function(){return"option"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"label",{get:function(){return this.formless?e.prototype.getLabel.call(this):t.Helpers.getInnerTextOfElement(this.domElement)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selected",{get:function(){return this.domElement.hasAttribute("selected")},set:function(t){this.domElement.selected=t,t?this.domElement.setAttribute("selected","selected"):this.domElement.removeAttribute("selected")},enumerable:!0,configurable:!0}),n.prototype.setTagValueAndIsValid=function(t){return!0},n}(t.Tag);t.OptionTag=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(t){function e(e){var n=t.call(this,e)||this;return n.skipUserInput=!0,n}return i(e,t),e.prototype.dealloc=function(){t.prototype.dealloc.call(this)},e}(t.Tag);t.CfRobotMessageTag=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(e){function o(t){var n=e.call(this,t)||this;return n.clickCallback=n.onClick.bind(n),n.el.addEventListener("click",n.clickCallback,!1),n.mouseDownCallback=n.onMouseDown.bind(n),n.el.addEventListener("mousedown",n.mouseDownCallback,!1),n.checkForImage(),n}return i(o,e),Object.defineProperty(o.prototype,"type",{get:function(){return"Button"},enumerable:!0,configurable:!0}),o.prototype.hasImage=function(){return this.referenceTag.hasImage},o.prototype.checkForImage=function(){this.hasImage()&&(this.el.classList.add("has-image"),this.imgEl=document.createElement("img"),this.imageLoadedCallback=this.onImageLoaded.bind(this),this.imgEl.classList.add("cf-image"),this.imgEl.addEventListener("load",this.imageLoadedCallback,!1),this.imgEl.src=this.referenceTag.domElement.getAttribute("cf-image"),this.el.insertBefore(this.imgEl,this.el.children[0]))},o.prototype.onImageLoaded=function(){this.imgEl.classList.add("loaded"),this.eventTarget.dispatchEvent(new n(t.ControlElementEvents.ON_LOADED,{}))},o.prototype.onMouseDown=function(t){t.preventDefault()},o.prototype.onClick=function(t){this.onChoose()},o.prototype.dealloc=function(){this.el.removeEventListener("click",this.clickCallback,!1),this.clickCallback=null,this.imageLoadedCallback&&(this.imgEl.removeEventListener("load",this.imageLoadedCallback,!1),this.imageLoadedCallback=null),this.el.removeEventListener("mousedown",this.mouseDownCallback,!1),this.mouseDownCallback=null,e.prototype.dealloc.call(this)},o.prototype.getTemplate=function(){return'<cf-button class="cf-button">\n\t\t\t\t'+this.referenceTag.label+"\n\t\t\t</cf-button>\n\t\t\t"},o}(t.ControlElement);t.Button=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),Object.defineProperty(e.prototype,"type",{get:function(){return"RadioButton"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this.el.hasAttribute("checked")&&"checked"==this.el.getAttribute("checked")},set:function(t){t?(this.el.setAttribute("checked","checked"),this.referenceTag.domElement.setAttribute("checked","checked"),this.referenceTag.domElement.checked=!0):(this.el.removeAttribute("checked"),this.referenceTag.domElement.removeAttribute("checked"),this.referenceTag.domElement.checked=!1)},enumerable:!0,configurable:!0}),e.prototype.onClick=function(e){this.checked=!0,t.prototype.onClick.call(this,e)},e.prototype.getTemplate=function(){return'<cf-radio-button class="cf-button" '+(this.referenceTag.domElement.checked||this.referenceTag.domElement.hasAttribute("checked")?"checked=checked":"")+">\n\t\t\t\t<div>\n\t\t\t\t\t<cf-radio></cf-radio>\n\t\t\t\t\t<span>"+this.referenceTag.label+"</span>\n\t\t\t\t</div>\n\t\t\t</cf-radio-button>\n\t\t\t"},e}(t.Button);t.RadioButton=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),Object.defineProperty(e.prototype,"type",{get:function(){return"CheckboxButton"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return"checked"==this.el.getAttribute("checked")},set:function(t){t?(this.el.setAttribute("checked","checked"),this.referenceTag.domElement.setAttribute("checked","checked"),this.referenceTag.domElement.checked=!0):(this.el.removeAttribute("checked"),this.referenceTag.domElement.removeAttribute("checked"),this.referenceTag.domElement.checked=!1)},enumerable:!0,configurable:!0}),e.prototype.onClick=function(t){this.checked=!this.checked},e.prototype.getTemplate=function(){var t=this.referenceTag.domElement.checked&&this.referenceTag.domElement.hasAttribute("checked");return'<cf-button class="cf-button cf-checkbox-button '+(0==this.referenceTag.label.trim().length?"no-text":"")+'" checked='+(t?"checked":"")+">\n\t\t\t\t<div>\n\t\t\t\t\t<cf-checkbox></cf-checkbox>\n\t\t\t\t\t<span>"+this.referenceTag.label+"</span>\n\t\t\t\t</div>\n\t\t\t</cf-button>\n\t\t\t"},e}(t.Button);t.CheckboxButton=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){t.OptionButtonEvents={CLICK:"cf-option-button-click"};var e=function(e){function o(){var t=null!==e&&e.apply(this,arguments)||this;return t.isMultiChoice=!1,t}return i(o,e),Object.defineProperty(o.prototype,"type",{get:function(){return"OptionButton"},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"selected",{get:function(){return this.el.hasAttribute("selected")},set:function(t){t?this.el.setAttribute("selected","selected"):this.el.removeAttribute("selected")},enumerable:!0,configurable:!0}),o.prototype.setData=function(t){this.isMultiChoice=t.isMultiChoice,e.prototype.setData.call(this,t)},o.prototype.onClick=function(e){t.ConversationalForm.illustrateFlow(this,"dispatch",t.OptionButtonEvents.CLICK,this),this.eventTarget.dispatchEvent(new n(t.OptionButtonEvents.CLICK,{detail:this}))},o.prototype.getTemplate=function(){var t='<cf-button class="cf-button '+(this.isMultiChoice?"cf-checkbox-button":"")+'" '+(this.referenceTag.domElement.selected?"selected='selected'":"")+">";return t+="<div>",this.isMultiChoice&&(t+="<cf-checkbox></cf-checkbox>"),t+=this.referenceTag.label,t+="</div>",t+="</cf-button>"},o}(t.Button);t.OptionButton=e}(o||(o={})),function(t){var e=function(){function e(e){this.context=e.context,this.eventTarget=e.eventTarget,this.referenceTag=e.referenceTag,this.multiChoice=this.referenceTag.domElement.hasAttribute("multiple"),this.onOptionButtonClickCallback=this.onOptionButtonClick.bind(this),this.eventTarget.addEventListener(t.OptionButtonEvents.CLICK,this.onOptionButtonClickCallback,!1),this.createElements()}return Object.defineProperty(e.prototype,"type",{get:function(){return"OptionsList"},enumerable:!0,configurable:!0}),e.prototype.getValue=function(){for(var t=[],e=0;e<this.elements.length;e++){var n=this.elements[e];if(!this.multiChoice&&n.selected)return t.push(n),t;this.multiChoice&&n.selected&&t.push(n)}return t},e.prototype.onOptionButtonClick=function(e){if(this.multiChoice)e.detail.selected=!e.detail.selected;else{for(var i=0;i<this.elements.length;i++){var o=this.elements[i];o!=e.detail?o.selected=!1:o.selected=!0}t.ConversationalForm.illustrateFlow(this,"dispatch",t.ControlElementEvents.SUBMIT_VALUE,this.referenceTag),this.eventTarget.dispatchEvent(new n(t.ControlElementEvents.SUBMIT_VALUE,{detail:e.detail}))}},e.prototype.createElements=function(){this.elements=[];for(var e=this.referenceTag.optionTags,n=0;n<e.length;n++){var i=e[n],o=new t.OptionButton({referenceTag:i,isMultiChoice:this.referenceTag.multipleChoice,eventTarget:this.eventTarget});this.elements.push(o),this.context.appendChild(o.el)}},e.prototype.dealloc=function(){for(this.eventTarget.removeEventListener(t.OptionButtonEvents.CLICK,this.onOptionButtonClickCallback,!1),this.onOptionButtonClickCallback=null;this.elements.length>0;)this.elements.pop().dealloc();this.elements=null},e}();t.OptionsList=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(e){function o(n){var i=e.call(this,n)||this;if(i.maxFileSize=1e11,i.loading=!1,i.submitTimer=0,i._fileName="",i._readerResult="",!t.Helpers.caniuse.fileReader())throw new Error("Conversational Form Error: No FileReader available for client.");var o=i.referenceTag.domElement.getAttribute("cf-max-size")||i.referenceTag.domElement.getAttribute("max-size");if(o){var s=parseInt(o,10);i.maxFileSize=s}return i.progressBar=i.el.getElementsByTagName("cf-upload-file-progress-bar")[0],i.onDomElementChangeCallback=i.onDomElementChange.bind(i),i.referenceTag.domElement.addEventListener("change",i.onDomElementChangeCallback,!1),i}return i(o,e),Object.defineProperty(o.prototype,"value",{get:function(){return this.referenceTag.domElement.value},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"readerResult",{get:function(){return this._readerResult},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"files",{get:function(){return this._files},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"fileName",{get:function(){return this._fileName},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"type",{get:function(){return"UploadFileUI"},enumerable:!0,configurable:!0}),o.prototype.getFilesAsString=function(){var e=document.createElement("span");return e.innerHTML=t.Dictionary.get("icon-type-file")+this.fileName,e.outerHTML},o.prototype.onDomElementChange=function(e){var i=this;t.ConversationalForm.suppressLog||console.log("...onDomElementChange");var o=new FileReader;this._files=this.referenceTag.domElement.files,o.onerror=function(e){t.ConversationalForm.suppressLog||console.log("onerror",e)},o.onprogress=function(e){t.ConversationalForm.suppressLog||console.log("onprogress",e),i.progressBar.style.width=e.loaded/e.total*100+"%"},o.onabort=function(e){t.ConversationalForm.suppressLog||console.log("onabort",e)},o.onloadstart=function(e){var s=i.files[0],r=s?s.size:i.maxFileSize+1;if(r>i.maxFileSize){o.abort();var a={errorText:t.Dictionary.get("input-placeholder-file-size-error")};t.ConversationalForm.illustrateFlow(i,"dispatch",t.FlowEvents.USER_INPUT_INVALID,a),i.eventTarget.dispatchEvent(new n(t.FlowEvents.USER_INPUT_INVALID,{detail:a}))}else{i._fileName=s.name,i.loading=!0,i.animateIn();var l=Math.floor(Math.log(r)/Math.log(1024)),c=["b","kb","mb","gb"];l=Math.min(c.length-1,l);var h=1*Number((r/Math.pow(1024,l)).toFixed(2))+" "+c[l],u=s.name+" ("+h+")";i.el.getElementsByTagName("cf-upload-file-text")[0].innerHTML=u,i.eventTarget.dispatchEvent(new n(t.ControlElementEvents.PROGRESS_CHANGE,{detail:t.ControlElementProgressStates.BUSY}))}},o.onload=function(e){i._readerResult=e.target.result,i.progressBar.classList.add("loaded"),i.submitTimer=setTimeout(function(){i.el.classList.remove("animate-in"),i.onChoose(),i.eventTarget.dispatchEvent(new n(t.ControlElementEvents.PROGRESS_CHANGE,{detail:t.ControlElementProgressStates.READY}))},0)},o.readAsDataURL(this.files[0])},o.prototype.animateIn=function(){this.loading&&e.prototype.animateIn.call(this)},o.prototype.onClick=function(t){},o.prototype.triggerFileSelect=function(){this.referenceTag.domElement.click()},o.prototype.dealloc=function(){clearTimeout(this.submitTimer),this.progressBar=null,this.onDomElementChangeCallback&&(this.referenceTag.domElement.removeEventListener("change",this.onDomElementChangeCallback,!1),this.onDomElementChangeCallback=null),e.prototype.dealloc.call(this)},o.prototype.getTemplate=function(){"1"==this.referenceTag.value||this.referenceTag.domElement.hasAttribute("checked");return"<cf-upload-file-ui>\n\t\t\t\t<cf-upload-file-text></cf-upload-file-text>\n\t\t\t\t<cf-upload-file-progress>\n\t\t\t\t\t<cf-upload-file-progress-bar></cf-upload-file-progress-bar>\n\t\t\t\t</cf-upload-file-progress>\n\t\t\t</cf-upload-file-ui>\n\t\t\t"},o}(t.Button);t.UploadFileUI=e}(o||(o={})),function(t){t.MicrophoneBridgeEvent={ERROR:"cf-microphone-bridge-error",TERMNIAL_ERROR:"cf-microphone-bridge-terminal-error"};var e=function(){function e(e){this.currentTextResponse="",this._hasUserMedia=!1,this.inputErrorCount=0,this.inputCurrentError="",this.el=e.el,this.button=e.button,this.eventTarget=e.eventTarget,this.microphoneObj=e.microphoneObj,this.flowUpdateCallback=this.onFlowUpdate.bind(this),this.eventTarget.addEventListener(t.FlowEvents.FLOW_UPDATE,this.flowUpdateCallback,!1)}return Object.defineProperty(e.prototype,"hasUserMedia",{set:function(t){this._hasUserMedia=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{set:function(t){this.equalizer&&(this.equalizer.disabled=!t)},enumerable:!0,configurable:!0}),e.prototype.cancel=function(){this.button.loading=!1,this.microphoneObj.cancelInput&&this.microphoneObj.cancelInput()},e.prototype.onFlowUpdate=function(){var t=this;if(this.currentTextResponse=null,this._hasUserMedia)this.microphoneObj.awaitingCallback||this.callInput();else{var e=!1;window.navigator.mediaDevices&&window.navigator.mediaDevices.enumerateDevices().then(function(n){n.forEach(function(t){e||""===t.label||(e=!0)}),e&&t.getUserMedia()})}},e.prototype.getUserMedia=function(){var e=this;try{void 0===navigator.mediaDevices&&(navigator.mediaDevices={}),void 0===navigator.mediaDevices.getUserMedia&&(navigator.mediaDevices.getUserMedia=function(t){var e=navigator.getUserMedia||window.navigator.webkitGetUserMedia||window.navigator.mozGetUserMedia;return e?new Promise(function(n,i){e.call(navigator,t,n,i)}):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}),navigator.mediaDevices.getUserMedia({audio:!0}).then(function(t){e.currentStream=t,t.getAudioTracks().length>0?(e.hasUserMedia=!0,e.setupEqualizer(),e.microphoneObj.awaitingCallback||e.callInput()):e.hasUserMedia=!1}).catch(function(n){e.hasUserMedia=!1,e.eventTarget.dispatchEvent(new Event(t.MicrophoneBridgeEvent.TERMNIAL_ERROR))})}catch(n){this.hasUserMedia=!1,this.eventTarget.dispatchEvent(new Event(t.MicrophoneBridgeEvent.TERMNIAL_ERROR))}},e.prototype.dealloc=function(){this.cancel(),this.promise=null,this.currentStream=null,this.equalizer&&this.equalizer.dealloc(),this.equalizer=null,this.eventTarget.removeEventListener(t.FlowEvents.FLOW_UPDATE,this.flowUpdateCallback,!1),this.flowUpdateCallback=null},e.prototype.callInput=function(e){var i=this;void 0===e&&(e=0),this.button.loading=!0,this.equalizer&&(this.equalizer.disabled=!1),this.promise=new Promise(function(t,e){return i.microphoneObj.input(t,e,i.currentStream)}).then(function(e){if(i.promise=null,i.currentTextResponse=e.toString(),!i.currentTextResponse||""==i.currentTextResponse)return i.showError(t.Dictionary.get("user-audio-reponse-invalid")),void i.callInput();i.inputErrorCount=0,i.inputCurrentError="",i.button.loading=!1;var o={text:i.currentTextResponse};t.ConversationalForm.illustrateFlow(i,"dispatch",t.UserInputEvents.SUBMIT,o),i.eventTarget.dispatchEvent(new n(t.UserInputEvents.SUBMIT,{detail:o}))}).catch(function(e){i.isErrorTerminal(e)?(i.eventTarget.dispatchEvent(new n(t.MicrophoneBridgeEvent.TERMNIAL_ERROR,{detail:t.Dictionary.get("microphone-terminal-error")})),t.ConversationalForm.suppressLog||console.log("Conversational Form: Terminal error: ",e)):(i.inputCurrentError!=e&&(i.inputErrorCount=0,i.inputCurrentError=e),i.inputErrorCount++,i.inputErrorCount>2?i.showError(e):(i.eventTarget.dispatchEvent(new n(t.MicrophoneBridgeEvent.TERMNIAL_ERROR,{detail:t.Dictionary.get("microphone-terminal-error")})),t.ConversationalForm.suppressLog||console.log("Conversational Form: Terminal error: ",e)))})},e.prototype.isErrorTerminal=function(t){return-1!==["network"].indexOf(t)},e.prototype.showError=function(e){var i={errorText:e};t.ConversationalForm.illustrateFlow(this,"dispatch",t.FlowEvents.USER_INPUT_INVALID,i),this.eventTarget.dispatchEvent(new n(t.FlowEvents.USER_INPUT_INVALID,{detail:i})),this.callInput()},e.prototype.setupEqualizer=function(){var t=this.el.getElementsByTagName("cf-icon-audio-eq")[0];i.supported&&t&&(this.equalizer=new i({stream:this.currentStream,elementToScale:t}))},e}();t.MicrophoneBridge=e;var i=function(){function t(t){var e=this;this.maxBorderWidth=0,this._disabled=!1,this.elementToScale=t.elementToScale,this.context=new AudioContext,this.analyser=this.context.createAnalyser(),this.mic=this.context.createMediaStreamSource(t.stream),this.javascriptNode=this.context.createScriptProcessor(2048,1,1),this.analyser.smoothingTimeConstant=.3,this.analyser.fftSize=1024,this.mic.connect(this.analyser),this.analyser.connect(this.javascriptNode),this.javascriptNode.connect(this.context.destination),this.javascriptNode.onaudioprocess=function(){e.onAudioProcess()}}return Object.defineProperty(t.prototype,"disabled",{set:function(t){this._disabled=t,this.elementToScale.style.borderWidth="0px"},enumerable:!0,configurable:!0}),t.prototype.onAudioProcess=function(){if(!this._disabled){var t=new Uint8Array(this.analyser.frequencyBinCount);this.analyser.getByteFrequencyData(t);for(var e=0,n=t.length,i=0;i<n;i++)e+=t[i];var o=e/n,s=Math.min(1,Math.max(0,1-(50-o)/50));this.maxBorderWidth||(this.maxBorderWidth=.5*this.elementToScale.offsetWidth),this.elementToScale.style.borderWidth=this.maxBorderWidth*s+"px"}},t.prototype.dealloc=function(){this.javascriptNode.onaudioprocess=null,this.javascriptNode=null,this.analyser=null,this.mic=null,this.elementToScale=null,this.context=null},t.supported=function(){return window.AudioContext=window.AudioContext||window.webkitAudioContext,!!window.AudioContext},t}()}(o||(o={})),function(t){t.UserInputSubmitButtonEvents={CHANGE:"userinput-submit-button-change-value"};var e=function(){function e(e){this._active=!0,this.eventTarget=e.eventTarget;var n=document.createElement("template");n.innerHTML=this.getTemplate(),this.el=n.firstChild||n.content.firstChild,this.onClickCallback=this.onClick.bind(this),this.el.addEventListener("click",this.onClickCallback,!1),this.onMicrophoneTerminalErrorCallback=this.onMicrophoneTerminalError.bind(this),this.eventTarget.addEventListener(t.MicrophoneBridgeEvent.TERMNIAL_ERROR,this.onMicrophoneTerminalErrorCallback,!1)}return Object.defineProperty(e.prototype,"typing",{get:function(){return this.el.classList.contains("typing")},set:function(t){t?(this.el.classList.add("typing"),this.loading=!1,this.mic&&this.mic.cancel()):(this.el.classList.remove("typing"),this.mic&&this.mic.callInput())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._active},set:function(t){this._active=t,this.mic&&(this.mic.active=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loading",{get:function(){return this.el.classList.contains("loading")},set:function(t){t?this.el.classList.add("loading"):this.el.classList.remove("loading")},enumerable:!0,configurable:!0}),e.prototype.addMicrophone=function(e){this.el.classList.add("microphone-interface");var n=document.createElement("template");n.innerHTML='<div class="cf-input-icons cf-microphone">\n\t\t\t\t<div class="cf-icon-audio"></div>\n\t\t\t\t<cf-icon-audio-eq></cf-icon-audio-eq>\n\t\t\t</div>';var i=n.firstChild||n.content.firstChild;this.mic=new t.MicrophoneBridge({el:i,button:this,eventTarget:this.eventTarget,microphoneObj:e}),this.el.appendChild(i)},e.prototype.reset=function(){this.mic&&!this.typing&&this.mic.callInput()},e.prototype.getTemplate=function(){return'<cf-input-button class="cf-input-button">\n\t\t\t\t\t\t<div class="cf-input-icons">\n\t\t\t\t\t\t\t<div class="cf-icon-progress"></div>\n\t\t\t\t\t\t\t<div class="cf-icon-attachment"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</cf-input-button>'},e.prototype.onMicrophoneTerminalError=function(e){this.mic&&(this.mic.dealloc(),this.mic=null,this.el.removeChild(this.el.getElementsByClassName("cf-microphone")[0]),this.el.classList.remove("microphone-interface"),this.loading=!1,this.eventTarget.dispatchEvent(new n(t.FlowEvents.USER_INPUT_INVALID,{detail:{errorText:e.detail}})))},e.prototype.onClick=function(e){this.mic&&!this.typing?this.mic.callInput():this.eventTarget.dispatchEvent(new n(t.UserInputSubmitButtonEvents.CHANGE))},e.prototype.click=function(){this.el.click()},e.prototype.dealloc=function(){this.eventTarget.removeEventListener(t.MicrophoneBridgeEvent.TERMNIAL_ERROR,this.onMicrophoneTerminalErrorCallback,!1),this.onMicrophoneTerminalErrorCallback=null,this.mic&&this.mic.dealloc(),this.mic=null,this.el.removeEventListener("click",this.onClickCallback,!1),this.onClickCallback=null,this.el=null,this.eventTarget=null},e}();t.UserInputSubmitButton=e}(o||(o={})),function(t){t.UserInputTypes={VOICE:"voice",VR_GESTURE:"vr-gesture",TEXT:"text"}}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(e){function n(n){var i=e.call(this,n)||this;return i._disabled=!1,i._visible=!1,i.onChatReponsesUpdatedCallback=i.onChatReponsesUpdated.bind(i),i.eventTarget.addEventListener(t.ChatListEvents.CHATLIST_UPDATED,i.onChatReponsesUpdatedCallback,!1),i.windowFocusCallback=i.windowFocus.bind(i),window.addEventListener("focus",i.windowFocusCallback,!1),i.inputInvalidCallback=i.inputInvalid.bind(i),i.eventTarget.addEventListener(t.FlowEvents.USER_INPUT_INVALID,i.inputInvalidCallback,!1),i.flowUpdateCallback=i.onFlowUpdate.bind(i),i.eventTarget.addEventListener(t.FlowEvents.FLOW_UPDATE,i.flowUpdateCallback,!1),i}return i(n,e),Object.defineProperty(n.prototype,"currentTag",{get:function(){return this._currentTag},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"visible",{set:function(t){var e=this;this._visible=t,!this.el.classList.contains("animate-in")&&t?setTimeout(function(){e.el.classList.add("animate-in")},0):this.el.classList.contains("animate-in")&&!t&&this.el.classList.remove("animate-in")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled!=t&&(this._disabled=t,t?this.el.setAttribute("disabled","disabled"):(this.setFocusOnInput(),this.el.removeAttribute("disabled")))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){var e=0,n=0,i=this.el;return t.Helpers.isInternetExlorer()?(e=i.offsetHeight,n=parseInt(i.currentStyle.marginTop,10)+parseInt(i.currentStyle.marginBottom,10),n*=2):(e=parseInt(document.defaultView.getComputedStyle(i,"").getPropertyValue("height"),10),n=parseInt(document.defaultView.getComputedStyle(i,"").getPropertyValue("margin-top"))+parseInt(document.defaultView.getComputedStyle(i,"").getPropertyValue("margin-bottom"))),e+n},enumerable:!0,configurable:!0}),n.prototype.onEnterOrSubmitButtonSubmit=function(t){void 0===t&&(t=null)},n.prototype.inputInvalid=function(t){},n.prototype.deactivate=function(){this.disabled=!0},n.prototype.reactivate=function(){this.disabled=!1},n.prototype.getFlowDTO=function(){},n.prototype.setFocusOnInput=function(){},n.prototype.onFlowStopped=function(){},n.prototype.reset=function(){},n.prototype.dealloc=function(){this.eventTarget.removeEventListener(t.ChatListEvents.CHATLIST_UPDATED,this.onChatReponsesUpdatedCallback,!1),this.onChatReponsesUpdatedCallback=null,this.eventTarget.removeEventListener(t.FlowEvents.USER_INPUT_INVALID,this.inputInvalidCallback,!1),this.inputInvalidCallback=null,window.removeEventListener("focus",this.windowFocusCallback,!1),this.windowFocusCallback=null,this.eventTarget.removeEventListener(t.FlowEvents.FLOW_UPDATE,this.flowUpdateCallback,!1),this.flowUpdateCallback=null,e.prototype.dealloc.call(this)},n.prototype.onFlowUpdate=function(e){t.ConversationalForm.illustrateFlow(this,"receive",e.type,e.detail),this._currentTag=e.detail.tag},n.prototype.windowFocus=function(t){},n.prototype.onChatReponsesUpdated=function(t){t.detail.currentResponse.isRobotResponse||(this.visible=!0,this.disabled=!1,this.setFocusOnInput())},n.ERROR_TIME=2e3,n.preventAutoFocus=!1,n.hideUserInputOnNoneTextInput=!1,n}(t.BasicElement);t.UserInputElement=e,t.UserInputEvents={SUBMIT:"cf-input-user-input-submit",KEY_CHANGE:"cf-input-key-change",CONTROL_ELEMENTS_ADDED:"cf-input-control-elements-added",HEIGHT_CHANGE:"cf-input-height-change",FOCUS:"cf-input-focus",BLUR:"cf-input-blur"}}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(e){function o(n){var i=e.call(this,n)||this;return i.initialInputHeight=0,i.shiftIsDown=!1,i._active=!1,i.cfReference=n.cfReference,i.eventTarget=n.eventTarget,i.inputElement=i.el.getElementsByTagName("textarea")[0],i.onInputFocusCallback=i.onInputFocus.bind(i),i.onInputBlurCallback=i.onInputBlur.bind(i),i.inputElement.addEventListener("focus",i.onInputFocusCallback,!1),i.inputElement.addEventListener("blur",i.onInputBlurCallback,!1),t.ConversationalForm.animationsEnabled||i.inputElement.setAttribute("no-animations",""),i.controlElements=new t.ControlElements({el:i.el.getElementsByTagName("cf-input-control-elements")[0],cfReference:i.cfReference,infoEl:i.el.getElementsByTagName("cf-info")[0],eventTarget:i.eventTarget}),i.keyUpCallback=i.onKeyUp.bind(i),document.addEventListener("keyup",i.keyUpCallback,!1),i.keyDownCallback=i.onKeyDown.bind(i),document.addEventListener("keydown",i.keyDownCallback,!1),i.onOriginalTagChangedCallback=i.onOriginalTagChanged.bind(i),i.eventTarget.addEventListener(t.TagEvents.ORIGINAL_ELEMENT_CHANGED,i.onOriginalTagChangedCallback,!1),i.onControlElementSubmitCallback=i.onControlElementSubmit.bind(i),i.eventTarget.addEventListener(t.ControlElementEvents.SUBMIT_VALUE,i.onControlElementSubmitCallback,!1),i.onControlElementProgressChangeCallback=i.onControlElementProgressChange.bind(i),i.eventTarget.addEventListener(t.ControlElementEvents.PROGRESS_CHANGE,i.onControlElementProgressChangeCallback,!1),i.onSubmitButtonChangeStateCallback=i.onSubmitButtonChangeState.bind(i),i.eventTarget.addEventListener(t.UserInputSubmitButtonEvents.CHANGE,i.onSubmitButtonChangeStateCallback,!1),i.submitButton=new t.UserInputSubmitButton({eventTarget:i.eventTarget}),i.el.querySelector("div").appendChild(i.submitButton.el),n.microphoneInputObj&&(i.microphoneObj=n.microphoneInputObj,i.microphoneObj&&i.microphoneObj.init&&i.microphoneObj.init(),i.submitButton.addMicrophone(i.microphoneObj)),i}return i(o,e),Object.defineProperty(o.prototype,"active",{get:function(){return this.inputElement===document.activeElement||this._active},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"disabled",{set:function(e){var n=this._disabled!=e;t.ConversationalForm.suppressLog||console.log("option hasChanged",e),n&&(this._disabled=e,e?(this.el.setAttribute("disabled","disabled"),this.inputElement.blur()):(this.setFocusOnInput(),this.el.removeAttribute("disabled")))},enumerable:!0,configurable:!0}),o.prototype.getInputValue=function(){var t=this.inputElement.value,e=document.createElement("div");return e.appendChild(document.createTextNode(t)),e.innerHTML},o.prototype.getFlowDTO=function(){var t;return(t=this.controlElements&&this.controlElements.active?this.controlElements.getDTO():{text:this.getInputValue()}).tag||(t.tag=this.currentTag),t.input=this,t.tag=this.currentTag,t},o.prototype.reset=function(){this.controlElements&&this.controlElements.clearTagsAndReset()},o.prototype.deactivate=function(){e.prototype.deactivate.call(this),this.microphoneObj&&(this.submitButton.active=!1)},o.prototype.reactivate=function(){e.prototype.reactivate.call(this),this.microphoneObj&&!this.submitButton.typing&&(this.submitButton.loading=!0,this.submitButton.typing=!1,this.submitButton.active=!0)},o.prototype.onFlowStopped=function(){this.submitButton.loading=!1,this.submitButton.typing&&(this.submitButton.typing=!1),this.controlElements&&this.controlElements.clearTagsAndReset(),this.disabled=!0},o.prototype.onOriginalTagChanged=function(t){this.currentTag==t.detail.tag&&this.onInputChange(),this.controlElements&&this.controlElements.active&&this.controlElements.updateStateOnElementsFromTag(t.detail.tag)},o.prototype.onInputChange=function(){if(this.active||this.controlElements.active){var e=Math.max(this.initialInputHeight,parseInt(this.inputElement.style.height,10));this.inputElement.style.height="0px",this.inputElement.style.height=(0===this.inputElement.scrollHeight?e:this.inputElement.scrollHeight)+"px",t.ConversationalForm.illustrateFlow(this,"dispatch",t.UserInputEvents.HEIGHT_CHANGE),this.eventTarget.dispatchEvent(new n(t.UserInputEvents.HEIGHT_CHANGE,{detail:this.inputElement.scrollHeight}))}},o.prototype.resetInputHeight=function(){"1"===this.inputElement.getAttribute("rows")?this.inputElement.style.height=this.initialInputHeight+"px":this.inputElement.style.height="0px"},o.prototype.inputInvalid=function(e){var n=this;t.ConversationalForm.illustrateFlow(this,"receive",e.type,e.detail);var i=e.detail;this.inputElement.setAttribute("data-value",this.inputElement.value),this.inputElement.value="",this.el.setAttribute("error",""),this.disabled=!0,this.inputElement.setAttribute("placeholder",i.errorText||(this._currentTag?this._currentTag.errorMessage:"")),clearTimeout(this.errorTimer),this.submitButton.loading=!1,this.errorTimer=setTimeout(function(){n.disabled=!1,t.ConversationalForm.suppressLog||console.log("option, disabled 1"),n.el.removeAttribute("error"),n.inputElement.value=n.inputElement.getAttribute("data-value"),n.inputElement.setAttribute("data-value",""),n.setPlaceholder(),n.setFocusOnInput(),n.submitButton.reset(),n.controlElements&&n.controlElements.resetAfterErrorMessage()},t.UserInputElement.ERROR_TIME)},o.prototype.setPlaceholder=function(){this._currentTag?this._currentTag.inputPlaceholder?this.inputElement.setAttribute("placeholder",this._currentTag.inputPlaceholder):this.inputElement.setAttribute("placeholder","group"==this._currentTag.type?t.Dictionary.get("group-placeholder"):t.Dictionary.get("input-placeholder")):this.inputElement.setAttribute("placeholder",t.Dictionary.get("group-placeholder"))},o.prototype.checkForCorrectInputTag=function(){var t=this.tagType(this._currentTag);if(this.inputElement&&this.inputElement.tagName!==t&&(this.inputElement.removeEventListener("focus",this.onInputFocusCallback,!1),this.inputElement.removeEventListener("blur",this.onInputBlurCallback,!1)),this.removeAttribute("autocomplete"),this.removeAttribute("list"),"INPUT"===t){var e=document.createElement("input");Array.prototype.slice.call(this.inputElement.attributes).forEach(function(t){e.setAttribute(t.name,t.value)}),"password"===this.inputElement.type&&e.setAttribute("autocomplete","new-password"),this._currentTag.domElement.hasAttribute("autocomplete")&&e.setAttribute("autocomplete",this._currentTag.domElement.getAttribute("autocomplete")),this._currentTag.domElement.hasAttribute("list")&&e.setAttribute("list",this._currentTag.domElement.getAttribute("list")),this.inputElement.parentNode.replaceChild(e,this.inputElement),this.inputElement=e}else if(this.inputElement&&this.inputElement.tagName!==t){var n=document.createElement("textarea");Array.prototype.slice.call(this.inputElement.attributes).forEach(function(t){n.setAttribute(t.name,t.value)}),this.inputElement.parentNode.replaceChild(n,this.inputElement),this.inputElement=n}this.inputElement&&this.inputElement.tagName!==t&&(this.inputElement.addEventListener("focus",this.onInputFocusCallback,!1),this.inputElement.addEventListener("blur",this.onInputBlurCallback,!1)),0==this.initialInputHeight&&(this.initialInputHeight=this.inputElement.offsetHeight),this.setFocusOnInput()},o.prototype.removeAttribute=function(t){this.inputElement&&this.inputElement.hasAttribute(t)&&this.inputElement.removeAttribute(t)},o.prototype.tagType=function(t){return t.domElement&&t.domElement.tagName?"TEXTAREA"===t.domElement.tagName||t.domElement.hasAttribute("rows")&&parseInt(t.domElement.getAttribute("rows"),10)>1?"TEXTAREA":"INPUT"===t.domElement.tagName?"INPUT":"TEXTAREA":"TEXTAREA"},o.prototype.onFlowUpdate=function(n){var i=this;e.prototype.onFlowUpdate.call(this,n),this.submitButton.loading=!1,this.submitButton.typing&&(this.submitButton.typing=!1),this.el.setAttribute("tag-type",this._currentTag.type),this.checkForCorrectInputTag();var o=-1!==["password","number","email","tel"].indexOf(this._currentTag.type);this.inputElement.setAttribute("type",o?this._currentTag.type:"input"),clearTimeout(this.errorTimer),this.el.removeAttribute("error"),this.inputElement.setAttribute("data-value",""),this.inputElement.value="",this.submitButton.loading=!1,this.setPlaceholder(),this.resetValue(),this.setFocusOnInput(),this.controlElements.reset(),"group"==this._currentTag.type?this.buildControlElements(this._currentTag.elements):this.buildControlElements([this._currentTag]),this._currentTag.defaultValue&&(this.inputElement.value=this._currentTag.defaultValue.toString()),!0===this._currentTag.skipUserInput?this.el.classList.add("hide-input"):this.el.classList.remove("hide-input"),this._currentTag.rows&&this._currentTag.rows>1&&this.inputElement.setAttribute("rows",this._currentTag.rows.toString()),t.UserInputElement.hideUserInputOnNoneTextInput&&(this.controlElements.active?(this.el.classList.add("hide-input"),this.controlElements.focusFrom("bottom")):this.el.classList.remove("hide-input")),this.resetInputHeight(),setTimeout(function(){i.onInputChange()},300)},o.prototype.onControlElementProgressChange=function(e){var n=e.detail;this.disabled=n==t.ControlElementProgressStates.BUSY,t.ConversationalForm.suppressLog||console.log("option, disabled 2")},o.prototype.buildControlElements=function(t){this.controlElements.buildTags(t)},o.prototype.onControlElementSubmit=function(e){t.ConversationalForm.illustrateFlow(this,"receive",e.type,e.detail);var n=e.detail;this.controlElements.updateStateOnElements(n),this.doSubmit()},o.prototype.onSubmitButtonChangeState=function(t){this.onEnterOrSubmitButtonSubmit(t)},o.prototype.isMetaKeyPressed=function(t){!t.metaKey&&[91,93].indexOf(t.keyCode)},o.prototype.onKeyDown=function(e){(this.active||this.controlElements.focus)&&(this.isControlElementsActiveAndUserInputHidden()||this.isMetaKeyPressed(e)||(e.keyCode==t.Dictionary.keyCodes.shift&&(this.shiftIsDown=!0),!0===this.cfReference.preventSubmitOnEnter&&this.inputElement.hasAttribute("rows")&&parseInt(this.inputElement.getAttribute("rows"))>1||e.keyCode!=t.Dictionary.keyCodes.enter||e.shiftKey||e.preventDefault()))},o.prototype.isControlElementsActiveAndUserInputHidden=function(){return this.controlElements&&this.controlElements.active&&t.UserInputElement.hideUserInputOnNoneTextInput},o.prototype.onKeyUp=function(e){if((this.active||this.isControlElementsActiveAndUserInputHidden()||this.controlElements.focus)&&!this.isMetaKeyPressed(e)){if(e.keyCode==t.Dictionary.keyCodes.shift)this.shiftIsDown=!1;else if(e.keyCode==t.Dictionary.keyCodes.up)e.preventDefault(),this.active&&!this.controlElements.focus&&this.controlElements.focusFrom("bottom");else if(e.keyCode==t.Dictionary.keyCodes.down)e.preventDefault(),this.active&&!this.controlElements.focus&&this.controlElements.focusFrom("top");else if(e.keyCode==t.Dictionary.keyCodes.tab){for(var n=!1,i=e.target.parentNode;null!=i;){if(i===this.cfReference.el){n=!0;break}i=i.parentNode}n||(e.preventDefault(),this.controlElements.active||this.setFocusOnInput())}if(!this.el.hasAttribute("disabled")){var o=this.getFlowDTO();if(e.keyCode==t.Dictionary.keyCodes.enter&&!e.shiftKey||e.keyCode==t.Dictionary.keyCodes.space)if(e.keyCode==t.Dictionary.keyCodes.enter&&this.active){if(!0===this.cfReference.preventSubmitOnEnter)return;e.preventDefault(),this.onEnterOrSubmitButtonSubmit()}else if(e.keyCode==t.Dictionary.keyCodes.enter||e.keyCode==t.Dictionary.keyCodes.space){e.preventDefault();var s="group"==this._currentTag.type?this._currentTag.getGroupTagType():this._currentTag.type;if("select"==s||"checkbox"==s){var r=this._currentTag;"checkbox"==s||r.multipleChoice?(this.active||this.isControlElementsActiveAndUserInputHidden())&&e.keyCode==t.Dictionary.keyCodes.enter?this.submitButton.click():(this.active||this.controlElements.active||this.isControlElementsActiveAndUserInputHidden()||(this.resetValue(),this.setFocusOnInput()),this.dispatchKeyChange(o,e.keyCode)):this.dispatchKeyChange(o,e.keyCode)}else"group"==this._currentTag.type&&this.dispatchKeyChange(o,e.keyCode)}else e.keyCode==t.Dictionary.keyCodes.space&&document.activeElement&&this.dispatchKeyChange(o,e.keyCode);else e.keyCode!=t.Dictionary.keyCodes.shift&&e.keyCode!=t.Dictionary.keyCodes.tab&&this.dispatchKeyChange(o,e.keyCode);this.onInputChange()}}},o.prototype.dispatchKeyChange=function(e,i){this.submitButton.typing=e.text&&e.text.length>0,t.ConversationalForm.illustrateFlow(this,"dispatch",t.UserInputEvents.KEY_CHANGE,e),this.eventTarget.dispatchEvent(new n(t.UserInputEvents.KEY_CHANGE,{detail:{dto:e,keyCode:i,inputFieldActive:this.active}}))},o.prototype.windowFocus=function(t){e.prototype.windowFocus.call(this,t),this.setFocusOnInput()},o.prototype.onInputBlur=function(e){this._active=!1,this.eventTarget.dispatchEvent(new n(t.UserInputEvents.BLUR))},o.prototype.onInputFocus=function(e){this._active=!0,this.onInputChange(),this.eventTarget.dispatchEvent(new n(t.UserInputEvents.FOCUS))},o.prototype.setFocusOnInput=function(){t.UserInputElement.preventAutoFocus||this.el.classList.contains("hide-input")||this.inputElement.focus()},o.prototype.onEnterOrSubmitButtonSubmit=function(e){void 0===e&&(e=null);var n=this.controlElements.active&&t.UserInputElement.hideUserInputOnNoneTextInput;(this.active||n)&&this.controlElements.highlighted?this.controlElements.clickOnHighlighted():this._currentTag?"file"==this._currentTag.type&&e?this.controlElements.getElement(0).triggerFileSelect():this.doSubmit():this.eventTarget.cf.addUserChatResponse(this.inputElement.value)},o.prototype.doSubmit=function(){var e=this.getFlowDTO();this.submitButton.loading=!0,this.disabled=!0,this.el.removeAttribute("error"),this.inputElement.setAttribute("data-value",""),t.ConversationalForm.illustrateFlow(this,"dispatch",t.UserInputEvents.SUBMIT,e),this.eventTarget.dispatchEvent(new n(t.UserInputEvents.SUBMIT,{detail:e}))},o.prototype.resetValue=function(){this.inputElement.value="",this.inputElement.hasAttribute("rows")&&this.inputElement.setAttribute("rows","1"),this.onInputChange()},o.prototype.dealloc=function(){this.inputElement.removeEventListener("blur",this.onInputBlurCallback,!1),this.onInputBlurCallback=null,this.inputElement.removeEventListener("focus",this.onInputFocusCallback,!1),this.onInputFocusCallback=null,document.removeEventListener("keydown",this.keyDownCallback,!1),this.keyDownCallback=null,document.removeEventListener("keyup",this.keyUpCallback,!1),this.keyUpCallback=null,this.eventTarget.removeEventListener(t.ControlElementEvents.SUBMIT_VALUE,this.onControlElementSubmitCallback,!1),this.onControlElementSubmitCallback=null,this.submitButton.el.removeEventListener(t.UserInputSubmitButtonEvents.CHANGE,this.onSubmitButtonChangeStateCallback,!1),this.onSubmitButtonChangeStateCallback=null,this.submitButton.dealloc(),this.submitButton=null,e.prototype.dealloc.call(this)},o.prototype.getTemplate=function(){return this.customTemplate||'<cf-input>\n\t\t\t\t<cf-info></cf-info>\n\t\t\t\t<cf-input-control-elements>\n\t\t\t\t\t<cf-list-button direction="prev">\n\t\t\t\t\t</cf-list-button>\n\t\t\t\t\t<cf-list-button direction="next">\n\t\t\t\t\t</cf-list-button>\n\t\t\t\t\t<cf-list>\n\t\t\t\t\t</cf-list>\n\t\t\t\t</cf-input-control-elements>\n\t\t\t\t<div class="inputWrapper">\n\t\t\t\t\t<textarea type=\'input\' tabindex="1" rows="1"></textarea>\n\t\t\t\t</div>\n\t\t\t</cf-input>\n\t\t\t'},o}(t.UserInputElement);t.UserTextInput=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){t.ChatResponseEvents={USER_ANSWER_CLICKED:"cf-on-user-answer-clicked"};var e=function(e){function o(t){var n=e.call(this,t)||this;return n.container=t.container,n.uiOptions=t.cfReference.uiOptions,n._tag=t.tag,n}return i(o,e),Object.defineProperty(o.prototype,"tag",{get:function(){return this._tag},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"added",{get:function(){return!!this.el||!!this.el.parentNode||!!this.el.parentNode.parentNode},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"disabled",{get:function(){return this.el.classList.contains("disabled")},set:function(t){t?this.el.classList.add("disabled"):this.el.classList.remove("disabled")},enumerable:!0,configurable:!0}),o.prototype.hasFlexBug=function(){return this.cfReference.el.classList.contains("browser-firefox")||this.cfReference.el.classList.contains("browser-edge")},o.prototype.animateIn=function(){var t=this,e=document.querySelector("scrollable"),n=document.querySelector(".scrollableInner");this.hasFlexBug()&&n.classList.remove("scroll"),requestAnimationFrame(function(){var i=t.el.scrollHeight;t.el.style.height="0px",requestAnimationFrame(function(){t.el.style.height=i+"px",t.el.classList.add("show");try{var o=window.getComputedStyle(document.querySelectorAll("p.show")[0]),s=+o.animationDuration.replace("s",""),r=+o.animationDelay.replace("s","");setTimeout(function(){t.el.style.height="auto",t.hasFlexBug()&&n.scrollHeight>e.offsetHeight&&(n.classList.add("scroll"),n.scrollTop=n.scrollHeight)},1500*(s+r))}catch(a){setTimeout(function(){t.hasFlexBug()&&n.scrollHeight>e.offsetHeight&&(n.classList.add("scroll"),n.scrollTop=n.scrollHeight),t.el.style.height="auto"},3e3)}})})},Object.defineProperty(o.prototype,"visible",{set:function(t){},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"strippedSesponse",{get:function(){var t=this.response,e=document.createElement("div");return e.innerHTML=t,e.textContent||e.innerText||""},enumerable:!0,configurable:!0}),o.prototype.whenReady=function(t){this.onReadyCallback=t},o.prototype.setValue=function(e){void 0===e&&(e=null);this.el.hasAttribute("thinking");if(e){if(this.response=this.originalResponse=e.text,this.processResponseAndSetText(),this.responseLink&&!this.isRobotResponse&&this.responseLink.processResponseAndSetText(),e&&e.controlElements&&e.controlElements[0])switch(e.controlElements[0].type){case"UploadFileUI":this.textEl.classList.add("file-icon")}this.isRobotResponse||this.onClickCallback||(this.onClickCallback=this.onClick.bind(this),this.el.addEventListener(t.Helpers.getMouseEvent("click"),this.onClickCallback,!1))}else this.setToThinking()},o.prototype.show=function(){this.visible=!0,this.disabled=!1,this.response?this.checkForEditMode():this.setToThinking()},o.prototype.updateThumbnail=function(t){var e=this.el.getElementsByTagName("thumb")[0];if(0===t.indexOf("text:")){var n=e.getElementsByTagName("span")[0];n.innerHTML=t.split("text:")[1],n.setAttribute("length",t.length.toString())}else this.image=t,e.style.backgroundImage='url("'+this.image+'")'},o.prototype.setLinkToOtherReponse=function(t){this.responseLink=t},o.prototype.processResponseAndSetText=function(){var t=this;if(this.originalResponse){var e=this.originalResponse;if(this._tag&&"password"==this._tag.type&&!this.isRobotResponse){for(var n="",i=0;i<e.length;i++)n+="*";e=n}if(this.responseLink&&this.isRobotResponse&&(e=e.split("{previous-answer}").join(this.responseLink.parsedResponse)),this.isRobotResponse)for(var s=o.list.getResponses(),r=0;r<s.length;r++){var a=s[r];a!==this&&a.tag&&(a.tag.id&&(e=e.split("{"+a.tag.id+"}").join(a.tag.value)),a.tag.name&&(e=e.split("{"+a.tag.name+"}").join(a.tag.value)))}if(-1!=e.indexOf("contains-image")&&this.textEl.classList.add("contains-image"),this.isRobotResponse){this.textEl.innerHTML="",this.uiOptions||(this.uiOptions=this.cfReference.uiOptions);var l=this.uiOptions.robot.robotResponseTime;0!=l&&this.setToThinking();var c=e.split("&&");if(0===l){for(var h=0;h<c.length;h++){var u=c[h];this.textEl.innerHTML+="<p>"+u+"</p>"}for(var p=function(e){setTimeout(function(){t.tryClearThinking(),t.textEl.getElementsByTagName("p")[e].classList.add("show"),t.scrollTo()},c.length>1&&e>0?l+(e+1)*d.uiOptions.robot.chainedResponseTime:0)},d=this,f=0;f<c.length;f++)p(f)}else for(var m=function(e){var n=l+e*g.uiOptions.robot.chainedResponseTime,i=c[e];setTimeout(function(){t.tryClearThinking(),t.textEl.innerHTML+="<p>"+i+"</p>",t.textEl.getElementsByTagName("p")[e].classList.add("show"),t.scrollTo()},n)},g=this,v=0;v<c.length;v++)m(v);this.readyTimer=setTimeout(function(){t.onReadyCallback&&t.onReadyCallback(),t.onReadyCallback=null,t._tag&&!0===t._tag.skipUserInput&&setTimeout(function(){t._tag.flowManager.nextStep(),t._tag.skipUserInput=!1},t.uiOptions.robot.chainedResponseTime)},l+c.length*this.uiOptions.robot.chainedResponseTime)}else{this.tryClearThinking();var b=e.indexOf("<img")>-1,E=new RegExp("<img[^>]*?>","g"),y=e.match(E);b&&y?(e=e.replace(y[0],""),this.textEl.innerHTML='<p class="hasImage">'+y+"<span>"+e+"</span></p>"):this.textEl.innerHTML="<p>"+e+"</p>";var C=this.textEl.getElementsByTagName("p");C[C.length-1].offsetWidth,C[C.length-1].classList.add("show"),this.scrollTo()}this.parsedResponse=e,this.uiOptions.robot&&0===this.uiOptions.robot.robotResponseTime?this.addSelf():setTimeout(function(){t.addSelf()},0),this.textEl.removeAttribute("value-added"),setTimeout(function(){t.textEl.setAttribute("value-added",""),t.el.classList.add("peak-thumb")},0),this.checkForEditMode(),this.response=e.split("&&").join(" ")}},o.prototype.scrollTo=function(){var t=this.el.offsetTop,e=this.el.offsetHeight;!this.container&&this.el&&(this.container=this.el),this.container&&this.container.parentElement&&this.container.parentElement.scrollHeight&&(this.container.parentElement.scrollTop=t+e+this.container.parentElement.scrollHeight)},o.prototype.checkForEditMode=function(){this.isRobotResponse||this.el.hasAttribute("thinking")||(this.el.classList.add("can-edit"),this.disabled=!1)},o.prototype.tryClearThinking=function(){this.el.hasAttribute("thinking")&&(this.textEl.innerHTML="",this.el.removeAttribute("thinking"))},o.prototype.setToThinking=function(){(this.isRobotResponse&&0!==this.uiOptions.robot.robotResponseTime||!this.isRobotResponse&&this.cfReference.uiOptions.user.showThinking&&!this._tag.skipUserInput)&&(this.textEl.innerHTML=o.THINKING_MARKUP,this.el.classList.remove("can-edit"),this.el.setAttribute("thinking","")),(this.cfReference.uiOptions.user.showThinking||this.cfReference.uiOptions.user.showThumb)&&this.addSelf()},o.prototype.addSelf=function(){this.el.parentNode!=this.container&&(this.container.appendChild(this.el),this.animateIn())},o.prototype.onClick=function(e){this.setToThinking(),t.ConversationalForm.illustrateFlow(this,"dispatch",t.ChatResponseEvents.USER_ANSWER_CLICKED,e),this.eventTarget.dispatchEvent(new n(t.ChatResponseEvents.USER_ANSWER_CLICKED,{detail:this._tag}))},o.prototype.setData=function(t){this.image=t.image,this.response=this.originalResponse=t.response,this.isRobotResponse=t.isRobotResponse,e.prototype.setData.call(this,t)},o.prototype.onElementCreated=function(){var t=this;this.textEl=this.el.getElementsByTagName("text")[0],this.updateThumbnail(this.image),this.isRobotResponse||null!=this.response?setTimeout(function(){t.setValue({text:t.response})},0):this.cfReference.uiOptions.user.showThumb&&this.el.classList.add("peak-thumb")},o.prototype.dealloc=function(){clearTimeout(this.readyTimer),this.container=null,this.uiOptions=null,this.onReadyCallback=null,this.onClickCallback&&(this.el.removeEventListener(t.Helpers.getMouseEvent("click"),this.onClickCallback,!1),this.onClickCallback=null),e.prototype.dealloc.call(this)},o.prototype.getTemplate=function(){return'<cf-chat-response class="'+(this.isRobotResponse?"robot":"user")+'">\n\t\t\t\t<thumb><span></span></thumb>\n\t\t\t\t<text></text>\n\t\t\t</cf-chat-response>'},o.THINKING_MARKUP="<p class='show'><thinking><span>.</span><span>.</span><span>.</span></thinking></p>",o}(t.BasicElement);t.ChatResponse=e}(o||(o={}));var o;i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){t.ChatListEvents={CHATLIST_UPDATED:"cf-chatlist-updated"};var e=function(e){function o(n){var i=e.call(this,n)||this;return i.updateTimer=0,t.ChatResponse.list=i,i.responses=[],i.flowUpdateCallback=i.onFlowUpdate.bind(i),i.eventTarget.addEventListener(t.FlowEvents.FLOW_UPDATE,i.flowUpdateCallback,!1),i.userInputUpdateCallback=i.onUserInputUpdate.bind(i),i.eventTarget.addEventListener(t.FlowEvents.USER_INPUT_UPDATE,i.userInputUpdateCallback,!1),i.onInputKeyChangeCallback=i.onInputKeyChange.bind(i),i.eventTarget.addEventListener(t.UserInputEvents.KEY_CHANGE,i.onInputKeyChangeCallback,!1),i.onInputHeightChangeCallback=i.onInputHeightChange.bind(i),i.eventTarget.addEventListener(t.UserInputEvents.HEIGHT_CHANGE,i.onInputHeightChangeCallback,!1),i.onControlElementsResizedCallback=i.onControlElementsResized.bind(i),i.eventTarget.addEventListener(t.ControlElementsEvents.ON_RESIZE,i.onControlElementsResizedCallback,!1),i.onControlElementsChangedCallback=i.onControlElementsChanged.bind(i),i.eventTarget.addEventListener(t.ControlElementsEvents.CHANGED,i.onControlElementsChangedCallback,!1),i}return i(o,e),o.prototype.onInputHeightChange=function(e){var n=e.detail.dto;t.ConversationalForm.illustrateFlow(this,"receive",e.type,n),this.onInputElementChanged()},o.prototype.onInputKeyChange=function(e){var n=e.detail.dto;t.ConversationalForm.illustrateFlow(this,"receive",e.type,n)},o.prototype.onUserInputUpdate=function(e){if(t.ConversationalForm.illustrateFlow(this,"receive",e.type,e.detail),this.currentUserResponse){var n=e.detail;this.setCurrentUserResponse(n)}},o.prototype.addInput=function(t){this.input=t},o.prototype.onControlElementsChanged=function(t){this.onInputElementChanged()},o.prototype.onControlElementsResized=function(e){t.ConversationalForm.illustrateFlow(this,"receive",t.ControlElementsEvents.ON_RESIZE);var n=this.currentResponse;if(n){if(!n.added)for(var i=this.responses.indexOf(n);i>=0;i--){var o=this.responses[i];if(o.added){n=o;break}}n.scrollTo()}this.onInputElementChanged()},o.prototype.onInputElementChanged=function(){if(this.cfReference&&this.cfReference.el)this.cfReference.el.offsetHeight,this.input.height},o.prototype.onFlowUpdate=function(e){var n=this;t.ConversationalForm.illustrateFlow(this,"receive",e.type,e.detail);var i=e.detail.tag;this.currentResponse&&(this.currentResponse.disabled=!1),this.containsTagResponse(i)&&!e.detail.ignoreExistingTag?this.onUserWantsToEditTag(i):setTimeout(function(){var t=n.createResponse(!0,i,i.question);t.whenReady(function(){n.currentUserResponse=n.createResponse(!1,i),t.scrollTo()}),n.currentUserResponse&&(n.currentUserResponse.setLinkToOtherReponse(t),t.setLinkToOtherReponse(n.currentUserResponse))},0===this.responses.length?500:0)},o.prototype.containsTagResponse=function(t){for(var e=0;e<this.responses.length;e++){var n=this.responses[e];if(!n.isRobotResponse&&n.tag==t&&!t.hasConditions())return!0}return!1},o.prototype.onUserWantsToEditTag=function(t){for(var e,n=0;n<this.responses.length;n++){var i=this.responses[n];if(!i.isRobotResponse&&i.tag==t){e=i;break}}this.currentUserResponse.processResponseAndSetText(),e&&(this.responses.length>2&&(this.responses[this.responses.length-1].isRobotResponse||this.responses.pop().dealloc(),this.responses.pop().dealloc()),this.currentUserResponse=e,this.currentResponse=this.responses[this.responses.length-1],this.onListUpdate(this.currentUserResponse))},o.prototype.onListUpdate=function(e){var i=this;clearTimeout(this.updateTimer),this.updateTimer=setTimeout(function(){i.eventTarget.dispatchEvent(new n(t.ChatListEvents.CHATLIST_UPDATED,{detail:i})),e.show()},0)},o.prototype.clearFrom=function(t){for(t*=2,t+=t%2;this.responses.length>t;)this.responses.pop().dealloc()},o.prototype.setCurrentUserResponse=function(e){this.flowDTOFromUserInputUpdate=e,!this.flowDTOFromUserInputUpdate.text&&e.tag&&("group"==e.tag.type?this.flowDTOFromUserInputUpdate.text=t.Dictionary.get("user-reponse-missing-group"):"password"!=e.tag.type&&(this.flowDTOFromUserInputUpdate.text=t.Dictionary.get("user-reponse-missing"))),this.currentUserResponse.setValue(this.flowDTOFromUserInputUpdate)},o.prototype.getResponses=function(){return this.responses},o.prototype.updateThumbnail=function(e,n){t.Dictionary.set(e?"robot-image":"user-image",e?"robot":"human",n);for(var i=e?t.Dictionary.getRobotResponse("robot-image"):t.Dictionary.get("user-image"),o=0;o<this.responses.length;o++){var s=this.responses[o];e&&s.isRobotResponse?s.updateThumbnail(i):e||s.isRobotResponse||s.updateThumbnail(i)}},o.prototype.createResponse=function(e,n,i){void 0===i&&(i=null);var o=this.el.querySelector(".scrollableInner"),s=new t.ChatResponse({cfReference:this.cfReference,list:this,tag:n,eventTarget:this.eventTarget,isRobotResponse:e,response:i,image:e?t.Dictionary.getRobotResponse("robot-image"):t.Dictionary.get("user-image"),container:o});return this.responses.push(s),this.currentResponse=s,this.onListUpdate(s),s},o.prototype.getTemplate=function(){return"<cf-chat type='pluto'>\n\t\t\t\t\t\t<scrollable>\n\t\t\t\t\t\t\t<div class=\"scrollableInner\"></div>\n\t\t\t\t\t\t</scrollable>\n\t\t\t\t\t</cf-chat>"},o.prototype.dealloc=function(){this.eventTarget.removeEventListener(t.FlowEvents.FLOW_UPDATE,this.flowUpdateCallback,!1),this.flowUpdateCallback=null,this.eventTarget.removeEventListener(t.FlowEvents.USER_INPUT_UPDATE,this.userInputUpdateCallback,!1),this.userInputUpdateCallback=null,this.eventTarget.removeEventListener(t.UserInputEvents.KEY_CHANGE,this.onInputKeyChangeCallback,!1),this.onInputKeyChangeCallback=null,e.prototype.dealloc.call(this)},o}(t.BasicElement);t.ChatList=e}(o||(o={})),function(t){t.FlowEvents={USER_INPUT_UPDATE:"cf-flow-user-input-update",USER_INPUT_INVALID:"cf-flow-user-input-invalid",FLOW_UPDATE:"cf-flow-update",FORM_SUBMIT:"cf-form-submit"};var e=function(){function e(e){this.stopped=!1,this.maxSteps=0,this.step=0,this.savedStep=-1,this.stepTimer=0,this.ignoreExistingTags=!1,this.cfReference=e.cfReference,this.eventTarget=e.eventTarget,this.flowStepCallback=e.flowStepCallback,this.setTags(e.tags),this.userInputSubmitCallback=this.userInputSubmit.bind(this),this.eventTarget.addEventListener(t.UserInputEvents.SUBMIT,this.userInputSubmitCallback,!1)}return Object.defineProperty(e.prototype,"currentTag",{get:function(){return this.tags[this.step]},enumerable:!0,configurable:!0}),e.prototype.userInputSubmit=function(e){var i=this;t.ConversationalForm.illustrateFlow(this,"receive",e.type,e.detail);var o=e.detail;o.tag||(o.tag=this.currentTag);var s=this.currentTag.setTagValueAndIsValid(o),r=!1,a=!1,l=function(){return i.currentTag.validationCallback&&"function"==typeof i.currentTag.validationCallback&&!r&&s?(r=!0,void i.currentTag.validationCallback(o,function(){s=!0,l()},function(t){s=!1,t&&(o.errorText=t),l()})):i.flowStepCallback&&"function"==typeof i.flowStepCallback&&!a&&s?(a=!0,void i.flowStepCallback(o,function(){s=!0,l()},function(t){s=!1,t&&(o.errorText=t),l()})):void(s?(t.ConversationalForm.illustrateFlow(i,"dispatch",t.FlowEvents.USER_INPUT_UPDATE,o),o.input&&(o=o.input.getFlowDTO()),i.eventTarget.dispatchEvent(new n(t.FlowEvents.USER_INPUT_UPDATE,{detail:o})),setTimeout(function(){return i.nextStep()},t.ConversationalForm.animationsEnabled?250:0)):(t.ConversationalForm.illustrateFlow(i,"dispatch",t.FlowEvents.USER_INPUT_INVALID,o),i.eventTarget.dispatchEvent(new n(t.FlowEvents.USER_INPUT_INVALID,{detail:o}))))};l()},e.prototype.startFrom=function(t,e){void 0===e&&(e=!1),this.step="number"==typeof t?t:this.tags.indexOf(t),this.ignoreExistingTags=e,this.ignoreExistingTags?this.showStep():this.editTag(this.tags[this.step])},e.prototype.areConditionsInFlowFullfilled=function(e,n){this.activeConditions||(this.activeConditions=[]);for(var i=0,o=0;o<this.tags.length;o++){var s=this.tags[o];if(s!==e)for(var r=0;r<n.length;r++){var a=n[r],l=(s.name||s.id||"").toLowerCase();if(""!==l&&"cf-conditional-"+l===a.key.toLowerCase()){var c=(s.value,s.value);if(t.Tag.testConditions(c,a)&&(this.activeConditions[l]=n,++i==n.length))return!0}}}return!1},e.prototype.start=function(){this.stopped=!1,this.validateStepAndUpdate()},e.prototype.stop=function(){this.stopped=!0},e.prototype.nextStep=function(){if(!this.stopped){if(-1!=this.savedStep){for(var t=!1,e=0;e<this.tags.length;e++){var n=this.tags[e];if(n!==this.currentTag&&n.hasConditions()&&n.hasConditionsFor(this.currentTag.name)){t=!0,this.step=this.tags.indexOf(this.currentTag);break}}t||(this.step=this.savedStep)}this.savedStep=-1,this.step++,this.validateStepAndUpdate()}},e.prototype.previousStep=function(){this.step--,this.validateStepAndUpdate()},e.prototype.getStep=function(){return this.step},e.prototype.addTags=function(t,e){if(void 0===e&&(e=-1),-1!==e&&e<this.tags.length){this.tags.slice(0,e);var n=this.tags.slice(e,this.tags.length);this.tags=this.tags.slice(0,e).concat(t).concat(n)}else this.tags=this.tags.concat(t);return this.setTags(this.tags),this.tags},e.prototype.dealloc=function(){this.eventTarget.removeEventListener(t.UserInputEvents.SUBMIT,this.userInputSubmitCallback,!1),this.userInputSubmitCallback=null},e.prototype.editTag=function(t){if(this.ignoreExistingTags=!1,this.savedStep=this.step-1,this.step=this.tags.indexOf(t),this.validateStepAndUpdate(),this.activeConditions&&Object.keys(this.activeConditions).length>0){this.savedStep=-1,this.cfReference.chatList.clearFrom(this.step+1);for(var e=this.tags.indexOf(t)+1;e<this.tags.length;e++){this.tags[e].reset()}}},e.prototype.setTags=function(t){this.tags=t;for(var e=0;e<this.tags.length;e++){var n=this.tags[e];n.eventTarget=this.eventTarget,n.flowManager=this}this.maxSteps=this.tags.length},e.prototype.skipStep=function(){this.nextStep()},e.prototype.validateStepAndUpdate=function(){this.maxSteps>0&&(this.step==this.maxSteps?(this.eventTarget.dispatchEvent(new n(t.FlowEvents.FORM_SUBMIT,{})),this.cfReference.doSubmitForm()):(this.step%=this.maxSteps,this.currentTag.disabled?this.skipStep():this.showStep()))},e.prototype.showStep=function(){var e=this;this.stopped||(t.ConversationalForm.illustrateFlow(this,"dispatch",t.FlowEvents.FLOW_UPDATE,this.currentTag),this.currentTag.refresh(),setTimeout(function(){e.eventTarget.dispatchEvent(new n(t.FlowEvents.FLOW_UPDATE,{detail:{tag:e.currentTag,ignoreExistingTag:e.ignoreExistingTags,step:e.step,maxSteps:e.maxSteps}}))},0))},e.STEP_TIME=1e3,e}();t.FlowManager=e}(o||(o={})),function(t){var e=function(){function e(n){if(this.version="1.0.1",this.cdnPath="path_to_url{version}/dist/",this.isDevelopment=!1,this.loadExternalStyleSheet=!0,this.theme="light",this.preventAutoAppend=!1,this.preventAutoStart=!1,window.ConversationalForm=this,this.cdnPath=this.cdnPath.split("{version}").join(this.version),"boolean"==typeof n.suppressLog&&(e.suppressLog=n.suppressLog),"boolean"==typeof n.showProgressBar&&(e.showProgressBar=n.showProgressBar),"boolean"==typeof n.preventSubmitOnEnter&&(this.preventSubmitOnEnter=n.preventSubmitOnEnter),e.suppressLog||console.log("Conversational Form > version:",this.version),e.suppressLog||console.log("Conversational Form > options:",n),window.ConversationalForm[this.createId]=this,n.eventDispatcher&&(this._eventTarget=n.eventDispatcher),this.eventTarget.cf||(this.eventTarget.cf=this),n.flowStepCallback&&(this.flowStepCallback=n.flowStepCallback),this.isDevelopment=e.illustrateAppFlow=!!document.getElementById("conversational-form-development"),0==n.loadExternalStyleSheet&&(this.loadExternalStyleSheet=!1),"string"==typeof n.theme&&(this.theme=n.theme),isNaN(n.scrollAcceleration)||(t.ScrollController.acceleration=n.scrollAcceleration),this.preventAutoStart=n.preventAutoStart,this.preventAutoAppend=n.preventAutoAppend,!n.formEl)throw new Error("Conversational Form error, the formEl needs to be defined.");if(this.formEl=n.formEl,this.formEl.setAttribute("cf-create-id",this.createId),!0===n.hideUserInputOnNoneTextInput&&(t.UserInputElement.hideUserInputOnNoneTextInput=!0),this.submitCallback=n.submitCallback,this.submitCallback&&"string"==typeof this.submitCallback){var i=window[this.submitCallback];this.submitCallback=i}""==this.formEl.getAttribute("cf-no-animation")&&(e.animationsEnabled=!1),"boolean"==typeof n.animationsEnabled&&!1===n.animationsEnabled&&(e.animationsEnabled=!1,this.formEl.setAttribute("cf-no-animation","")),(n.preventAutoFocus||""==this.formEl.getAttribute("cf-prevent-autofocus"))&&(t.UserInputElement.preventAutoFocus=!0),this.dictionary=new t.Dictionary({data:n.dictionaryData,robotData:n.dictionaryRobot,userImage:n.userImage,robotImage:n.robotImage,version:this.version}),this.context=n.context?n.context:document.body,this.tags=n.tags,n.microphoneInput&&(n.microphoneInput.init&&n.microphoneInput.input||(console.warn("Conversational Form: microphoneInput is not correctly setup",n.microphoneInput),n.microphoneInput=null)),this.microphoneInputObj=n.microphoneInput,this.uiOptions=t.Helpers.extendObject(t.UserInterfaceDefaultOptions,n.userInterfaceOptions||{}),this.init()}return Object.defineProperty(e.prototype,"createId",{get:function(){return this._createId||(this._createId=(new Date).getTime().toString()),this._createId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"eventTarget",{get:function(){return this._eventTarget||(this._eventTarget=new t.EventDispatcher(this)),this._eventTarget},enumerable:!0,configurable:!0}),e.prototype.init=function(){switch(this.theme){case"dark":this.theme="conversational-form-dark.min.css";break;case"green":this.theme="conversational-form-green.min.css";break;case"blue":this.theme="conversational-form-irisblue.min.css";break;case"purple":this.theme="conversational-form-purple.min.css";break;case"red":this.theme="conversational-form-red.min.css";break;default:this.theme="conversational-form.min.css"}if(this.isDevelopment&&(this.cdnPath="../build/",this.theme=this.theme.replace(".min","")),this.loadExternalStyleSheet){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("link"),o=this.cdnPath+this.theme;i.type="text/css",i.media="all",i.setAttribute("rel","stylesheet"),i.setAttribute("href",o),n.appendChild(i)}var s=window.getComputedStyle(this.context).getPropertyValue("position").toLowerCase();if(-1==["fixed","absolute","relative"].indexOf(s)&&(this.context.style.position="relative"),!this.tags||0==this.tags.length){this.tags=[];for(var r=[].slice.call(this.formEl.querySelectorAll("input, select, button, textarea, cf-robot-message"),0),a=0;a<r.length;a++){var l=r[a];t.Tag.isTagValid(l)&&this.tags.push(t.Tag.createTag(l))}}var c=[];for(a=0;a<this.tags.length;a++){(l=this.tags[a])&&t.Tag.isTagValid(l.domElement)||c.push(l)}for(a=0;a<c.length;a++){var h=c[a];this.tags.splice(this.tags.indexOf(h),1)}return e.suppressLog||this.tags&&0!=this.tags.length||console.warn("Conversational Form: No tags found or registered."),this.tags=this.setupTagGroups(this.tags),this.setupUI(),this},e.prototype.updateDictionaryValue=function(e,n,i){t.Dictionary.set(e,n,i),-1!=["robot-image","user-image"].indexOf(e)&&this.chatList.updateThumbnail("robot-image"==e,i)},e.prototype.getFormData=function(t){if(void 0===t&&(t=!1),t){for(var e={},n=0;n<this.tags.length;n++){var i=this.tags[n];i.value&&(e[i.name||"tag-"+n.toString()]=i.value)}return e}return new FormData(this.formEl)},e.prototype.addRobotChatResponse=function(t){this.chatList.createResponse(!0,null,t)},e.prototype.addUserChatResponse=function(t){this.chatList.createResponse(!1,null,t)},e.prototype.stop=function(t){void 0===t&&(t=""),this.flowManager.stop(),""!=t&&this.chatList.createResponse(!0,null,t),this.userInput.onFlowStopped()},e.prototype.start=function(){this.userInput.disabled=!1,e.suppressLog||console.log("option, disabled 3"),this.userInput.visible=!0,this.flowManager.start()},e.prototype.getTag=function(t){return"number"==typeof t?this.tags[t]:null},e.prototype.setupTagGroups=function(e){for(var n=[],i=0;i<e.length;i++){var o=e[i];"radio"!=o.type&&"checkbox"!=o.type||(n[o.name]||(n[o.name]=[]),n[o.name].push(o))}if(Object.keys(n).length>0)for(var s in n)if(n[s].length>0){var r=n[s][0].domElement.parentNode;r&&"fieldset"!==r.tagName.toLowerCase()&&function(t){return t&&"fieldset"!==t.tagName.toLowerCase()&&!t.hasAttribute("cf-questions")}(r=r.parentNode)&&(r=null);var a=new t.TagGroup({fieldset:r,elements:n[s]});for(i=0;i<n[s].length;i++){var l=n[s][i];0==i?e.splice(e.indexOf(l),1,a):e.splice(e.indexOf(l),1)}}return e},e.prototype.setupUI=function(){this.flowManager=new t.FlowManager({cfReference:this,flowStepCallback:this.flowStepCallback,eventTarget:this.eventTarget,tags:this.tags}),this.el=document.createElement("div"),this.el.id="conversational-form",this.el.className="conversational-form",this.addBrowserTypes(this.el),e.animationsEnabled&&this.el.classList.add("conversational-form--enable-animation"),this.preventAutoAppend||this.context.appendChild(this.el),this.el.style.visibility="hidden";var n=document.createElement("div");if(n.className="conversational-form-inner",this.el.appendChild(n),this.chatList=new t.ChatList({eventTarget:this.eventTarget,cfReference:this}),n.appendChild(this.chatList.el),this.userInput=new t.UserTextInput({microphoneInputObj:this.microphoneInputObj,eventTarget:this.eventTarget,cfReference:this}),e.showProgressBar){var i=new t.ProgressBar(this);n.appendChild(i.el)}this.chatList.addInput(this.userInput),n.appendChild(this.userInput.el),this.onUserAnswerClickedCallback=this.onUserAnswerClicked.bind(this),this.eventTarget.addEventListener(t.ChatResponseEvents.USER_ANSWER_CLICKED,this.onUserAnswerClickedCallback,!1),this.el.classList.add("conversational-form--show"),this.preventAutoStart||this.flowManager.start(),this.tags&&0!=this.tags.length||(this.userInput.visible=!0)},e.prototype.onUserAnswerClicked=function(t){var e=t.detail;this.flowManager.editTag(e)},e.prototype.addBrowserTypes=function(t){navigator.userAgent.indexOf("Firefox")>-1&&t.classList.add("browser-firefox"),/Edge/.test(navigator.userAgent)&&t.classList.add("browser-edge")},e.prototype.addTags=function(e,n,i){void 0===n&&(n=!0),void 0===i&&(i=-1);for(var o=[],s=0;s<e.length;s++){var r=e[s];if("fieldset"===r.tag)for(var a=t.TagsParser.parseGroupTag(r),l=0;l<a.children.length;l++){var c=a.children[l];if(t.Tag.isTagValid(c))(h=t.Tag.createTag(c)).name||(h.name="tag-ref-"+l.toString()),o.push(h)}else{c="select"===r.tag?t.TagsParser.parseGroupTag(r):t.TagsParser.parseTag(r);if(t.Tag.isTagValid(c)){var h=t.Tag.createTag(c);o.push(h)}}}o=this.setupTagGroups(o),this.tags=this.flowManager.addTags(o,n?this.flowManager.getStep()+1:i)},e.prototype.remapTagsAndStartFrom=function(t,e,n){void 0===t&&(t=0),void 0===e&&(e=!1),void 0===n&&(n=!1),e&&this.chatList.setCurrentUserResponse(this.userInput.getFlowDTO());for(var i=0;i<this.tags.length;i++){this.tags[i].refresh()}this.flowManager.startFrom(t,n)},e.prototype.focus=function(){this.userInput&&this.userInput.setFocusOnInput()},e.prototype.doSubmitForm=function(){if(this.el.classList.add("done"),this.userInput.reset(),this.submitCallback)this.submitCallback(this);else{var t=this.formEl.ownerDocument.createElement("button");t.style.display="none",t.type="submit",this.formEl.appendChild(t),t.click(),this.formEl.removeChild(t),this.remove()}},e.prototype.remove=function(){this.microphoneInputObj&&(this.microphoneInputObj=null),this.onUserAnswerClickedCallback&&(this.eventTarget.removeEventListener(t.ChatResponseEvents.USER_ANSWER_CLICKED,this.onUserAnswerClickedCallback,!1),this.onUserAnswerClickedCallback=null),this.flowManager&&this.flowManager.dealloc(),this.userInput&&this.userInput.dealloc(),this.chatList&&this.chatList.dealloc(),this.dictionary=null,this.flowManager=null,this.userInput=null,this.chatList=null,this.context=null,this.formEl=null,this.tags=null,this.submitCallback=null,this.el.parentNode.removeChild(this.el),this.el=null,window.ConversationalForm[this.createId]=null},e.illustrateFlow=function(t,n,i,o){if(void 0===o&&(o=null),e.illustrateAppFlow){var s="font-weight: 900; background: "+("receive"==n?"#e6f3fe":"pink")+"; color: black; padding: 0px 5px;";e.suppressLog||console.log("%c** event flow: %c"+i+"%c flow type: %c"+n+"%c from: %c"+t.constructor.name,"font-weight: 900;",s,"font-weight: 400;",s,"font-weight: 400;",s),o&&(e.suppressLog||console.log("** event flow detail:",o))}},e.startTheConversation=function(t){var e,n,i=!1==!!t.formEl;if(i){if("string"==typeof t){i=!0;var s=JSON.parse(t);n=s.options,e=s.tags}else n=t.options,e=t.tags;var r=o.TagsParser.parseJSONIntoElements(e);n.formEl=r}else n=t;return new o.ConversationalForm(n)},e.autoStartTheConversation=function(){if(!o.ConversationalForm.hasAutoInstantiated){var t=document.querySelectorAll("form[cf-form]");0===t.length&&(t=document.querySelectorAll("form[cf-form-element]"));var e=document.querySelectorAll("*[cf-context]");if(t&&t.length>0){for(var n=0;n<t.length;n++){var i=t[n],s=e[n];o.ConversationalForm.startTheConversation({formEl:i,context:s})}o.ConversationalForm.hasAutoInstantiated=!0}}},e.animationsEnabled=!0,e.illustrateAppFlow=!0,e.suppressLog=!0,e.showProgressBar=!1,e.preventSubmitOnEnter=!1,e.hasAutoInstantiated=!1,e}();t.ConversationalForm=e}(o||(o={})),"complete"==document.readyState?setTimeout(function(){return o.ConversationalForm.autoStartTheConversation()},0):window.addEventListener("load",function(){o.ConversationalForm.autoStartTheConversation()},!1),function(t){try{jQuery.fn.conversationalForm=function(t){if((t=t||{}).formEl||(t.formEl=this[0]),!t.context){var e=document.querySelectorAll("*[cf-context]");e[0]&&(t.context=e[0])}return new o.ConversationalForm(t)}}catch(s){}}(),function(e,n){"function"==typeof t&&t.amd?t(["conversational-form"],function(t){return e.conversationalform=n(t)}):"object"==typeof module&&module.exports?module.exports=e.conversationalform=n(require("conversational-form")):e.conversationalform=n(o.ConversationalForm)}(window,function(t){return o}); },{"conversational-form":"Jy7r"}],"sU2v":[function(require,module,exports) { var global = arguments[3]; var t=arguments[3];function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.EventDispatcher=exports.TweenPlugin=exports.Power4=exports.Power3=exports.Power2=exports.Power1=exports.Power0=exports.Linear=exports.Ease=exports.Animation=exports.SimpleTimeline=exports.globals=exports.default=exports.TweenLite=exports._gsScope=void 0;var i="undefined"!=typeof window?window:"undefined"!=typeof module&&module.exports&&void 0!==t?t:{};exports._gsScope=i;var s=function(t){"use strict";var i={},s=t.document,r=t.GreenSockGlobals=t.GreenSockGlobals||t;if(r.TweenLite)return r.TweenLite;var n,a,o,l,h,_,u,p=function(t){var e,i=t.split("."),s=r;for(e=0;e<i.length;e++)s[i[e]]=s=s[i[e]]||{};return s},c=p("com.greensock"),f=function(t){var e,i=[],s=t.length;for(e=0;e!==s;i.push(t[e++]));return i},m=function(){},d=(_=Object.prototype.toString,u=_.call([]),function(t){return null!=t&&(t instanceof Array||"object"===e(t)&&!!t.push&&_.call(t)===u)}),v={},g=function t(e,s,n,a){this.sc=v[e]?v[e].sc:[],v[e]=this,this.gsClass=null,this.func=n;var o=[];this.check=function(l){for(var h,_,u,c,f=s.length,m=f;--f>-1;)(h=v[s[f]]||new t(s[f],[])).gsClass?(o[f]=h.gsClass,m--):l&&h.sc.push(this);if(0===m&&n)for(u=(_=("com.greensock."+e).split(".")).pop(),c=p(_.join("."))[u]=this.gsClass=n.apply(n,o),a&&(r[u]=i[u]=c),f=0;f<this.sc.length;f++)this.sc[f].check()},this.check(!0)},T=t._gsDefine=function(t,e,i,s){return new g(t,e,i,s)},y=c._class=function(t,e,i){return e=e||function(){},T(t,[],function(){return e},i),e};T.globals=r;var w=[0,0,1,1],P=y("easing.Ease",function(t,e,i,s){this._func=t,this._type=i||0,this._power=s||0,this._params=e?w.concat(e):w},!0),b=P.map={},k=P.register=function(t,e,i,s){for(var r,n,a,o,l=e.split(","),h=l.length,_=(i||"easeIn,easeOut,easeInOut").split(",");--h>-1;)for(n=l[h],r=s?y("easing."+n,null,!0):c.easing[n]||{},a=_.length;--a>-1;)o=_[a],b[n+"."+o]=b[o+n]=r[o]=t.getRatio?t:t[o]||new t};for((o=P.prototype)._calcEnd=!1,o.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,s=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?s*=s:2===i?s*=s*s:3===i?s*=s*s*s:4===i&&(s*=s*s*s*s),1===e?1-s:2===e?s:t<.5?s/2:1-s/2},a=(n=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)o=n[a]+",Power"+a,k(new P(null,null,1,a),o,"easeOut",!0),k(new P(null,null,2,a),o,"easeIn"+(0===a?",easeNone":"")),k(new P(null,null,3,a),o,"easeInOut");b.linear=c.easing.Linear.easeIn,b.swing=c.easing.Quad.easeInOut;var x=y("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(o=x.prototype).addEventListener=function(t,e,i,s,r){r=r||0;var n,a,o=this._listeners[t],_=0;for(this!==l||h||l.wake(),null==o&&(this._listeners[t]=o=[]),a=o.length;--a>-1;)(n=o[a]).c===e&&n.s===i?o.splice(a,1):0===_&&n.pr<r&&(_=a+1);o.splice(_,0,{c:e,s:i,up:s,pr:r})},o.removeEventListener=function(t,e){var i,s=this._listeners[t];if(s)for(i=s.length;--i>-1;)if(s[i].c===e)return void s.splice(i,1)},o.dispatchEvent=function(t){var e,i,s,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),i=this._eventTarget;--e>-1;)(s=r[e])&&(s.up?s.c.call(s.s||i,{type:t,target:i}):s.c.call(s.s||i))};var S=t.requestAnimationFrame,A=t.cancelAnimationFrame,R=Date.now||function(){return(new Date).getTime()},C=R();for(a=(n=["ms","moz","webkit","o"]).length;--a>-1&&!S;)S=t[n[a]+"RequestAnimationFrame"],A=t[n[a]+"CancelAnimationFrame"]||t[n[a]+"CancelRequestAnimationFrame"];y("Ticker",function(t,e){var i,r,n,a,o,_=this,u=R(),p=!(!1===e||!S)&&"auto",c=500,f=33,d=function t(e){var s,l,h=R()-C;h>c&&(u+=h-f),C+=h,_.time=(C-u)/1e3,s=_.time-o,(!i||s>0||!0===e)&&(_.frame++,o+=s+(s>=a?.004:a-s),l=!0),!0!==e&&(n=r(t)),l&&_.dispatchEvent("tick")};x.call(_),_.time=_.frame=0,_.tick=function(){d(!0)},_.lagSmoothing=function(t,e){if(!arguments.length)return c<1e8;c=t||1e8,f=Math.min(e,c,0)},_.sleep=function(){null!=n&&(p&&A?A(n):clearTimeout(n),r=m,n=null,_===l&&(h=!1))},_.wake=function(t){null!==n?_.sleep():t?u+=-C+(C=R()):_.frame>10&&(C=R()-c+5),r=0===i?m:p&&S?S:function(t){return setTimeout(t,1e3*(o-_.time)+1|0)},_===l&&(h=!0),d(2)},_.fps=function(t){if(!arguments.length)return i;a=1/((i=t)||60),o=this.time+a,_.wake()},_.useRAF=function(t){if(!arguments.length)return p;_.sleep(),p=t,_.fps(i)},_.fps(t),setTimeout(function(){"auto"===p&&_.frame<5&&"hidden"!==(s||{}).visibilityState&&_.useRAF(!1)},1500)}),(o=c.Ticker.prototype=new c.events.EventDispatcher).constructor=c.Ticker;var D=y("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,V){h||l.wake();var i=this.vars.useFrames?J:V;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});l=D.ticker=new c.Ticker,(o=D.prototype)._dirty=o._gc=o._initted=o._paused=!1,o._totalTime=o._time=0,o._rawPrevTime=-1,o._next=o._last=o._onUpdate=o._timeline=o.timeline=null,o._paused=!1;!function t(){h&&R()-C>2e3&&("hidden"!==(s||{}).visibilityState||!l.lagSmoothing())&&l.wake();var e=setTimeout(t,2e3);e.unref&&e.unref()}(),o.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},o.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},o.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},o.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},o.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},o.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},o.render=function(t,e,i){},o.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},o.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<i+this.totalDuration()/this._timeScale-1e-8},o._enabled=function(t,e){return h||l.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},o._kill=function(t,e){return this._enabled(!1,!1)},o.kill=function(t,e){return this._kill(t,e),this},o._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},o._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},o._callback=function(t){var e=this.vars,i=e[t],s=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(s?s.length:0){case 0:i.call(r);break;case 1:i.call(r,s[0]);break;case 2:i.call(r,s[0],s[1]);break;default:i.apply(r,s)}},o.eventCallback=function(t,e,i,s){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=d(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=s),"onUpdate"===t&&(this._onUpdate=e)}return this},o.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},o.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},o.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},o.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},o.totalTime=function(t,e,i){if(h||l.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var s=this._totalDuration,r=this._timeline;if(t>s&&!i&&(t=s),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?s-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(z.length&&X(),this.render(t,e,!1),z.length&&X())}return this},o.progress=o.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},o.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},o.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},o.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||1e-8,this._timeline&&this._timeline.smoothChildTiming&&(i=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},o.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},o.paused=function(t){if(!arguments.length)return this._paused;var e,i,s=this._timeline;return t!=this._paused&&s&&(h||t||l.wake(),i=(e=s.rawTime())-this._pauseTime,!t&&s.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=s.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var E=y("core.SimpleTimeline",function(t){D.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(o=E.prototype=new D).constructor=E,o.kill()._gc=!1,o._first=o._last=o._recent=null,o._sortChildren=!1,o.add=o.insert=function(t,e,i,s){var r,n;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),r=this._last,this._sortChildren)for(n=t._startTime;r&&r._startTime>n;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},o._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},o.render=function(t,e,i){var s,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)s=r._next,(r._active||t>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=s},o.rawTime=function(){return h||l.wake(),this._totalTime};var I=y("TweenLite",function(e,i,s){if(D.call(this,i,s),this.render=I.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:I.selector(e)||e;var r,n,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?H[I.defaultOverwrite]:"number"==typeof l?l>>0:H[l],(o||e instanceof Array||e.push&&d(e))&&"number"!=typeof e[0])for(this._targets=a=f(e),this._propLookup=[],this._siblings=[],r=0;r<a.length;r++)(n=a[r])?"string"!=typeof n?n.length&&n!==t&&n[0]&&(n[0]===t||n[0].nodeType&&n[0].style&&!n.nodeType)?(a.splice(r--,1),this._targets=a=a.concat(f(n))):(this._siblings[r]=Y(n,this,!1),1===l&&this._siblings[r].length>1&&tt(n,this,null,1,this._siblings[r])):"string"==typeof(n=a[r--]=I.selector(n))&&a.splice(r+1,1):a.splice(r--,1);else this._propLookup={},this._siblings=Y(e,this,!1),1===l&&this._siblings.length>1&&tt(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-8,this.render(Math.min(0,-this._delay)))},!0),O=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(o=I.prototype=new D).constructor=I,o.kill()._gc=!1,o.ratio=0,o._firstPT=o._targets=o._overwrittenProps=o._startAt=null,o._notifyPluginsOfEnabled=o._lazy=!1,I.version="2.1.3",I.defaultEase=o._ease=new P(null,null,1,1),I.defaultOverwrite="auto",I.ticker=l,I.autoSleep=120,I.lagSmoothing=function(t,e){l.lagSmoothing(t,e)},I.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(I.selector=i,i(e)):(s||(s=t.document),s?s.querySelectorAll?s.querySelectorAll(e):s.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var z=[],F={},L=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,U=/[\+-]=-?[\.\d]/,N=function(t){for(var e,i=this._firstPT;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):e<1e-6&&e>-1e-6&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},j=function(t){return(1e3*t|0)/1e3+""},G=function(t,e,i,s){var r,n,a,o,l,h,_,u=[],p=0,c="",f=0;for(u.start=t,u.end=e,t=u[0]=t+"",e=u[1]=e+"",i&&(i(u),t=u[0],e=u[1]),u.length=0,r=t.match(L)||[],n=e.match(L)||[],s&&(s._next=null,s.blob=1,u._firstPT=u._applyPT=s),l=n.length,o=0;o<l;o++)_=n[o],c+=(h=e.substr(p,e.indexOf(_,p)-p))||!o?h:",",p+=h.length,f?f=(f+1)%5:"rgba("===h.substr(-5)&&(f=1),_===r[o]||r.length<=o?c+=_:(c&&(u.push(c),c=""),a=parseFloat(r[o]),u.push(a),u._firstPT={_next:u._firstPT,t:u,p:u.length-1,s:a,c:("="===_.charAt(1)?parseInt(_.charAt(0)+"1",10)*parseFloat(_.substr(2)):parseFloat(_)-a)||0,f:0,m:f&&f<4?Math.round:j}),p+=_.length;return(c+=e.substr(p))&&u.push(c),u.setRatio=N,U.test(e)&&(u.end=null),u},Q=function(t,i,s,r,n,a,o,l,h){"function"==typeof r&&(r=r(h||0,t));var _=e(t[i]),u="function"!==_?"":i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3),p="get"!==s?s:u?o?t[u](o):t[u]():t[i],c="string"==typeof r&&"="===r.charAt(1),f={t:t,p:i,s:p,f:"function"===_,pg:0,n:n||i,m:a?"function"==typeof a?a:Math.round:0,pr:0,c:c?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-p||0};if(("number"!=typeof p||"number"!=typeof r&&!c)&&(o||isNaN(p)||!c&&isNaN(r)||"boolean"==typeof p||"boolean"==typeof r?(f.fp=o,f={t:G(p,c?parseFloat(f.s)+f.c+(f.s+"").replace(/[0-9\-\.]/g,""):r,l||I.defaultStringFilter,f),p:"setRatio",s:0,c:1,f:2,pg:0,n:n||i,pr:0,m:0}):(f.s=parseFloat(p),c||(f.c=parseFloat(r)-f.s||0))),f.c)return(f._next=this._firstPT)&&(f._next._prev=f),this._firstPT=f,f},q=I._internals={isArray:d,isSelector:O,lazyTweens:z,blobDif:G},B=I._plugins={},M=q.tweenLookup={},$=0,K=q.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},H={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},J=D._rootFramesTimeline=new E,V=D._rootTimeline=new E,W=30,X=q.lazyRender=function(){var t,e,i=z.length;for(F={},t=0;t<i;t++)(e=z[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);z.length=0};V._startTime=l.time,J._startTime=l.frame,V._active=J._active=!0,setTimeout(X,1),D._updateRoot=I.render=function(){var t,e,i;if(z.length&&X(),V.render((l.time-V._startTime)*V._timeScale,!1,!1),J.render((l.frame-J._startTime)*J._timeScale,!1,!1),z.length&&X(),l.frame>=W){for(i in W=l.frame+(parseInt(I.autoSleep,10)||120),M){for(t=(e=M[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete M[i]}if((!(i=V._first)||i._paused)&&I.autoSleep&&!J._first&&1===l._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||l.sleep()}}},l.addEventListener("tick",D._updateRoot);var Y=function(t,e,i){var s,r,n=t._gsTweenID;if(M[n||(t._gsTweenID=n="t"+$++)]||(M[n]={target:t,tweens:[]}),e&&((s=M[n].tweens)[r=s.length]=e,i))for(;--r>-1;)s[r]===e&&s.splice(r,1);return M[n].tweens},Z=function(t,e,i,s){var r,n,a=t.vars.onOverwrite;return a&&(r=a(t,e,i,s)),(a=I.onOverwrite)&&(n=a(t,e,i,s)),!1!==r&&!1!==n},tt=function(t,e,i,s,r){var n,a,o,l;if(1===s||s>=4){for(l=r.length,n=0;n<l;n++)if((o=r[n])!==e)o._gc||o._kill(null,t,e)&&(a=!0);else if(5===s)break;return a}var h,_=e._startTime+1e-8,u=[],p=0,c=0===e._duration;for(n=r.length;--n>-1;)(o=r[n])===e||o._gc||o._paused||(o._timeline!==e._timeline?(h=h||et(e,0,c),0===et(o,h,c)&&(u[p++]=o)):o._startTime<=_&&o._startTime+o.totalDuration()/o._timeScale>_&&((c||!o._initted)&&_-o._startTime<=2e-8||(u[p++]=o)));for(n=p;--n>-1;)if(l=(o=u[n])._firstPT,2===s&&o._kill(i,t,e)&&(a=!0),2!==s||!o._firstPT&&o._initted&&l){if(2!==s&&!Z(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},et=function(t,e,i){for(var s=t._timeline,r=s._timeScale,n=t._startTime;s._timeline;){if(n+=s._startTime,r*=s._timeScale,s._paused)return-100;s=s._timeline}return(n/=r)>e?n-e:i&&n===e||!t._initted&&n-e<2e-8?1e-8:(n+=t.totalDuration()/t._timeScale/r)>e+1e-8?0:n-e-1e-8};o._init=function(){var t,e,i,s,r,n,a=this.vars,o=this._overwrittenProps,l=this._duration,h=!!a.immediateRender,_=a.ease,u=this._startAt;if(a.startAt){for(s in u&&(u.render(-1,!0),u.kill()),r={},a.startAt)r[s]=a.startAt[s];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=h&&!1!==a.lazy,r.startAt=r.delay=null,r.onUpdate=a.onUpdate,r.onUpdateParams=a.onUpdateParams,r.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=I.to(this.target||{},0,r),h)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(a.runBackwards&&0!==l)if(u)u.render(-1,!0),u.kill(),this._startAt=null;else{for(s in 0!==this._time&&(h=!1),i={},a)K[s]&&"autoCSS"!==s||(i[s]=a[s]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==a.lazy,i.immediateRender=h,this._startAt=I.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=_=_?_ instanceof P?_:"function"==typeof _?new P(_,a.easeParams):b[_]||I.defaultEase:I.defaultEase,a.easeParams instanceof Array&&_.config&&(this._ease=_.config.apply(_,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(n=this._targets.length,t=0;t<n;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],o?o[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,o,0);if(e&&I._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=a.onUpdate,this._initted=!0},o._initProps=function(e,i,s,r,n){var a,o,l,h,_,u;if(null==e)return!1;for(a in F[e._gsTweenID]&&X(),this.vars.css||e.style&&e!==t&&e.nodeType&&B.css&&!1!==this.vars.autoCSS&&function(t,e){var i,s={};for(i in t)K[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!B[i]||B[i]&&B[i]._autoCSS)||(s[i]=t[i],delete t[i]);t.css=s}(this.vars,e),this.vars)if(u=this.vars[a],K[a])u&&(u instanceof Array||u.push&&d(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[a]=u=this._swapSelfInParams(u,this));else if(B[a]&&(h=new B[a])._onInitTween(e,this.vars[a],this,n)){for(this._firstPT=_={_next:this._firstPT,t:h,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:h._priority,m:0},o=h._overwriteProps.length;--o>-1;)i[h._overwriteProps[o]]=this._firstPT;(h._priority||h._onInitAllProps)&&(l=!0),(h._onDisable||h._onEnable)&&(this._notifyPluginsOfEnabled=!0),_._next&&(_._next._prev=_)}else i[a]=Q.call(this,e,a,"get",u,a,0,null,this.vars.stringFilter,n);return r&&this._kill(r,e)?this._initProps(e,i,s,r,n):this._overwrite>1&&this._firstPT&&s.length>1&&tt(e,this,i,this._overwrite,s)?(this._kill(i,e),this._initProps(e,i,s,r,n)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(F[e._gsTweenID]=!0),l)},o.render=function(t,e,i){var s,r,n,a,o=this._time,l=this._duration,h=this._rawPrevTime;if(t>=l-1e-8&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(s=!0,r="onComplete",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(h<0||t<=0&&t>=-1e-8||1e-8===h&&"isPause"!==this.data)&&h!==t&&(i=!0,h>1e-8&&(r="onReverseComplete")),this._rawPrevTime=a=!e||t||h===t?t:1e-8);else if(t<1e-8)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===l&&h>0)&&(r="onReverseComplete",s=this._reversed),t>-1e-8?t=0:t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(h>=0&&(1e-8!==h||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!e||t||h===t?t:1e-8)),(!this._initted||this._startAt&&this._startAt.progress())&&(i=!0);else if(this._totalTime=this._time=t,this._easeType){var _=t/l,u=this._easeType,p=this._easePower;(1===u||3===u&&_>=.5)&&(_=1-_),3===u&&(_*=2),1===p?_*=_:2===p?_*=_*_:3===p?_*=_*_*_:4===p&&(_*=_*_*_*_),this.ratio=1===u?1-_:2===u?_:t/l<.5?_/2:1-_/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==o||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=o,this._rawPrevTime=h,z.push(this),void(this._lazy=[t,e]);this._time&&!s?this.ratio=this._ease.getRatio(this._time/l):s&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==o&&t>=0&&(this._active=!0),0===o&&(this._startAt&&(t>=0?this._startAt.render(t,!0,i):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==l||e||this._callback("onStart"))),n=this._firstPT;n;)n.f?n.t[n.p](n.c*this.ratio+n.s):n.t[n.p]=n.c*this.ratio+n.s,n=n._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,i),e||(this._time!==o||s||i)&&this._callback("onUpdate")),r&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,i),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&1e-8===this._rawPrevTime&&1e-8!==a&&(this._rawPrevTime=0)))}},o._kill=function(t,i,s){if("all"===t&&(t=null),null==t&&(null==i||i===this.target))return this._lazy=!1,this._enabled(!1,!1);i="string"!=typeof i?i||this._targets||this.target:I.selector(i)||i;var r,n,a,o,l,h,_,u,p,c=s&&this._time&&s._startTime===this._startTime&&this._timeline===s._timeline,f=this._firstPT;if((d(i)||O(i))&&"number"!=typeof i[0])for(r=i.length;--r>-1;)this._kill(t,i[r],s)&&(h=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(i===this._targets[r]){l=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(i!==this.target)return!1;l=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(l){if(_=t||l,u=t!==n&&"all"!==n&&t!==l&&("object"!==e(t)||!t._tempKill),s&&(I.onOverwrite||this.vars.onOverwrite)){for(a in _)l[a]&&(p||(p=[]),p.push(a));if((p||!t)&&!Z(this,s,i,p))return!1}for(a in _)(o=l[a])&&(c&&(o.f?o.t[o.p](o.s):o.t[o.p]=o.s,h=!0),o.pg&&o.t._kill(_)&&(h=!0),o.pg&&0!==o.t._overwriteProps.length||(o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null),delete l[a]),u&&(n[a]=1);!this._firstPT&&this._initted&&f&&this._enabled(!1,!1)}}return h},o.invalidate=function(){this._notifyPluginsOfEnabled&&I._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],D.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-8,this.render(t,!1,!1!==this.vars.lazy)),this},o._enabled=function(t,e){if(h||l.wake(),t&&this._gc){var i,s=this._targets;if(s)for(i=s.length;--i>-1;)this._siblings[i]=Y(s[i],this,!0);else this._siblings=Y(this.target,this,!0)}return D.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&I._onPluginEvent(t?"_onEnable":"_onDisable",this)},I.to=function(t,e,i){return new I(t,e,i)},I.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new I(t,e,i)},I.fromTo=function(t,e,i,s){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,new I(t,e,s)},I.delayedCall=function(t,e,i,s,r){return new I(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:s,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},I.set=function(t,e){return new I(t,0,e)},I.getTweensOf=function(t,e){if(null==t)return[];var i,s,r,n;if(t="string"!=typeof t?t:I.selector(t)||t,(d(t)||O(t))&&"number"!=typeof t[0]){for(i=t.length,s=[];--i>-1;)s=s.concat(I.getTweensOf(t[i],e));for(i=s.length;--i>-1;)for(n=s[i],r=i;--r>-1;)n===s[r]&&s.splice(i,1)}else if(t._gsTweenID)for(i=(s=Y(t).concat()).length;--i>-1;)(s[i]._gc||e&&!s[i].isActive())&&s.splice(i,1);return s||[]},I.killTweensOf=I.killDelayedCallsTo=function(t,i,s){"object"===e(i)&&(s=i,i=!1);for(var r=I.getTweensOf(t,i),n=r.length;--n>-1;)r[n]._kill(s,t)};var it=y("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=it.prototype},!0);if(o=it.prototype,it.version="1.19.0",it.API=2,o._firstPT=null,o._addTween=Q,o.setRatio=N,o._kill=function(t){var e,i=this._overwriteProps,s=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;s;)null!=t[s.n]&&(s._next&&(s._next._prev=s._prev),s._prev?(s._prev._next=s._next,s._prev=null):this._firstPT===s&&(this._firstPT=s._next)),s=s._next;return!1},o._mod=o._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},I._onPluginEvent=function(t,e){var i,s,r,n,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,s=r;s&&s.pr>o.pr;)s=s._next;(o._prev=s?s._prev:n)?o._prev._next=o:r=o,(o._next=s)?s._prev=o:n=o,o=a}o=e._firstPT=r}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},it.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===it.API&&(B[(new t[e])._propName]=t[e]);return!0},T.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,s=t.priority||0,r=t.overwriteProps,n={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=y("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){it.call(this,i,s),this._overwriteProps=r||[]},!0===t.global),o=a.prototype=new it(i);for(e in o.constructor=a,a.API=t.API,n)"function"==typeof t[e]&&(o[n[e]]=t[e]);return a.version=t.version,it.activate([a]),a},n=t._gsQueue){for(a=0;a<n.length;a++)n[a]();for(o in v)v[o].func||t.console.log("GSAP encountered missing dependency: "+o)}return h=!1,I}(i);exports.default=exports.TweenLite=s;var r=i.GreenSockGlobals;exports.globals=r;var n=r.com.greensock,a=n.core.SimpleTimeline;exports.SimpleTimeline=a;var o=n.core.Animation;exports.Animation=o;var l=r.Ease;exports.Ease=l;var h=r.Linear;exports.Linear=h;var _=h;exports.Power0=_;var u=r.Power1;exports.Power1=u;var p=r.Power2;exports.Power2=p;var c=r.Power3;exports.Power3=c;var f=r.Power4;exports.Power4=f;var m=r.TweenPlugin;exports.TweenPlugin=m;var d=n.events.EventDispatcher;exports.EventDispatcher=d; },{}],"tBUL":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"TweenLite",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,"Ease",{enumerable:!0,get:function(){return t.Ease}}),Object.defineProperty(exports,"Power0",{enumerable:!0,get:function(){return t.Power0}}),Object.defineProperty(exports,"Power1",{enumerable:!0,get:function(){return t.Power1}}),Object.defineProperty(exports,"Power2",{enumerable:!0,get:function(){return t.Power2}}),Object.defineProperty(exports,"Power3",{enumerable:!0,get:function(){return t.Power3}}),Object.defineProperty(exports,"Power4",{enumerable:!0,get:function(){return t.Power4}}),Object.defineProperty(exports,"Linear",{enumerable:!0,get:function(){return t.Linear}}),exports.TweenMaxBase=exports.default=exports.TweenMax=void 0;var t=e(require("./TweenLite.js"));function e(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,i):{};r.get||r.set?Object.defineProperty(e,i,r):e[i]=t[i]}return e.default=t,e}function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t._gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var e=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},r=function(t,e,i){var r,s,a=t.cycle;for(r in a)s=a[r],t[r]="function"==typeof s?s(i,e[i],e):s[i%s.length];delete t.cycle},s=function(t){if("function"==typeof t)return t;var e="object"===i(t)?t:{each:t},r=e.ease,s=e.from||0,a=e.base||0,n={},o=isNaN(s),h=e.axis,l={center:.5,end:1}[s]||0;return function(t,i,_){var c,u,m,d,f,y,p,g,v,T=(_||e).length,b=n[T];if(!b){if(!(v="auto"===e.grid?0:(e.grid||[1/0])[0])){for(p=-1/0;p<(p=_[v++].getBoundingClientRect().left)&&v<T;);v--}for(b=n[T]=[],c=o?Math.min(v,T)*l-.5:s%v,u=o?T*l/v-.5:s/v|0,p=0,g=1/0,y=0;y<T;y++)m=y%v-c,d=u-(y/v|0),b[y]=f=h?Math.abs("y"===h?d:m):Math.sqrt(m*m+d*d),f>p&&(p=f),f<g&&(g=f);b.max=p-g,b.min=g,b.v=T=e.amount||e.each*(v>T?T-1:h?"y"===h?T/v:v:Math.max(v,T/v))||0,b.b=T<0?a-T:a}return T=(b[t]-b.min)/b.max,b.b+(r?r.getRatio(T):T)*b.v}},a=function e(i,r,s){t.default.call(this,i,r,s),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=e.prototype.render},n=t.default._internals,o=n.isSelector,h=n.isArray,l=a.prototype=t.default.to({},.1,{}),_=[];a.version="2.1.3",l.constructor=a,l.kill()._gc=!1,a.killTweensOf=a.killDelayedCallsTo=t.default.killTweensOf,a.getTweensOf=t.default.getTweensOf,a.lagSmoothing=t.default.lagSmoothing,a.ticker=t.default.ticker,a.render=t.default.render,a.distribute=s,l.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),t.default.prototype.invalidate.call(this)},l.updateTo=function(e,i){var r,s=this.ratio,a=this.vars.immediateRender||e.immediateRender;for(r in i&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay)),e)this.vars[r]=e[r];if(this._initted||a)if(i)this._initted=!1,a&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&t.default._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var n=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(n,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||a)for(var o,h=1/(1-s),l=this._firstPT;l;)o=l.s+l.c,l.c*=h,l.s=o-l.c,l=l._next;return this},l.render=function(e,i,r){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var s,a,o,h,l,_,c,u,m,d=this._dirty?this.totalDuration():this._totalDuration,f=this._time,y=this._totalTime,p=this._cycle,g=this._duration,v=this._rawPrevTime;if(e>=d-1e-8&&e>=0?(this._totalTime=d,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=g,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(s=!0,a="onComplete",r=r||this._timeline.autoRemoveChildren),0===g&&(this._initted||!this.vars.lazy||r)&&(this._startTime===this._timeline._duration&&(e=0),(v<0||e<=0&&e>=-1e-8||1e-8===v&&"isPause"!==this.data)&&v!==e&&(r=!0,v>1e-8&&(a="onReverseComplete")),this._rawPrevTime=u=!i||e||v===e?e:1e-8)):e<1e-8?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==y||0===g&&v>0)&&(a="onReverseComplete",s=this._reversed),e>-1e-8?e=0:e<0&&(this._active=!1,0===g&&(this._initted||!this.vars.lazy||r)&&(v>=0&&(r=!0),this._rawPrevTime=u=!i||e||v===e?e:1e-8)),this._initted||(r=!0)):(this._totalTime=this._time=e,0!==this._repeat&&(h=g+this._repeatDelay,this._cycle=this._totalTime/h>>0,0!==this._cycle&&this._cycle===this._totalTime/h&&y<=e&&this._cycle--,this._time=this._totalTime-this._cycle*h,this._yoyo&&0!=(1&this._cycle)&&(this._time=g-this._time,(m=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==m||this._initted?this._yoyoEase=m=!0===m?this._ease:m instanceof t.Ease?m:t.Ease.map[m]:(m=this.vars.ease,this._yoyoEase=m=m?m instanceof t.Ease?m:"function"==typeof m?new t.Ease(m,this.vars.easeParams):t.Ease.map[m]||t.default.defaultEase:t.default.defaultEase)),this.ratio=m?1-m.getRatio((g-this._time)/g):0)),this._time>g?this._time=g:this._time<0&&(this._time=0)),this._easeType&&!m?(l=this._time/g,(1===(_=this._easeType)||3===_&&l>=.5)&&(l=1-l),3===_&&(l*=2),1===(c=this._easePower)?l*=l:2===c?l*=l*l:3===c?l*=l*l*l:4===c&&(l*=l*l*l*l),this.ratio=1===_?1-l:2===_?l:this._time/g<.5?l/2:1-l/2):m||(this.ratio=this._ease.getRatio(this._time/g))),f!==this._time||r||p!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!r&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=f,this._totalTime=y,this._rawPrevTime=v,this._cycle=p,n.lazyTweens.push(this),void(this._lazy=[e,i]);!this._time||s||m?s&&this._ease._calcEnd&&!m&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/g)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==f&&e>=0&&(this._active=!0),0===y&&(2===this._initted&&e>0&&this._init(),this._startAt&&(e>=0?this._startAt.render(e,!0,r):a||(a="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==g||i||this._callback("onStart"))),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(e<0&&this._startAt&&this._startTime&&this._startAt.render(e,!0,r),i||(this._totalTime!==y||a)&&this._callback("onUpdate")),this._cycle!==p&&(i||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),a&&(this._gc&&!r||(e<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(e,!0,r),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!i&&this.vars[a]&&this._callback(a),0===g&&1e-8===this._rawPrevTime&&1e-8!==u&&(this._rawPrevTime=0)))}else y!==this._totalTime&&this._onUpdate&&(i||this._callback("onUpdate"))},a.to=function(t,e,i){return new a(t,e,i)},a.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new a(t,e,i)},a.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new a(t,e,r)},a.staggerTo=a.allTo=function(i,n,l,c,u,m,d){var f,y,p,g,v=[],T=s(l.stagger||c),b=l.cycle,w=(l.startAt||_).cycle;for(h(i)||("string"==typeof i&&(i=t.default.selector(i)||i),o(i)&&(i=e(i))),f=(i=i||[]).length-1,p=0;p<=f;p++){for(g in y={},l)y[g]=l[g];if(b&&(r(y,i,p),null!=y.duration&&(n=y.duration,delete y.duration)),w){for(g in w=y.startAt={},l.startAt)w[g]=l.startAt[g];r(y.startAt,i,p)}y.delay=T(p,i[p],i)+(y.delay||0),p===f&&u&&(y.onComplete=function(){l.onComplete&&l.onComplete.apply(l.onCompleteScope||this,arguments),u.apply(d||l.callbackScope||this,m||_)}),v[p]=new a(i[p],n,y)}return v},a.staggerFrom=a.allFrom=function(t,e,i,r,s,n,o){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,a.staggerTo(t,e,i,r,s,n,o)},a.staggerFromTo=a.allFromTo=function(t,e,i,r,s,n,o,h){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,a.staggerTo(t,e,r,s,n,o,h)},a.delayedCall=function(t,e,i,r,s){return new a(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:s,overwrite:0})},a.set=function(t,e){return new a(t,0,e)},a.isTweening=function(e){return t.default.getTweensOf(e,!0).length>0};var c=function e(i,r){for(var s=[],a=0,n=i._first;n;)n instanceof t.default?s[a++]=n:(r&&(s[a++]=n),a=(s=s.concat(e(n,r))).length),n=n._next;return s},u=a.getAllTweens=function(e){return c(t.Animation._rootTimeline,e).concat(c(t.Animation._rootFramesTimeline,e))};a.killAll=function(e,i,r,s){null==i&&(i=!0),null==r&&(r=!0);var a,n,o,h=u(0!=s),l=h.length,_=i&&r&&s;for(o=0;o<l;o++)n=h[o],(_||n instanceof t.SimpleTimeline||(a=n.target===n.vars.onComplete)&&r||i&&!a)&&(e?n.totalTime(n._reversed?0:n.totalDuration()):n._enabled(!1,!1))},a.killChildTweensOf=function(i,r){if(null!=i){var s,l,_,c,u,m=n.tweenLookup;if("string"==typeof i&&(i=t.default.selector(i)||i),o(i)&&(i=e(i)),h(i))for(c=i.length;--c>-1;)a.killChildTweensOf(i[c],r);else{for(_ in s=[],m)for(l=m[_].target.parentNode;l;)l===i&&(s=s.concat(m[_].tweens)),l=l.parentNode;for(u=s.length,c=0;c<u;c++)r&&s[c].totalTime(s[c].totalDuration()),s[c]._enabled(!1,!1)}}};var m=function(e,i,r,s){i=!1!==i,r=!1!==r;for(var a,n,o=u(s=!1!==s),h=i&&r&&s,l=o.length;--l>-1;)n=o[l],(h||n instanceof t.SimpleTimeline||(a=n.target===n.vars.onComplete)&&r||i&&!a)&&n.paused(e)};return a.pauseAll=function(t,e,i){m(!0,t,e,i)},a.resumeAll=function(t,e,i){m(!1,t,e,i)},a.globalTimeScale=function(e){var i=t.Animation._rootTimeline,r=t.default.ticker.time;return arguments.length?(e=e||1e-8,i._startTime=r-(r-i._startTime)*i._timeScale/e,i=t.Animation._rootFramesTimeline,r=t.default.ticker.frame,i._startTime=r-(r-i._startTime)*i._timeScale/e,i._timeScale=t.Animation._rootTimeline._timeScale=e,e):i._timeScale},l.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this.duration()?this._time/this._duration:this.ratio},l.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},l.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,r=this._cycle,s=r*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+s:this._repeat?t+s:t,e)},l.duration=function(e){return arguments.length?t.Animation.prototype.duration.call(this,e):this._duration},l.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},a},!0);var r=t.globals.TweenMax;exports.default=exports.TweenMax=r;var s=r;exports.TweenMaxBase=s; },{"./TweenLite.js":"sU2v"}],"KE4Q":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.CSSPlugin=void 0;var t=e(require("./TweenLite.js"));function e(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};i.get||i.set?Object.defineProperty(e,r,i):e[r]=t[r]}return e.default=t,e}function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t._gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(){var e,i,s,n,a=function e(){t.TweenPlugin.call(this,"css"),this._overwriteProps.length=0,this.setRatio=e.prototype.setRatio},o=t._gsScope._gsDefine.globals,l={},f=a.prototype=new t.TweenPlugin("css");f.constructor=a,a.version="2.1.3",a.API=2,a.defaultTransformPerspective=0,a.defaultSkewType="compensated",a.defaultSmoothOrigin=!0,a.suffixMap={top:f="px",right:f,bottom:f,left:f,width:f,height:f,fontSize:f,padding:f,margin:f,perspective:f,lineHeight:""};var p,h,c,u,x,d,g,y,m=/(?:\-|\.|\b)(\d|\.|e\-)+/g,b=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,v=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,O=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,_=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,w=/(?:\d|\-|\+|=|#|\.)*/g,P=/opacity *= *([^)]*)/i,T=/opacity:([^;]*)/i,M=/alpha\(opacity *=.+?\)/i,S=/^(rgb|hsl)/,X=/([A-Z])/g,k=/-([a-z])/gi,F=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,A=function(t,e){return e.toUpperCase()},R=/(?:Left|Right|Width)/i,C=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,Y=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,z=/,(?=[^\)]*(?:\(|$))/gi,N=/[\s,\(]/i,j=Math.PI/180,B=180/Math.PI,V={},L={style:{}},I=t._gsScope.document||{createElement:function(){return L}},D=function(t,e){var r=I.createElementNS?I.createElementNS(e||"path_to_url",t):I.createElement(t);return r.style?r:I.createElement(t)},W=D("div"),E=D("img"),Z=a._internals={_specialProps:l},H=(t._gsScope.navigator||{}).userAgent||"",q=function(){var t=H.indexOf("Android"),e=D("a");return c=-1!==H.indexOf("Safari")&&-1===H.indexOf("Chrome")&&(-1===t||parseFloat(H.substr(t+8,2))>3),x=c&&parseFloat(H.substr(H.indexOf("Version/")+8,2))<6,u=-1!==H.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(H)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(H))&&(d=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),$=function(t){return P.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},G=function(e){t._gsScope.console&&console.log(e)},U="",J="",K=function(t,e){var r,i,s=(e=e||W).style;if(void 0!==s[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),r=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===s[r[i]+t];);return i>=0?(U="-"+(J=3===i?"ms":r[i]).toLowerCase()+"-",J+t):null},Q="undefined"!=typeof window?window:I.defaultView||{getComputedStyle:function(){}},tt=function(t){return Q.getComputedStyle(t)},et=a.getStyle=function(t,e,r,i,s){var n;return q||"opacity"!==e?(!i&&t.style[e]?n=t.style[e]:(r=r||tt(t))?n=r[e]||r.getPropertyValue(e)||r.getPropertyValue(e.replace(X,"-$1").toLowerCase()):t.currentStyle&&(n=t.currentStyle[e]),null==s||n&&"none"!==n&&"auto"!==n&&"auto auto"!==n?n:s):$(t)},rt=Z.convertToPixels=function(e,r,i,s,n){if("px"===s||!s&&"lineHeight"!==r)return i;if("auto"===s||!i)return 0;var o,l,f,p=R.test(r),h=e,c=W.style,u=i<0,x=1===i;if(u&&(i=-i),x&&(i*=100),"lineHeight"!==r||s)if("%"===s&&-1!==r.indexOf("border"))o=i/100*(p?e.clientWidth:e.clientHeight);else{if(c.cssText="border:0 solid red;position:"+et(e,"position")+";line-height:0;","%"!==s&&h.appendChild&&"v"!==s.charAt(0)&&"rem"!==s)c[p?"borderLeftWidth":"borderTopWidth"]=i+s;else{if(h=e.parentNode||I.body,-1!==et(h,"display").indexOf("flex")&&(c.position="absolute"),l=h._gsCache,f=t.default.ticker.frame,l&&p&&l.time===f)return l.width*i/100;c[p?"width":"height"]=i+s}h.appendChild(W),o=parseFloat(W[p?"offsetWidth":"offsetHeight"]),h.removeChild(W),p&&"%"===s&&!1!==a.cacheWidths&&((l=h._gsCache=h._gsCache||{}).time=f,l.width=o/i*100),0!==o||n||(o=rt(e,r,i,s,!0))}else l=tt(e).lineHeight,e.style.lineHeight=i,o=parseFloat(tt(e).lineHeight),e.style.lineHeight=l;return x&&(o/=100),u?-o:o},it=Z.calculateOffset=function(t,e,r){if("absolute"!==et(t,"position",r))return 0;var i="left"===e?"Left":"Top",s=et(t,"margin"+i,r);return t["offset"+i]-(rt(t,e,parseFloat(s),s.replace(w,""))||0)},st=function(t,e){var r,i,s,n={};if(e=e||tt(t))if(r=e.length)for(;--r>-1;)-1!==(s=e[r]).indexOf("-transform")&&zt!==s||(n[s.replace(k,A)]=e.getPropertyValue(s));else for(r in e)-1!==r.indexOf("Transform")&&Yt!==r||(n[r]=e[r]);else if(e=t.currentStyle||t.style)for(r in e)"string"==typeof r&&void 0===n[r]&&(n[r.replace(k,A)]=e[r]);return q||(n.opacity=$(t)),i=$t(t,e,!1),n.rotation=i.rotation,n.skewX=i.skewX,n.scaleX=i.scaleX,n.scaleY=i.scaleY,n.x=i.x,n.y=i.y,jt&&(n.z=i.z,n.rotationX=i.rotationX,n.rotationY=i.rotationY,n.scaleZ=i.scaleZ),n.filters&&delete n.filters,n},nt=function(t,e,r,i,s){var n,a,o,l={},f=t.style;for(a in r)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(n=r[a])||s&&s[a])&&-1===a.indexOf("Origin")&&("number"!=typeof n&&"string"!=typeof n||(l[a]="auto"!==n||"left"!==a&&"top"!==a?""!==n&&"auto"!==n&&"none"!==n||"string"!=typeof e[a]||""===e[a].replace(_,"")?n:0:it(t,a),void 0!==f[a]&&(o=new vt(f,a,f[a],o))));if(i)for(a in i)"className"!==a&&(l[a]=i[a]);return{difs:l,firstMPT:o}},at={width:["Left","Right"],height:["Top","Bottom"]},ot=["marginLeft","marginRight","marginTop","marginBottom"],lt=function(t,e,r){if("svg"===(t.nodeName+"").toLowerCase())return(r||tt(t))[e]||0;if(t.getCTM&&Zt(t))return t.getBBox()[e]||0;var i=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),s=at[e],n=s.length;for(r=r||tt(t);--n>-1;)i-=parseFloat(et(t,"padding"+s[n],r,!0))||0,i-=parseFloat(et(t,"border"+s[n]+"Width",r,!0))||0;return i},ft=function t(e,r){if("contain"===e||"auto"===e||"auto auto"===e)return e+" ";null!=e&&""!==e||(e="0 0");var i,s=e.split(" "),n=-1!==e.indexOf("left")?"0%":-1!==e.indexOf("right")?"100%":s[0],a=-1!==e.indexOf("top")?"0%":-1!==e.indexOf("bottom")?"100%":s[1];if(s.length>3&&!r){for(s=e.split(", ").join(",").split(","),e=[],i=0;i<s.length;i++)e.push(t(s[i]));return e.join(",")}return null==a?a="center"===n?"50%":"0":"center"===a&&(a="50%"),("center"===n||isNaN(parseFloat(n))&&-1===(n+"").indexOf("="))&&(n="50%"),e=n+" "+a+(s.length>2?" "+s[2]:""),r&&(r.oxp=-1!==n.indexOf("%"),r.oyp=-1!==a.indexOf("%"),r.oxr="="===n.charAt(1),r.oyr="="===a.charAt(1),r.ox=parseFloat(n.replace(_,"")),r.oy=parseFloat(a.replace(_,"")),r.v=e),r||e},pt=function(t,e){return"function"==typeof t&&(t=t(y,g)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ht=function(t,e){"function"==typeof t&&(t=t(y,g));var r="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(r?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(r?t.substr(2):t)/100)),null==t?e:r?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ct=function(t,e,r,i){var s,n,a,o;return"function"==typeof t&&(t=t(y,g)),null==t?a=e:"number"==typeof t?a=t:(360,s=t.split("_"),n=((o="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:B)-(o?0:e),s.length&&(i&&(i[r]=e+n),-1!==t.indexOf("short")&&(n%=360)!==n%180&&(n=n<0?n+360:n-360),-1!==t.indexOf("_cw")&&n<0?n=(n+3599999999640)%360-360*(n/360|0):-1!==t.indexOf("ccw")&&n>0&&(n=(n-3599999999640)%360-360*(n/360|0))),a=e+n),a<1e-6&&a>-1e-6&&(a=0),a},ut={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},xt=function(t,e,r){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)+.5|0},dt=a.parseColor=function(t,e){var r,i,s,n,a,o,l,f,p,h,c;if(t)if("number"==typeof t)r=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ut[t])r=ut[t];else if("#"===t.charAt(0))4===t.length&&(i=t.charAt(1),s=t.charAt(2),n=t.charAt(3),t="#"+i+i+s+s+n+n),r=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(r=c=t.match(m),e){if(-1!==t.indexOf("="))return t.match(b)}else a=Number(r[0])%360/360,o=Number(r[1])/100,i=2*(l=Number(r[2])/100)-(s=l<=.5?l*(o+1):l+o-l*o),r.length>3&&(r[3]=Number(r[3])),r[0]=xt(a+1/3,i,s),r[1]=xt(a,i,s),r[2]=xt(a-1/3,i,s);else r=t.match(m)||ut.transparent;r[0]=Number(r[0]),r[1]=Number(r[1]),r[2]=Number(r[2]),r.length>3&&(r[3]=Number(r[3]))}else r=ut.black;return e&&!c&&(i=r[0]/255,s=r[1]/255,n=r[2]/255,l=((f=Math.max(i,s,n))+(p=Math.min(i,s,n)))/2,f===p?a=o=0:(h=f-p,o=l>.5?h/(2-f-p):h/(f+p),a=f===i?(s-n)/h+(s<n?6:0):f===s?(n-i)/h+2:(i-s)/h+4,a*=60),r[0]=a+.5|0,r[1]=100*o+.5|0,r[2]=100*l+.5|0),r},gt=function(t,e){var r,i,s,n=t.match(yt)||[],a=0,o="";if(!n.length)return t;for(r=0;r<n.length;r++)i=n[r],a+=(s=t.substr(a,t.indexOf(i,a)-a)).length+i.length,3===(i=dt(i,e)).length&&i.push(1),o+=s+(e?"hsla("+i[0]+","+i[1]+"%,"+i[2]+"%,"+i[3]:"rgba("+i.join(","))+")";return o+t.substr(a)},yt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(f in ut)yt+="|"+f+"\\b";yt=new RegExp(yt+")","gi"),a.colorStringFilter=function(t){var e,r=t[0]+" "+t[1];yt.test(r)&&(e=-1!==r.indexOf("hsl(")||-1!==r.indexOf("hsla("),t[0]=gt(t[0],e),t[1]=gt(t[1],e)),yt.lastIndex=0},t.default.defaultStringFilter||(t.default.defaultStringFilter=a.colorStringFilter);var mt=function(t,e,r,i){if(null==t)return function(t){return t};var s,n=e?(t.match(yt)||[""])[0]:"",a=t.split(n).join("").match(v)||[],o=t.substr(0,t.indexOf(a[0])),l=")"===t.charAt(t.length-1)?")":"",f=-1!==t.indexOf(" ")?" ":",",p=a.length,h=p>0?a[0].replace(m,""):"";return p?s=e?function(t){var e,c,u,x;if("number"==typeof t)t+=h;else if(i&&z.test(t)){for(x=t.replace(z,"|").split("|"),u=0;u<x.length;u++)x[u]=s(x[u]);return x.join(",")}if(e=(t.match(yt)||[n])[0],u=(c=t.split(e).join("").match(v)||[]).length,p>u--)for(;++u<p;)c[u]=r?c[(u-1)/2|0]:a[u];return o+c.join(f)+f+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,n,c;if("number"==typeof t)t+=h;else if(i&&z.test(t)){for(n=t.replace(z,"|").split("|"),c=0;c<n.length;c++)n[c]=s(n[c]);return n.join(",")}if(c=(e=t.match(","===f?v:O)||[]).length,p>c--)for(;++c<p;)e[c]=r?e[(c-1)/2|0]:a[c];return(o&&"none"!==t&&t.substr(0,t.indexOf(e[0]))||o)+e.join(f)+l}:function(t){return t}},bt=function(t){return t=t.split(","),function(e,r,i,s,n,a,o){var l,f=(r+"").split(" ");for(o={},l=0;l<4;l++)o[t[l]]=f[l]=f[l]||f[(l-1)/2>>0];return s.parse(e,o,n,a)}},vt=(Z._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,r,i,s,n,a=this.data,o=a.proxy,l=a.firstMPT;l;)e=o[l.v],l.r?e=l.r(e):e<1e-6&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod.call(this._tween,o.rotation,this.t,this._tween):o.rotation),1===t||0===t)for(l=a.firstMPT,n=1===t?"e":"b";l;){if((r=l.t).type){if(1===r.type){for(s=r.xs0+r.s+r.xs1,i=1;i<r.l;i++)s+=r["xn"+i]+r["xs"+(i+1)];r[n]=s}}else r[n]=r.s+r.xs0;l=l._next}},function(t,e,r,i,s){this.t=t,this.p=e,this.v=r,this.r=s,i&&(i._prev=this,this._next=i)}),Ot=(Z._parseToProxy=function(t,e,r,i,s,n){var a,o,l,f,p,h=i,c={},u={},x=r._transform,d=V;for(r._transform=null,V=e,i=p=r.parse(t,e,i,s),V=d,n&&(r._transform=x,h&&(h._prev=null,h._prev&&(h._prev._next=null)));i&&i!==h;){if(i.type<=1&&(u[o=i.p]=i.s+i.c,c[o]=i.s,n||(f=new vt(i,"s",o,f,i.r),i.c=0),1===i.type))for(a=i.l;--a>0;)l="xn"+a,u[o=i.p+"_"+l]=i.data[l],c[o]=i[l],n||(f=new vt(i,l,o,f,i.rxp[l]));i=i._next}return{proxy:c,end:u,firstMPT:f,pt:p}},Z.CSSPropTween=function(t,r,i,s,a,o,l,f,p,h,c){this.t=t,this.p=r,this.s=i,this.c=s,this.n=l||r,t instanceof Ot||n.push(this.n),this.r=f?"function"==typeof f?f:Math.round:f,this.type=o||0,p&&(this.pr=p,e=!0),this.b=void 0===h?i:h,this.e=void 0===c?i+s:c,a&&(this._next=a,a._prev=this)}),_t=function(t,e,r,i,s,n){var a=new Ot(t,e,r,i-r,s,-1,n);return a.b=r,a.e=a.xs0=i,a},wt=a.parseComplex=function(t,e,r,i,s,n,o,l,f,h){r=r||n||"","function"==typeof i&&(i=i(y,g)),o=new Ot(t,e,0,0,o,h?2:1,null,!1,l,r,i),i+="",s&&yt.test(i+r)&&(a.colorStringFilter(i=[r,i]),r=i[0],i=i[1]);var c,u,x,d,v,O,_,w,P,T,M,S,X,k=r.split(", ").join(",").split(" "),F=i.split(", ").join(",").split(" "),A=k.length,R=!1!==p;for(-1===i.indexOf(",")&&-1===r.indexOf(",")||(-1!==(i+r).indexOf("rgb")||-1!==(i+r).indexOf("hsl")?(k=k.join(" ").replace(z,", ").split(" "),F=F.join(" ").replace(z,", ").split(" ")):(k=k.join(" ").split(",").join(", ").split(" "),F=F.join(" ").split(",").join(", ").split(" ")),A=k.length),A!==F.length&&(A=(k=(n||"").split(" ")).length),o.plugin=f,o.setRatio=h,yt.lastIndex=0,c=0;c<A;c++)if(d=k[c],v=F[c]+"",(w=parseFloat(d))||0===w)o.appendXtra("",w,pt(v,w),v.replace(b,""),!(!R||-1===v.indexOf("px"))&&Math.round,!0);else if(s&&yt.test(d))S=")"+((S=v.indexOf(")")+1)?v.substr(S):""),X=-1!==v.indexOf("hsl")&&q,T=v,d=dt(d,X),v=dt(v,X),(P=d.length+v.length>6)&&!q&&0===v[3]?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(F[c]).join("transparent")):(q||(P=!1),X?o.appendXtra(T.substr(0,T.indexOf("hsl"))+(P?"hsla(":"hsl("),d[0],pt(v[0],d[0]),",",!1,!0).appendXtra("",d[1],pt(v[1],d[1]),"%,",!1).appendXtra("",d[2],pt(v[2],d[2]),P?"%,":"%"+S,!1):o.appendXtra(T.substr(0,T.indexOf("rgb"))+(P?"rgba(":"rgb("),d[0],v[0]-d[0],",",Math.round,!0).appendXtra("",d[1],v[1]-d[1],",",Math.round).appendXtra("",d[2],v[2]-d[2],P?",":S,Math.round),P&&(d=d.length<4?1:d[3],o.appendXtra("",d,(v.length<4?1:v[3])-d,S,!1))),yt.lastIndex=0;else if(O=d.match(m)){if(!(_=v.match(b))||_.length!==O.length)return o;for(x=0,u=0;u<O.length;u++)M=O[u],T=d.indexOf(M,x),o.appendXtra(d.substr(x,T-x),Number(M),pt(_[u],M),"",!(!R||"px"!==d.substr(T+M.length,2))&&Math.round,0===u),x=T+M.length;o["xs"+o.l]+=d.substr(x)}else o["xs"+o.l]+=o.l||o["xs"+o.l]?" "+v:v;if(-1!==i.indexOf("=")&&o.data){for(S=o.xs0+o.data.s,c=1;c<o.l;c++)S+=o["xs"+c]+o.data["xn"+c];o.e=S+o["xs"+c]}return o.l||(o.type=-1,o.xs0=o.e),o.xfirst||o},Pt=9;for((f=Ot.prototype).l=f.pr=0;--Pt>0;)f["xn"+Pt]=0,f["xs"+Pt]="";f.xs0="",f._next=f._prev=f.xfirst=f.data=f.plugin=f.setRatio=f.rxp=null,f.appendXtra=function(t,e,r,i,s,n){var a=this,o=a.l;return a["xs"+o]+=n&&(o||a["xs"+o])?" "+t:t||"",r||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=i||"",o>0?(a.data["xn"+o]=e+r,a.rxp["xn"+o]=s,a["xn"+o]=e,a.plugin||(a.xfirst=new Ot(a,"xn"+o,e,r,a.xfirst||a,0,a.n,s,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+r},a.rxp={},a.s=e,a.c=r,a.r=s,a)):(a["xs"+o]+=e+(i||""),a)};var Tt=function(t,e){e=e||{},this.p=e.prefix&&K(t)||t,l[t]=l[this.p]=this,this.format=e.formatter||mt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0},Mt=Z._registerComplexSpecialProp=function(t,e,i){"object"!==r(e)&&(e={parser:i});var s,n=t.split(","),a=e.defaultValue;for(i=i||[a],s=0;s<n.length;s++)e.prefix=0===s&&e.prefix,e.defaultValue=i[s]||a,new Tt(n[s],e)},St=Z._registerPluginProp=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Mt(t,{parser:function(t,r,i,s,n,a,f){var p=o.com.greensock.plugins[e];return p?(p._cssRegister(),l[i].parse(t,r,i,s,n,a,f)):(G("Error: "+e+" js file not loaded."),n)}})}};(f=Tt.prototype).parseComplex=function(t,e,r,i,s,n){var a,o,l,f,p,h,c=this.keyword;if(this.multi&&(z.test(r)||z.test(e)?(o=e.replace(z,"|").split("|"),l=r.replace(z,"|").split("|")):c&&(o=[e],l=[r])),l){for(f=l.length>o.length?l.length:o.length,a=0;a<f;a++)e=o[a]=o[a]||this.dflt,r=l[a]=l[a]||this.dflt,c&&(p=e.indexOf(c))!==(h=r.indexOf(c))&&(-1===h?o[a]=o[a].split(c).join(""):-1===p&&(o[a]+=" "+c));e=o.join(", "),r=l.join(", ")}return wt(t,this.p,e,r,this.clrs,this.dflt,i,this.pr,s,n)},f.parse=function(t,e,r,i,n,a,o){return this.parseComplex(t.style,this.format(et(t,this.p,s,!1,this.dflt)),this.format(e),n,a)},a.registerSpecialProp=function(t,e,r){Mt(t,{parser:function(t,i,s,n,a,o,l){var f=new Ot(t,s,0,0,a,2,s,!1,r);return f.plugin=o,f.setRatio=e(t,i,n._tween,s),f},priority:r})},a.useSVGTransformAttr=!0;var Xt,kt,Ft,At,Rt,Ct="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Yt=K("transform"),zt=U+"transform",Nt=K("transformOrigin"),jt=null!==K("perspective"),Bt=Z.Transform=function(){this.perspective=parseFloat(a.defaultTransformPerspective)||0,this.force3D=!(!1===a.defaultForce3D||!jt)&&(a.defaultForce3D||"auto")},Vt=t._gsScope.SVGElement,Lt=function(t,e,r){var i,s=I.createElementNS("path_to_url",t),n=/([a-z])([A-Z])/g;for(i in r)s.setAttributeNS(null,i.replace(n,"$1-$2").toLowerCase(),r[i]);return e.appendChild(s),s},It=I.documentElement||{},Dt=(Rt=d||/Android/i.test(H)&&!t._gsScope.chrome,I.createElementNS&&It.appendChild&&!Rt&&(kt=Lt("svg",It),At=(Ft=Lt("rect",kt,{width:100,height:50,x:100})).getBoundingClientRect().width,Ft.style[Nt]="50% 50%",Ft.style[Yt]="scaleX(0.5)",Rt=At===Ft.getBoundingClientRect().width&&!(u&&jt),It.removeChild(kt)),Rt),Wt=function(t,e,r,i,s,n){var o,l,f,p,h,c,u,x,d,g,y,m,b,v,O=t._gsTransform,_=qt(t,!0);O&&(b=O.xOrigin,v=O.yOrigin),(!i||(o=i.split(" ")).length<2)&&(0===(u=t.getBBox()).x&&0===u.y&&u.width+u.height===0&&(u={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),o=[(-1!==(e=ft(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*u.width:parseFloat(e[0]))+u.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*u.height:parseFloat(e[1]))+u.y]),r.xOrigin=p=parseFloat(o[0]),r.yOrigin=h=parseFloat(o[1]),i&&_!==Ht&&(c=_[0],u=_[1],x=_[2],d=_[3],g=_[4],y=_[5],(m=c*d-u*x)&&(l=p*(d/m)+h*(-x/m)+(x*y-d*g)/m,f=p*(-u/m)+h*(c/m)-(c*y-u*g)/m,p=r.xOrigin=o[0]=l,h=r.yOrigin=o[1]=f)),O&&(n&&(r.xOffset=O.xOffset,r.yOffset=O.yOffset,O=r),s||!1!==s&&!1!==a.defaultSmoothOrigin?(l=p-b,f=h-v,O.xOffset+=l*_[0]+f*_[2]-l,O.yOffset+=l*_[1]+f*_[3]-f):O.xOffset=O.yOffset=0),n||t.setAttribute("data-svg-origin",o.join(" "))},Et=function(t){try{return t.getBBox()}catch(e){return function e(r){var i,s=D("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"path_to_url"),n=this.parentNode,a=this.nextSibling,o=this.style.cssText;if(It.appendChild(s),s.appendChild(this),this.style.display="block",r)try{i=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=e}catch(t){}else this._originalGetBBox&&(i=this._originalGetBBox());return a?n.insertBefore(this,a):n.appendChild(this),It.removeChild(s),this.style.cssText=o,i}.call(t,!0)}},Zt=function(t){return!(!Vt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Et(t))},Ht=[1,0,0,1,0,0],qt=function(t,e){var r,i,s,n,a,o,l,f=t._gsTransform||new Bt,p=t.style;if(Yt?i=et(t,zt,null,!0):t.currentStyle&&(i=(i=t.currentStyle.filter.match(C))&&4===i.length?[i[0].substr(4),Number(i[2].substr(4)),Number(i[1].substr(4)),i[3].substr(4),f.x||0,f.y||0].join(","):""),r=!i||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,Yt&&r&&!t.offsetParent&&t!==It&&(n=p.display,p.display="block",(l=t.parentNode)&&t.offsetParent||(a=1,o=t.nextSibling,It.appendChild(t)),r=!(i=et(t,zt,null,!0))||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,n?p.display=n:Kt(p,"display"),a&&(o?l.insertBefore(t,o):l?l.appendChild(t):It.removeChild(t))),(f.svg||t.getCTM&&Zt(t))&&(r&&-1!==(p[Yt]+"").indexOf("matrix")&&(i=p[Yt],r=0),s=t.getAttribute("transform"),r&&s&&(i="matrix("+(s=t.transform.baseVal.consolidate().matrix).a+","+s.b+","+s.c+","+s.d+","+s.e+","+s.f+")",r=0)),r)return Ht;for(s=(i||"").match(m)||[],Pt=s.length;--Pt>-1;)n=Number(s[Pt]),s[Pt]=(a=n-(n|=0))?(1e5*a+(a<0?-.5:.5)|0)/1e5+n:n;return e&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s},$t=Z.getTransform=function(e,r,i,s){if(e._gsTransform&&i&&!s)return e._gsTransform;var n,o,l,f,p,h,c=i&&e._gsTransform||new Bt,u=c.scaleX<0,x=jt&&(parseFloat(et(e,Nt,r,!1,"0 0 0").split(" ")[2])||c.zOrigin)||0,d=parseFloat(a.defaultTransformPerspective)||0;if(c.svg=!(!e.getCTM||!Zt(e)),c.svg&&(Wt(e,et(e,Nt,r,!1,"50% 50%")+"",c,e.getAttribute("data-svg-origin")),Xt=a.useSVGTransformAttr||Dt),(n=qt(e))!==Ht){if(16===n.length){var g,y,m,b,v,O=n[0],_=n[1],w=n[2],P=n[3],T=n[4],M=n[5],S=n[6],X=n[7],k=n[8],F=n[9],A=n[10],R=n[12],C=n[13],Y=n[14],z=n[11],N=Math.atan2(S,A);c.zOrigin&&(R=k*(Y=-c.zOrigin)-n[12],C=F*Y-n[13],Y=A*Y+c.zOrigin-n[14]),c.rotationX=N*B,N&&(g=T*(b=Math.cos(-N))+k*(v=Math.sin(-N)),y=M*b+F*v,m=S*b+A*v,k=T*-v+k*b,F=M*-v+F*b,A=S*-v+A*b,z=X*-v+z*b,T=g,M=y,S=m),N=Math.atan2(-w,A),c.rotationY=N*B,N&&(y=_*(b=Math.cos(-N))-F*(v=Math.sin(-N)),m=w*b-A*v,F=_*v+F*b,A=w*v+A*b,z=P*v+z*b,O=g=O*b-k*v,_=y,w=m),N=Math.atan2(_,O),c.rotation=N*B,N&&(g=O*(b=Math.cos(N))+_*(v=Math.sin(N)),y=T*b+M*v,m=k*b+F*v,_=_*b-O*v,M=M*b-T*v,F=F*b-k*v,O=g,T=y,k=m),c.rotationX&&Math.abs(c.rotationX)+Math.abs(c.rotation)>359.9&&(c.rotationX=c.rotation=0,c.rotationY=180-c.rotationY),N=Math.atan2(T,M),c.scaleX=(1e5*Math.sqrt(O*O+_*_+w*w)+.5|0)/1e5,c.scaleY=(1e5*Math.sqrt(M*M+S*S)+.5|0)/1e5,c.scaleZ=(1e5*Math.sqrt(k*k+F*F+A*A)+.5|0)/1e5,O/=c.scaleX,T/=c.scaleY,_/=c.scaleX,M/=c.scaleY,Math.abs(N)>2e-5?(c.skewX=N*B,T=0,"simple"!==c.skewType&&(c.scaleY*=1/Math.cos(N))):c.skewX=0,c.perspective=z?1/(z<0?-z:z):0,c.x=R,c.y=C,c.z=Y,c.svg&&(c.x-=c.xOrigin-(c.xOrigin*O-c.yOrigin*T),c.y-=c.yOrigin-(c.yOrigin*_-c.xOrigin*M))}else if(!jt||s||!n.length||c.x!==n[4]||c.y!==n[5]||!c.rotationX&&!c.rotationY){var j=n.length>=6,V=j?n[0]:1,L=n[1]||0,I=n[2]||0,D=j?n[3]:1;c.x=n[4]||0,c.y=n[5]||0,l=Math.sqrt(V*V+L*L),f=Math.sqrt(D*D+I*I),p=V||L?Math.atan2(L,V)*B:c.rotation||0,h=I||D?Math.atan2(I,D)*B+p:c.skewX||0,c.scaleX=l,c.scaleY=f,c.rotation=p,c.skewX=h,jt&&(c.rotationX=c.rotationY=c.z=0,c.perspective=d,c.scaleZ=1),c.svg&&(c.x-=c.xOrigin-(c.xOrigin*V+c.yOrigin*I),c.y-=c.yOrigin-(c.xOrigin*L+c.yOrigin*D))}for(o in Math.abs(c.skewX)>90&&Math.abs(c.skewX)<270&&(u?(c.scaleX*=-1,c.skewX+=c.rotation<=0?180:-180,c.rotation+=c.rotation<=0?180:-180):(c.scaleY*=-1,c.skewX+=c.skewX<=0?180:-180)),c.zOrigin=x,c)c[o]<2e-5&&c[o]>-2e-5&&(c[o]=0)}return i&&(e._gsTransform=c,c.svg&&(Xt&&e.style[Yt]?t.default.delayedCall(.001,function(){Kt(e.style,Yt)}):!Xt&&e.getAttribute("transform")&&t.default.delayedCall(.001,function(){e.removeAttribute("transform")}))),c},Gt=function(t){var e,r,i=this.data,s=-i.rotation*j,n=s+i.skewX*j,a=(Math.cos(s)*i.scaleX*1e5|0)/1e5,o=(Math.sin(s)*i.scaleX*1e5|0)/1e5,l=(Math.sin(n)*-i.scaleY*1e5|0)/1e5,f=(Math.cos(n)*i.scaleY*1e5|0)/1e5,p=this.t.style,h=this.t.currentStyle;if(h){r=o,o=-l,l=-r,e=h.filter,p.filter="";var c,u,x=this.t.offsetWidth,g=this.t.offsetHeight,y="absolute"!==h.position,m="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+o+", M21="+l+", M22="+f,b=i.x+x*i.xPercent/100,v=i.y+g*i.yPercent/100;if(null!=i.ox&&(b+=(c=(i.oxp?x*i.ox*.01:i.ox)-x/2)-(c*a+(u=(i.oyp?g*i.oy*.01:i.oy)-g/2)*o),v+=u-(c*l+u*f)),m+=y?", Dx="+((c=x/2)-(c*a+(u=g/2)*o)+b)+", Dy="+(u-(c*l+u*f)+v)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?p.filter=e.replace(Y,m):p.filter=m+" "+e,0!==t&&1!==t||1===a&&0===o&&0===l&&1===f&&(y&&-1===m.indexOf("Dx=0, Dy=0")||P.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&p.removeAttribute("filter")),!y){var O,_,T,M=d<8?1:-1;for(c=i.ieOffsetX||0,u=i.ieOffsetY||0,i.ieOffsetX=Math.round((x-((a<0?-a:a)*x+(o<0?-o:o)*g))/2+b),i.ieOffsetY=Math.round((g-((f<0?-f:f)*g+(l<0?-l:l)*x))/2+v),Pt=0;Pt<4;Pt++)T=(r=-1!==(O=h[_=ot[Pt]]).indexOf("px")?parseFloat(O):rt(this.t,_,parseFloat(O),O.replace(w,""))||0)!==i[_]?Pt<2?-i.ieOffsetX:-i.ieOffsetY:Pt<2?c-i.ieOffsetX:u-i.ieOffsetY,p[_]=(i[_]=Math.round(r-T*(0===Pt||2===Pt?1:M)))+"px"}}},Ut=Z.set3DTransformRatio=Z.setTransformRatio=function(t){var e,r,i,s,n,a,o,l,f,p,h,c,x,d,g,y,m,b,v,O,_=this.data,w=this.t.style,P=_.rotation,T=_.rotationX,M=_.rotationY,S=_.scaleX,X=_.scaleY,k=_.scaleZ,F=_.x,A=_.y,R=_.z,C=_.svg,Y=_.perspective,z=_.force3D,N=_.skewY,B=_.skewX;if(N&&(B+=N,P+=N),!((1!==t&&0!==t||"auto"!==z||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&z||R||Y||M||T||1!==k)||Xt&&C||!jt)P||B||C?(P*=j,O=B*j,1e5,r=Math.cos(P)*S,n=Math.sin(P)*S,i=Math.sin(P-O)*-X,a=Math.cos(P-O)*X,O&&"simple"===_.skewType&&(e=Math.tan(O-N*j),i*=e=Math.sqrt(1+e*e),a*=e,N&&(e=Math.tan(N*j),r*=e=Math.sqrt(1+e*e),n*=e)),C&&(F+=_.xOrigin-(_.xOrigin*r+_.yOrigin*i)+_.xOffset,A+=_.yOrigin-(_.xOrigin*n+_.yOrigin*a)+_.yOffset,Xt&&(_.xPercent||_.yPercent)&&(g=this.t.getBBox(),F+=.01*_.xPercent*g.width,A+=.01*_.yPercent*g.height),F<(g=1e-6)&&F>-g&&(F=0),A<g&&A>-g&&(A=0)),v=(1e5*r|0)/1e5+","+(1e5*n|0)/1e5+","+(1e5*i|0)/1e5+","+(1e5*a|0)/1e5+","+F+","+A+")",C&&Xt?this.t.setAttribute("transform","matrix("+v):w[Yt]=(_.xPercent||_.yPercent?"translate("+_.xPercent+"%,"+_.yPercent+"%) matrix(":"matrix(")+v):w[Yt]=(_.xPercent||_.yPercent?"translate("+_.xPercent+"%,"+_.yPercent+"%) matrix(":"matrix(")+S+",0,0,"+X+","+F+","+A+")";else{if(u&&(S<(g=1e-4)&&S>-g&&(S=k=2e-5),X<g&&X>-g&&(X=k=2e-5),!Y||_.z||_.rotationX||_.rotationY||(Y=0)),P||B)P*=j,y=r=Math.cos(P),m=n=Math.sin(P),B&&(P-=B*j,y=Math.cos(P),m=Math.sin(P),"simple"===_.skewType&&(e=Math.tan((B-N)*j),y*=e=Math.sqrt(1+e*e),m*=e,_.skewY&&(e=Math.tan(N*j),r*=e=Math.sqrt(1+e*e),n*=e))),i=-m,a=y;else{if(!(M||T||1!==k||Y||C))return void(w[Yt]=(_.xPercent||_.yPercent?"translate("+_.xPercent+"%,"+_.yPercent+"%) translate3d(":"translate3d(")+F+"px,"+A+"px,"+R+"px)"+(1!==S||1!==X?" scale("+S+","+X+")":""));r=a=1,i=n=0}p=1,s=o=l=f=h=c=0,x=Y?-1/Y:0,d=_.zOrigin,g=1e-6,",","0",(P=M*j)&&(y=Math.cos(P),l=-(m=Math.sin(P)),h=x*-m,s=r*m,o=n*m,p=y,x*=y,r*=y,n*=y),(P=T*j)&&(e=i*(y=Math.cos(P))+s*(m=Math.sin(P)),b=a*y+o*m,f=p*m,c=x*m,s=i*-m+s*y,o=a*-m+o*y,p*=y,x*=y,i=e,a=b),1!==k&&(s*=k,o*=k,p*=k,x*=k),1!==X&&(i*=X,a*=X,f*=X,c*=X),1!==S&&(r*=S,n*=S,l*=S,h*=S),(d||C)&&(d&&(F+=s*-d,A+=o*-d,R+=p*-d+d),C&&(F+=_.xOrigin-(_.xOrigin*r+_.yOrigin*i)+_.xOffset,A+=_.yOrigin-(_.xOrigin*n+_.yOrigin*a)+_.yOffset),F<g&&F>-g&&(F="0"),A<g&&A>-g&&(A="0"),R<g&&R>-g&&(R=0)),v=_.xPercent||_.yPercent?"translate("+_.xPercent+"%,"+_.yPercent+"%) matrix3d(":"matrix3d(",v+=(r<g&&r>-g?"0":r)+","+(n<g&&n>-g?"0":n)+","+(l<g&&l>-g?"0":l),v+=","+(h<g&&h>-g?"0":h)+","+(i<g&&i>-g?"0":i)+","+(a<g&&a>-g?"0":a),T||M||1!==k?(v+=","+(f<g&&f>-g?"0":f)+","+(c<g&&c>-g?"0":c)+","+(s<g&&s>-g?"0":s),v+=","+(o<g&&o>-g?"0":o)+","+(p<g&&p>-g?"0":p)+","+(x<g&&x>-g?"0":x)+","):v+=",0,0,0,0,1,0,",v+=F+","+A+","+R+","+(Y?1+-R/Y:1)+")",w[Yt]=v}};(f=Bt.prototype).x=f.y=f.z=f.skewX=f.skewY=f.rotation=f.rotationX=f.rotationY=f.zOrigin=f.xPercent=f.yPercent=f.xOffset=f.yOffset=0,f.scaleX=f.scaleY=f.scaleZ=1,Mt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,n,o,l,f){if(n._lastParsedTransform===f)return o;n._lastParsedTransform=f;var p=f.scale&&"function"==typeof f.scale?f.scale:0;p&&(f.scale=p(y,t));var h,c,u,x,d,m,b,v,O,_=t._gsTransform,w=t.style,P=Ct.length,T=f,M={},S=$t(t,s,!0,T.parseTransform),X=T.transform&&("function"==typeof T.transform?T.transform(y,g):T.transform);if(S.skewType=T.skewType||S.skewType||a.defaultSkewType,n._transform=S,"rotationZ"in T&&(T.rotation=T.rotationZ),X&&"string"==typeof X&&Yt)(c=W.style)[Yt]=X,c.display="block",c.position="absolute",-1!==X.indexOf("%")&&(c.width=et(t,"width"),c.height=et(t,"height")),I.body.appendChild(W),h=$t(W,null,!1),"simple"===S.skewType&&(h.scaleY*=Math.cos(h.skewX*j)),S.svg&&(m=S.xOrigin,b=S.yOrigin,h.x-=S.xOffset,h.y-=S.yOffset,(T.transformOrigin||T.svgOrigin)&&(X={},Wt(t,ft(T.transformOrigin),X,T.svgOrigin,T.smoothOrigin,!0),m=X.xOrigin,b=X.yOrigin,h.x-=X.xOffset-S.xOffset,h.y-=X.yOffset-S.yOffset),(m||b)&&(v=qt(W,!0),h.x-=m-(m*v[0]+b*v[2]),h.y-=b-(m*v[1]+b*v[3]))),I.body.removeChild(W),h.perspective||(h.perspective=S.perspective),null!=T.xPercent&&(h.xPercent=ht(T.xPercent,S.xPercent)),null!=T.yPercent&&(h.yPercent=ht(T.yPercent,S.yPercent));else if("object"===r(T)){if(h={scaleX:ht(null!=T.scaleX?T.scaleX:T.scale,S.scaleX),scaleY:ht(null!=T.scaleY?T.scaleY:T.scale,S.scaleY),scaleZ:ht(T.scaleZ,S.scaleZ),x:ht(T.x,S.x),y:ht(T.y,S.y),z:ht(T.z,S.z),xPercent:ht(T.xPercent,S.xPercent),yPercent:ht(T.yPercent,S.yPercent),perspective:ht(T.transformPerspective,S.perspective)},null!=(d=T.directionalRotation))if("object"===r(d))for(c in d)T[c]=d[c];else T.rotation=d;"string"==typeof T.x&&-1!==T.x.indexOf("%")&&(h.x=0,h.xPercent=ht(T.x,S.xPercent)),"string"==typeof T.y&&-1!==T.y.indexOf("%")&&(h.y=0,h.yPercent=ht(T.y,S.yPercent)),h.rotation=ct("rotation"in T?T.rotation:"shortRotation"in T?T.shortRotation+"_short":S.rotation,S.rotation,"rotation",M),jt&&(h.rotationX=ct("rotationX"in T?T.rotationX:"shortRotationX"in T?T.shortRotationX+"_short":S.rotationX||0,S.rotationX,"rotationX",M),h.rotationY=ct("rotationY"in T?T.rotationY:"shortRotationY"in T?T.shortRotationY+"_short":S.rotationY||0,S.rotationY,"rotationY",M)),h.skewX=ct(T.skewX,S.skewX),h.skewY=ct(T.skewY,S.skewY)}for(jt&&null!=T.force3D&&(S.force3D=T.force3D,x=!0),(u=S.force3D||S.z||S.rotationX||S.rotationY||h.z||h.rotationX||h.rotationY||h.perspective)||null==T.scale||(h.scaleZ=1);--P>-1;)((X=h[O=Ct[P]]-S[O])>1e-6||X<-1e-6||null!=T[O]||null!=V[O])&&(x=!0,o=new Ot(S,O,S[O],X,o),O in M&&(o.e=M[O]),o.xs0=0,o.plugin=l,n._overwriteProps.push(o.n));return X="function"==typeof T.transformOrigin?T.transformOrigin(y,g):T.transformOrigin,S.svg&&(X||T.svgOrigin)&&(m=S.xOffset,b=S.yOffset,Wt(t,ft(X),h,T.svgOrigin,T.smoothOrigin),o=_t(S,"xOrigin",(_?S:h).xOrigin,h.xOrigin,o,"transformOrigin"),o=_t(S,"yOrigin",(_?S:h).yOrigin,h.yOrigin,o,"transformOrigin"),m===S.xOffset&&b===S.yOffset||(o=_t(S,"xOffset",_?m:S.xOffset,S.xOffset,o,"transformOrigin"),o=_t(S,"yOffset",_?b:S.yOffset,S.yOffset,o,"transformOrigin")),X="0px 0px"),(X||jt&&u&&S.zOrigin)&&(Yt?(x=!0,O=Nt,X||(X=(X=(et(t,O,s,!1,"50% 50%")+"").split(" "))[0]+" "+X[1]+" "+S.zOrigin+"px"),X+="",(o=new Ot(w,O,0,0,o,-1,"transformOrigin")).b=w[O],o.plugin=l,jt?(c=S.zOrigin,X=X.split(" "),S.zOrigin=(X.length>2?parseFloat(X[2]):c)||0,o.xs0=o.e=X[0]+" "+(X[1]||"50%")+" 0px",(o=new Ot(S,"zOrigin",0,0,o,-1,o.n)).b=c,o.xs0=o.e=S.zOrigin):o.xs0=o.e=X):ft(X+"",S)),x&&(n._transformType=S.svg&&Xt||!u&&3!==this._transformType?2:3),p&&(f.scale=p),o},allowFunc:!0,prefix:!0}),Mt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Mt("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:mt("inset(0% 0% 0% 0%)",!1,!0)}),Mt("borderRadius",{defaultValue:"0px",parser:function(t,e,r,n,a,o){e=this.format(e);var l,f,p,h,c,u,x,d,g,y,m,b,v,O,_,w,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],T=t.style;for(g=parseFloat(t.offsetWidth),y=parseFloat(t.offsetHeight),l=e.split(" "),f=0;f<P.length;f++)this.p.indexOf("border")&&(P[f]=K(P[f])),-1!==(c=h=et(t,P[f],s,!1,"0px")).indexOf(" ")&&(h=c.split(" "),c=h[0],h=h[1]),u=p=l[f],x=parseFloat(c),b=c.substr((x+"").length),(v="="===u.charAt(1))?(d=parseInt(u.charAt(0)+"1",10),u=u.substr(2),d*=parseFloat(u),m=u.substr((d+"").length-(d<0?1:0))||""):(d=parseFloat(u),m=u.substr((d+"").length)),""===m&&(m=i[r]||b),m!==b&&(O=rt(t,"borderLeft",x,b),_=rt(t,"borderTop",x,b),"%"===m?(c=O/g*100+"%",h=_/y*100+"%"):"em"===m?(c=O/(w=rt(t,"borderLeft",1,"em"))+"em",h=_/w+"em"):(c=O+"px",h=_+"px"),v&&(u=parseFloat(c)+d+m,p=parseFloat(h)+d+m)),a=wt(T,P[f],c+" "+h,u+" "+p,!1,"0px",a);return a},prefix:!0,formatter:mt("0px 0px 0px 0px",!1,!0)}),Mt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,r,i,n,a){return wt(t.style,r,this.format(et(t,r,s,!1,"0px 0px")),this.format(e),!1,"0px",n)},prefix:!0,formatter:mt("0px 0px",!1,!0)}),Mt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,r,i,n,a){var o,l,f,p,h,c,u="background-position",x=s||tt(t),g=this.format((x?d?x.getPropertyValue(u+"-x")+" "+x.getPropertyValue(u+"-y"):x.getPropertyValue(u):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),y=this.format(e);if(-1!==g.indexOf("%")!=(-1!==y.indexOf("%"))&&y.split(",").length<2&&(c=et(t,"backgroundImage").replace(F,""))&&"none"!==c){for(o=g.split(" "),l=y.split(" "),E.setAttribute("src",c),f=2;--f>-1;)(p=-1!==(g=o[f]).indexOf("%"))!==(-1!==l[f].indexOf("%"))&&(h=0===f?t.offsetWidth-E.width:t.offsetHeight-E.height,o[f]=p?parseFloat(g)/100*h+"px":parseFloat(g)/h*100+"%");g=o.join(" ")}return this.parseComplex(t.style,g,y,n,a)},formatter:ft}),Mt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:ft(-1===t.indexOf(" ")?t+" "+t:t)}}),Mt("perspective",{defaultValue:"0px",prefix:!0}),Mt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Mt("transformStyle",{prefix:!0}),Mt("backfaceVisibility",{prefix:!0}),Mt("userSelect",{prefix:!0}),Mt("margin",{parser:bt("marginTop,marginRight,marginBottom,marginLeft")}),Mt("padding",{parser:bt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Mt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,r,i,n,a){var o,l,f;return d<9?(l=t.currentStyle,f=d<8?" ":",",o="rect("+l.clipTop+f+l.clipRight+f+l.clipBottom+f+l.clipLeft+")",e=this.format(e).split(",").join(f)):(o=this.format(et(t,this.p,s,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,n,a)}}),Mt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Mt("autoRound,strictUnits",{parser:function(t,e,r,i,s){return s}}),Mt("border",{defaultValue:"0px solid #000",parser:function(t,e,r,i,n,a){var o=et(t,"borderTopWidth",s,!1,"0px"),l=this.format(e).split(" "),f=l[0].replace(w,"");return"px"!==f&&(o=parseFloat(o)/rt(t,"borderTopWidth",1,f)+f),this.parseComplex(t.style,this.format(o+" "+et(t,"borderTopStyle",s,!1,"solid")+" "+et(t,"borderTopColor",s,!1,"#000")),l.join(" "),n,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(yt)||["#000"])[0]}}),Mt("borderWidth",{parser:bt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Mt("float,cssFloat,styleFloat",{parser:function(t,e,r,i,s,n){var a=t.style,o="cssFloat"in a?"cssFloat":"styleFloat";return new Ot(a,o,0,0,s,-1,r,!1,0,a[o],e)}});var Jt=function(t){var e,r=this.t,i=r.filter||et(this.data,"filter")||"",s=this.s+this.c*t|0;100===s&&(-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(r.removeAttribute("filter"),e=!et(this.data,"filter")):(r.filter=i.replace(M,""),e=!0)),e||(this.xn1&&(r.filter=i=i||"alpha(opacity="+s+")"),-1===i.indexOf("pacity")?0===s&&this.xn1||(r.filter=i+" alpha(opacity="+s+")"):r.filter=i.replace(P,"opacity="+s))};Mt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,r,i,n,a){var o=parseFloat(et(t,"opacity",s,!1,"1")),l=t.style,f="autoAlpha"===r;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),f&&1===o&&"hidden"===et(t,"visibility",s)&&0!==e&&(o=0),q?n=new Ot(l,"opacity",o,e-o,n):((n=new Ot(l,"opacity",100*o,100*(e-o),n)).xn1=f?1:0,l.zoom=1,n.type=2,n.b="alpha(opacity="+n.s+")",n.e="alpha(opacity="+(n.s+n.c)+")",n.data=t,n.plugin=a,n.setRatio=Jt),f&&((n=new Ot(l,"visibility",0,0,n,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",i._overwriteProps.push(n.n),i._overwriteProps.push(r)),n}});var Kt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(X,"-$1").toLowerCase())):t.removeAttribute(e))},Qt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,r=this.t.style;e;)e.v?r[e.p]=e.v:Kt(r,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Mt("className",{parser:function(t,r,i,n,a,o,l){var f,p,h,c,u,x=t.getAttribute("class")||"",d=t.style.cssText;if((a=n._classNamePT=new Ot(t,i,0,0,a,2)).setRatio=Qt,a.pr=-11,e=!0,a.b=x,p=st(t,s),h=t._gsClassPT){for(c={},u=h.data;u;)c[u.p]=1,u=u._next;h.setRatio(1)}return t._gsClassPT=a,a.e="="!==r.charAt(1)?r:x.replace(new RegExp("(?:\\s|^)"+r.substr(2)+"(?![\\w-])"),"")+("+"===r.charAt(0)?" "+r.substr(2):""),t.setAttribute("class",a.e),f=nt(t,p,st(t),l,c),t.setAttribute("class",x),a.data=f.firstMPT,t.style.cssText!==d&&(t.style.cssText=d),a=a.xfirst=n.parse(t,f.difs,a,o)}});var te=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,r,i,s,n,a=this.t.style,o=l.transform.parse;if("all"===this.e)a.cssText="",s=!0;else for(i=(e=this.e.split(" ").join("").split(",")).length;--i>-1;)r=e[i],l[r]&&(l[r].parse===o?s=!0:r="transformOrigin"===r?Nt:l[r].p),Kt(a,r);s&&(Kt(a,Yt),(n=this.t._gsTransform)&&(n.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Mt("clearProps",{parser:function(t,r,i,s,n){return(n=new Ot(t,i,0,0,n,2)).setRatio=te,n.e=r,n.pr=-10,n.data=s._tween,e=!0,n}}),f="bezier,throwProps,physicsProps,physics2D".split(","),Pt=f.length;Pt--;)St(f[Pt]);(f=a.prototype)._firstPT=f._lastParsedTransform=f._transform=null,f._onInitTween=function(t,r,o,f){if(!t.nodeType)return!1;this._target=g=t,this._tween=o,this._vars=r,y=f,p=r.autoRound,e=!1,i=r.suffixMap||a.suffixMap,s=tt(t),n=this._overwriteProps;var u,d,m,b,v,O,_,w,P,M=t.style;if(h&&""===M.zIndex&&("auto"!==(u=et(t,"zIndex",s))&&""!==u||this._addLazySet(M,"zIndex",0)),"string"==typeof r&&(b=M.cssText,u=st(t,s),M.cssText=b+";"+r,u=nt(t,u,st(t)).difs,!q&&T.test(r)&&(u.opacity=parseFloat(RegExp.$1)),r=u,M.cssText=b),r.className?this._firstPT=d=l.className.parse(t,r.className,"className",this,null,null,r):this._firstPT=d=this.parse(t,r,null),this._transformType){for(P=3===this._transformType,Yt?c&&(h=!0,""===M.zIndex&&("auto"!==(_=et(t,"zIndex",s))&&""!==_||this._addLazySet(M,"zIndex",0)),x&&this._addLazySet(M,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(P?"visible":"hidden"))):M.zoom=1,m=d;m&&m._next;)m=m._next;w=new Ot(t,"transform",0,0,null,2),this._linkCSSP(w,null,m),w.setRatio=Yt?Ut:Gt,w.data=this._transform||$t(t,s,!0),w.tween=o,w.pr=-1,n.pop()}if(e){for(;d;){for(O=d._next,m=b;m&&m.pr>d.pr;)m=m._next;(d._prev=m?m._prev:v)?d._prev._next=d:b=d,(d._next=m)?m._prev=d:v=d,d=O}this._firstPT=b}return!0},f.parse=function(t,e,r,n){var a,o,f,h,c,u,x,d,m,b,v=t.style;for(a in e){if(u=e[a],o=l[a],"function"!=typeof u||o&&o.allowFunc||(u=u(y,g)),o)r=o.parse(t,u,a,this,r,n,e);else{if("--"===a.substr(0,2)){this._tween._propLookup[a]=this._addTween.call(this._tween,t.style,"setProperty",tt(t).getPropertyValue(a)+"",u+"",a,!1,a);continue}c=et(t,a,s)+"",m="string"==typeof u,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||m&&S.test(u)?(m||(u=((u=dt(u)).length>3?"rgba(":"rgb(")+u.join(",")+")"),r=wt(v,a,c,u,!0,"transparent",r,0,n)):m&&N.test(u)?r=wt(v,a,c,u,!0,null,r,0,n):(x=(f=parseFloat(c))||0===f?c.substr((f+"").length):"",""!==c&&"auto"!==c||("width"===a||"height"===a?(f=lt(t,a,s),x="px"):"left"===a||"top"===a?(f=it(t,a,s),x="px"):(f="opacity"!==a?0:1,x="")),(b=m&&"="===u.charAt(1))?(h=parseInt(u.charAt(0)+"1",10),u=u.substr(2),h*=parseFloat(u),d=u.replace(w,"")):(h=parseFloat(u),d=m?u.replace(w,""):""),""===d&&(d=a in i?i[a]:x),u=h||0===h?(b?h+f:h)+d:e[a],x!==d&&(""===d&&"lineHeight"!==a||(h||0===h)&&f&&(f=rt(t,a,f,x),"%"===d?(f/=rt(t,a,100,"%")/100,!0!==e.strictUnits&&(c=f+"%")):"em"===d||"rem"===d||"vw"===d||"vh"===d?f/=rt(t,a,1,d):"px"!==d&&(h=rt(t,a,h,d),d="px"),b&&(h||0===h)&&(u=h+f+d))),b&&(h+=f),!f&&0!==f||!h&&0!==h?void 0!==v[a]&&(u||u+""!="NaN"&&null!=u)?(r=new Ot(v,a,h||f||0,0,r,-1,a,!1,0,c,u)).xs0="none"!==u||"display"!==a&&-1===a.indexOf("Style")?u:c:G("invalid "+a+" tween value: "+e[a]):(r=new Ot(v,a,f,h-f,r,0,a,!1!==p&&("px"===d||"zIndex"===a),0,c,u)).xs0=d)}n&&r&&!r.plugin&&(r.plugin=n)}return r},f.setRatio=function(t){var e,r,i,s=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;s;){if(e=s.c*t+s.s,s.r?e=s.r(e):e<1e-6&&e>-1e-6&&(e=0),s.type)if(1===s.type)if(2===(i=s.l))s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2;else if(3===i)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3;else if(4===i)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4;else if(5===i)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4+s.xn4+s.xs5;else{for(r=s.xs0+e+s.xs1,i=1;i<s.l;i++)r+=s["xn"+i]+s["xs"+(i+1)];s.t[s.p]=r}else-1===s.type?s.t[s.p]=s.xs0:s.setRatio&&s.setRatio(t);else s.t[s.p]=e+s.xs0;s=s._next}else for(;s;)2!==s.type?s.t[s.p]=s.b:s.setRatio(t),s=s._next;else for(;s;){if(2!==s.type)if(s.r&&-1!==s.type)if(e=s.r(s.s+s.c),s.type){if(1===s.type){for(i=s.l,r=s.xs0+e+s.xs1,i=1;i<s.l;i++)r+=s["xn"+i]+s["xs"+(i+1)];s.t[s.p]=r}}else s.t[s.p]=e+s.xs0;else s.t[s.p]=s.e;else s.setRatio(t);s=s._next}},f._enableTransforms=function(t){this._transform=this._transform||$t(this._target,s,!0),this._transformType=this._transform.svg&&Xt||!t&&3!==this._transformType?2:3};var ee=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};f._addLazySet=function(t,e,r){var i=this._firstPT=new Ot(t,e,0,0,this._firstPT,2);i.e=r,i.setRatio=ee,i.data=this},f._linkCSSP=function(t,e,r,i){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,i=!0),r?r._next=t:i||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=r),t},f._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},f._kill=function(e){var r,i,s,n=e;if(e.autoAlpha||e.alpha){for(i in n={},e)n[i]=e[i];n.opacity=1,n.autoAlpha&&(n.visibility=1)}for(e.className&&(r=this._classNamePT)&&((s=r.xfirst)&&s._prev?this._linkCSSP(s._prev,r._next,s._prev._prev):s===this._firstPT&&(this._firstPT=r._next),r._next&&this._linkCSSP(r._next,r._next._next,s._prev),this._classNamePT=null),r=this._firstPT;r;)r.plugin&&r.plugin!==i&&r.plugin._kill&&(r.plugin._kill(e),i=r.plugin),r=r._next;return t.TweenPlugin.prototype._kill.call(this,n)};var re=function t(e,r,i){var s,n,a,o;if(e.slice)for(n=e.length;--n>-1;)t(e[n],r,i);else for(n=(s=e.childNodes).length;--n>-1;)o=(a=s[n]).type,a.style&&(r.push(st(a)),i&&i.push(a)),1!==o&&9!==o&&11!==o||!a.childNodes.length||t(a,r,i)};return a.cascadeTo=function(e,r,i){var s,n,a,o,l=t.default.to(e,r,i),f=[l],p=[],h=[],c=[],u=t.default._internals.reservedProps;for(e=l._targets||l.target,re(e,p,c),l.render(r,!0,!0),re(e,h),l.render(0,!0,!0),l._enabled(!0),s=c.length;--s>-1;)if((n=nt(c[s],p[s],h[s])).firstMPT){for(a in n=n.difs,i)u[a]&&(n[a]=i[a]);for(a in o={},n)o[a]=p[s][a];f.push(t.default.fromTo(c[s],r,o,n))}return f},t.TweenPlugin.activate([a]),a},!0);var i=t.globals.CSSPlugin;exports.default=exports.CSSPlugin=i; },{"./TweenLite.js":"sU2v"}],"Lwey":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.AttrPlugin=void 0;var t=require("./TweenLite.js"),e=t._gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,r,i){var o,n;if("function"!=typeof t.setAttribute)return!1;for(o in e)"function"==typeof(n=e[o])&&(n=n(i,t)),this._addTween(t,"setAttribute",t.getAttribute(o)+"",n+"",o,!1,o),this._overwriteProps.push(o);return!0}});exports.default=exports.AttrPlugin=e; },{"./TweenLite.js":"sU2v"}],"gZZs":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.p=exports._roundLinkedList=exports._getRoundFunc=exports.default=exports.RoundPropsPlugin=void 0;var t=require("./TweenLite.js");function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=t._gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,o,r){return this._tween=r,!0}}),e=function(t){var o=t<1?Math.pow(10,(t+"").length-2):1;return function(r){return(Math.round(r/t)*t*o|0)/o}},n=function(t,o){for(;t;)t.f||t.blob||(t.m=o||Math.round),t=t._next},p=r.prototype;exports.p=p,exports._roundLinkedList=n,exports._getRoundFunc=e,exports.default=exports.RoundPropsPlugin=r,p._onInitAllProps=function(){var t,r,p,u,i=this._tween,s=i.vars.roundProps,f={},_=i._propLookup.roundProps;if("object"!==o(s)||s.push)for("string"==typeof s&&(s=s.split(",")),p=s.length;--p>-1;)f[s[p]]=Math.round;else for(u in s)f[u]=e(s[u]);for(u in f)for(t=i._firstPT;t;)r=t._next,t.pg?t.t._mod(f):t.n===u&&(2===t.f&&t.t?n(t.t._firstPT,f[u]):(this._add(t.t,u,t.s,t.c,f[u]),r&&(r._prev=t._prev),t._prev?t._prev._next=r:i._firstPT===t&&(i._firstPT=r),t._next=t._prev=null,i._propLookup[u]=_)),t=r;return!1},p._add=function(t,o,r,e,n){this._addTween(t,o,r,r+e,o,n||Math.round),this._overwriteProps.push(o)}; },{"./TweenLite.js":"sU2v"}],"3BYZ":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.DirectionalRotationPlugin=void 0;var t=require("./TweenLite.js");function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=t._gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,o,i,n){"object"!==e(o)&&(o={rotation:o}),this.finals={};var r,s,f,a,u,p,l=!0===o.useRadians?2*Math.PI:360;for(r in o)"useRadians"!==r&&("function"==typeof(a=o[r])&&(a=a(n,t)),s=(p=(a+"").split("_"))[0],f=parseFloat("function"!=typeof t[r]?t[r]:t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]()),u=(a=this.finals[r]="string"==typeof s&&"="===s.charAt(1)?f+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0)-f,p.length&&(-1!==(s=p.join("_")).indexOf("short")&&(u%=l)!==u%(l/2)&&(u=u<0?u+l:u-l),-1!==s.indexOf("_cw")&&u<0?u=(u+9999999999*l)%l-(u/l|0)*l:-1!==s.indexOf("ccw")&&u>0&&(u=(u-9999999999*l)%l-(u/l|0)*l)),(u>1e-6||u<-1e-6)&&(this._addTween(t,r,f,f+u,r),this._overwriteProps.push(r)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}});exports.default=exports.DirectionalRotationPlugin=o,o._autoCSS=!0; },{"./TweenLite.js":"sU2v"}],"Rh1e":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.TimelineLite=void 0;var t=e(require("./TweenLite.js"));function e(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,i):{};r.get||r.set?Object.defineProperty(e,i,r):e[i]=t[i]}return e.default=t,e}function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t._gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var e=function(e){t.SimpleTimeline.call(this,e);var i,r,a=this.vars;for(r in this._labels={},this.autoRemoveChildren=!!a.autoRemoveChildren,this.smoothChildTiming=!!a.smoothChildTiming,this._sortChildren=!0,this._onUpdate=a.onUpdate,a)i=a[r],n(i)&&-1!==i.join("").indexOf("{self}")&&(a[r]=this._swapSelfInParams(i));n(a.tweens)&&this.add(a.tweens,0,a.align,a.stagger)},r=t.default._internals,a=e._internals={},s=r.isSelector,n=r.isArray,o=r.lazyTweens,l=r.lazyRender,h=t._gsScope._gsDefine.globals,_=function(t){var e,i={};for(e in t)i[e]=t[e];return i},u=function(t,e,i){var r,a,s=t.cycle;for(r in s)a=s[r],t[r]="function"==typeof a?a(i,e[i],e):a[i%a.length];delete t.cycle},m=a.pauseCallback=function(){},d=function(t,e,i,r){var a="immediateRender";return a in e||(e[a]=!(i&&!1===i[a]||r)),e},f=function(t){if("function"==typeof t)return t;var e="object"===i(t)?t:{each:t},r=e.ease,a=e.from||0,s=e.base||0,n={},o=isNaN(a),l=e.axis,h={center:.5,end:1}[a]||0;return function(t,i,_){var u,m,d,f,c,p,T,v,g,y=(_||e).length,b=n[y];if(!b){if(!(g="auto"===e.grid?0:(e.grid||[1/0])[0])){for(T=-1/0;T<(T=_[g++].getBoundingClientRect().left)&&g<y;);g--}for(b=n[y]=[],u=o?Math.min(g,y)*h-.5:a%g,m=o?y*h/g-.5:a/g|0,T=0,v=1/0,p=0;p<y;p++)d=p%g-u,f=m-(p/g|0),b[p]=c=l?Math.abs("y"===l?f:d):Math.sqrt(d*d+f*f),c>T&&(T=c),c<v&&(v=c);b.max=T-v,b.min=v,b.v=y=e.amount||e.each*(g>y?y-1:l?"y"===l?y/g:g:Math.max(g,y/g))||0,b.b=y<0?s-y:s}return y=(b[t]-b.min)/b.max,b.b+(r?r.getRatio(y):y)*b.v}},c=e.prototype=new t.SimpleTimeline;return e.version="2.1.3",e.distribute=f,c.constructor=e,c.kill()._gc=c._forcingPlayhead=c._hasPause=!1,c.to=function(e,i,r,a){var s=r.repeat&&h.TweenMax||t.default;return i?this.add(new s(e,i,r),a):this.set(e,r,a)},c.from=function(e,i,r,a){return this.add((r.repeat&&h.TweenMax||t.default).from(e,i,d(0,r)),a)},c.fromTo=function(e,i,r,a,s){var n=a.repeat&&h.TweenMax||t.default;return a=d(0,a,r),i?this.add(n.fromTo(e,i,r,a),s):this.set(e,a,s)},c.staggerTo=function(i,r,a,n,o,l,h,m){var d,c,p=new e({onComplete:l,onCompleteParams:h,callbackScope:m,smoothChildTiming:this.smoothChildTiming}),T=f(a.stagger||n),v=a.startAt,g=a.cycle;for("string"==typeof i&&(i=t.default.selector(i)||i),s(i=i||[])&&(i=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i}(i)),c=0;c<i.length;c++)d=_(a),v&&(d.startAt=_(v),v.cycle&&u(d.startAt,i,c)),g&&(u(d,i,c),null!=d.duration&&(r=d.duration,delete d.duration)),p.to(i[c],r,d,T(c,i[c],i));return this.add(p,o)},c.staggerFrom=function(t,e,i,r,a,s,n,o){return i.runBackwards=!0,this.staggerTo(t,e,d(0,i),r,a,s,n,o)},c.staggerFromTo=function(t,e,i,r,a,s,n,o,l){return r.startAt=i,this.staggerTo(t,e,d(0,r,i),a,s,n,o,l)},c.call=function(e,i,r,a){return this.add(t.default.delayedCall(0,e,i,r),a)},c.set=function(e,i,r){return this.add(new t.default(e,0,d(0,i,null,!0)),r)},e.exportRoot=function(i,r){null==(i=i||{}).smoothChildTiming&&(i.smoothChildTiming=!0);var a,s,n,o,l=new e(i),h=l._timeline;for(null==r&&(r=!0),h._remove(l,!0),l._startTime=0,l._rawPrevTime=l._time=l._totalTime=h._time,n=h._first;n;)o=n._next,r&&n instanceof t.default&&n.target===n.vars.onComplete||((s=n._startTime-n._delay)<0&&(a=1),l.add(n,s)),n=o;return h.add(l,0),a&&l.totalDuration(),l},c.add=function(i,r,a,s){var o,l,h,_,u,m;if("number"!=typeof r&&(r=this._parseTimeOrLabel(r,0,!0,i)),!(i instanceof t.Animation)){if(i instanceof Array||i&&i.push&&n(i)){for(a=a||"normal",s=s||0,o=r,l=i.length,h=0;h<l;h++)n(_=i[h])&&(_=new e({tweens:_})),this.add(_,o),"string"!=typeof _&&"function"!=typeof _&&("sequence"===a?o=_._startTime+_.totalDuration()/_._timeScale:"start"===a&&(_._startTime-=_.delay())),o+=s;return this._uncache(!0)}if("string"==typeof i)return this.addLabel(i,r);if("function"!=typeof i)throw"Cannot add "+i+" into the timeline; it is not a tween, timeline, function, or string.";i=t.default.delayedCall(0,i)}if(t.SimpleTimeline.prototype.add.call(this,i,r),(i._time||!i._duration&&i._initted)&&(o=(this.rawTime()-i._startTime)*i._timeScale,(!i._duration||Math.abs(Math.max(0,Math.min(i.totalDuration(),o)))-i._totalTime>1e-5)&&i.render(o,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(m=(u=this).rawTime()>i._startTime;u._timeline;)m&&u._timeline.smoothChildTiming?u.totalTime(u._totalTime,!0):u._gc&&u._enabled(!0,!1),u=u._timeline;return this},c.remove=function(e){if(e instanceof t.Animation){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t.Animation._rootFramesTimeline:t.Animation._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&n(e)){for(var r=e.length;--r>-1;)this.remove(e[r]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},c._remove=function(e,i){return t.SimpleTimeline.prototype._remove.call(this,e,i),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},c.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},c.insert=c.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},c.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},c.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},c.addPause=function(e,i,r,a){var s=t.default.delayedCall(0,m,r,a||this);return s.vars.onComplete=s.vars.onReverseComplete=i,s.data="isPause",this._hasPause=!0,this.add(s,e)},c.removeLabel=function(t){return delete this._labels[t],this},c.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},c._parseTimeOrLabel=function(e,i,r,a){var s,o;if(a instanceof t.Animation&&a.timeline===this)this.remove(a);else if(a&&(a instanceof Array||a.push&&n(a)))for(o=a.length;--o>-1;)a[o]instanceof t.Animation&&a[o].timeline===this&&this.remove(a[o]);if(s="number"!=typeof e||i?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof e&&null==this._labels[i]?e-s:0,r);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=s);else{if(-1===(o=e.indexOf("=")))return null==this._labels[e]?r?this._labels[e]=s+i:i:this._labels[e]+i;i=parseInt(e.charAt(o-1)+"1",10)*Number(e.substr(o+1)),e=o>1?this._parseTimeOrLabel(e.substr(0,o-1),0,r):s}return Number(e)+i},c.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},c.stop=function(){return this.paused(!0)},c.gotoAndPlay=function(t,e){return this.play(t,e)},c.gotoAndStop=function(t,e){return this.pause(t,e)},c.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,a,s,n,h,_,u,m,d=this._time,f=this._dirty?this.totalDuration():this._totalDuration,c=this._startTime,p=this._timeScale,T=this._paused;if(d!==this._time&&(t+=this._time-d),this._hasPause&&!this._forcingPlayhead&&!e){if(t>d)for(r=this._first;r&&r._startTime<=t&&!_;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(_=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!_;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(_=r),r=r._prev;_&&(this._time=this._totalTime=t=_._startTime,m=this._startTime+(this._reversed?this._duration-t:t)/this._timeScale)}if(t>=f-1e-8&&t>=0)this._totalTime=this._time=f,this._reversed||this._hasPausedChild()||(a=!0,n="onComplete",h=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||this._rawPrevTime<0||1e-8===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(h=!0,this._rawPrevTime>1e-8&&(n="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,t=f+1e-4;else if(t<1e-8)if(this._totalTime=this._time=0,t>-1e-8&&(t=0),(0!==d||0===this._duration&&1e-8!==this._rawPrevTime&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(n="onReverseComplete",a=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=a=!0,n="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(h=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&a)for(r=this._first;r&&0===r._startTime;)r._duration||(a=!1),r=r._next;t=0,this._initted||(h=!0)}else this._totalTime=this._time=this._rawPrevTime=t;if(this._time!==d&&this._first||i||h||_){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==d&&t>0&&(this._active=!0),0===d&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),(u=this._time)>=d)for(r=this._first;r&&(s=r._next,u===this._time&&(!this._paused||T));)(r._active||r._startTime<=u&&!r._paused&&!r._gc)&&(_===r&&(this.pause(),this._pauseTime=m),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=s;else for(r=this._last;r&&(s=r._prev,u===this._time&&(!this._paused||T));){if(r._active||r._startTime<=d&&!r._paused&&!r._gc){if(_===r){for(_=r._prev;_&&_.endTime()>this._time;)_.render(_._reversed?_.totalDuration()-(t-_._startTime)*_._timeScale:(t-_._startTime)*_._timeScale,e,i),_=_._prev;_=null,this.pause(),this._pauseTime=m}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=s}this._onUpdate&&(e||(o.length&&l(),this._callback("onUpdate"))),n&&(this._gc||c!==this._startTime&&p===this._timeScale||(0===this._time||f>=this.totalDuration())&&(a&&(o.length&&l(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[n]&&this._callback(n)))}},c._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof e&&t._hasPausedChild())return!0;t=t._next}return!1},c.getChildren=function(e,i,r,a){a=a||-9999999999;for(var s=[],n=this._first,o=0;n;)n._startTime<a||(n instanceof t.default?!1!==i&&(s[o++]=n):(!1!==r&&(s[o++]=n),!1!==e&&(o=(s=s.concat(n.getChildren(!0,i,r))).length))),n=n._next;return s},c.getTweensOf=function(e,i){var r,a,s=this._gc,n=[],o=0;for(s&&this._enabled(!0,!0),a=(r=t.default.getTweensOf(e)).length;--a>-1;)(r[a].timeline===this||i&&this._contains(r[a]))&&(n[o++]=r[a]);return s&&this._enabled(!1,!0),n},c.recent=function(){return this._recent},c._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},c.shiftChildren=function(t,e,i){i=i||0;for(var r,a=this._first,s=this._labels;a;)a._startTime>=i&&(a._startTime+=t),a=a._next;if(e)for(r in s)s[r]>=i&&(s[r]+=t);return this._uncache(!0)},c._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),r=i.length,a=!1;--r>-1;)i[r]._kill(t,e)&&(a=!0);return a},c.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},c.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.Animation.prototype.invalidate.call(this)},c._enabled=function(e,i){if(e===this._gc)for(var r=this._first;r;)r._enabled(e,!0),r=r._next;return t.SimpleTimeline.prototype._enabled.call(this,e,i)},c.totalTime=function(e,i,r){this._forcingPlayhead=!0;var a=t.Animation.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,a},c.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},c.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,r=0,a=this._last,s=999999999999;a;)e=a._prev,a._dirty&&a.totalDuration(),a._startTime>s&&this._sortChildren&&!a._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(a,a._startTime-a._delay),this._calculatingDuration=0):s=a._startTime,a._startTime<0&&!a._paused&&(r-=a._startTime,this._timeline.smoothChildTiming&&(this._startTime+=a._startTime/this._timeScale,this._time-=a._startTime,this._totalTime-=a._startTime,this._rawPrevTime-=a._startTime),this.shiftChildren(-a._startTime,!1,-9999999999),s=0),(i=a._startTime+a._totalDuration/a._timeScale)>r&&(r=i),a=e;this._duration=this._totalDuration=r,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},c.paused=function(e){if(!1===e&&this._paused)for(var i=this._first;i;)i._startTime===this._time&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.Animation.prototype.paused.apply(this,arguments)},c.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t.Animation._rootFramesTimeline},c.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},e},!0);var r=t.globals.TimelineLite;exports.default=exports.TimelineLite=r; },{"./TweenLite.js":"sU2v"}],"c5lM":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"TimelineLite",{enumerable:!0,get:function(){return e.default}}),exports.default=exports.TimelineMax=void 0;var t=s(require("./TweenLite.js")),e=i(require("./TimelineLite.js"));function i(t){return t&&t.__esModule?t:{default:t}}function s(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,i):{};s.get||s.set?Object.defineProperty(e,i,s):e[i]=t[i]}return e.default=t,e}t._gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(){var i=function(t){e.default.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},s=t.default._internals,a=s.lazyTweens,r=s.lazyRender,h=t._gsScope._gsDefine.globals,_=new t.Ease(null,null,1,0),l=i.prototype=new e.default;return l.constructor=i,l.kill()._gc=!1,i.version="2.1.3",l.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),e.default.prototype.invalidate.call(this)},l.addCallback=function(e,i,s,a){return this.add(t.default.delayedCall(0,e,s,a),i)},l.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),s=i.length,a=this._parseTimeOrLabel(e);--s>-1;)i[s]._startTime===a&&i[s]._enabled(!1,!1);return this},l.removePause=function(t){return this.removeCallback(e.default._internals.pauseCallback,t)},l.tweenTo=function(e,i){i=i||{};var s,a,r,l={ease:_,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},n=i.repeat&&h.TweenMax||t.default;for(a in i)l[a]=i[a];return l.time=this._parseTimeOrLabel(e),s=Math.abs(Number(l.time)-this._time)/this._timeScale||.001,r=new n(this,s,l),l.onStart=function(){r.target.paused(!0),r.vars.time===r.target.time()||s!==r.duration()||r.isFromTo||r.duration(Math.abs(r.vars.time-r.target.time())/r.target._timeScale).render(r.time(),!0,!0),i.onStart&&i.onStart.apply(i.onStartScope||i.callbackScope||r,i.onStartParams||[])},r},l.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var s=this.tweenTo(e,i);return s.isFromTo=1,s.duration(Math.abs(s.vars.time-t)/this._timeScale||.001)},l.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var s,h,_,l,n,o,c,m,u,d=this._time,p=this._dirty?this.totalDuration():this._totalDuration,f=this._duration,y=this._totalTime,v=this._startTime,T=this._timeScale,g=this._rawPrevTime,b=this._paused,D=this._cycle;if(d!==this._time&&(t+=this._time-d),t>=p-1e-8&&t>=0)this._locked||(this._totalTime=p,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(h=!0,l="onComplete",n=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||g<0||1e-8===g)&&g!==t&&this._first&&(n=!0,g>1e-8&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,this._yoyo&&1&this._cycle?this._time=t=0:(this._time=f,t=f+1e-4);else if(t<1e-8)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,t>-1e-8&&(t=0),(0!==d||0===f&&1e-8!==g&&(g>0||t<0&&g>=0)&&!this._locked)&&(l="onReverseComplete",h=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(n=h=!0,l="onReverseComplete"):g>=0&&this._first&&(n=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=f||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&h)for(s=this._first;s&&0===s._startTime;)s._duration||(h=!1),s=s._next;t=0,this._initted||(n=!0)}else 0===f&&g<0&&(n=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(o=f+this._repeatDelay,this._cycle=this._totalTime/o>>0,this._cycle&&this._cycle===this._totalTime/o&&y<=t&&this._cycle--,this._time=this._totalTime-this._cycle*o,this._yoyo&&1&this._cycle&&(this._time=f-this._time),this._time>f?(this._time=f,t=f+1e-4):this._time<0?this._time=t=0:t=this._time));if(this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>d||this._repeat&&D!==this._cycle)for(s=this._first;s&&s._startTime<=t&&!c;)s._duration||"isPause"!==s.data||s.ratio||0===s._startTime&&0===this._rawPrevTime||(c=s),s=s._next;else for(s=this._last;s&&s._startTime>=t&&!c;)s._duration||"isPause"===s.data&&s._rawPrevTime>0&&(c=s),s=s._prev;c&&(u=this._startTime+(this._reversed?this._duration-c._startTime:c._startTime)/this._timeScale,c._startTime<f&&(this._time=this._rawPrevTime=t=c._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay)))}if(this._cycle!==D&&!this._locked){var P=this._yoyo&&0!=(1&D),w=P===(this._yoyo&&0!=(1&this._cycle)),k=this._totalTime,S=this._cycle,C=this._rawPrevTime,L=this._time;if(this._totalTime=D*f,this._cycle<D?P=!P:this._totalTime+=f,this._time=d,this._rawPrevTime=0===f?g-1e-4:g,this._cycle=D,this._locked=!0,d=P?0:f,this.render(d,e,0===f),e||this._gc||this.vars.onRepeat&&(this._cycle=S,this._locked=!1,this._callback("onRepeat")),d!==this._time)return;if(w&&(this._cycle=D,this._locked=!0,d=P?f+1e-4:-1e-4,this.render(d,!0,!1)),this._locked=!1,this._paused&&!b)return;this._time=L,this._totalTime=k,this._cycle=S,this._rawPrevTime=C}if(this._time!==d&&this._first||i||n||c){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==y&&t>0&&(this._active=!0),0===y&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),(m=this._time)>=d)for(s=this._first;s&&(_=s._next,m===this._time&&(!this._paused||b));)(s._active||s._startTime<=this._time&&!s._paused&&!s._gc)&&(c===s&&(this.pause(),this._pauseTime=u),s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=_;else for(s=this._last;s&&(_=s._prev,m===this._time&&(!this._paused||b));){if(s._active||s._startTime<=d&&!s._paused&&!s._gc){if(c===s){for(c=s._prev;c&&c.endTime()>this._time;)c.render(c._reversed?c.totalDuration()-(t-c._startTime)*c._timeScale:(t-c._startTime)*c._timeScale,e,i),c=c._prev;c=null,this.pause(),this._pauseTime=u}s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)}s=_}this._onUpdate&&(e||(a.length&&r(),this._callback("onUpdate"))),l&&(this._locked||this._gc||v!==this._startTime&&T===this._timeScale||(0===this._time||p>=this.totalDuration())&&(h&&(a.length&&r(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}else y!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},l.getActive=function(t,e,i){var s,a,r=[],h=this.getChildren(t||null==t,e||null==t,!!i),_=0,l=h.length;for(s=0;s<l;s++)(a=h[s]).isActive()&&(r[_++]=a);return r},l.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),s=i.length;for(e=0;e<s;e++)if(i[e].time>t)return i[e].name;return null},l.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].time<t)return e[i].name;return null},l.getLabelsArray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},l.invalidate=function(){return this._locked=!1,e.default.prototype.invalidate.call(this)},l.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},l.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},l.totalDuration=function(t){return arguments.length?-1!==this._repeat&&t?this.timeScale(this.totalDuration()/t):this:(this._dirty&&(e.default.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},l.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,s=this._cycle,a=s*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&s?i-t+a:this._repeat?t+a:t,e)},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},l.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},i},!0);var a=t.globals.TimelineMax;exports.default=exports.TimelineMax=a; },{"./TweenLite.js":"sU2v","./TimelineLite.js":"Rh1e"}],"JjQl":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.BezierPlugin=void 0;var t=require("./TweenLite.js"),i=180/Math.PI,s=[],e=[],r=[],n={},o=t._gsScope._gsDefine.globals,a=function(t,i,s,e){s===e&&(s=e-(e-i)/1e6),t===i&&(i=t+(s-t)/1e6),this.a=t,this.b=i,this.c=s,this.d=e,this.da=e-t,this.ca=s-t,this.ba=i-t},h=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",_=function(t,i,s,e){var r={a:t},n={},o={},a={c:e},h=(t+i)/2,_=(i+s)/2,l=(s+e)/2,u=(h+_)/2,f=(_+l)/2,c=(f-u)/8;return r.b=h+(t-h)/4,n.b=u+c,r.c=n.a=(r.b+n.b)/2,n.c=o.a=(u+f)/2,o.b=f-c,a.b=l+(e-l)/4,o.c=a.a=(o.b+a.b)/2,[r,n,o,a]},l=function(t,i,n,o,a){var h,l,u,f,c,g,p,b,d,m,v,R,y,w=t.length-1,z=0,x=t[0].a;for(h=0;h<w;h++)l=(c=t[z]).a,u=c.d,f=t[z+1].d,a?(v=s[h],y=((R=e[h])+v)*i*.25/(o?.5:r[h]||.5),b=u-((g=u-(u-l)*(o?.5*i:0!==v?y/v:0))+(((p=u+(f-u)*(o?.5*i:0!==R?y/R:0))-g)*(3*v/(v+R)+.5)/4||0))):b=u-((g=u-(u-l)*i*.5)+(p=u+(f-u)*i*.5))/2,g+=b,p+=b,c.c=d=g,c.b=0!==h?x:x=c.a+.6*(c.c-c.a),c.da=u-l,c.ca=d-l,c.ba=x-l,n?(m=_(l,x,d,u),t.splice(z,1,m[0],m[1],m[2],m[3]),z+=4):z++,x=p;(c=t[z]).b=x,c.c=x+.4*(c.d-x),c.da=c.d-c.a,c.ca=c.c-c.a,c.ba=x-c.a,n&&(m=_(c.a,x,c.c,c.d),t.splice(z,1,m[0],m[1],m[2],m[3]))},u=function(t,i,r,n){var o,h,_,l,u,f,c=[];if(n)for(h=(t=[n].concat(t)).length;--h>-1;)"string"==typeof(f=t[h][i])&&"="===f.charAt(1)&&(t[h][i]=n[i]+Number(f.charAt(0)+f.substr(2)));if((o=t.length-2)<0)return c[0]=new a(t[0][i],0,0,t[0][i]),c;for(h=0;h<o;h++)_=t[h][i],l=t[h+1][i],c[h]=new a(_,0,0,l),r&&(u=t[h+2][i],s[h]=(s[h]||0)+(l-_)*(l-_),e[h]=(e[h]||0)+(u-l)*(u-l));return c[h]=new a(t[h][i],0,0,t[h+1][i]),c},f=function(t,i,o,a,_,f){var c,g,p,b,d,m,v,R,y={},w=[],z=f||t[0];for(g in _="string"==typeof _?","+_+",":h,null==i&&(i=1),t[0])w.push(g);if(t.length>1){for(R=t[t.length-1],v=!0,c=w.length;--c>-1;)if(g=w[c],Math.abs(z[g]-R[g])>.05){v=!1;break}v&&(t=t.concat(),f&&t.unshift(f),t.push(t[1]),f=t[t.length-3])}for(s.length=e.length=r.length=0,c=w.length;--c>-1;)g=w[c],n[g]=-1!==_.indexOf(","+g+","),y[g]=u(t,g,n[g],f);for(c=s.length;--c>-1;)s[c]=Math.sqrt(s[c]),e[c]=Math.sqrt(e[c]);if(!a){for(c=w.length;--c>-1;)if(n[g])for(m=(p=y[w[c]]).length-1,b=0;b<m;b++)d=p[b+1].da/e[b]+p[b].da/s[b]||0,r[b]=(r[b]||0)+d*d;for(c=r.length;--c>-1;)r[c]=Math.sqrt(r[c])}for(c=w.length,b=o?4:1;--c>-1;)p=y[g=w[c]],l(p,i,o,a,n[g]),v&&(p.splice(0,b),p.splice(p.length-b,b));return y},c=function(t,i,s){var e,r,n,o,h,_,l,u,f,c,g,p={},b="cubic"===(i=i||"soft")?3:2,d="soft"===i,m=[];if(d&&s&&(t=[s].concat(t)),null==t||t.length<b+1)throw"invalid Bezier data";for(f in t[0])m.push(f);for(_=m.length;--_>-1;){for(p[f=m[_]]=h=[],c=0,u=t.length,l=0;l<u;l++)e=null==s?t[l][f]:"string"==typeof(g=t[l][f])&&"="===g.charAt(1)?s[f]+Number(g.charAt(0)+g.substr(2)):Number(g),d&&l>1&&l<u-1&&(h[c++]=(e+h[c-2])/2),h[c++]=e;for(u=c-b+1,c=0,l=0;l<u;l+=b)e=h[l],r=h[l+1],n=h[l+2],o=2===b?0:h[l+3],h[c++]=g=3===b?new a(e,r,n,o):new a(e,(2*r+e)/3,(2*r+n)/3,n);h.length=c}return p},g=function(t,i,s){for(var e,r,n,o,a,h,_,l,u,f,c,g=1/s,p=t.length;--p>-1;)for(n=(f=t[p]).a,o=f.d-n,a=f.c-n,h=f.b-n,e=r=0,l=1;l<=s;l++)e=r-(r=((_=g*l)*_*o+3*(u=1-_)*(_*a+u*h))*_),i[c=p*s+l-1]=(i[c]||0)+e*e},p=function(t,i){var s,e,r,n,o=[],a=[],h=0,_=0,l=(i=i>>0||6)-1,u=[],f=[];for(s in t)g(t[s],o,i);for(r=o.length,e=0;e<r;e++)h+=Math.sqrt(o[e]),f[n=e%i]=h,n===l&&(_+=h,u[n=e/i>>0]=f,a[n]=_,h=0,f=[]);return{length:_,lengths:a,segments:u}},b=t._gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,i,s){this._target=t,i instanceof Array&&(i={values:i}),this._func={},this._mod={},this._props=[],this._timeRes=null==i.timeResolution?6:parseInt(i.timeResolution,10);var e,r,n,o,a,h=i.values||[],_={},l=h[0],u=i.autoRotate||s.vars.orientToBezier;for(e in this._autoRotate=u?u instanceof Array?u:[["x","y","rotation",!0===u?0:Number(u)||0]]:null,l)this._props.push(e);for(n=this._props.length;--n>-1;)e=this._props[n],this._overwriteProps.push(e),r=this._func[e]="function"==typeof t[e],_[e]=r?t[e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3)]():parseFloat(t[e]),a||_[e]!==h[0][e]&&(a=_);if(this._beziers="cubic"!==i.type&&"quadratic"!==i.type&&"soft"!==i.type?f(h,isNaN(i.curviness)?1:i.curviness,!1,"thruBasic"===i.type,i.correlate,a):c(h,i.type,_),this._segCount=this._beziers[e].length,this._timeRes){var g=p(this._beziers,this._timeRes);this._length=g.length,this._lengths=g.lengths,this._segments=g.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(u=this._autoRotate)for(this._initialRotations=[],u[0]instanceof Array||(this._autoRotate=u=[u]),n=u.length;--n>-1;){for(o=0;o<3;o++)e=u[n][o],this._func[e]="function"==typeof t[e]&&t[e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3)];e=u[n][2],this._initialRotations[n]=(this._func[e]?this._func[e].call(this._target):this._target[e])||0,this._overwriteProps.push(e)}return this._startRatio=s.vars.runBackwards?1:0,!0},set:function(t){var s,e,r,n,o,a,h,_,l,u,f,c=this._segCount,g=this._func,p=this._target,b=t!==this._startRatio;if(this._timeRes){if(l=this._lengths,u=this._curSeg,f=t*this._length,r=this._li,f>this._l2&&r<c-1){for(_=c-1;r<_&&(this._l2=l[++r])<=f;);this._l1=l[r-1],this._li=r,this._curSeg=u=this._segments[r],this._s2=u[this._s1=this._si=0]}else if(f<this._l1&&r>0){for(;r>0&&(this._l1=l[--r])>=f;);0===r&&f<this._l1?this._l1=0:r++,this._l2=l[r],this._li=r,this._curSeg=u=this._segments[r],this._s1=u[(this._si=u.length-1)-1]||0,this._s2=u[this._si]}if(s=r,f-=this._l1,r=this._si,f>this._s2&&r<u.length-1){for(_=u.length-1;r<_&&(this._s2=u[++r])<=f;);this._s1=u[r-1],this._si=r}else if(f<this._s1&&r>0){for(;r>0&&(this._s1=u[--r])>=f;);0===r&&f<this._s1?this._s1=0:r++,this._s2=u[r],this._si=r}a=1===t?1:(r+(f-this._s1)/(this._s2-this._s1))*this._prec||0}else a=(t-(s=t<0?0:t>=1?c-1:c*t>>0)*(1/c))*c;for(e=1-a,r=this._props.length;--r>-1;)n=this._props[r],h=(a*a*(o=this._beziers[n][s]).da+3*e*(a*o.ca+e*o.ba))*a+o.a,this._mod[n]&&(h=this._mod[n](h,p)),g[n]?p[n](h):p[n]=h;if(this._autoRotate){var d,m,v,R,y,w,z,x=this._autoRotate;for(r=x.length;--r>-1;)n=x[r][2],w=x[r][3]||0,z=!0===x[r][4]?1:i,o=this._beziers[x[r][0]],d=this._beziers[x[r][1]],o&&d&&(o=o[s],d=d[s],m=o.a+(o.b-o.a)*a,m+=((R=o.b+(o.c-o.b)*a)-m)*a,R+=(o.c+(o.d-o.c)*a-R)*a,v=d.a+(d.b-d.a)*a,v+=((y=d.b+(d.c-d.b)*a)-v)*a,y+=(d.c+(d.d-d.c)*a-y)*a,h=b?Math.atan2(y-v,R-m)*z+w:this._initialRotations[r],this._mod[n]&&(h=this._mod[n](h,p)),g[n]?p[n](h):p[n]=h)}}}),d=b.prototype;exports.default=exports.BezierPlugin=b,b.bezierThrough=f,b.cubicToQuadratic=_,b._autoCSS=!0,b.quadraticToCubic=function(t,i,s){return new a(t,(2*i+t)/3,(2*i+s)/3,s)},b._cssRegister=function(){var t=o.CSSPlugin;if(t){var i=t._internals,s=i._parseToProxy,e=i._setPluginRatio,r=i.CSSPropTween;i._registerComplexSpecialProp("bezier",{parser:function(t,i,n,o,a,h){i instanceof Array&&(i={values:i}),h=new b;var _,l,u,f=i.values,c=f.length-1,g=[],p={};if(c<0)return a;for(_=0;_<=c;_++)u=s(t,f[_],o,a,h,c!==_),g[_]=u.end;for(l in i)p[l]=i[l];return p.values=g,(a=new r(t,"bezier",0,0,u.pt,2)).data=u,a.plugin=h,a.setRatio=e,0===p.autoRotate&&(p.autoRotate=!0),!p.autoRotate||p.autoRotate instanceof Array||(_=!0===p.autoRotate?0:Number(p.autoRotate),p.autoRotate=null!=u.end.left?[["left","top","rotation",_,!1]]:null!=u.end.x&&[["x","y","rotation",_,!1]]),p.autoRotate&&(o._transform||o._enableTransforms(!1),u.autoRotate=o._target._gsTransform,u.proxy.rotation=u.autoRotate.rotation||0,o._overwriteProps.push("rotation")),h._onInitTween(u.proxy,p,o._tween),a}})}},d._mod=function(t){for(var i,s=this._overwriteProps,e=s.length;--e>-1;)(i=t[s[e]])&&"function"==typeof i&&(this._mod[s[e]]=i)},d._kill=function(t){var i,s,e=this._props;for(i in this._beziers)if(i in t)for(delete this._beziers[i],delete this._func[i],s=e.length;--s>-1;)e[s]===i&&e.splice(s,1);if(e=this._autoRotate)for(s=e.length;--s>-1;)t[e[s][2]]&&e.splice(s,1);return this._super._kill.call(this,t)}; },{"./TweenLite.js":"sU2v"}],"K9um":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"Linear",{enumerable:!0,get:function(){return t.Linear}}),Object.defineProperty(exports,"Power0",{enumerable:!0,get:function(){return t.Power0}}),Object.defineProperty(exports,"Power1",{enumerable:!0,get:function(){return t.Power1}}),Object.defineProperty(exports,"Power2",{enumerable:!0,get:function(){return t.Power2}}),Object.defineProperty(exports,"Power3",{enumerable:!0,get:function(){return t.Power3}}),Object.defineProperty(exports,"Power4",{enumerable:!0,get:function(){return t.Power4}}),exports.ExpoScaleEase=exports.Sine=exports.Expo=exports.Circ=exports.SteppedEase=exports.SlowMo=exports.RoughEase=exports.Bounce=exports.Elastic=exports.Back=void 0;var t=require("./TweenLite.js");t._gsScope._gsDefine("easing.Back",["easing.Ease"],function(){var e,n,o,r,s=t._gsScope.GreenSockGlobals||t._gsScope,i=s.com.greensock,a=2*Math.PI,p=Math.PI/2,u=i._class,c=function(e,n){var o=u("easing."+e,function(){},!0),r=o.prototype=new t.Ease;return r.constructor=o,r.getRatio=n,o},h=t.Ease.register||function(){},f=function(t,e,n,o,r){var s=u("easing."+t,{easeOut:new e,easeIn:new n,easeInOut:new o},!0);return h(s,t),s},_=function(t,e,n){this.t=t,this.v=e,n&&(this.next=n,n.prev=this,this.c=n.v-e,this.gap=n.t-t)},l=function(e,n){var o=u("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=o.prototype=new t.Ease;return r.constructor=o,r.getRatio=n,r.config=function(t){return new o(t)},o},g=f("Back",l("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),l("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),l("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),E=u("easing.SlowMo",function(t,e,n){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===n},!0),x=E.prototype=new t.Ease;return x.constructor=E,x.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},E.ease=new E(.7,.7),x.config=E.config=function(t,e,n){return new E(t,e,n)},(x=(e=u("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0)).prototype=new t.Ease).constructor=e,x.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},x.config=e.config=function(t,n){return new e(t,n)},(x=(n=u("easing.ExpoScaleEase",function(t,e,n){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=n},!0)).prototype=new t.Ease).constructor=n,x.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},x.config=n.config=function(t,e,o){return new n(t,e,o)},(x=(o=u("easing.RoughEase",function(e){for(var n,o,r,s,i,a,p=(e=e||{}).taper||"none",u=[],c=0,h=0|(e.points||20),f=h,l=!1!==e.randomize,g=!0===e.clamp,E=e.template instanceof t.Ease?e.template:null,x="number"==typeof e.strength?.4*e.strength:.4;--f>-1;)n=l?Math.random():1/h*f,o=E?E.getRatio(n):n,r="none"===p?x:"out"===p?(s=1-n)*s*x:"in"===p?n*n*x:n<.5?(s=2*n)*s*.5*x:(s=2*(1-n))*s*.5*x,l?o+=Math.random()*r-.5*r:f%2?o+=.5*r:o-=.5*r,g&&(o>1?o=1:o<0&&(o=0)),u[c++]={x:n,y:o};for(u.sort(function(t,e){return t.x-e.x}),a=new _(1,1,null),f=h;--f>-1;)i=u[f],a=new _(i.x,i.y,a);this._prev=new _(0,0,0!==a.t?a:a.next)},!0)).prototype=new t.Ease).constructor=o,x.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},x.config=function(t){return new o(t)},o.ease=new o,f("Bounce",c("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),c("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),c("BounceInOut",function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=7.5625*t:t=t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),f("Circ",c("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),c("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),c("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),f("Elastic",(r=function(e,n,o){var r=u("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||o)/(t<1?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),s=r.prototype=new t.Ease;return s.constructor=r,s.getRatio=n,s.config=function(t,e){return new r(t,e)},r})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),r("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),r("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),f("Expo",c("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),c("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),c("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f("Sine",c("SineOut",function(t){return Math.sin(t*p)}),c("SineIn",function(t){return 1-Math.cos(t*p)}),c("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),u("easing.EaseLookup",{find:function(e){return t.Ease.map[e]}},!0),h(s.SlowMo,"SlowMo","ease,"),h(o,"RoughEase","ease,"),h(e,"SteppedEase","ease,"),g},!0);var e=t.globals.Back;exports.Back=e;var n=t.globals.Elastic;exports.Elastic=n;var o=t.globals.Bounce;exports.Bounce=o;var r=t.globals.RoughEase;exports.RoughEase=r;var s=t.globals.SlowMo;exports.SlowMo=s;var i=t.globals.SteppedEase;exports.SteppedEase=i;var a=t.globals.Circ;exports.Circ=a;var p=t.globals.Expo;exports.Expo=p;var u=t.globals.Sine;exports.Sine=u;var c=t.globals.ExpoScaleEase;exports.ExpoScaleEase=c; },{"./TweenLite.js":"sU2v"}],"8LSc":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"TweenLite",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,"TweenPlugin",{enumerable:!0,get:function(){return e.TweenPlugin}}),Object.defineProperty(exports,"Ease",{enumerable:!0,get:function(){return e.Ease}}),Object.defineProperty(exports,"Power0",{enumerable:!0,get:function(){return e.Power0}}),Object.defineProperty(exports,"Power1",{enumerable:!0,get:function(){return e.Power1}}),Object.defineProperty(exports,"Power2",{enumerable:!0,get:function(){return e.Power2}}),Object.defineProperty(exports,"Power3",{enumerable:!0,get:function(){return e.Power3}}),Object.defineProperty(exports,"Power4",{enumerable:!0,get:function(){return e.Power4}}),Object.defineProperty(exports,"Linear",{enumerable:!0,get:function(){return e.Linear}}),Object.defineProperty(exports,"CSSPlugin",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,"AttrPlugin",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(exports,"RoundPropsPlugin",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(exports,"DirectionalRotationPlugin",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(exports,"TimelineLite",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(exports,"TimelineMax",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(exports,"BezierPlugin",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(exports,"Back",{enumerable:!0,get:function(){return f.Back}}),Object.defineProperty(exports,"Elastic",{enumerable:!0,get:function(){return f.Elastic}}),Object.defineProperty(exports,"Bounce",{enumerable:!0,get:function(){return f.Bounce}}),Object.defineProperty(exports,"RoughEase",{enumerable:!0,get:function(){return f.RoughEase}}),Object.defineProperty(exports,"SlowMo",{enumerable:!0,get:function(){return f.SlowMo}}),Object.defineProperty(exports,"SteppedEase",{enumerable:!0,get:function(){return f.SteppedEase}}),Object.defineProperty(exports,"Circ",{enumerable:!0,get:function(){return f.Circ}}),Object.defineProperty(exports,"Expo",{enumerable:!0,get:function(){return f.Expo}}),Object.defineProperty(exports,"Sine",{enumerable:!0,get:function(){return f.Sine}}),Object.defineProperty(exports,"ExpoScaleEase",{enumerable:!0,get:function(){return f.ExpoScaleEase}}),exports.default=exports.TweenMax=void 0;var e=p(require("./TweenLite.js")),r=l(require("./TweenMaxBase.js")),t=l(require("./CSSPlugin.js")),n=l(require("./AttrPlugin.js")),u=l(require("./RoundPropsPlugin.js")),o=l(require("./DirectionalRotationPlugin.js")),i=l(require("./TimelineLite.js")),a=l(require("./TimelineMax.js")),c=l(require("./BezierPlugin.js")),f=require("./EasePack.js");function l(e){return e&&e.__esModule?e:{default:e}}function p(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,t):{};n.get||n.set?Object.defineProperty(r,t,n):r[t]=e[t]}return r.default=e,r}var s=r.default;exports.default=exports.TweenMax=s,s._autoActivated=[i.default,a.default,t.default,n.default,c.default,u.default,o.default,f.Back,f.Elastic,f.Bounce,f.RoughEase,f.SlowMo,f.SteppedEase,f.Circ,f.Expo,f.Sine,f.ExpoScaleEase]; },{"./TweenLite.js":"sU2v","./TweenMaxBase.js":"tBUL","./CSSPlugin.js":"KE4Q","./AttrPlugin.js":"Lwey","./RoundPropsPlugin.js":"gZZs","./DirectionalRotationPlugin.js":"3BYZ","./TimelineLite.js":"Rh1e","./TimelineMax.js":"c5lM","./BezierPlugin.js":"JjQl","./EasePack.js":"K9um"}],"kqx8":[function(require,module,exports) { module.exports=n;var o=[],t=0,e=function(){var e=-1,n=o.length,u=o;for(o=[],t=0;++e<n;)u[e]()};function n(n){o.push(n),0===t&&(t=setTimeout(e,0))} },{}],"SSHP":[function(require,module,exports) { var e=require("callasync");function t(t,n){n||(n={}),"[object Function]"==={}.toString.call(n)&&(n={complete:n});var r,o=document,l=o.styleSheets,f="[object Array]"==={}.toString.call(t)?t:[t],i=n.media?n.media:"all",a=n.complete||function(){},c=[];if(n.before)r=n.before;else{var u=(o.body||o.getElementsByTagName("head")[0]).childNodes;r=u[u.length-1]}function h(){for(var t=0,n=-1,r=c.length;++n<r;)if(d(c[n].href)&&++t===r)return a(c);e(h)}function d(e){for(var t=-1,n=l.length;++t<n;)if(null!==l[t].href&&0!==l[t].href.length&&l[t].href===e)return!0}return function t(n){if(o.body)return n();e(function(){t(n)})}(function(){for(var t=-1,l=f.length,a=n.before?r:r.nextSibling;++t<l;)c[t]=o.createElement("link"),c[t].rel="stylesheet",c[t].href=f[t],c[t].media=i,r.parentNode.insertBefore(c[t],a);e(h)}),c}module.exports=t; },{"callasync":"kqx8"}],"Q7Ly":[function(require,module,exports) { "use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function n(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var a=function(){function e(){t(this,e),this.enabled=!1;var n=document.querySelector('script[src*="gtag"]');this.gaPropertyId=!(!n||!n.hasAttribute("src"))&&n.src.split("?id=")[1]}return n(e,[{key:"hasGtag",value:function(){return this.enabled=void 0!==window.gtag,this.enabled}},{key:"event",value:function(t,e,n,a){return!!this.hasGtag()&&(this.gaPropertyId?(window.gtag("event",this.gaPropertyId,{event_category:t,event_action:e,event_label:n,value:a}),!0):(this.log("Missing dataLayer. Is gtag loaded?"),!1))}},{key:"pageview",value:function(){return!!this.hasGtag()&&(this.gaPropertyId?(window.gtag("config",this.gaPropertyId,{page_title:document.title,page_path:"".concat(window.location.pathname).concat(window.location.search)}),!0):(this.log("Missing dataLayer. Is gtag loaded?"),!1))}},{key:"registerAllExternalLinks",value:function(){if("undefined"!=typeof window&&this.hasGtag())for(var t=document.querySelectorAll('a[href^="http"]:not([hastracking])'),e=0;e<t.length;e+=1)""!==t[e].href&&-1===t[e].href.indexOf(window.location.host)&&(t[e].setAttribute("hastracking","true"),t[e].onclick=function(t,e){return function(){t.event("Ext. link",e)}}(this,t[e].href))}},{key:"log",value:function(t){this.debug}}]),e}(),i=new a;exports.default=i; },{}],"szrR":[function(require,module,exports) { },{}],"epB2":[function(require,module,exports) { "use strict";var e=require("conversational-form"),t=require("gsap/TweenMax"),n=a(require("loadcss")),o=a(require("./tracking"));function a(e){return e&&e.__esModule?e:{default:e}}require("reset-css"),require("./scss/main.scss");var r=.8,i=["conversational-form-dark.min.css","conversational-form.min.css","conversational-form-purple.min.css","conversational-form-irisblue.min.css","conversational-form-red.min.css","conversational-form-green.min.css"],c=null;function s(){[].slice.call(document.querySelectorAll("form *[cf-image]")).map(function(e){return(new Image).src=e.getAttribute("cf-image")})}function l(){(0,n.default)(i.map(function(e){return"./".concat(e)}),function(e){e.forEach(function(e){}),[].slice.call(document.styleSheets).map(function(e,t){return e.href.indexOf("conversational-form")>-1&&-1===e.href.indexOf(i[0])&&-1===e.href.indexOf("main.")&&(document.styleSheets[t].disabled=!0),e})})}function u(e){c!==e&&[].slice.call(document.styleSheets).map(function(t,n){return n>0&&!1===document.styleSheets[n].disabled?document.styleSheets[n].disabled=!0:document.styleSheets[n].href.indexOf(e)>-1&&(document.styleSheets[n].disabled=!1,c=e),t})}function m(){var e=document.querySelector("header"),n=document.querySelector("h1"),o=document.querySelector(".cf"),a=document.querySelector(".about");window.innerHeight<780&&t.TweenLite.set(n,{css:{scale:.68,"margin-top":60,"margin-bottom":60}}),t.TweenLite.set(e,{y:10}),t.TweenLite.to(e,r/2,{opacity:1,y:0}),t.TweenLite.set(n,{y:20}),t.TweenLite.to(n,r,{opacity:1,y:0,delay:r/2}),t.TweenLite.set(o,{y:40}),t.TweenLite.to(o,1.2*r,{opacity:1,y:0,delay:r}),setTimeout(function(){window.ConversationalForm.start()},.6*r*1e3),t.TweenLite.to(a,3*r,{opacity:1,delay:2*r})}function d(){l(),u(i[1]),s(),o.default.registerAllExternalLinks();var n=document.querySelector(".wrapper"),a=document.querySelector(".form"),c=document.querySelector(".cf"),d=new e.EventDispatcher;d.addEventListener(e.FlowEvents.FLOW_UPDATE,function(e){"ending"===e.detail.tag.name&&(window.ConversationalForm.flowManager.stop(),document.querySelector("#conversational-form").style["pointer-events"]="none")},!1);var f=new e.ConversationalForm({formEl:a,context:c,loadExternalStyleSheet:!1,preventAutoFocus:!0,preventAutoStart:!0,eventDispatcher:d,submitCallback:function(){var e=f.getFormData(!0);e.getstarted&&-1===e.getstarted.indexOf("no")&&f.addRobotChatResponse("Ok. Thank you for trying out Conversational Form.")},flowStepCallback:function(e,t){o.default.event("conversational form example",e.tag.name,e.tag.value),"theme"===e.tag.name&&u(e.tag.value[0]),setTimeout(function(){("changeThemeAgain"!==e.tag.name||"changeThemeAgain"===e.tag.name&&"yes"!==e.tag.value[0])&&t(),"changeThemeAgain"===e.tag.name&&"yes"===e.tag.value[0]&&window.ConversationalForm.remapTagsAndStartFrom(3)},0)}});t.TweenLite.to(n,1,{opacity:1,delay:r/2,onComplete:m})}document.addEventListener("DOMContentLoaded",d); },{"conversational-form":"Jy7r","gsap/TweenMax":"8LSc","loadcss":"SSHP","./tracking":"Q7Ly","reset-css":"szrR","./scss/main.scss":"szrR"}]},{},["epB2"], null) //# sourceMappingURL=/conversational-form/landingpage/main.0c897a54.js.map ```
```javascript parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"Jy7r":[function(require,module,exports) { var define; var t;!function(t){var e=setTimeout;function n(){}function i(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(t,this)}function o(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,i._immediateFn(function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var i;try{i=n(t._value)}catch(o){return void r(e.promise,o)}s(e.promise,i)}else(1===t._state?s:r)(e.promise,t._value)})):t._deferreds.push(e)}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof i)return t._state=3,t._value=e,void a(t);if("function"==typeof n)return void c((o=n,s=e,function(){o.apply(s,arguments)}),t)}t._state=1,t._value=e,a(t)}catch(l){r(t,l)}var o,s}function r(t,e){t._state=2,t._value=e,a(t)}function a(t){2===t._state&&0===t._deferreds.length&&i._immediateFn(function(){t._handled||i._unhandledRejectionFn(t._value)});for(var e=0,n=t._deferreds.length;e<n;e++)o(t,t._deferreds[e]);t._deferreds=null}function l(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function c(t,e){var n=!1;try{t(function(t){n||(n=!0,s(e,t))},function(t){n||(n=!0,r(e,t))})}catch(i){if(n)return;n=!0,r(e,i)}}i.prototype.catch=function(t){return this.then(null,t)},i.prototype.then=function(t,e){var i=new this.constructor(n);return o(this,new l(t,e,i)),i},i.all=function(t){var e=Array.prototype.slice.call(t);return new i(function(t,n){if(0===e.length)return t([]);var i=e.length;function o(s,r){try{if(r&&("object"==typeof r||"function"==typeof r)){var a=r.then;if("function"==typeof a)return void a.call(r,function(t){o(s,t)},n)}e[s]=r,0==--i&&t(e)}catch(l){n(l)}}for(var s=0;s<e.length;s++)o(s,e[s])})},i.resolve=function(t){return t&&"object"==typeof t&&t.constructor===i?t:new i(function(e){e(t)})},i.reject=function(t){return new i(function(e,n){n(t)})},i.race=function(t){return new i(function(e,n){for(var i=0,o=t.length;i<o;i++)t[i].then(e,n)})},i._immediateFn="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){e(t,0)},i._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},i._setImmediateFn=function(t){i._immediateFn=t},i._setUnhandledRejectionFn=function(t){i._unhandledRejectionFn=t},"undefined"!=typeof module&&module.exports?module.exports=i:t.Promise||(t.Promise=i)}(this);try{var e=new window.CustomEvent("test");if(e.preventDefault(),!0!==e.defaultPrevented)throw new Error("Could not prevent default")}catch(s){var n=function(t,e){var n,i;return e=e||{bubbles:!1,cancelable:!1,detail:void 0},(n=document.createEvent("CustomEvent")).initCustomEvent(t,e.bubbles,e.cancelable,e.detail),i=n.preventDefault,n.preventDefault=function(){i.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(s){this.defaultPrevented=!0}},n};n.prototype=window.Event.prototype,window.CustomEvent=n}!function(t){var e=function(){function t(){}return t.lerp=function(t,e,n){return(n-e)*t+e},t.norm=function(t,e,n){return(t-e)/(n-e)},t.getXYFromMouseTouchEvent=function(t){var e=null;return t.originalEvent?e=t.originalEvent.touches||t.originalEvent.changedTouches:t.changedTouches&&(e=t.changedTouches),e?{x:e[0].pageX,y:e[0].pageY,touches:e[0]}:{x:t.pageX,y:t.pageY,touches:null}},t.getInnerTextOfElement=function(t){var e=document.createElement("DIV");e.innerHTML=t.innerHTML;var n=e.textContent||e.innerText||"";return n=String(n).replace(/^\s+|\s+$/g,"")},t.getMouseEvent=function(t){var e=[];return e.click="ontouchstart"in window?"touchstart":"click",e.mousedown="ontouchstart"in window?"touchstart":"mousedown",e.mouseup="ontouchstart"in window?"touchend":"mouseup",e.mousemove="ontouchstart"in window?"touchmove":"mousemove",e[t]},t.isInternetExlorer=function(){return window.navigator.userAgent.indexOf("MSIE ")>0||!!navigator.userAgent.match(/Trident.*rv\:11\./)},t.getValuesOfBars=function(t){var e=t.split("||");return e.length<=1&&(e=t.split("|")),e},t.setTransform=function(t,e){t.style["-webkit-transform"]=e,t.style["-moz-transform"]=e,t.style["-ms-transform"]=e,t.style.transform=e},t.extendObject=function(t,e){for(var n in e)e[n]&&e[n].constructor&&e[n].constructor===Object?(t[n]=t[n]||{},arguments.callee(t[n],e[n])):t[n]=e[n];return t},t.caniuse={fileReader:function(){return!!(window.File&&window.FileReader&&window.FileList&&window.Blob)}},t}();t.Helpers=e}(o||(o={})),function(t){var e=function(){function t(t){void 0===t&&(t=null),this._cf=t,this.target=document.createDocumentFragment()}return Object.defineProperty(t.prototype,"cf",{get:function(){return this._cf},set:function(t){this._cf=t},enumerable:!0,configurable:!0}),t.prototype.addEventListener=function(t,e,n){return this.target.addEventListener(t,e,n)},t.prototype.dispatchEvent=function(t){return this.target.dispatchEvent(t)},t.prototype.removeEventListener=function(t,e,n){this.target.removeEventListener(t,e,n)},t}();t.EventDispatcher=e}(o||(o={})),function(t){var e=function(){function t(){}return t.parseTag=function(t){var e=document.createElement(t.tag);for(var n in e.setAttribute("cf-formless",""),t)"tag"!==n&&"children"!==n&&e.setAttribute(n,t[n]);return e},t.parseGroupTag=function(e){for(var n=t.parseTag(e),i=e.children,o=0;o<i.length;o++){var s=i[o],r=t.parseTag(s);n.appendChild(r)}return n},t.parseJSONIntoElements=function(e){for(var n=document.createElement("form"),i=0;i<e.length;i++){var o=e[i],s=t.parseTag(o);if(o.children&&o.children.length>0)for(var r=0;r<o.children.length;r++){var a=t.parseTag(o.children[r]);s.appendChild(a)}n.appendChild(s)}return n},t.isElementFormless=function(t){return!!t.hasAttribute("cf-formless")},t}();t.TagsParser=e}(o||(o={})),function(t){t.UserInterfaceDefaultOptions={controlElementsInAnimationDelay:250,robot:{robotResponseTime:0,chainedResponseTime:500},user:{showThinking:!1,showThumb:!1}}}(o||(o={})),function(t){var e=function(){function t(t){if(this.eventTarget=t.eventTarget,this.cfReference=t.cfReference,t.customTemplate&&(this.customTemplate=t.customTemplate),!this.eventTarget)throw new Error("this.eventTarget not set!! : "+this.constructor.name);this.setData(t),this.createElement(),this.onElementCreated()}return t.prototype.setData=function(t){},t.prototype.onElementCreated=function(){},t.prototype.createElement=function(){var t=document.createElement("template");return t.innerHTML=this.getTemplate(),this.el=t.firstChild||t.content.firstChild,this.el},t.prototype.getTemplate=function(){return this.customTemplate||"should be overwritten..."},t.prototype.dealloc=function(){this.el.parentNode.removeChild(this.el)},t}();t.BasicElement=e}(o||(o={}));var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){t.ControlElementEvents={SUBMIT_VALUE:"cf-basic-element-submit",PROGRESS_CHANGE:"cf-basic-element-progress",ON_FOCUS:"cf-basic-element-on-focus",ON_LOADED:"cf-basic-element-on-loaded"},t.ControlElementProgressStates={BUSY:"cf-control-element-progress-BUSY",READY:"cf-control-element-progress-READY"};var e=function(e){function o(t){var n=e.call(this,t)||this;return n.animateInTimer=0,n._partOfSeveralChoices=!1,n._focus=!1,n.onFocusCallback=n.onFocus.bind(n),n.el.addEventListener("focus",n.onFocusCallback,!1),n.onBlurCallback=n.onBlur.bind(n),n.el.addEventListener("blur",n.onBlurCallback,!1),n.referenceTag.disabled&&n.el.setAttribute("disabled","disabled"),n}return i(o,e),Object.defineProperty(o.prototype,"type",{get:function(){return"ControlElement"},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"partOfSeveralChoices",{get:function(){return this._partOfSeveralChoices},set:function(t){this._partOfSeveralChoices=t},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"value",{get:function(){var e,n=this.referenceTag.hasImage;n&&!this.partOfSeveralChoices?e=(n?'<img src="'+this.referenceTag.domElement.getAttribute("cf-image")+'"/>':"")+t.Helpers.getInnerTextOfElement(this.el):e=t.Helpers.getInnerTextOfElement(this.el);return e},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"positionVector",{get:function(){return this._positionVector},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"tabIndex",{set:function(t){this.el.tabIndex=t},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"highlight",{get:function(){return this.el.classList.contains("highlight")},set:function(t){t?this.el.classList.add("highlight"):this.el.classList.remove("highlight")},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"focus",{get:function(){return this._focus},set:function(t){this._focus=t,this._focus?this.el.focus():this.el.blur()},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"visible",{get:function(){return!this.el.classList.contains("hide")},set:function(t){t?this.el.classList.remove("hide"):(this.el.classList.add("hide"),this.tabIndex=-1,this.highlight=!1)},enumerable:!0,configurable:!0}),o.prototype.onBlur=function(t){this._focus=!1},o.prototype.onFocus=function(e){this._focus=!0,t.ConversationalForm.illustrateFlow(this,"dispatch",t.ControlElementEvents.ON_FOCUS,this.referenceTag),this.eventTarget.dispatchEvent(new n(t.ControlElementEvents.ON_FOCUS,{detail:this.positionVector}))},o.prototype.hasImage=function(){return!1},o.prototype.calcPosition=function(){var t=parseInt(window.getComputedStyle(this.el).getPropertyValue("margin-right"),10);this._positionVector={height:this.el.offsetHeight,width:this.el.offsetWidth+t,x:this.el.offsetLeft,y:this.el.offsetTop,el:this},this._positionVector.centerX=this._positionVector.x+.5*this._positionVector.width,this._positionVector.centerY=this._positionVector.y+.5*this._positionVector.height},o.prototype.setData=function(t){this.referenceTag=t.referenceTag,e.prototype.setData.call(this,t)},o.prototype.animateIn=function(){clearTimeout(this.animateInTimer),this.el.classList.add("animate-in")},o.prototype.animateOut=function(){this.el.classList.add("animate-out")},o.prototype.onChoose=function(){t.ConversationalForm.illustrateFlow(this,"dispatch",t.ControlElementEvents.SUBMIT_VALUE,this.referenceTag),this.eventTarget.dispatchEvent(new n(t.ControlElementEvents.SUBMIT_VALUE,{detail:this}))},o.prototype.dealloc=function(){this.el.removeEventListener("blur",this.onBlurCallback,!1),this.onBlurCallback=null,this.el.removeEventListener("focus",this.onFocusCallback,!1),this.onFocusCallback=null,e.prototype.dealloc.call(this)},o}(t.BasicElement);t.ControlElement=e}(o||(o={})),function(t){t.ControlElementsEvents={ON_RESIZE:"cf-on-control-elements-resize",CHANGED:"cf-on-control-elements-changed"};var e=function(){function e(e){this.ignoreKeyboardInput=!1,this.rowIndex=-1,this.columnIndex=0,this.elementWidth=0,this.filterListNumberOfVisible=0,this.listWidth=0,this.el=e.el,this.eventTarget=e.eventTarget,this.cfReference=e.cfReference,this.list=this.el.getElementsByTagName("cf-list")[0],this.infoElement=e.infoEl,this.onScrollCallback=this.onScroll.bind(this),this.el.addEventListener("scroll",this.onScrollCallback,!1),this.onResizeCallback=this.onResize.bind(this),window.addEventListener("resize",this.onResizeCallback,!1),this.onElementFocusCallback=this.onElementFocus.bind(this),this.eventTarget.addEventListener(t.ControlElementEvents.ON_FOCUS,this.onElementFocusCallback,!1),this.onElementLoadedCallback=this.onElementLoaded.bind(this),this.eventTarget.addEventListener(t.ControlElementEvents.ON_LOADED,this.onElementLoadedCallback,!1),this.onChatReponsesUpdatedCallback=this.onChatReponsesUpdated.bind(this),this.eventTarget.addEventListener(t.ChatListEvents.CHATLIST_UPDATED,this.onChatReponsesUpdatedCallback,!1),this.onUserInputKeyChangeCallback=this.onUserInputKeyChange.bind(this),this.eventTarget.addEventListener(t.UserInputEvents.KEY_CHANGE,this.onUserInputKeyChangeCallback,!1),this.userInputUpdateCallback=this.onUserInputUpdate.bind(this),this.eventTarget.addEventListener(t.FlowEvents.USER_INPUT_UPDATE,this.userInputUpdateCallback,!1),this.listScrollController=new t.ScrollController({interactionListener:this.el,listToScroll:this.list,eventTarget:this.eventTarget,listNavButtons:this.el.getElementsByTagName("cf-list-button")})}return Object.defineProperty(e.prototype,"active",{get:function(){return this.elements&&this.elements.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focus",{get:function(){if(!this.elements)return!1;for(var t=this.getElements(),e=0;e<t.length;e++){if(t[e].focus)return!0}return!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"highlighted",{get:function(){if(!this.elements)return!1;for(var t=this.getElements(),e=0;e<t.length;e++){if(t[e].highlight)return!0}return!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{set:function(t){t?this.list.classList.add("disabled"):this.list.classList.remove("disabled")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this.getElements().length},enumerable:!0,configurable:!0}),e.prototype.onScroll=function(t){this.el.scrollLeft=0},e.prototype.onElementLoaded=function(t){this.onResize(null)},e.prototype.onElementFocus=function(t){var e=t.detail,n=e.x+e.width<this.elementWidth?0:e.x-e.width;n*=-1,this.updateRowColIndexFromVector(e),this.listScrollController.setScroll(n,0)},e.prototype.updateRowColIndexFromVector=function(t){for(var e=0;e<this.tableableRows.length;e++)for(var n=this.tableableRows[e],i=0;i<n.length;i++){if(n[i]==t.el){this.rowIndex=e,this.columnIndex=i;break}}},e.prototype.onChatReponsesUpdated=function(t){var e=this;clearTimeout(this.animateInFromResponseTimer),t.detail.currentResponse.isRobotResponse||(this.animateInFromResponseTimer=setTimeout(function(){e.animateElementsIn()},this.cfReference.uiOptions.controlElementsInAnimationDelay))},e.prototype.onListChanged=function(){var e=this;this.list.offsetHeight,requestAnimationFrame(function(){t.ConversationalForm.illustrateFlow(e,"dispatch",t.ControlElementsEvents.CHANGED),e.eventTarget.dispatchEvent(new n(t.ControlElementsEvents.CHANGED))})},e.prototype.onUserInputKeyChange=function(e){if(this.ignoreKeyboardInput)this.ignoreKeyboardInput=!1;else{var n=e.detail,i=n.dto.input;if(this.active){var o=-1!=[t.Dictionary.keyCodes.left,t.Dictionary.keyCodes.right,t.Dictionary.keyCodes.down,t.Dictionary.keyCodes.up].indexOf(n.keyCode);if(n.inputFieldActive&&!o){var s=e.detail.dto.input.getInputValue();this.filterElementsFrom(s)}else n.keyCode==t.Dictionary.keyCodes.left?this.columnIndex--:n.keyCode==t.Dictionary.keyCodes.right?this.columnIndex++:n.keyCode==t.Dictionary.keyCodes.down?this.updateRowIndex(1):n.keyCode==t.Dictionary.keyCodes.up?this.updateRowIndex(-1):n.keyCode!=t.Dictionary.keyCodes.enter&&n.keyCode!=t.Dictionary.keyCodes.space||(this.tableableRows[this.rowIndex]&&this.tableableRows[this.rowIndex][this.columnIndex]?this.tableableRows[this.rowIndex][this.columnIndex].el.click():this.tableableRows[0]&&1==this.tableableRows[0].length&&this.tableableRows[0][0].el.click()),this.validateRowColIndexes()||i.setFocusOnInput()}i.active||!this.validateRowColIndexes()||!this.tableableRows||0!=this.rowIndex&&1!=this.rowIndex?i.active||i.setFocusOnInput():this.tableableRows[this.rowIndex][this.columnIndex].focus=!0}},e.prototype.validateRowColIndexes=function(){this.el.classList.contains("two-row");return-1!=this.rowIndex&&this.tableableRows[this.rowIndex]?(this.columnIndex<0&&(this.columnIndex=this.tableableRows[this.rowIndex].length-1),this.columnIndex>this.tableableRows[this.rowIndex].length-1&&(this.columnIndex=0),!0):(this.resetTabList(),!1)},e.prototype.updateRowIndex=function(t){var e=this.rowIndex;if(this.rowIndex+=t,this.tableableRows[this.rowIndex])for(var n=this.tableableRows[e]?this.tableableRows[e][this.columnIndex].positionVector.centerX:0,i=this.tableableRows[this.rowIndex],o=1e13,s=0;s<i.length;s++){var r=i[s];o>Math.abs(n-r.positionVector.centerX)&&(o=Math.abs(n-r.positionVector.centerX),this.columnIndex=s)}},e.prototype.resetTabList=function(){this.rowIndex=-1,this.columnIndex=-1},e.prototype.onUserInputUpdate=function(t){if(this.el.classList.remove("animate-in"),this.infoElement.classList.remove("show"),this.elements)for(var e=this.getElements(),n=0;n<e.length;n++){e[n].animateOut()}},e.prototype.filterElementsFrom=function(e){var n=e.toLowerCase().split(" ");-1!=n.indexOf("")&&n.splice(n.indexOf(""),1);var i=this.getElements();if(i.length>1){for(var o=[],s=0;s<i.length;s++){var r=i[s];r.highlight=!1;for(var a=!0,l=0;l<n.length;l++){var c=n[l];a&&(a=-1!=r.value.toLowerCase().indexOf(c))}r.visible=a,a&&r.visible&&o.push(r)}this.infoElement.innerHTML=0==o.length?t.Dictionary.get("input-no-filter").split("{input-value}").join(e):"",0==o.length?this.infoElement.classList.add("show"):this.infoElement.classList.remove("show"),this.filterListNumberOfVisible!=o.length&&this.animateElementsIn(),this.filterListNumberOfVisible=o.length,""!=e&&this.filterListNumberOfVisible>0&&(o[0].highlight=!0)}},e.prototype.clickOnHighlighted=function(){for(var t=this.getElements(),e=0;e<t.length;e++){var n=t[e];if(n.highlight){n.el.click();break}}},e.prototype.animateElementsIn=function(){var t=this;this.elements.length>0&&(this.resize(),this.list.style.height="0px",setTimeout(function(){t.list.style.height=t.list.scrollHeight+"px";var e=t.getElements();setTimeout(function(){if(e.length>0){t.el.classList.contains("animate-in")||t.el.classList.add("animate-in");for(var n=0;n<e.length;n++){e[n].animateIn()}}document.querySelector(".scrollableInner").classList.remove("scroll");var i=document.querySelector("scrollable");i.scrollTop<i.scrollHeight&&(i.scrollTop=i.scrollHeight)},300)},200))},e.prototype.getElements=function(){return this.elements&&this.elements.length>0&&"OptionsList"==this.elements[0].type?this.elements[0].elements:this.elements},e.prototype.buildTabableRows=function(){this.tableableRows=[],this.resetTabList();var t=this.getElements();if(this.el.classList.contains("two-row")){this.tableableRows[0]=[],this.tableableRows[1]=[];for(var e=0;e<t.length;e++){(n=t[e]).visible&&(n.positionVector.y<30?this.tableableRows[0].push(n):this.tableableRows[1].push(n))}}else{this.tableableRows[0]=[];for(e=0;e<t.length;e++){var n;(n=t[e]).visible&&this.tableableRows[0].push(n)}}},e.prototype.resetAfterErrorMessage=function(){this.currentControlElement=null,this.disabled=!1},e.prototype.focusFrom=function(t){this.tableableRows&&(this.columnIndex=0,"bottom"==t?this.rowIndex=this.el.classList.contains("two-row")?1:0:"top"==t&&(this.rowIndex=0),this.tableableRows[this.rowIndex]&&this.tableableRows[this.rowIndex][this.columnIndex]?(this.ignoreKeyboardInput=!0,this.tableableRows[this.rowIndex][this.columnIndex].focus=!0):this.resetTabList())},e.prototype.updateStateOnElementsFromTag=function(t){for(var e=0;e<this.elements.length;e++){var n=this.elements[e];if(n.referenceTag==t){this.updateStateOnElements(n);break}}},e.prototype.updateStateOnElements=function(t){if(this.currentControlElement=t,"RadioButton"==this.currentControlElement.type)for(var e=this.getElements(),n=0;n<e.length;n++){(i=e[n]).checked=i==t}else if("CheckboxButton"==this.currentControlElement.type)for(e=this.getElements(),n=0;n<e.length;n++){var i;if((i=e[n])==t){var o=i.referenceTag.domElement.checked;i.checked=o}}},e.prototype.reset=function(){this.infoElement.classList.remove("show"),this.el.classList.remove("one-row"),this.el.classList.remove("two-row"),this.list.style.height="0px"},e.prototype.getElement=function(t){return this.elements[t]},e.prototype.getDTO=function(){var e={text:void 0,controlElements:[]};if(this.elements&&this.elements.length>0)switch(this.elements[0].type){case"CheckboxButton":for(var n=0,i=[],o=0;o<this.elements.length;o++){if(this.elements[o].checked&&n++>1)break}for(o=0;o<this.elements.length;o++){var s=this.elements[o];s.checked&&(n>1&&(s.partOfSeveralChoices=!0),i.push(s.value)),e.controlElements.push(s)}e.text=t.Dictionary.parseAndGetMultiValueString(i);break;case"RadioButton":for(o=0;o<this.elements.length;o++){var r=this.elements[o];r.checked&&(e.text=r.value),e.controlElements.push(r)}break;case"OptionsList":var a=this.elements[0];e.controlElements=a.getValue();i=[];if(e.controlElements&&e.controlElements[0])for(var l=0;l<e.controlElements.length;l++){e.controlElements[l];i.push(e.controlElements[l].value)}e.controlElements=a.elements,e.text=t.Dictionary.parseAndGetMultiValueString(i);break;case"UploadFileUI":e.text=this.elements[0].getFilesAsString(),e.controlElements.push(this.elements[0])}return e},e.prototype.clearTagsAndReset=function(){if(this.reset(),this.elements)for(;this.elements.length>0;)this.elements.pop().dealloc();this.list.innerHTML="",this.onListChanged()},e.prototype.buildTags=function(e){var i=this;this.disabled=!1;this.el.parentNode.getElementsByTagName("ul")[0],this.el.parentNode.getElementsByTagName("ul")[1];this.clearTagsAndReset(),this.elements=[];for(var o=0;o<e.length;o++){var s=e[o];switch(s.type){case"radio":this.elements.push(new t.RadioButton({referenceTag:s,eventTarget:this.eventTarget}));break;case"checkbox":this.elements.push(new t.CheckboxButton({referenceTag:s,eventTarget:this.eventTarget}));break;case"select":this.elements.push(new t.OptionsList({referenceTag:s,context:this.list,eventTarget:this.eventTarget}));break;case"input":default:"file"==s.type&&this.elements.push(new t.UploadFileUI({referenceTag:s,eventTarget:this.eventTarget}))}if("select"!=s.type&&this.elements.length>0){var r=this.elements[this.elements.length-1];this.list.appendChild(r.el)}}var a=this.elements[0]&&"OptionsList"==this.elements[0].type;this.filterListNumberOfVisible=a?this.elements[0].elements.length:e.length,new Promise(function(t,e){return i.resize(t,e)}).then(function(){var e={height:i.list.offsetHeight};i.onListChanged(),t.ConversationalForm.illustrateFlow(i,"dispatch",t.UserInputEvents.CONTROL_ELEMENTS_ADDED,e),i.eventTarget.dispatchEvent(new n(t.UserInputEvents.CONTROL_ELEMENTS_ADDED,{detail:e}))})},e.prototype.onResize=function(t){this.resize()},e.prototype.resize=function(e,i){this.list.style.width="100%",this.el.classList.remove("resized"),this.el.classList.remove("one-row"),this.el.classList.remove("two-row"),this.elementWidth=0,this.listWidth=0;var o=this.getElements();if(o&&o.length>0){for(var s=[],r=[],a=!1,l=0;l<o.length;l++){(d=o[l]).visible&&(d.calcPosition(),this.listWidth+=d.positionVector.width,s.push(d.positionVector.x+d.positionVector.width),r.push(d)),d.hasImage()&&(a=!0)}var c=this.el.offsetWidth,h=this.listWidth>c;h&&!a?(this.el.classList.add("two-row"),this.listWidth=Math.max(c,Math.round(s[Math.floor(s.length/2)]+50)),this.list.style.width=this.listWidth+"px"):this.el.classList.add("one-row");for(l=0;l<o.length;l++){(d=o[l]).visible&&d.calcPosition()}c=this.el.offsetWidth,h=this.listWidth>c;var u=o.slice().sort(function(t,e){var n=t.positionVector.y>e.positionVector.y;return t.positionVector.x==e.positionVector.x?n?1:-1:t.positionVector.x<e.positionVector.x?-1:1}),p=0;for(l=0;l<u.length;l++){var d;(d=u[l]).visible?d.tabIndex=2+p++:d.tabIndex=-1}h?this.el.classList.remove("hide-nav-buttons"):this.el.classList.add("hide-nav-buttons"),this.elementWidth=c,this.listScrollController.resize(this.listWidth,this.elementWidth),this.el.classList.add("resized"),this.eventTarget.dispatchEvent(new n(t.ControlElementsEvents.ON_RESIZE)),e&&(this.buildTabableRows(),e())}},e.prototype.dealloc=function(){this.currentControlElement=null,this.tableableRows=null,window.removeEventListener("resize",this.onResizeCallback,!1),this.onResizeCallback=null,this.el.removeEventListener("scroll",this.onScrollCallback,!1),this.onScrollCallback=null,this.eventTarget.removeEventListener(t.ControlElementEvents.ON_FOCUS,this.onElementFocusCallback,!1),this.onElementFocusCallback=null,this.eventTarget.removeEventListener(t.ChatListEvents.CHATLIST_UPDATED,this.onChatReponsesUpdatedCallback,!1),this.onChatReponsesUpdatedCallback=null,this.eventTarget.removeEventListener(t.UserInputEvents.KEY_CHANGE,this.onUserInputKeyChangeCallback,!1),this.onUserInputKeyChangeCallback=null,this.eventTarget.removeEventListener(t.FlowEvents.USER_INPUT_UPDATE,this.userInputUpdateCallback,!1),this.userInputUpdateCallback=null,this.eventTarget.removeEventListener(t.ControlElementEvents.ON_LOADED,this.onElementLoadedCallback,!1),this.onElementLoadedCallback=null,this.listScrollController.dealloc()},e}();t.ControlElements=e}(o||(o={})),function(t){var e=function(){function e(e){this.listWidth=0,this.visibleAreaWidth=0,this.max=0,this.interacting=!1,this.x=0,this.xTarget=0,this.startX=0,this.startXTarget=0,this.mouseSpeed=0,this.mouseSpeedTarget=0,this.direction=0,this.directionTarget=0,this.inputAccerlation=0,this.inputAccerlationTarget=0,this.interactionListener=e.interactionListener,this.eventTarget=e.eventTarget,this.listToScroll=e.listToScroll,this.prevButton=e.listNavButtons[0],this.nextButton=e.listNavButtons[1],this.onListNavButtonsClickCallback=this.onListNavButtonsClick.bind(this),this.prevButton.addEventListener("click",this.onListNavButtonsClickCallback,!1),this.nextButton.addEventListener("click",this.onListNavButtonsClickCallback,!1),this.documentLeaveCallback=this.documentLeave.bind(this),this.onInteractStartCallback=this.onInteractStart.bind(this),this.onInteractEndCallback=this.onInteractEnd.bind(this),this.onInteractMoveCallback=this.onInteractMove.bind(this),document.addEventListener("mouseleave",this.documentLeaveCallback,!1),document.addEventListener(t.Helpers.getMouseEvent("mouseup"),this.documentLeaveCallback,!1),this.interactionListener.addEventListener(t.Helpers.getMouseEvent("mousedown"),this.onInteractStartCallback,!1),this.interactionListener.addEventListener(t.Helpers.getMouseEvent("mouseup"),this.onInteractEndCallback,!1),this.interactionListener.addEventListener(t.Helpers.getMouseEvent("mousemove"),this.onInteractMoveCallback,!1)}return e.prototype.onListNavButtonsClick=function(t){var e=t.currentTarget.getAttribute("direction");this.pushDirection("next"==e?-1:1)},e.prototype.documentLeave=function(t){this.onInteractEnd(t)},e.prototype.onInteractStart=function(e){var n=t.Helpers.getXYFromMouseTouchEvent(e);this.interacting=!0,this.startX=n.x,this.startXTarget=this.startX,this.inputAccerlation=0,this.render()},e.prototype.onInteractEnd=function(t){this.interacting=!1},e.prototype.onInteractMove=function(e){if(this.interacting){var n=t.Helpers.getXYFromMouseTouchEvent(e),i=n.x-this.startX;this.inputAccerlationTarget=6.2*i,this.directionTarget=this.inputAccerlationTarget<0?-1:1,this.startXTarget=n.x}},e.prototype.render=function(){var n=this;this.rAF&&cancelAnimationFrame(this.rAF),this.startX+=.2*(this.startXTarget-this.startX),this.inputAccerlation+=(this.inputAccerlationTarget-this.inputAccerlation)*(this.interacting?Math.min(e.acceleration+.1,1):e.acceleration);this.inputAccerlationTarget*=.25,this.direction+=.2*(this.directionTarget-this.direction),this.mouseSpeed+=.2*(this.mouseSpeedTarget-this.mouseSpeed),this.direction+=this.mouseSpeed,this.xTarget+=.05*this.inputAccerlation,this.xTarget>0&&(this.xTarget+=(0-this.xTarget)*t.Helpers.lerp(e.acceleration,.3,.8)),this.xTarget<this.max&&(this.xTarget+=(this.max-this.xTarget)*t.Helpers.lerp(e.acceleration,.3,.8)),this.x+=.4*(this.xTarget-this.x);var i=Math.round(this.x);i<0&&(this.prevButton.classList.contains("active")||this.prevButton.classList.add("active"),this.prevButton.classList.contains("cf-gradient")||this.prevButton.classList.add("cf-gradient")),0==i&&(this.prevButton.classList.contains("active")&&this.prevButton.classList.remove("active"),this.prevButton.classList.contains("cf-gradient")&&this.prevButton.classList.remove("cf-gradient")),i>this.max&&(this.nextButton.classList.contains("active")||this.nextButton.classList.add("active"),this.nextButton.classList.contains("cf-gradient")||this.nextButton.classList.add("cf-gradient")),i<=this.max&&(this.nextButton.classList.contains("active")&&this.nextButton.classList.remove("active"),this.nextButton.classList.contains("cf-gradient")&&this.nextButton.classList.remove("cf-gradient"));var o=this.x;t.Helpers.setTransform(this.listToScroll,"translateX("+o+"px)"),(this.interacting||Math.abs(this.x-this.xTarget)>.02&&!this.interacting)&&(this.rAF=window.requestAnimationFrame(function(){return n.render()}))},e.prototype.setScroll=function(t,e){this.xTarget=this.visibleAreaWidth==this.listWidth?0:t,this.render()},e.prototype.pushDirection=function(t){this.inputAccerlationTarget+=5e3*t,this.render()},e.prototype.dealloc=function(){this.prevButton.removeEventListener("click",this.onListNavButtonsClickCallback,!1),this.nextButton.removeEventListener("click",this.onListNavButtonsClickCallback,!1),this.onListNavButtonsClickCallback=null,this.prevButton=null,this.nextButton=null,document.removeEventListener("mouseleave",this.documentLeaveCallback,!1),document.removeEventListener(t.Helpers.getMouseEvent("mouseup"),this.documentLeaveCallback,!1),this.interactionListener.removeEventListener(t.Helpers.getMouseEvent("mousedown"),this.onInteractStartCallback,!1),this.interactionListener.removeEventListener(t.Helpers.getMouseEvent("mouseup"),this.onInteractEndCallback,!1),this.interactionListener.removeEventListener(t.Helpers.getMouseEvent("mousemove"),this.onInteractMoveCallback,!1),this.documentLeaveCallback=null,this.onInteractStartCallback=null,this.onInteractEndCallback=null,this.onInteractMoveCallback=null},e.prototype.reset=function(){this.interacting=!1,this.startX=0,this.startXTarget=this.startX,this.inputAccerlation=0,this.x=0,this.xTarget=0,t.Helpers.setTransform(this.listToScroll,"translateX(0px)"),this.render(),this.prevButton.classList.remove("active"),this.nextButton.classList.remove("active")},e.prototype.resize=function(t,e){this.reset(),this.visibleAreaWidth=e,this.listWidth=Math.max(e,t),this.max=-1*(this.listWidth-this.visibleAreaWidth),this.render()},e.acceleration=.1,e}();t.ScrollController=e}(o||(o={})),function(t){var e=function(){function e(e){var n=this;this.flowUpdateCallback=this.onFlowUpdate.bind(this),this.eventTarget=e.eventTarget,this.eventTarget.addEventListener(t.FlowEvents.FLOW_UPDATE,this.flowUpdateCallback,!1),this.eventTarget.addEventListener(t.FlowEvents.FORM_SUBMIT,function(){return n.setWidth(100)},!1),this.el=document.createElement("div"),this.el.className="cf-progressBar",this.bar=document.createElement("div"),this.bar.className="bar",this.el.appendChild(this.bar),setTimeout(function(){return n.init()},800)}return e.prototype.init=function(){this.el.classList.add("show")},e.prototype.onFlowUpdate=function(t){this.setWidth(t.detail.step/t.detail.maxSteps*100)},e.prototype.setWidth=function(t){this.bar.style.width=t+"%"},e.prototype.dealloc=function(){this.eventTarget.removeEventListener(t.FlowEvents.FLOW_UPDATE,this.flowUpdateCallback,!1),this.flowUpdateCallback=null},e}();t.ProgressBar=e}(o||(o={})),function(t){var e=function(){function e(t){this.data={"user-image":"data:image/svg+xml;base64,your_sha256_hashyour_sha256_hashZyI+your_sha256_hashIi8+your_sha256_hashIGZpbGw9IiNFNUU2RUEiLz4KPC9zdmc+Cg==","entry-not-found":"Dictionary item not found.","awaiting-mic-permission":"Awaiting mic permission","user-audio-reponse-invalid":"I didn't get that, try again.","microphone-terminal-error":"Audio input not supported","input-placeholder":"Type your answer here ...","group-placeholder":"Type to filter ...","input-placeholder-error":"Your input is not correct ...","input-placeholder-required":"Input is required ...","input-placeholder-file-error":"File upload failed ...","input-placeholder-file-size-error":"File size too big ...","input-no-filter":"No results found for {input-value}","user-reponse-and":" and ","user-reponse-missing":"Missing input ...","user-reponse-missing-group":"Nothing selected ...",general:"General type1||General type2","icon-type-file":"<svg class='cf-icon-file' viewBox='0 0 10 14' version='1.1' xmlns='path_to_url xmlns:xlink='path_to_url stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g transform='translate(-756.000000, -549.000000)' fill='#0D83FF'><g transform='translate(736.000000, 127.000000)'><g transform='translate(0.000000, 406.000000)'><polygon points='20 16 26.0030799 16 30 19.99994 30 30 20 30'></polygon></g></g></g></g></svg>"},this.robotData={"robot-image":"data:image/svg+xml;base64,your_sha256_hashyour_sha256_hashZyI+your_sha256_hashIi8+your_sha256_hashPSIjMzAzMDMwIi8+Cjwvc3ZnPgo=",input:"Please write some text.",text:"Please write some text.",textarea:"Please write some text.",checkbox:"Select as many as you want.",name:"What's your name?",email:"Need your e-mail.",password:"Please provide password",tel:"What's your phone number?",radio:"I need you to select one of these.",select:"Choose any of these options.",file:"Select a file to upload.",general:"General1||General2||General3.."},e.instance=this,this.version=t.version,t&&t.data&&(this.data=this.validateAndSetNewData(t.data,this.data)),t.userImage?this.data["user-image"]=t.userImage:this.data["user-image"]=this.data["user-image"],t.robotImage?this.robotData["robot-image"]=t.robotImage:this.robotData["robot-image"]=this.robotData["robot-image"],t&&t.robotData&&(this.robotData=this.validateAndSetNewData(t.robotData,this.robotData))}return e.get=function(n){var i=e.instance,o=i.data[n];if(o){var s=t.Helpers.getValuesOfBars(o);o=s[Math.floor(Math.random()*s.length)]}else o=i.data["entry-not-found"];return o},e.set=function(t,n,i){var o=e.instance,s="robot"==n?o.robotData:o.data;return s[t]=i,s[t]},e.getRobotResponse=function(n){var i=e.instance,o=i.robotData[n];if(o){var s=t.Helpers.getValuesOfBars(o);o=s[Math.floor(Math.random()*s.length)]}else{var r=t.Helpers.getValuesOfBars(i.robotData.general);o=r[Math.floor(Math.random()*r.length)]}return o},e.parseAndGetMultiValueString=function(t){for(var n="",i=0;i<t.length;i++){var o=t[i],s=t.length>1&&i==t.length-2?e.get("user-reponse-and"):", ";n+=o+(i<t.length-1?s:"")}return n},e.prototype.validateAndSetNewData=function(t,e){for(var n in e)t[n]||(console.warn("Conversational Form Dictionary warning, '"+n+"' value is undefined, mapping '"+n+"' to default value. See Dictionary.ts for keys."),t[n]=e[n]);return t},e.keyCodes={left:37,right:39,down:40,up:38,backspace:8,enter:13,space:32,shift:16,tab:9},e}();t.Dictionary=e}(o||(o={})),function(t){t.TagEvents={ORIGINAL_ELEMENT_CHANGED:"cf-tag-dom-element-changed"};var e=function(){function e(e){if(this.domElement=e.domElement,this.initialDefaultValue=this.domElement.value||this.domElement.getAttribute("value")||"",this.changeCallback=this.onDomElementChange.bind(this),this.domElement.addEventListener("change",this.changeCallback,!1),this.domElement.tabIndex=-1,this.skipUserInput=!1,e.questions&&(this.questions=e.questions),this.domElement.getAttribute("cf-validation")){var n=window[this.domElement.getAttribute("cf-validation")];this.validationCallback=n}this.domElement.getAttribute("pattern")&&(this.pattern=new RegExp(this.domElement.getAttribute("pattern"))),"group"!=this.type&&t.ConversationalForm.illustrateAppFlow&&(t.ConversationalForm.suppressLog||console.log("Conversational Form > Tag registered:",this.type,this)),this.refresh()}return Object.defineProperty(e.prototype,"type",{get:function(){return this.domElement.getAttribute("type")||this.domElement.tagName.toLowerCase()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.domElement.getAttribute("name")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.domElement.getAttribute("id")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputPlaceholder",{get:function(){return this._inputPlaceholder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formless",{get:function(){return t.TagsParser.isElementFormless(this.domElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this.getLabel()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.domElement.value||this.initialDefaultValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasImage",{get:function(){return this.domElement.hasAttribute("cf-image")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rows",{get:function(){return this.domElement.hasAttribute("rows")?parseInt(this.domElement.getAttribute("rows")):0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return!this.checkConditionalAndIsValid()||null!=this.domElement.getAttribute("disabled")&&null!=this.domElement.getAttribute("disabled")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return!!this.domElement.getAttribute("required")||""==this.domElement.getAttribute("required")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"question",{get:function(){return this.questions&&0!=this.questions.length?this.questions[Math.floor(Math.random()*this.questions.length)]:t.Dictionary.getRobotResponse(this.type)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"eventTarget",{set:function(t){this._eventTarget=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errorMessage",{get:function(){return this.errorMessages||(this.domElement.getAttribute("cf-error")?this.errorMessages=t.Helpers.getValuesOfBars(this.domElement.getAttribute("cf-error")):this.domElement.parentNode&&this.domElement.parentNode.getAttribute("cf-error")?this.errorMessages=t.Helpers.getValuesOfBars(this.domElement.parentNode.getAttribute("cf-error")):this.required?this.errorMessages=[t.Dictionary.get("input-placeholder-required")]:"file"==this.type?this.errorMessages=[t.Dictionary.get("input-placeholder-file-error")]:this.errorMessages=[t.Dictionary.get("input-placeholder-error")]),this.errorMessages[Math.floor(Math.random()*this.errorMessages.length)]},enumerable:!0,configurable:!0}),e.prototype.dealloc=function(){this.domElement.removeEventListener("change",this.changeCallback,!1),this.changeCallback=null,this.domElement=null,this.defaultValue=null,this.errorMessages=null,this.pattern=null,this._label=null,this.validationCallback=null,this.questions=null},e.testConditions=function(t,e){var n=function(e,n){return"object"==typeof n?n.test(e):t===n};if("string"==typeof t){for(var i=t,o=!1,s=0;s<e.conditionals.length;s++){if(o=n(i,r=e.conditionals[s]))break}return o}if(t){for(o=!1,s=0;s<e.conditionals.length;s++){var r=e.conditionals[s];if("string"!=typeof t)for(var a=0;a<t.length&&!(o=n(t[a],r));a++);else o=n(t.toString(),r);if(o)break}return o}return!1},e.isTagValid=function(e){if("hidden"===e.getAttribute("type"))return!1;if("submit"===e.getAttribute("type"))return!1;if("button"==e.getAttribute("type"))return!1;if(e.style){if("none"===e.style.display)return!1;if("hidden"===e.style.visibility)return!1}var n=t.TagsParser.isElementFormless(e),i=t.Helpers.getInnerTextOfElement(e);return!("option"==e.tagName.toLowerCase()&&(!n&&""==i||" "==i))&&("select"==e.tagName.toLowerCase()||"option"==e.tagName.toLowerCase()||(!!n||!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)))},e.createTag=function(n){if(e.isTagValid(n)){var i=void 0;return"input"==n.tagName.toLowerCase()?i=new t.InputTag({domElement:n}):"textarea"==n.tagName.toLowerCase()?i=new t.InputTag({domElement:n}):"select"==n.tagName.toLowerCase()?i=new t.SelectTag({domElement:n}):"button"==n.tagName.toLowerCase()?i=new t.ButtonTag({domElement:n}):"option"==n.tagName.toLowerCase()?i=new t.OptionTag({domElement:n}):"cf-robot-message"==n.tagName.toLowerCase()&&(i=new t.CfRobotMessageTag({domElement:n})),i}return null},e.prototype.reset=function(){this.refresh(),this.defaultValue=this.domElement.value=this.initialDefaultValue.toString()},e.prototype.refresh=function(){this.defaultValue=this.domElement.value||this.domElement.getAttribute("value")||"",this.questions=null,this.findAndSetQuestions(),this.findConditionalAttributes()},e.prototype.hasConditionsFor=function(t){if(!this.hasConditions())return!1;for(var e=0;e<this.conditionalTags.length;e++){var n=this.conditionalTags[e];if("cf-conditional-"+t.toLowerCase()===n.key.toLowerCase())return!0}return!1},e.prototype.hasConditions=function(){return this.conditionalTags&&this.conditionalTags.length>0},e.prototype.checkConditionalAndIsValid=function(){return!this.hasConditions()||this.flowManager.areConditionsInFlowFullfilled(this,this.conditionalTags)},e.prototype.setTagValueAndIsValid=function(t){var e=!0,n=t.text;this.domElement.hasAttribute("type")&&"email"===this.domElement.getAttribute("type")&&!this.pattern&&n.length>0?this.pattern=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/:this.domElement.hasAttribute("type")&&"email"===this.domElement.getAttribute("type")&&this.pattern&&0===n.length&&!this.required&&(this.pattern=null),this.pattern&&(e=this.pattern.test(n)),""==n&&this.required&&(e=!1);var i=parseInt(this.domElement.getAttribute("minlength"),10)||-1,o=parseInt(this.domElement.getAttribute("maxlength"),10)||-1;return-1!=i&&n.length<i&&(e=!1),-1!=o&&n.length>o&&(e=!1),this.validateMaxMinValue(n)||(e=!1),e&&"file"!=this.type&&(this.domElement.value=n),e},e.prototype.validateMaxMinValue=function(t){if(!t)return!0;var e=parseInt(t,10),n=parseInt(this.domElement.getAttribute("min"),10)||-1,i=parseInt(this.domElement.getAttribute("max"),10)||-1;return!(-1!==n&&e<n)&&!(-1!==i&&e>i)},e.prototype.getLabel=function(){return this._label||this.findAndSetLabel(),this._label?this._label:t.Dictionary.getRobotResponse(this.type)},e.prototype.findConditionalAttributes=function(){var t=this.domElement.attributes;if(t.length>0)for(var e in this.conditionalTags=[],t)if(t.hasOwnProperty(e)){var n=t[e];if(n&&n.name&&-1!==n.name.indexOf("cf-conditional")){for(var i=[],o=-1!==n.value.indexOf("||")?n.value.split("||"):n.value.split("&&"),r=0;r<o.length;r++){var a=o[r];try{i.push(new RegExp(a))}catch(s){}i.push(a)}this.conditionalTags.push({key:n.name,conditionals:i})}}},e.prototype.findAndSetQuestions=function(){if(!this.questions){if(this.domElement.getAttribute("cf-questions"))this.questions=t.Helpers.getValuesOfBars(this.domElement.getAttribute("cf-questions")),this.domElement.getAttribute("cf-input-placeholder")&&(this._inputPlaceholder=this.domElement.getAttribute("cf-input-placeholder"));else if(this.domElement.parentNode&&this.domElement.parentNode.getAttribute("cf-questions")){var e=this.domElement.parentNode;this.questions=t.Helpers.getValuesOfBars(e.getAttribute("cf-questions")),e.getAttribute("cf-input-placeholder")&&(this._inputPlaceholder=e.getAttribute("cf-input-placeholder"))}else{var n=this.domElement.getAttribute("id"),i=document.querySelector("label[for='"+n+"']");i&&(this.questions=[t.Helpers.getInnerTextOfElement(i)])}!this.questions&&this.domElement.getAttribute("placeholder")&&(this.questions=[this.domElement.getAttribute("placeholder")])}},e.prototype.findAndSetLabel=function(){if(this.domElement.getAttribute("cf-label"))this._label=this.domElement.getAttribute("cf-label");else{var e=this.domElement.parentNode;if(e){var n="label"==e.tagName.toLowerCase()?[e]:e.getElementsByTagName("label");if(0==n.length){var i=t.Helpers.getInnerTextOfElement(e);i&&i.length>0&&(n=[e])}else if(n.length>0)for(var o=0;o<n.length;o++){var s=n[o];s.getAttribute("for")==this.id&&(this._label=t.Helpers.getInnerTextOfElement(s))}!this._label&&n[0]&&(this._label=t.Helpers.getInnerTextOfElement(n[0]))}}},e.prototype.onDomElementChange=function(){this._eventTarget.dispatchEvent(new n(t.TagEvents.ORIGINAL_ELEMENT_CHANGED,{detail:{value:this.value,tag:this}}))},e}();t.Tag=e}(o||(o={})),function(t){var e=function(){function e(e){this.elements=e.elements,this._fieldset=e.fieldset,this._fieldset&&this._fieldset.getAttribute("cf-questions")&&(this.questions=t.Helpers.getValuesOfBars(this._fieldset.getAttribute("cf-questions"))),this._fieldset&&this._fieldset.getAttribute("cf-input-placeholder")&&(this._inputPlaceholder=this._fieldset.getAttribute("cf-input-placeholder")),t.ConversationalForm.illustrateAppFlow&&(t.ConversationalForm.suppressLog||console.log("Conversational Form > TagGroup registered:",this.elements[0].type,this)),this.skipUserInput=!1}return Object.defineProperty(e.prototype,"required",{get:function(){for(var t=0;t<this.elements.length;t++){this.elements[t];if(this.elements[t].required)return!0}return!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"eventTarget",{set:function(t){this._eventTarget=t;for(var e=0;e<this.elements.length;e++){this.elements[e].eventTarget=t}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"flowManager",{set:function(t){for(var e=0;e<this.elements.length;e++){this.elements[e].flowManager=t}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return"group"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._fieldset&&this._fieldset.hasAttribute("name")?this._fieldset.getAttribute("name"):this.elements[0].name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._fieldset&&this._fieldset.id?this._fieldset.id:this.elements[0].id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"question",{get:function(){return this.questions&&this.questions.length>0?this.questions[Math.floor(Math.random()*this.questions.length)]:this.elements[0]&&this.elements[0].question?this.elements[0].question:t.Dictionary.getRobotResponse(this.getGroupTagType())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeElements",{get:function(){return this._activeElements},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._values?this._values:[""]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){for(var t=0,e=0;e<this.elements.length;e++){this.elements[e].disabled&&t++}return t===this.elements.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errorMessage",{get:function(){for(var e=t.Dictionary.get("input-placeholder-error"),n=0;n<this.elements.length;n++){e=this.elements[n].errorMessage}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputPlaceholder",{get:function(){return this._inputPlaceholder},enumerable:!0,configurable:!0}),e.prototype.dealloc=function(){for(var t=0;t<this.elements.length;t++){this.elements[t].dealloc()}this.elements=null},e.prototype.refresh=function(){for(var t=0;t<this.elements.length;t++){this.elements[t].refresh()}},e.prototype.reset=function(){this._values=[];for(var t=0;t<this.elements.length;t++){this.elements[t].reset()}},e.prototype.getGroupTagType=function(){return this.elements[0].type},e.prototype.hasConditionsFor=function(t){for(var e=0;e<this.elements.length;e++){if(this.elements[e].hasConditionsFor(t))return!0}return!1},e.prototype.hasConditions=function(){for(var t=0;t<this.elements.length;t++){if(this.elements[t].hasConditions())return!0}return!1},e.prototype.checkConditionalAndIsValid=function(){for(var t=0;t<this.elements.length;t++){this.elements[t].checkConditionalAndIsValid()}return!0},e.prototype.setTagValueAndIsValid=function(t){var e=!1,n=this.elements[0].type;switch(this._values=[],this._activeElements=[],n){case"radio":var i=!1,o=[];if(t.controlElements)for(var s=0;s<t.controlElements.length;s++){var r=t.controlElements[s],a=this.elements[this.elements.indexOf(r.referenceTag)];o.push(r),a==r.referenceTag&&(r.checked&&(this._values.push(a.value),this._activeElements.push(a)),!i&&r.checked&&(i=!0))}else for(s=0;s<this.elements.length;s++){var l=(a=this.elements[s]).value.toString().toLowerCase(),c=t.text.toString().toLowerCase();-1===l.indexOf(c)&&-1===c.indexOf(l)||(this._activeElements.push(a),this._values.push(a.value),a.domElement.checked=!0,i=!0)}e=i;break;case"checkbox":if(e=!0,t.controlElements)for(s=0;s<t.controlElements.length;s++){r=t.controlElements[s];(a=this.elements[this.elements.indexOf(r.referenceTag)]).domElement.checked=r.checked,r.checked&&(this._values.push(a.value),this._activeElements.push(a))}this.required&&0==this._activeElements.length&&(e=!1)}return e},e}();t.TagGroup=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(t){function e(e){var n=t.call(this,e)||this;return"text"==n.type||"email"==n.type||"tel"==n.type||"checkbox"==n.type||"radio"==n.type||"password"==n.type||n.type,n}return i(e,t),e.prototype.findAndSetQuestions=function(){t.prototype.findAndSetQuestions.call(this)},e.prototype.findAndSetLabel=function(){t.prototype.findAndSetLabel.call(this),this._label},e.prototype.setTagValueAndIsValid=function(e){return"checkbox"==this.type||t.prototype.setTagValueAndIsValid.call(this,e)},e.prototype.dealloc=function(){t.prototype.dealloc.call(this)},e}(t.Tag);t.InputTag=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(e){function n(n){var i=e.call(this,n)||this;i.optionTags=[];for(var o=i.domElement.getElementsByTagName("option"),s=0;s<o.length;s++){var r=o[s],a=t.Tag.createTag(r);a?i.optionTags.push(a):console.warn(i.constructor.name,"option tag invalid:",a)}return i}return i(n,e),Object.defineProperty(n.prototype,"type",{get:function(){return"select"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this.domElement&&this.domElement.hasAttribute("name")?this.domElement.getAttribute("name"):this.optionTags[0].name},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this._values},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"multipleChoice",{get:function(){return this.domElement.hasAttribute("multiple")},enumerable:!0,configurable:!0}),n.prototype.setTagValueAndIsValid=function(t){var e=!1,n=[];if(this._values=[],t.controlElements)for(var i=0;i<this.optionTags.length;i++)for(var o=this.optionTags[i],s=0;s<t.controlElements.length;s++){var r=t.controlElements[s];r.referenceTag==o&&(o.selected=r.selected,!e&&o.selected&&(e=!0),o.selected&&this._values.push(o.value),r.visible&&n.push(r))}else{var a=!1;for(i=0;i<this.optionTags.length;i++){var l=(o=this.optionTags[i]).value.toString().toLowerCase(),c=t.text.toString().toLowerCase();-1===l.indexOf(c)&&-1===c.indexOf(l)||(this._values.push(o.value),o.domElement.checked=!0,a=!0)}e=a}if(!e&&1==n.length){var h=n[0];o=this.optionTags[this.optionTags.indexOf(h.referenceTag)];h.selected=!0,o.selected=!0,e=!0,o.selected&&this._values.push(o.value)}return e},n}(t.Tag);t.SelectTag=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(t){function e(e){var n=t.call(this,e)||this;return"submit"==n.domElement.getAttribute("type")||n.domElement.getAttribute("type"),n}return i(e,t),e}(t.Tag);t.ButtonTag=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i(n,e),Object.defineProperty(n.prototype,"type",{get:function(){return"option"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"label",{get:function(){return this.formless?e.prototype.getLabel.call(this):t.Helpers.getInnerTextOfElement(this.domElement)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selected",{get:function(){return this.domElement.hasAttribute("selected")},set:function(t){this.domElement.selected=t,t?this.domElement.setAttribute("selected","selected"):this.domElement.removeAttribute("selected")},enumerable:!0,configurable:!0}),n.prototype.setTagValueAndIsValid=function(t){return!0},n}(t.Tag);t.OptionTag=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(t){function e(e){var n=t.call(this,e)||this;return n.skipUserInput=!0,n}return i(e,t),e.prototype.dealloc=function(){t.prototype.dealloc.call(this)},e}(t.Tag);t.CfRobotMessageTag=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(e){function o(t){var n=e.call(this,t)||this;return n.clickCallback=n.onClick.bind(n),n.el.addEventListener("click",n.clickCallback,!1),n.mouseDownCallback=n.onMouseDown.bind(n),n.el.addEventListener("mousedown",n.mouseDownCallback,!1),n.checkForImage(),n}return i(o,e),Object.defineProperty(o.prototype,"type",{get:function(){return"Button"},enumerable:!0,configurable:!0}),o.prototype.hasImage=function(){return this.referenceTag.hasImage},o.prototype.checkForImage=function(){this.hasImage()&&(this.el.classList.add("has-image"),this.imgEl=document.createElement("img"),this.imageLoadedCallback=this.onImageLoaded.bind(this),this.imgEl.classList.add("cf-image"),this.imgEl.addEventListener("load",this.imageLoadedCallback,!1),this.imgEl.src=this.referenceTag.domElement.getAttribute("cf-image"),this.el.insertBefore(this.imgEl,this.el.children[0]))},o.prototype.onImageLoaded=function(){this.imgEl.classList.add("loaded"),this.eventTarget.dispatchEvent(new n(t.ControlElementEvents.ON_LOADED,{}))},o.prototype.onMouseDown=function(t){t.preventDefault()},o.prototype.onClick=function(t){this.onChoose()},o.prototype.dealloc=function(){this.el.removeEventListener("click",this.clickCallback,!1),this.clickCallback=null,this.imageLoadedCallback&&(this.imgEl.removeEventListener("load",this.imageLoadedCallback,!1),this.imageLoadedCallback=null),this.el.removeEventListener("mousedown",this.mouseDownCallback,!1),this.mouseDownCallback=null,e.prototype.dealloc.call(this)},o.prototype.getTemplate=function(){return'<cf-button class="cf-button">\n\t\t\t\t'+this.referenceTag.label+"\n\t\t\t</cf-button>\n\t\t\t"},o}(t.ControlElement);t.Button=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),Object.defineProperty(e.prototype,"type",{get:function(){return"RadioButton"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this.el.hasAttribute("checked")&&"checked"==this.el.getAttribute("checked")},set:function(t){t?(this.el.setAttribute("checked","checked"),this.referenceTag.domElement.setAttribute("checked","checked"),this.referenceTag.domElement.checked=!0):(this.el.removeAttribute("checked"),this.referenceTag.domElement.removeAttribute("checked"),this.referenceTag.domElement.checked=!1)},enumerable:!0,configurable:!0}),e.prototype.onClick=function(e){this.checked=!0,t.prototype.onClick.call(this,e)},e.prototype.getTemplate=function(){return'<cf-radio-button class="cf-button" '+(this.referenceTag.domElement.checked||this.referenceTag.domElement.hasAttribute("checked")?"checked=checked":"")+">\n\t\t\t\t<div>\n\t\t\t\t\t<cf-radio></cf-radio>\n\t\t\t\t\t<span>"+this.referenceTag.label+"</span>\n\t\t\t\t</div>\n\t\t\t</cf-radio-button>\n\t\t\t"},e}(t.Button);t.RadioButton=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),Object.defineProperty(e.prototype,"type",{get:function(){return"CheckboxButton"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return"checked"==this.el.getAttribute("checked")},set:function(t){t?(this.el.setAttribute("checked","checked"),this.referenceTag.domElement.setAttribute("checked","checked"),this.referenceTag.domElement.checked=!0):(this.el.removeAttribute("checked"),this.referenceTag.domElement.removeAttribute("checked"),this.referenceTag.domElement.checked=!1)},enumerable:!0,configurable:!0}),e.prototype.onClick=function(t){this.checked=!this.checked},e.prototype.getTemplate=function(){var t=this.referenceTag.domElement.checked&&this.referenceTag.domElement.hasAttribute("checked");return'<cf-button class="cf-button cf-checkbox-button '+(0==this.referenceTag.label.trim().length?"no-text":"")+'" checked='+(t?"checked":"")+">\n\t\t\t\t<div>\n\t\t\t\t\t<cf-checkbox></cf-checkbox>\n\t\t\t\t\t<span>"+this.referenceTag.label+"</span>\n\t\t\t\t</div>\n\t\t\t</cf-button>\n\t\t\t"},e}(t.Button);t.CheckboxButton=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){t.OptionButtonEvents={CLICK:"cf-option-button-click"};var e=function(e){function o(){var t=null!==e&&e.apply(this,arguments)||this;return t.isMultiChoice=!1,t}return i(o,e),Object.defineProperty(o.prototype,"type",{get:function(){return"OptionButton"},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"selected",{get:function(){return this.el.hasAttribute("selected")},set:function(t){t?this.el.setAttribute("selected","selected"):this.el.removeAttribute("selected")},enumerable:!0,configurable:!0}),o.prototype.setData=function(t){this.isMultiChoice=t.isMultiChoice,e.prototype.setData.call(this,t)},o.prototype.onClick=function(e){t.ConversationalForm.illustrateFlow(this,"dispatch",t.OptionButtonEvents.CLICK,this),this.eventTarget.dispatchEvent(new n(t.OptionButtonEvents.CLICK,{detail:this}))},o.prototype.getTemplate=function(){var t='<cf-button class="cf-button '+(this.isMultiChoice?"cf-checkbox-button":"")+'" '+(this.referenceTag.domElement.selected?"selected='selected'":"")+">";return t+="<div>",this.isMultiChoice&&(t+="<cf-checkbox></cf-checkbox>"),t+=this.referenceTag.label,t+="</div>",t+="</cf-button>"},o}(t.Button);t.OptionButton=e}(o||(o={})),function(t){var e=function(){function e(e){this.context=e.context,this.eventTarget=e.eventTarget,this.referenceTag=e.referenceTag,this.multiChoice=this.referenceTag.domElement.hasAttribute("multiple"),this.onOptionButtonClickCallback=this.onOptionButtonClick.bind(this),this.eventTarget.addEventListener(t.OptionButtonEvents.CLICK,this.onOptionButtonClickCallback,!1),this.createElements()}return Object.defineProperty(e.prototype,"type",{get:function(){return"OptionsList"},enumerable:!0,configurable:!0}),e.prototype.getValue=function(){for(var t=[],e=0;e<this.elements.length;e++){var n=this.elements[e];if(!this.multiChoice&&n.selected)return t.push(n),t;this.multiChoice&&n.selected&&t.push(n)}return t},e.prototype.onOptionButtonClick=function(e){if(this.multiChoice)e.detail.selected=!e.detail.selected;else{for(var i=0;i<this.elements.length;i++){var o=this.elements[i];o!=e.detail?o.selected=!1:o.selected=!0}t.ConversationalForm.illustrateFlow(this,"dispatch",t.ControlElementEvents.SUBMIT_VALUE,this.referenceTag),this.eventTarget.dispatchEvent(new n(t.ControlElementEvents.SUBMIT_VALUE,{detail:e.detail}))}},e.prototype.createElements=function(){this.elements=[];for(var e=this.referenceTag.optionTags,n=0;n<e.length;n++){var i=e[n],o=new t.OptionButton({referenceTag:i,isMultiChoice:this.referenceTag.multipleChoice,eventTarget:this.eventTarget});this.elements.push(o),this.context.appendChild(o.el)}},e.prototype.dealloc=function(){for(this.eventTarget.removeEventListener(t.OptionButtonEvents.CLICK,this.onOptionButtonClickCallback,!1),this.onOptionButtonClickCallback=null;this.elements.length>0;)this.elements.pop().dealloc();this.elements=null},e}();t.OptionsList=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(e){function o(n){var i=e.call(this,n)||this;if(i.maxFileSize=1e11,i.loading=!1,i.submitTimer=0,i._fileName="",i._readerResult="",!t.Helpers.caniuse.fileReader())throw new Error("Conversational Form Error: No FileReader available for client.");var o=i.referenceTag.domElement.getAttribute("cf-max-size")||i.referenceTag.domElement.getAttribute("max-size");if(o){var s=parseInt(o,10);i.maxFileSize=s}return i.progressBar=i.el.getElementsByTagName("cf-upload-file-progress-bar")[0],i.onDomElementChangeCallback=i.onDomElementChange.bind(i),i.referenceTag.domElement.addEventListener("change",i.onDomElementChangeCallback,!1),i}return i(o,e),Object.defineProperty(o.prototype,"value",{get:function(){return this.referenceTag.domElement.value},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"readerResult",{get:function(){return this._readerResult},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"files",{get:function(){return this._files},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"fileName",{get:function(){return this._fileName},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"type",{get:function(){return"UploadFileUI"},enumerable:!0,configurable:!0}),o.prototype.getFilesAsString=function(){var e=document.createElement("span");return e.innerHTML=t.Dictionary.get("icon-type-file")+this.fileName,e.outerHTML},o.prototype.onDomElementChange=function(e){var i=this;t.ConversationalForm.suppressLog||console.log("...onDomElementChange");var o=new FileReader;this._files=this.referenceTag.domElement.files,o.onerror=function(e){t.ConversationalForm.suppressLog||console.log("onerror",e)},o.onprogress=function(e){t.ConversationalForm.suppressLog||console.log("onprogress",e),i.progressBar.style.width=e.loaded/e.total*100+"%"},o.onabort=function(e){t.ConversationalForm.suppressLog||console.log("onabort",e)},o.onloadstart=function(e){var s=i.files[0],r=s?s.size:i.maxFileSize+1;if(r>i.maxFileSize){o.abort();var a={errorText:t.Dictionary.get("input-placeholder-file-size-error")};t.ConversationalForm.illustrateFlow(i,"dispatch",t.FlowEvents.USER_INPUT_INVALID,a),i.eventTarget.dispatchEvent(new n(t.FlowEvents.USER_INPUT_INVALID,{detail:a}))}else{i._fileName=s.name,i.loading=!0,i.animateIn();var l=Math.floor(Math.log(r)/Math.log(1024)),c=["b","kb","mb","gb"];l=Math.min(c.length-1,l);var h=1*Number((r/Math.pow(1024,l)).toFixed(2))+" "+c[l],u=s.name+" ("+h+")";i.el.getElementsByTagName("cf-upload-file-text")[0].innerHTML=u,i.eventTarget.dispatchEvent(new n(t.ControlElementEvents.PROGRESS_CHANGE,{detail:t.ControlElementProgressStates.BUSY}))}},o.onload=function(e){i._readerResult=e.target.result,i.progressBar.classList.add("loaded"),i.submitTimer=setTimeout(function(){i.el.classList.remove("animate-in"),i.onChoose(),i.eventTarget.dispatchEvent(new n(t.ControlElementEvents.PROGRESS_CHANGE,{detail:t.ControlElementProgressStates.READY}))},0)},o.readAsDataURL(this.files[0])},o.prototype.animateIn=function(){this.loading&&e.prototype.animateIn.call(this)},o.prototype.onClick=function(t){},o.prototype.triggerFileSelect=function(){this.referenceTag.domElement.click()},o.prototype.dealloc=function(){clearTimeout(this.submitTimer),this.progressBar=null,this.onDomElementChangeCallback&&(this.referenceTag.domElement.removeEventListener("change",this.onDomElementChangeCallback,!1),this.onDomElementChangeCallback=null),e.prototype.dealloc.call(this)},o.prototype.getTemplate=function(){"1"==this.referenceTag.value||this.referenceTag.domElement.hasAttribute("checked");return"<cf-upload-file-ui>\n\t\t\t\t<cf-upload-file-text></cf-upload-file-text>\n\t\t\t\t<cf-upload-file-progress>\n\t\t\t\t\t<cf-upload-file-progress-bar></cf-upload-file-progress-bar>\n\t\t\t\t</cf-upload-file-progress>\n\t\t\t</cf-upload-file-ui>\n\t\t\t"},o}(t.Button);t.UploadFileUI=e}(o||(o={})),function(t){t.MicrophoneBridgeEvent={ERROR:"cf-microphone-bridge-error",TERMNIAL_ERROR:"cf-microphone-bridge-terminal-error"};var e=function(){function e(e){this.currentTextResponse="",this._hasUserMedia=!1,this.inputErrorCount=0,this.inputCurrentError="",this.el=e.el,this.button=e.button,this.eventTarget=e.eventTarget,this.microphoneObj=e.microphoneObj,this.flowUpdateCallback=this.onFlowUpdate.bind(this),this.eventTarget.addEventListener(t.FlowEvents.FLOW_UPDATE,this.flowUpdateCallback,!1)}return Object.defineProperty(e.prototype,"hasUserMedia",{set:function(t){this._hasUserMedia=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{set:function(t){this.equalizer&&(this.equalizer.disabled=!t)},enumerable:!0,configurable:!0}),e.prototype.cancel=function(){this.button.loading=!1,this.microphoneObj.cancelInput&&this.microphoneObj.cancelInput()},e.prototype.onFlowUpdate=function(){var t=this;if(this.currentTextResponse=null,this._hasUserMedia)this.microphoneObj.awaitingCallback||this.callInput();else{var e=!1;window.navigator.mediaDevices&&window.navigator.mediaDevices.enumerateDevices().then(function(n){n.forEach(function(t){e||""===t.label||(e=!0)}),e&&t.getUserMedia()})}},e.prototype.getUserMedia=function(){var e=this;try{void 0===navigator.mediaDevices&&(navigator.mediaDevices={}),void 0===navigator.mediaDevices.getUserMedia&&(navigator.mediaDevices.getUserMedia=function(t){var e=navigator.getUserMedia||window.navigator.webkitGetUserMedia||window.navigator.mozGetUserMedia;return e?new Promise(function(n,i){e.call(navigator,t,n,i)}):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}),navigator.mediaDevices.getUserMedia({audio:!0}).then(function(t){e.currentStream=t,t.getAudioTracks().length>0?(e.hasUserMedia=!0,e.setupEqualizer(),e.microphoneObj.awaitingCallback||e.callInput()):e.hasUserMedia=!1}).catch(function(n){e.hasUserMedia=!1,e.eventTarget.dispatchEvent(new Event(t.MicrophoneBridgeEvent.TERMNIAL_ERROR))})}catch(n){this.hasUserMedia=!1,this.eventTarget.dispatchEvent(new Event(t.MicrophoneBridgeEvent.TERMNIAL_ERROR))}},e.prototype.dealloc=function(){this.cancel(),this.promise=null,this.currentStream=null,this.equalizer&&this.equalizer.dealloc(),this.equalizer=null,this.eventTarget.removeEventListener(t.FlowEvents.FLOW_UPDATE,this.flowUpdateCallback,!1),this.flowUpdateCallback=null},e.prototype.callInput=function(e){var i=this;void 0===e&&(e=0),this.button.loading=!0,this.equalizer&&(this.equalizer.disabled=!1),this.promise=new Promise(function(t,e){return i.microphoneObj.input(t,e,i.currentStream)}).then(function(e){if(i.promise=null,i.currentTextResponse=e.toString(),!i.currentTextResponse||""==i.currentTextResponse)return i.showError(t.Dictionary.get("user-audio-reponse-invalid")),void i.callInput();i.inputErrorCount=0,i.inputCurrentError="",i.button.loading=!1;var o={text:i.currentTextResponse};t.ConversationalForm.illustrateFlow(i,"dispatch",t.UserInputEvents.SUBMIT,o),i.eventTarget.dispatchEvent(new n(t.UserInputEvents.SUBMIT,{detail:o}))}).catch(function(e){i.isErrorTerminal(e)?(i.eventTarget.dispatchEvent(new n(t.MicrophoneBridgeEvent.TERMNIAL_ERROR,{detail:t.Dictionary.get("microphone-terminal-error")})),t.ConversationalForm.suppressLog||console.log("Conversational Form: Terminal error: ",e)):(i.inputCurrentError!=e&&(i.inputErrorCount=0,i.inputCurrentError=e),i.inputErrorCount++,i.inputErrorCount>2?i.showError(e):(i.eventTarget.dispatchEvent(new n(t.MicrophoneBridgeEvent.TERMNIAL_ERROR,{detail:t.Dictionary.get("microphone-terminal-error")})),t.ConversationalForm.suppressLog||console.log("Conversational Form: Terminal error: ",e)))})},e.prototype.isErrorTerminal=function(t){return-1!==["network"].indexOf(t)},e.prototype.showError=function(e){var i={errorText:e};t.ConversationalForm.illustrateFlow(this,"dispatch",t.FlowEvents.USER_INPUT_INVALID,i),this.eventTarget.dispatchEvent(new n(t.FlowEvents.USER_INPUT_INVALID,{detail:i})),this.callInput()},e.prototype.setupEqualizer=function(){var t=this.el.getElementsByTagName("cf-icon-audio-eq")[0];i.supported&&t&&(this.equalizer=new i({stream:this.currentStream,elementToScale:t}))},e}();t.MicrophoneBridge=e;var i=function(){function t(t){var e=this;this.maxBorderWidth=0,this._disabled=!1,this.elementToScale=t.elementToScale,this.context=new AudioContext,this.analyser=this.context.createAnalyser(),this.mic=this.context.createMediaStreamSource(t.stream),this.javascriptNode=this.context.createScriptProcessor(2048,1,1),this.analyser.smoothingTimeConstant=.3,this.analyser.fftSize=1024,this.mic.connect(this.analyser),this.analyser.connect(this.javascriptNode),this.javascriptNode.connect(this.context.destination),this.javascriptNode.onaudioprocess=function(){e.onAudioProcess()}}return Object.defineProperty(t.prototype,"disabled",{set:function(t){this._disabled=t,this.elementToScale.style.borderWidth="0px"},enumerable:!0,configurable:!0}),t.prototype.onAudioProcess=function(){if(!this._disabled){var t=new Uint8Array(this.analyser.frequencyBinCount);this.analyser.getByteFrequencyData(t);for(var e=0,n=t.length,i=0;i<n;i++)e+=t[i];var o=e/n,s=Math.min(1,Math.max(0,1-(50-o)/50));this.maxBorderWidth||(this.maxBorderWidth=.5*this.elementToScale.offsetWidth),this.elementToScale.style.borderWidth=this.maxBorderWidth*s+"px"}},t.prototype.dealloc=function(){this.javascriptNode.onaudioprocess=null,this.javascriptNode=null,this.analyser=null,this.mic=null,this.elementToScale=null,this.context=null},t.supported=function(){return window.AudioContext=window.AudioContext||window.webkitAudioContext,!!window.AudioContext},t}()}(o||(o={})),function(t){t.UserInputSubmitButtonEvents={CHANGE:"userinput-submit-button-change-value"};var e=function(){function e(e){this._active=!0,this.eventTarget=e.eventTarget;var n=document.createElement("template");n.innerHTML=this.getTemplate(),this.el=n.firstChild||n.content.firstChild,this.onClickCallback=this.onClick.bind(this),this.el.addEventListener("click",this.onClickCallback,!1),this.onMicrophoneTerminalErrorCallback=this.onMicrophoneTerminalError.bind(this),this.eventTarget.addEventListener(t.MicrophoneBridgeEvent.TERMNIAL_ERROR,this.onMicrophoneTerminalErrorCallback,!1)}return Object.defineProperty(e.prototype,"typing",{get:function(){return this.el.classList.contains("typing")},set:function(t){t?(this.el.classList.add("typing"),this.loading=!1,this.mic&&this.mic.cancel()):(this.el.classList.remove("typing"),this.mic&&this.mic.callInput())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._active},set:function(t){this._active=t,this.mic&&(this.mic.active=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loading",{get:function(){return this.el.classList.contains("loading")},set:function(t){t?this.el.classList.add("loading"):this.el.classList.remove("loading")},enumerable:!0,configurable:!0}),e.prototype.addMicrophone=function(e){this.el.classList.add("microphone-interface");var n=document.createElement("template");n.innerHTML='<div class="cf-input-icons cf-microphone">\n\t\t\t\t<div class="cf-icon-audio"></div>\n\t\t\t\t<cf-icon-audio-eq></cf-icon-audio-eq>\n\t\t\t</div>';var i=n.firstChild||n.content.firstChild;this.mic=new t.MicrophoneBridge({el:i,button:this,eventTarget:this.eventTarget,microphoneObj:e}),this.el.appendChild(i)},e.prototype.reset=function(){this.mic&&!this.typing&&this.mic.callInput()},e.prototype.getTemplate=function(){return'<cf-input-button class="cf-input-button">\n\t\t\t\t\t\t<div class="cf-input-icons">\n\t\t\t\t\t\t\t<div class="cf-icon-progress"></div>\n\t\t\t\t\t\t\t<div class="cf-icon-attachment"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</cf-input-button>'},e.prototype.onMicrophoneTerminalError=function(e){this.mic&&(this.mic.dealloc(),this.mic=null,this.el.removeChild(this.el.getElementsByClassName("cf-microphone")[0]),this.el.classList.remove("microphone-interface"),this.loading=!1,this.eventTarget.dispatchEvent(new n(t.FlowEvents.USER_INPUT_INVALID,{detail:{errorText:e.detail}})))},e.prototype.onClick=function(e){this.mic&&!this.typing?this.mic.callInput():this.eventTarget.dispatchEvent(new n(t.UserInputSubmitButtonEvents.CHANGE))},e.prototype.click=function(){this.el.click()},e.prototype.dealloc=function(){this.eventTarget.removeEventListener(t.MicrophoneBridgeEvent.TERMNIAL_ERROR,this.onMicrophoneTerminalErrorCallback,!1),this.onMicrophoneTerminalErrorCallback=null,this.mic&&this.mic.dealloc(),this.mic=null,this.el.removeEventListener("click",this.onClickCallback,!1),this.onClickCallback=null,this.el=null,this.eventTarget=null},e}();t.UserInputSubmitButton=e}(o||(o={})),function(t){t.UserInputTypes={VOICE:"voice",VR_GESTURE:"vr-gesture",TEXT:"text"}}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(e){function n(n){var i=e.call(this,n)||this;return i._disabled=!1,i._visible=!1,i.onChatReponsesUpdatedCallback=i.onChatReponsesUpdated.bind(i),i.eventTarget.addEventListener(t.ChatListEvents.CHATLIST_UPDATED,i.onChatReponsesUpdatedCallback,!1),i.windowFocusCallback=i.windowFocus.bind(i),window.addEventListener("focus",i.windowFocusCallback,!1),i.inputInvalidCallback=i.inputInvalid.bind(i),i.eventTarget.addEventListener(t.FlowEvents.USER_INPUT_INVALID,i.inputInvalidCallback,!1),i.flowUpdateCallback=i.onFlowUpdate.bind(i),i.eventTarget.addEventListener(t.FlowEvents.FLOW_UPDATE,i.flowUpdateCallback,!1),i}return i(n,e),Object.defineProperty(n.prototype,"currentTag",{get:function(){return this._currentTag},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"visible",{set:function(t){var e=this;this._visible=t,!this.el.classList.contains("animate-in")&&t?setTimeout(function(){e.el.classList.add("animate-in")},0):this.el.classList.contains("animate-in")&&!t&&this.el.classList.remove("animate-in")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled!=t&&(this._disabled=t,t?this.el.setAttribute("disabled","disabled"):(this.setFocusOnInput(),this.el.removeAttribute("disabled")))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){var e=0,n=0,i=this.el;return t.Helpers.isInternetExlorer()?(e=i.offsetHeight,n=parseInt(i.currentStyle.marginTop,10)+parseInt(i.currentStyle.marginBottom,10),n*=2):(e=parseInt(document.defaultView.getComputedStyle(i,"").getPropertyValue("height"),10),n=parseInt(document.defaultView.getComputedStyle(i,"").getPropertyValue("margin-top"))+parseInt(document.defaultView.getComputedStyle(i,"").getPropertyValue("margin-bottom"))),e+n},enumerable:!0,configurable:!0}),n.prototype.onEnterOrSubmitButtonSubmit=function(t){void 0===t&&(t=null)},n.prototype.inputInvalid=function(t){},n.prototype.deactivate=function(){this.disabled=!0},n.prototype.reactivate=function(){this.disabled=!1},n.prototype.getFlowDTO=function(){},n.prototype.setFocusOnInput=function(){},n.prototype.onFlowStopped=function(){},n.prototype.reset=function(){},n.prototype.dealloc=function(){this.eventTarget.removeEventListener(t.ChatListEvents.CHATLIST_UPDATED,this.onChatReponsesUpdatedCallback,!1),this.onChatReponsesUpdatedCallback=null,this.eventTarget.removeEventListener(t.FlowEvents.USER_INPUT_INVALID,this.inputInvalidCallback,!1),this.inputInvalidCallback=null,window.removeEventListener("focus",this.windowFocusCallback,!1),this.windowFocusCallback=null,this.eventTarget.removeEventListener(t.FlowEvents.FLOW_UPDATE,this.flowUpdateCallback,!1),this.flowUpdateCallback=null,e.prototype.dealloc.call(this)},n.prototype.onFlowUpdate=function(e){t.ConversationalForm.illustrateFlow(this,"receive",e.type,e.detail),this._currentTag=e.detail.tag},n.prototype.windowFocus=function(t){},n.prototype.onChatReponsesUpdated=function(t){t.detail.currentResponse.isRobotResponse||(this.visible=!0,this.disabled=!1,this.setFocusOnInput())},n.ERROR_TIME=2e3,n.preventAutoFocus=!1,n.hideUserInputOnNoneTextInput=!1,n}(t.BasicElement);t.UserInputElement=e,t.UserInputEvents={SUBMIT:"cf-input-user-input-submit",KEY_CHANGE:"cf-input-key-change",CONTROL_ELEMENTS_ADDED:"cf-input-control-elements-added",HEIGHT_CHANGE:"cf-input-height-change",FOCUS:"cf-input-focus",BLUR:"cf-input-blur"}}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){var e=function(e){function o(n){var i=e.call(this,n)||this;return i.initialInputHeight=0,i.shiftIsDown=!1,i._active=!1,i.cfReference=n.cfReference,i.eventTarget=n.eventTarget,i.inputElement=i.el.getElementsByTagName("textarea")[0],i.onInputFocusCallback=i.onInputFocus.bind(i),i.onInputBlurCallback=i.onInputBlur.bind(i),i.inputElement.addEventListener("focus",i.onInputFocusCallback,!1),i.inputElement.addEventListener("blur",i.onInputBlurCallback,!1),t.ConversationalForm.animationsEnabled||i.inputElement.setAttribute("no-animations",""),i.controlElements=new t.ControlElements({el:i.el.getElementsByTagName("cf-input-control-elements")[0],cfReference:i.cfReference,infoEl:i.el.getElementsByTagName("cf-info")[0],eventTarget:i.eventTarget}),i.keyUpCallback=i.onKeyUp.bind(i),document.addEventListener("keyup",i.keyUpCallback,!1),i.keyDownCallback=i.onKeyDown.bind(i),document.addEventListener("keydown",i.keyDownCallback,!1),i.onOriginalTagChangedCallback=i.onOriginalTagChanged.bind(i),i.eventTarget.addEventListener(t.TagEvents.ORIGINAL_ELEMENT_CHANGED,i.onOriginalTagChangedCallback,!1),i.onControlElementSubmitCallback=i.onControlElementSubmit.bind(i),i.eventTarget.addEventListener(t.ControlElementEvents.SUBMIT_VALUE,i.onControlElementSubmitCallback,!1),i.onControlElementProgressChangeCallback=i.onControlElementProgressChange.bind(i),i.eventTarget.addEventListener(t.ControlElementEvents.PROGRESS_CHANGE,i.onControlElementProgressChangeCallback,!1),i.onSubmitButtonChangeStateCallback=i.onSubmitButtonChangeState.bind(i),i.eventTarget.addEventListener(t.UserInputSubmitButtonEvents.CHANGE,i.onSubmitButtonChangeStateCallback,!1),i.submitButton=new t.UserInputSubmitButton({eventTarget:i.eventTarget}),i.el.querySelector("div").appendChild(i.submitButton.el),n.microphoneInputObj&&(i.microphoneObj=n.microphoneInputObj,i.microphoneObj&&i.microphoneObj.init&&i.microphoneObj.init(),i.submitButton.addMicrophone(i.microphoneObj)),i}return i(o,e),Object.defineProperty(o.prototype,"active",{get:function(){return this.inputElement===document.activeElement||this._active},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"disabled",{set:function(e){var n=this._disabled!=e;t.ConversationalForm.suppressLog||console.log("option hasChanged",e),n&&(this._disabled=e,e?(this.el.setAttribute("disabled","disabled"),this.inputElement.blur()):(this.setFocusOnInput(),this.el.removeAttribute("disabled")))},enumerable:!0,configurable:!0}),o.prototype.getInputValue=function(){var t=this.inputElement.value,e=document.createElement("div");return e.appendChild(document.createTextNode(t)),e.innerHTML},o.prototype.getFlowDTO=function(){var t;return(t=this.controlElements&&this.controlElements.active?this.controlElements.getDTO():{text:this.getInputValue()}).tag||(t.tag=this.currentTag),t.input=this,t.tag=this.currentTag,t},o.prototype.reset=function(){this.controlElements&&this.controlElements.clearTagsAndReset()},o.prototype.deactivate=function(){e.prototype.deactivate.call(this),this.microphoneObj&&(this.submitButton.active=!1)},o.prototype.reactivate=function(){e.prototype.reactivate.call(this),this.microphoneObj&&!this.submitButton.typing&&(this.submitButton.loading=!0,this.submitButton.typing=!1,this.submitButton.active=!0)},o.prototype.onFlowStopped=function(){this.submitButton.loading=!1,this.submitButton.typing&&(this.submitButton.typing=!1),this.controlElements&&this.controlElements.clearTagsAndReset(),this.disabled=!0},o.prototype.onOriginalTagChanged=function(t){this.currentTag==t.detail.tag&&this.onInputChange(),this.controlElements&&this.controlElements.active&&this.controlElements.updateStateOnElementsFromTag(t.detail.tag)},o.prototype.onInputChange=function(){if(this.active||this.controlElements.active){var e=Math.max(this.initialInputHeight,parseInt(this.inputElement.style.height,10));this.inputElement.style.height="0px",this.inputElement.style.height=(0===this.inputElement.scrollHeight?e:this.inputElement.scrollHeight)+"px",t.ConversationalForm.illustrateFlow(this,"dispatch",t.UserInputEvents.HEIGHT_CHANGE),this.eventTarget.dispatchEvent(new n(t.UserInputEvents.HEIGHT_CHANGE,{detail:this.inputElement.scrollHeight}))}},o.prototype.resetInputHeight=function(){"1"===this.inputElement.getAttribute("rows")?this.inputElement.style.height=this.initialInputHeight+"px":this.inputElement.style.height="0px"},o.prototype.inputInvalid=function(e){var n=this;t.ConversationalForm.illustrateFlow(this,"receive",e.type,e.detail);var i=e.detail;this.inputElement.setAttribute("data-value",this.inputElement.value),this.inputElement.value="",this.el.setAttribute("error",""),this.disabled=!0,this.inputElement.setAttribute("placeholder",i.errorText||(this._currentTag?this._currentTag.errorMessage:"")),clearTimeout(this.errorTimer),this.submitButton.loading=!1,this.errorTimer=setTimeout(function(){n.disabled=!1,t.ConversationalForm.suppressLog||console.log("option, disabled 1"),n.el.removeAttribute("error"),n.inputElement.value=n.inputElement.getAttribute("data-value"),n.inputElement.setAttribute("data-value",""),n.setPlaceholder(),n.setFocusOnInput(),n.submitButton.reset(),n.controlElements&&n.controlElements.resetAfterErrorMessage()},t.UserInputElement.ERROR_TIME)},o.prototype.setPlaceholder=function(){this._currentTag?this._currentTag.inputPlaceholder?this.inputElement.setAttribute("placeholder",this._currentTag.inputPlaceholder):this.inputElement.setAttribute("placeholder","group"==this._currentTag.type?t.Dictionary.get("group-placeholder"):t.Dictionary.get("input-placeholder")):this.inputElement.setAttribute("placeholder",t.Dictionary.get("group-placeholder"))},o.prototype.checkForCorrectInputTag=function(){var t=this.tagType(this._currentTag);if(this.inputElement&&this.inputElement.tagName!==t&&(this.inputElement.removeEventListener("focus",this.onInputFocusCallback,!1),this.inputElement.removeEventListener("blur",this.onInputBlurCallback,!1)),this.removeAttribute("autocomplete"),this.removeAttribute("list"),"INPUT"===t){var e=document.createElement("input");Array.prototype.slice.call(this.inputElement.attributes).forEach(function(t){e.setAttribute(t.name,t.value)}),"password"===this.inputElement.type&&e.setAttribute("autocomplete","new-password"),this._currentTag.domElement.hasAttribute("autocomplete")&&e.setAttribute("autocomplete",this._currentTag.domElement.getAttribute("autocomplete")),this._currentTag.domElement.hasAttribute("list")&&e.setAttribute("list",this._currentTag.domElement.getAttribute("list")),this.inputElement.parentNode.replaceChild(e,this.inputElement),this.inputElement=e}else if(this.inputElement&&this.inputElement.tagName!==t){var n=document.createElement("textarea");Array.prototype.slice.call(this.inputElement.attributes).forEach(function(t){n.setAttribute(t.name,t.value)}),this.inputElement.parentNode.replaceChild(n,this.inputElement),this.inputElement=n}this.inputElement&&this.inputElement.tagName!==t&&(this.inputElement.addEventListener("focus",this.onInputFocusCallback,!1),this.inputElement.addEventListener("blur",this.onInputBlurCallback,!1)),0==this.initialInputHeight&&(this.initialInputHeight=this.inputElement.offsetHeight),this.setFocusOnInput()},o.prototype.removeAttribute=function(t){this.inputElement&&this.inputElement.hasAttribute(t)&&this.inputElement.removeAttribute(t)},o.prototype.tagType=function(t){return t.domElement&&t.domElement.tagName?"TEXTAREA"===t.domElement.tagName||t.domElement.hasAttribute("rows")&&parseInt(t.domElement.getAttribute("rows"),10)>1?"TEXTAREA":"INPUT"===t.domElement.tagName?"INPUT":"TEXTAREA":"TEXTAREA"},o.prototype.onFlowUpdate=function(n){var i=this;e.prototype.onFlowUpdate.call(this,n),this.submitButton.loading=!1,this.submitButton.typing&&(this.submitButton.typing=!1),this.el.setAttribute("tag-type",this._currentTag.type),this.checkForCorrectInputTag();var o=-1!==["password","number","email","tel"].indexOf(this._currentTag.type);this.inputElement.setAttribute("type",o?this._currentTag.type:"input"),clearTimeout(this.errorTimer),this.el.removeAttribute("error"),this.inputElement.setAttribute("data-value",""),this.inputElement.value="",this.submitButton.loading=!1,this.setPlaceholder(),this.resetValue(),this.setFocusOnInput(),this.controlElements.reset(),"group"==this._currentTag.type?this.buildControlElements(this._currentTag.elements):this.buildControlElements([this._currentTag]),this._currentTag.defaultValue&&(this.inputElement.value=this._currentTag.defaultValue.toString()),!0===this._currentTag.skipUserInput?this.el.classList.add("hide-input"):this.el.classList.remove("hide-input"),this._currentTag.rows&&this._currentTag.rows>1&&this.inputElement.setAttribute("rows",this._currentTag.rows.toString()),t.UserInputElement.hideUserInputOnNoneTextInput&&(this.controlElements.active?(this.el.classList.add("hide-input"),this.controlElements.focusFrom("bottom")):this.el.classList.remove("hide-input")),this.resetInputHeight(),setTimeout(function(){i.onInputChange()},300)},o.prototype.onControlElementProgressChange=function(e){var n=e.detail;this.disabled=n==t.ControlElementProgressStates.BUSY,t.ConversationalForm.suppressLog||console.log("option, disabled 2")},o.prototype.buildControlElements=function(t){this.controlElements.buildTags(t)},o.prototype.onControlElementSubmit=function(e){t.ConversationalForm.illustrateFlow(this,"receive",e.type,e.detail);var n=e.detail;this.controlElements.updateStateOnElements(n),this.doSubmit()},o.prototype.onSubmitButtonChangeState=function(t){this.onEnterOrSubmitButtonSubmit(t)},o.prototype.isMetaKeyPressed=function(t){!t.metaKey&&[91,93].indexOf(t.keyCode)},o.prototype.onKeyDown=function(e){(this.active||this.controlElements.focus)&&(this.isControlElementsActiveAndUserInputHidden()||this.isMetaKeyPressed(e)||(e.keyCode==t.Dictionary.keyCodes.shift&&(this.shiftIsDown=!0),!0===this.cfReference.preventSubmitOnEnter&&this.inputElement.hasAttribute("rows")&&parseInt(this.inputElement.getAttribute("rows"))>1||e.keyCode!=t.Dictionary.keyCodes.enter||e.shiftKey||e.preventDefault()))},o.prototype.isControlElementsActiveAndUserInputHidden=function(){return this.controlElements&&this.controlElements.active&&t.UserInputElement.hideUserInputOnNoneTextInput},o.prototype.onKeyUp=function(e){if((this.active||this.isControlElementsActiveAndUserInputHidden()||this.controlElements.focus)&&!this.isMetaKeyPressed(e)){if(e.keyCode==t.Dictionary.keyCodes.shift)this.shiftIsDown=!1;else if(e.keyCode==t.Dictionary.keyCodes.up)e.preventDefault(),this.active&&!this.controlElements.focus&&this.controlElements.focusFrom("bottom");else if(e.keyCode==t.Dictionary.keyCodes.down)e.preventDefault(),this.active&&!this.controlElements.focus&&this.controlElements.focusFrom("top");else if(e.keyCode==t.Dictionary.keyCodes.tab){for(var n=!1,i=e.target.parentNode;null!=i;){if(i===this.cfReference.el){n=!0;break}i=i.parentNode}n||(e.preventDefault(),this.controlElements.active||this.setFocusOnInput())}if(!this.el.hasAttribute("disabled")){var o=this.getFlowDTO();if(e.keyCode==t.Dictionary.keyCodes.enter&&!e.shiftKey||e.keyCode==t.Dictionary.keyCodes.space)if(e.keyCode==t.Dictionary.keyCodes.enter&&this.active){if(!0===this.cfReference.preventSubmitOnEnter)return;e.preventDefault(),this.onEnterOrSubmitButtonSubmit()}else if(e.keyCode==t.Dictionary.keyCodes.enter||e.keyCode==t.Dictionary.keyCodes.space){e.preventDefault();var s="group"==this._currentTag.type?this._currentTag.getGroupTagType():this._currentTag.type;if("select"==s||"checkbox"==s){var r=this._currentTag;"checkbox"==s||r.multipleChoice?(this.active||this.isControlElementsActiveAndUserInputHidden())&&e.keyCode==t.Dictionary.keyCodes.enter?this.submitButton.click():(this.active||this.controlElements.active||this.isControlElementsActiveAndUserInputHidden()||(this.resetValue(),this.setFocusOnInput()),this.dispatchKeyChange(o,e.keyCode)):this.dispatchKeyChange(o,e.keyCode)}else"group"==this._currentTag.type&&this.dispatchKeyChange(o,e.keyCode)}else e.keyCode==t.Dictionary.keyCodes.space&&document.activeElement&&this.dispatchKeyChange(o,e.keyCode);else e.keyCode!=t.Dictionary.keyCodes.shift&&e.keyCode!=t.Dictionary.keyCodes.tab&&this.dispatchKeyChange(o,e.keyCode);this.onInputChange()}}},o.prototype.dispatchKeyChange=function(e,i){this.submitButton.typing=e.text&&e.text.length>0,t.ConversationalForm.illustrateFlow(this,"dispatch",t.UserInputEvents.KEY_CHANGE,e),this.eventTarget.dispatchEvent(new n(t.UserInputEvents.KEY_CHANGE,{detail:{dto:e,keyCode:i,inputFieldActive:this.active}}))},o.prototype.windowFocus=function(t){e.prototype.windowFocus.call(this,t),this.setFocusOnInput()},o.prototype.onInputBlur=function(e){this._active=!1,this.eventTarget.dispatchEvent(new n(t.UserInputEvents.BLUR))},o.prototype.onInputFocus=function(e){this._active=!0,this.onInputChange(),this.eventTarget.dispatchEvent(new n(t.UserInputEvents.FOCUS))},o.prototype.setFocusOnInput=function(){t.UserInputElement.preventAutoFocus||this.el.classList.contains("hide-input")||this.inputElement.focus()},o.prototype.onEnterOrSubmitButtonSubmit=function(e){void 0===e&&(e=null);var n=this.controlElements.active&&t.UserInputElement.hideUserInputOnNoneTextInput;(this.active||n)&&this.controlElements.highlighted?this.controlElements.clickOnHighlighted():this._currentTag?"file"==this._currentTag.type&&e?this.controlElements.getElement(0).triggerFileSelect():this.doSubmit():this.eventTarget.cf.addUserChatResponse(this.inputElement.value)},o.prototype.doSubmit=function(){var e=this.getFlowDTO();this.submitButton.loading=!0,this.disabled=!0,this.el.removeAttribute("error"),this.inputElement.setAttribute("data-value",""),t.ConversationalForm.illustrateFlow(this,"dispatch",t.UserInputEvents.SUBMIT,e),this.eventTarget.dispatchEvent(new n(t.UserInputEvents.SUBMIT,{detail:e}))},o.prototype.resetValue=function(){this.inputElement.value="",this.inputElement.hasAttribute("rows")&&this.inputElement.setAttribute("rows","1"),this.onInputChange()},o.prototype.dealloc=function(){this.inputElement.removeEventListener("blur",this.onInputBlurCallback,!1),this.onInputBlurCallback=null,this.inputElement.removeEventListener("focus",this.onInputFocusCallback,!1),this.onInputFocusCallback=null,document.removeEventListener("keydown",this.keyDownCallback,!1),this.keyDownCallback=null,document.removeEventListener("keyup",this.keyUpCallback,!1),this.keyUpCallback=null,this.eventTarget.removeEventListener(t.ControlElementEvents.SUBMIT_VALUE,this.onControlElementSubmitCallback,!1),this.onControlElementSubmitCallback=null,this.submitButton.el.removeEventListener(t.UserInputSubmitButtonEvents.CHANGE,this.onSubmitButtonChangeStateCallback,!1),this.onSubmitButtonChangeStateCallback=null,this.submitButton.dealloc(),this.submitButton=null,e.prototype.dealloc.call(this)},o.prototype.getTemplate=function(){return this.customTemplate||'<cf-input>\n\t\t\t\t<cf-info></cf-info>\n\t\t\t\t<cf-input-control-elements>\n\t\t\t\t\t<cf-list-button direction="prev">\n\t\t\t\t\t</cf-list-button>\n\t\t\t\t\t<cf-list-button direction="next">\n\t\t\t\t\t</cf-list-button>\n\t\t\t\t\t<cf-list>\n\t\t\t\t\t</cf-list>\n\t\t\t\t</cf-input-control-elements>\n\t\t\t\t<div class="inputWrapper">\n\t\t\t\t\t<textarea type=\'input\' tabindex="1" rows="1"></textarea>\n\t\t\t\t</div>\n\t\t\t</cf-input>\n\t\t\t'},o}(t.UserInputElement);t.UserTextInput=e}(o||(o={}));i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){t.ChatResponseEvents={USER_ANSWER_CLICKED:"cf-on-user-answer-clicked"};var e=function(e){function o(t){var n=e.call(this,t)||this;return n.container=t.container,n.uiOptions=t.cfReference.uiOptions,n._tag=t.tag,n}return i(o,e),Object.defineProperty(o.prototype,"tag",{get:function(){return this._tag},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"added",{get:function(){return!!this.el||!!this.el.parentNode||!!this.el.parentNode.parentNode},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"disabled",{get:function(){return this.el.classList.contains("disabled")},set:function(t){t?this.el.classList.add("disabled"):this.el.classList.remove("disabled")},enumerable:!0,configurable:!0}),o.prototype.hasFlexBug=function(){return this.cfReference.el.classList.contains("browser-firefox")||this.cfReference.el.classList.contains("browser-edge")},o.prototype.animateIn=function(){var t=this,e=document.querySelector("scrollable"),n=document.querySelector(".scrollableInner");this.hasFlexBug()&&n.classList.remove("scroll"),requestAnimationFrame(function(){var i=t.el.scrollHeight;t.el.style.height="0px",requestAnimationFrame(function(){t.el.style.height=i+"px",t.el.classList.add("show");try{var o=window.getComputedStyle(document.querySelectorAll("p.show")[0]),s=+o.animationDuration.replace("s",""),r=+o.animationDelay.replace("s","");setTimeout(function(){t.el.style.height="auto",t.hasFlexBug()&&n.scrollHeight>e.offsetHeight&&(n.classList.add("scroll"),n.scrollTop=n.scrollHeight)},1500*(s+r))}catch(a){setTimeout(function(){t.hasFlexBug()&&n.scrollHeight>e.offsetHeight&&(n.classList.add("scroll"),n.scrollTop=n.scrollHeight),t.el.style.height="auto"},3e3)}})})},Object.defineProperty(o.prototype,"visible",{set:function(t){},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"strippedSesponse",{get:function(){var t=this.response,e=document.createElement("div");return e.innerHTML=t,e.textContent||e.innerText||""},enumerable:!0,configurable:!0}),o.prototype.whenReady=function(t){this.onReadyCallback=t},o.prototype.setValue=function(e){void 0===e&&(e=null);this.el.hasAttribute("thinking");if(e){if(this.response=this.originalResponse=e.text,this.processResponseAndSetText(),this.responseLink&&!this.isRobotResponse&&this.responseLink.processResponseAndSetText(),e&&e.controlElements&&e.controlElements[0])switch(e.controlElements[0].type){case"UploadFileUI":this.textEl.classList.add("file-icon")}this.isRobotResponse||this.onClickCallback||(this.onClickCallback=this.onClick.bind(this),this.el.addEventListener(t.Helpers.getMouseEvent("click"),this.onClickCallback,!1))}else this.setToThinking()},o.prototype.show=function(){this.visible=!0,this.disabled=!1,this.response?this.checkForEditMode():this.setToThinking()},o.prototype.updateThumbnail=function(t){var e=this.el.getElementsByTagName("thumb")[0];if(0===t.indexOf("text:")){var n=e.getElementsByTagName("span")[0];n.innerHTML=t.split("text:")[1],n.setAttribute("length",t.length.toString())}else this.image=t,e.style.backgroundImage='url("'+this.image+'")'},o.prototype.setLinkToOtherReponse=function(t){this.responseLink=t},o.prototype.processResponseAndSetText=function(){var t=this;if(this.originalResponse){var e=this.originalResponse;if(this._tag&&"password"==this._tag.type&&!this.isRobotResponse){for(var n="",i=0;i<e.length;i++)n+="*";e=n}if(this.responseLink&&this.isRobotResponse&&(e=e.split("{previous-answer}").join(this.responseLink.parsedResponse)),this.isRobotResponse)for(var s=o.list.getResponses(),r=0;r<s.length;r++){var a=s[r];a!==this&&a.tag&&(a.tag.id&&(e=e.split("{"+a.tag.id+"}").join(a.tag.value)),a.tag.name&&(e=e.split("{"+a.tag.name+"}").join(a.tag.value)))}if(-1!=e.indexOf("contains-image")&&this.textEl.classList.add("contains-image"),this.isRobotResponse){this.textEl.innerHTML="",this.uiOptions||(this.uiOptions=this.cfReference.uiOptions);var l=this.uiOptions.robot.robotResponseTime;0!=l&&this.setToThinking();var c=e.split("&&");if(0===l){for(var h=0;h<c.length;h++){var u=c[h];this.textEl.innerHTML+="<p>"+u+"</p>"}for(var p=function(e){setTimeout(function(){t.tryClearThinking(),t.textEl.getElementsByTagName("p")[e].classList.add("show"),t.scrollTo()},c.length>1&&e>0?l+(e+1)*d.uiOptions.robot.chainedResponseTime:0)},d=this,f=0;f<c.length;f++)p(f)}else for(var m=function(e){var n=l+e*g.uiOptions.robot.chainedResponseTime,i=c[e];setTimeout(function(){t.tryClearThinking(),t.textEl.innerHTML+="<p>"+i+"</p>",t.textEl.getElementsByTagName("p")[e].classList.add("show"),t.scrollTo()},n)},g=this,v=0;v<c.length;v++)m(v);this.readyTimer=setTimeout(function(){t.onReadyCallback&&t.onReadyCallback(),t.onReadyCallback=null,t._tag&&!0===t._tag.skipUserInput&&setTimeout(function(){t._tag.flowManager.nextStep(),t._tag.skipUserInput=!1},t.uiOptions.robot.chainedResponseTime)},l+c.length*this.uiOptions.robot.chainedResponseTime)}else{this.tryClearThinking();var b=e.indexOf("<img")>-1,E=new RegExp("<img[^>]*?>","g"),y=e.match(E);b&&y?(e=e.replace(y[0],""),this.textEl.innerHTML='<p class="hasImage">'+y+"<span>"+e+"</span></p>"):this.textEl.innerHTML="<p>"+e+"</p>";var C=this.textEl.getElementsByTagName("p");C[C.length-1].offsetWidth,C[C.length-1].classList.add("show"),this.scrollTo()}this.parsedResponse=e,this.uiOptions.robot&&0===this.uiOptions.robot.robotResponseTime?this.addSelf():setTimeout(function(){t.addSelf()},0),this.textEl.removeAttribute("value-added"),setTimeout(function(){t.textEl.setAttribute("value-added",""),t.el.classList.add("peak-thumb")},0),this.checkForEditMode(),this.response=e.split("&&").join(" ")}},o.prototype.scrollTo=function(){var t=this.el.offsetTop,e=this.el.offsetHeight;!this.container&&this.el&&(this.container=this.el),this.container&&this.container.parentElement&&this.container.parentElement.scrollHeight&&(this.container.parentElement.scrollTop=t+e+this.container.parentElement.scrollHeight)},o.prototype.checkForEditMode=function(){this.isRobotResponse||this.el.hasAttribute("thinking")||(this.el.classList.add("can-edit"),this.disabled=!1)},o.prototype.tryClearThinking=function(){this.el.hasAttribute("thinking")&&(this.textEl.innerHTML="",this.el.removeAttribute("thinking"))},o.prototype.setToThinking=function(){(this.isRobotResponse&&0!==this.uiOptions.robot.robotResponseTime||!this.isRobotResponse&&this.cfReference.uiOptions.user.showThinking&&!this._tag.skipUserInput)&&(this.textEl.innerHTML=o.THINKING_MARKUP,this.el.classList.remove("can-edit"),this.el.setAttribute("thinking","")),(this.cfReference.uiOptions.user.showThinking||this.cfReference.uiOptions.user.showThumb)&&this.addSelf()},o.prototype.addSelf=function(){this.el.parentNode!=this.container&&(this.container.appendChild(this.el),this.animateIn())},o.prototype.onClick=function(e){this.setToThinking(),t.ConversationalForm.illustrateFlow(this,"dispatch",t.ChatResponseEvents.USER_ANSWER_CLICKED,e),this.eventTarget.dispatchEvent(new n(t.ChatResponseEvents.USER_ANSWER_CLICKED,{detail:this._tag}))},o.prototype.setData=function(t){this.image=t.image,this.response=this.originalResponse=t.response,this.isRobotResponse=t.isRobotResponse,e.prototype.setData.call(this,t)},o.prototype.onElementCreated=function(){var t=this;this.textEl=this.el.getElementsByTagName("text")[0],this.updateThumbnail(this.image),this.isRobotResponse||null!=this.response?setTimeout(function(){t.setValue({text:t.response})},0):this.cfReference.uiOptions.user.showThumb&&this.el.classList.add("peak-thumb")},o.prototype.dealloc=function(){clearTimeout(this.readyTimer),this.container=null,this.uiOptions=null,this.onReadyCallback=null,this.onClickCallback&&(this.el.removeEventListener(t.Helpers.getMouseEvent("click"),this.onClickCallback,!1),this.onClickCallback=null),e.prototype.dealloc.call(this)},o.prototype.getTemplate=function(){return'<cf-chat-response class="'+(this.isRobotResponse?"robot":"user")+'">\n\t\t\t\t<thumb><span></span></thumb>\n\t\t\t\t<text></text>\n\t\t\t</cf-chat-response>'},o.THINKING_MARKUP="<p class='show'><thinking><span>.</span><span>.</span><span>.</span></thinking></p>",o}(t.BasicElement);t.ChatResponse=e}(o||(o={}));var o;i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(t){t.ChatListEvents={CHATLIST_UPDATED:"cf-chatlist-updated"};var e=function(e){function o(n){var i=e.call(this,n)||this;return i.updateTimer=0,t.ChatResponse.list=i,i.responses=[],i.flowUpdateCallback=i.onFlowUpdate.bind(i),i.eventTarget.addEventListener(t.FlowEvents.FLOW_UPDATE,i.flowUpdateCallback,!1),i.userInputUpdateCallback=i.onUserInputUpdate.bind(i),i.eventTarget.addEventListener(t.FlowEvents.USER_INPUT_UPDATE,i.userInputUpdateCallback,!1),i.onInputKeyChangeCallback=i.onInputKeyChange.bind(i),i.eventTarget.addEventListener(t.UserInputEvents.KEY_CHANGE,i.onInputKeyChangeCallback,!1),i.onInputHeightChangeCallback=i.onInputHeightChange.bind(i),i.eventTarget.addEventListener(t.UserInputEvents.HEIGHT_CHANGE,i.onInputHeightChangeCallback,!1),i.onControlElementsResizedCallback=i.onControlElementsResized.bind(i),i.eventTarget.addEventListener(t.ControlElementsEvents.ON_RESIZE,i.onControlElementsResizedCallback,!1),i.onControlElementsChangedCallback=i.onControlElementsChanged.bind(i),i.eventTarget.addEventListener(t.ControlElementsEvents.CHANGED,i.onControlElementsChangedCallback,!1),i}return i(o,e),o.prototype.onInputHeightChange=function(e){var n=e.detail.dto;t.ConversationalForm.illustrateFlow(this,"receive",e.type,n),this.onInputElementChanged()},o.prototype.onInputKeyChange=function(e){var n=e.detail.dto;t.ConversationalForm.illustrateFlow(this,"receive",e.type,n)},o.prototype.onUserInputUpdate=function(e){if(t.ConversationalForm.illustrateFlow(this,"receive",e.type,e.detail),this.currentUserResponse){var n=e.detail;this.setCurrentUserResponse(n)}},o.prototype.addInput=function(t){this.input=t},o.prototype.onControlElementsChanged=function(t){this.onInputElementChanged()},o.prototype.onControlElementsResized=function(e){t.ConversationalForm.illustrateFlow(this,"receive",t.ControlElementsEvents.ON_RESIZE);var n=this.currentResponse;if(n){if(!n.added)for(var i=this.responses.indexOf(n);i>=0;i--){var o=this.responses[i];if(o.added){n=o;break}}n.scrollTo()}this.onInputElementChanged()},o.prototype.onInputElementChanged=function(){if(this.cfReference&&this.cfReference.el)this.cfReference.el.offsetHeight,this.input.height},o.prototype.onFlowUpdate=function(e){var n=this;t.ConversationalForm.illustrateFlow(this,"receive",e.type,e.detail);var i=e.detail.tag;this.currentResponse&&(this.currentResponse.disabled=!1),this.containsTagResponse(i)&&!e.detail.ignoreExistingTag?this.onUserWantsToEditTag(i):setTimeout(function(){var t=n.createResponse(!0,i,i.question);t.whenReady(function(){n.currentUserResponse=n.createResponse(!1,i),t.scrollTo()}),n.currentUserResponse&&(n.currentUserResponse.setLinkToOtherReponse(t),t.setLinkToOtherReponse(n.currentUserResponse))},0===this.responses.length?500:0)},o.prototype.containsTagResponse=function(t){for(var e=0;e<this.responses.length;e++){var n=this.responses[e];if(!n.isRobotResponse&&n.tag==t&&!t.hasConditions())return!0}return!1},o.prototype.onUserWantsToEditTag=function(t){for(var e,n=0;n<this.responses.length;n++){var i=this.responses[n];if(!i.isRobotResponse&&i.tag==t){e=i;break}}this.currentUserResponse.processResponseAndSetText(),e&&(this.responses.length>2&&(this.responses[this.responses.length-1].isRobotResponse||this.responses.pop().dealloc(),this.responses.pop().dealloc()),this.currentUserResponse=e,this.currentResponse=this.responses[this.responses.length-1],this.onListUpdate(this.currentUserResponse))},o.prototype.onListUpdate=function(e){var i=this;clearTimeout(this.updateTimer),this.updateTimer=setTimeout(function(){i.eventTarget.dispatchEvent(new n(t.ChatListEvents.CHATLIST_UPDATED,{detail:i})),e.show()},0)},o.prototype.clearFrom=function(t){for(t*=2,t+=t%2;this.responses.length>t;)this.responses.pop().dealloc()},o.prototype.setCurrentUserResponse=function(e){this.flowDTOFromUserInputUpdate=e,!this.flowDTOFromUserInputUpdate.text&&e.tag&&("group"==e.tag.type?this.flowDTOFromUserInputUpdate.text=t.Dictionary.get("user-reponse-missing-group"):"password"!=e.tag.type&&(this.flowDTOFromUserInputUpdate.text=t.Dictionary.get("user-reponse-missing"))),this.currentUserResponse.setValue(this.flowDTOFromUserInputUpdate)},o.prototype.getResponses=function(){return this.responses},o.prototype.updateThumbnail=function(e,n){t.Dictionary.set(e?"robot-image":"user-image",e?"robot":"human",n);for(var i=e?t.Dictionary.getRobotResponse("robot-image"):t.Dictionary.get("user-image"),o=0;o<this.responses.length;o++){var s=this.responses[o];e&&s.isRobotResponse?s.updateThumbnail(i):e||s.isRobotResponse||s.updateThumbnail(i)}},o.prototype.createResponse=function(e,n,i){void 0===i&&(i=null);var o=this.el.querySelector(".scrollableInner"),s=new t.ChatResponse({cfReference:this.cfReference,list:this,tag:n,eventTarget:this.eventTarget,isRobotResponse:e,response:i,image:e?t.Dictionary.getRobotResponse("robot-image"):t.Dictionary.get("user-image"),container:o});return this.responses.push(s),this.currentResponse=s,this.onListUpdate(s),s},o.prototype.getTemplate=function(){return"<cf-chat type='pluto'>\n\t\t\t\t\t\t<scrollable>\n\t\t\t\t\t\t\t<div class=\"scrollableInner\"></div>\n\t\t\t\t\t\t</scrollable>\n\t\t\t\t\t</cf-chat>"},o.prototype.dealloc=function(){this.eventTarget.removeEventListener(t.FlowEvents.FLOW_UPDATE,this.flowUpdateCallback,!1),this.flowUpdateCallback=null,this.eventTarget.removeEventListener(t.FlowEvents.USER_INPUT_UPDATE,this.userInputUpdateCallback,!1),this.userInputUpdateCallback=null,this.eventTarget.removeEventListener(t.UserInputEvents.KEY_CHANGE,this.onInputKeyChangeCallback,!1),this.onInputKeyChangeCallback=null,e.prototype.dealloc.call(this)},o}(t.BasicElement);t.ChatList=e}(o||(o={})),function(t){t.FlowEvents={USER_INPUT_UPDATE:"cf-flow-user-input-update",USER_INPUT_INVALID:"cf-flow-user-input-invalid",FLOW_UPDATE:"cf-flow-update",FORM_SUBMIT:"cf-form-submit"};var e=function(){function e(e){this.stopped=!1,this.maxSteps=0,this.step=0,this.savedStep=-1,this.stepTimer=0,this.ignoreExistingTags=!1,this.cfReference=e.cfReference,this.eventTarget=e.eventTarget,this.flowStepCallback=e.flowStepCallback,this.setTags(e.tags),this.userInputSubmitCallback=this.userInputSubmit.bind(this),this.eventTarget.addEventListener(t.UserInputEvents.SUBMIT,this.userInputSubmitCallback,!1)}return Object.defineProperty(e.prototype,"currentTag",{get:function(){return this.tags[this.step]},enumerable:!0,configurable:!0}),e.prototype.userInputSubmit=function(e){var i=this;t.ConversationalForm.illustrateFlow(this,"receive",e.type,e.detail);var o=e.detail;o.tag||(o.tag=this.currentTag);var s=this.currentTag.setTagValueAndIsValid(o),r=!1,a=!1,l=function(){return i.currentTag.validationCallback&&"function"==typeof i.currentTag.validationCallback&&!r&&s?(r=!0,void i.currentTag.validationCallback(o,function(){s=!0,l()},function(t){s=!1,t&&(o.errorText=t),l()})):i.flowStepCallback&&"function"==typeof i.flowStepCallback&&!a&&s?(a=!0,void i.flowStepCallback(o,function(){s=!0,l()},function(t){s=!1,t&&(o.errorText=t),l()})):void(s?(t.ConversationalForm.illustrateFlow(i,"dispatch",t.FlowEvents.USER_INPUT_UPDATE,o),o.input&&(o=o.input.getFlowDTO()),i.eventTarget.dispatchEvent(new n(t.FlowEvents.USER_INPUT_UPDATE,{detail:o})),setTimeout(function(){return i.nextStep()},t.ConversationalForm.animationsEnabled?250:0)):(t.ConversationalForm.illustrateFlow(i,"dispatch",t.FlowEvents.USER_INPUT_INVALID,o),i.eventTarget.dispatchEvent(new n(t.FlowEvents.USER_INPUT_INVALID,{detail:o}))))};l()},e.prototype.startFrom=function(t,e){void 0===e&&(e=!1),this.step="number"==typeof t?t:this.tags.indexOf(t),this.ignoreExistingTags=e,this.ignoreExistingTags?this.showStep():this.editTag(this.tags[this.step])},e.prototype.areConditionsInFlowFullfilled=function(e,n){this.activeConditions||(this.activeConditions=[]);for(var i=0,o=0;o<this.tags.length;o++){var s=this.tags[o];if(s!==e)for(var r=0;r<n.length;r++){var a=n[r],l=(s.name||s.id||"").toLowerCase();if(""!==l&&"cf-conditional-"+l===a.key.toLowerCase()){var c=(s.value,s.value);if(t.Tag.testConditions(c,a)&&(this.activeConditions[l]=n,++i==n.length))return!0}}}return!1},e.prototype.start=function(){this.stopped=!1,this.validateStepAndUpdate()},e.prototype.stop=function(){this.stopped=!0},e.prototype.nextStep=function(){if(!this.stopped){if(-1!=this.savedStep){for(var t=!1,e=0;e<this.tags.length;e++){var n=this.tags[e];if(n!==this.currentTag&&n.hasConditions()&&n.hasConditionsFor(this.currentTag.name)){t=!0,this.step=this.tags.indexOf(this.currentTag);break}}t||(this.step=this.savedStep)}this.savedStep=-1,this.step++,this.validateStepAndUpdate()}},e.prototype.previousStep=function(){this.step--,this.validateStepAndUpdate()},e.prototype.getStep=function(){return this.step},e.prototype.addTags=function(t,e){if(void 0===e&&(e=-1),-1!==e&&e<this.tags.length){this.tags.slice(0,e);var n=this.tags.slice(e,this.tags.length);this.tags=this.tags.slice(0,e).concat(t).concat(n)}else this.tags=this.tags.concat(t);return this.setTags(this.tags),this.tags},e.prototype.dealloc=function(){this.eventTarget.removeEventListener(t.UserInputEvents.SUBMIT,this.userInputSubmitCallback,!1),this.userInputSubmitCallback=null},e.prototype.editTag=function(t){if(this.ignoreExistingTags=!1,this.savedStep=this.step-1,this.step=this.tags.indexOf(t),this.validateStepAndUpdate(),this.activeConditions&&Object.keys(this.activeConditions).length>0){this.savedStep=-1,this.cfReference.chatList.clearFrom(this.step+1);for(var e=this.tags.indexOf(t)+1;e<this.tags.length;e++){this.tags[e].reset()}}},e.prototype.setTags=function(t){this.tags=t;for(var e=0;e<this.tags.length;e++){var n=this.tags[e];n.eventTarget=this.eventTarget,n.flowManager=this}this.maxSteps=this.tags.length},e.prototype.skipStep=function(){this.nextStep()},e.prototype.validateStepAndUpdate=function(){this.maxSteps>0&&(this.step==this.maxSteps?(this.eventTarget.dispatchEvent(new n(t.FlowEvents.FORM_SUBMIT,{})),this.cfReference.doSubmitForm()):(this.step%=this.maxSteps,this.currentTag.disabled?this.skipStep():this.showStep()))},e.prototype.showStep=function(){var e=this;this.stopped||(t.ConversationalForm.illustrateFlow(this,"dispatch",t.FlowEvents.FLOW_UPDATE,this.currentTag),this.currentTag.refresh(),setTimeout(function(){e.eventTarget.dispatchEvent(new n(t.FlowEvents.FLOW_UPDATE,{detail:{tag:e.currentTag,ignoreExistingTag:e.ignoreExistingTags,step:e.step,maxSteps:e.maxSteps}}))},0))},e.STEP_TIME=1e3,e}();t.FlowManager=e}(o||(o={})),function(t){var e=function(){function e(n){if(this.version="1.0.1",this.cdnPath="path_to_url{version}/dist/",this.isDevelopment=!1,this.loadExternalStyleSheet=!0,this.theme="light",this.preventAutoAppend=!1,this.preventAutoStart=!1,window.ConversationalForm=this,this.cdnPath=this.cdnPath.split("{version}").join(this.version),"boolean"==typeof n.suppressLog&&(e.suppressLog=n.suppressLog),"boolean"==typeof n.showProgressBar&&(e.showProgressBar=n.showProgressBar),"boolean"==typeof n.preventSubmitOnEnter&&(this.preventSubmitOnEnter=n.preventSubmitOnEnter),e.suppressLog||console.log("Conversational Form > version:",this.version),e.suppressLog||console.log("Conversational Form > options:",n),window.ConversationalForm[this.createId]=this,n.eventDispatcher&&(this._eventTarget=n.eventDispatcher),this.eventTarget.cf||(this.eventTarget.cf=this),n.flowStepCallback&&(this.flowStepCallback=n.flowStepCallback),this.isDevelopment=e.illustrateAppFlow=!!document.getElementById("conversational-form-development"),0==n.loadExternalStyleSheet&&(this.loadExternalStyleSheet=!1),"string"==typeof n.theme&&(this.theme=n.theme),isNaN(n.scrollAcceleration)||(t.ScrollController.acceleration=n.scrollAcceleration),this.preventAutoStart=n.preventAutoStart,this.preventAutoAppend=n.preventAutoAppend,!n.formEl)throw new Error("Conversational Form error, the formEl needs to be defined.");if(this.formEl=n.formEl,this.formEl.setAttribute("cf-create-id",this.createId),!0===n.hideUserInputOnNoneTextInput&&(t.UserInputElement.hideUserInputOnNoneTextInput=!0),this.submitCallback=n.submitCallback,this.submitCallback&&"string"==typeof this.submitCallback){var i=window[this.submitCallback];this.submitCallback=i}""==this.formEl.getAttribute("cf-no-animation")&&(e.animationsEnabled=!1),"boolean"==typeof n.animationsEnabled&&!1===n.animationsEnabled&&(e.animationsEnabled=!1,this.formEl.setAttribute("cf-no-animation","")),(n.preventAutoFocus||""==this.formEl.getAttribute("cf-prevent-autofocus"))&&(t.UserInputElement.preventAutoFocus=!0),this.dictionary=new t.Dictionary({data:n.dictionaryData,robotData:n.dictionaryRobot,userImage:n.userImage,robotImage:n.robotImage,version:this.version}),this.context=n.context?n.context:document.body,this.tags=n.tags,n.microphoneInput&&(n.microphoneInput.init&&n.microphoneInput.input||(console.warn("Conversational Form: microphoneInput is not correctly setup",n.microphoneInput),n.microphoneInput=null)),this.microphoneInputObj=n.microphoneInput,this.uiOptions=t.Helpers.extendObject(t.UserInterfaceDefaultOptions,n.userInterfaceOptions||{}),this.init()}return Object.defineProperty(e.prototype,"createId",{get:function(){return this._createId||(this._createId=(new Date).getTime().toString()),this._createId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"eventTarget",{get:function(){return this._eventTarget||(this._eventTarget=new t.EventDispatcher(this)),this._eventTarget},enumerable:!0,configurable:!0}),e.prototype.init=function(){switch(this.theme){case"dark":this.theme="conversational-form-dark.min.css";break;case"green":this.theme="conversational-form-green.min.css";break;case"blue":this.theme="conversational-form-irisblue.min.css";break;case"purple":this.theme="conversational-form-purple.min.css";break;case"red":this.theme="conversational-form-red.min.css";break;default:this.theme="conversational-form.min.css"}if(this.isDevelopment&&(this.cdnPath="../build/",this.theme=this.theme.replace(".min","")),this.loadExternalStyleSheet){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("link"),o=this.cdnPath+this.theme;i.type="text/css",i.media="all",i.setAttribute("rel","stylesheet"),i.setAttribute("href",o),n.appendChild(i)}var s=window.getComputedStyle(this.context).getPropertyValue("position").toLowerCase();if(-1==["fixed","absolute","relative"].indexOf(s)&&(this.context.style.position="relative"),!this.tags||0==this.tags.length){this.tags=[];for(var r=[].slice.call(this.formEl.querySelectorAll("input, select, button, textarea, cf-robot-message"),0),a=0;a<r.length;a++){var l=r[a];t.Tag.isTagValid(l)&&this.tags.push(t.Tag.createTag(l))}}var c=[];for(a=0;a<this.tags.length;a++){(l=this.tags[a])&&t.Tag.isTagValid(l.domElement)||c.push(l)}for(a=0;a<c.length;a++){var h=c[a];this.tags.splice(this.tags.indexOf(h),1)}return e.suppressLog||this.tags&&0!=this.tags.length||console.warn("Conversational Form: No tags found or registered."),this.tags=this.setupTagGroups(this.tags),this.setupUI(),this},e.prototype.updateDictionaryValue=function(e,n,i){t.Dictionary.set(e,n,i),-1!=["robot-image","user-image"].indexOf(e)&&this.chatList.updateThumbnail("robot-image"==e,i)},e.prototype.getFormData=function(t){if(void 0===t&&(t=!1),t){for(var e={},n=0;n<this.tags.length;n++){var i=this.tags[n];i.value&&(e[i.name||"tag-"+n.toString()]=i.value)}return e}return new FormData(this.formEl)},e.prototype.addRobotChatResponse=function(t){this.chatList.createResponse(!0,null,t)},e.prototype.addUserChatResponse=function(t){this.chatList.createResponse(!1,null,t)},e.prototype.stop=function(t){void 0===t&&(t=""),this.flowManager.stop(),""!=t&&this.chatList.createResponse(!0,null,t),this.userInput.onFlowStopped()},e.prototype.start=function(){this.userInput.disabled=!1,e.suppressLog||console.log("option, disabled 3"),this.userInput.visible=!0,this.flowManager.start()},e.prototype.getTag=function(t){return"number"==typeof t?this.tags[t]:null},e.prototype.setupTagGroups=function(e){for(var n=[],i=0;i<e.length;i++){var o=e[i];"radio"!=o.type&&"checkbox"!=o.type||(n[o.name]||(n[o.name]=[]),n[o.name].push(o))}if(Object.keys(n).length>0)for(var s in n)if(n[s].length>0){var r=n[s][0].domElement.parentNode;r&&"fieldset"!==r.tagName.toLowerCase()&&function(t){return t&&"fieldset"!==t.tagName.toLowerCase()&&!t.hasAttribute("cf-questions")}(r=r.parentNode)&&(r=null);var a=new t.TagGroup({fieldset:r,elements:n[s]});for(i=0;i<n[s].length;i++){var l=n[s][i];0==i?e.splice(e.indexOf(l),1,a):e.splice(e.indexOf(l),1)}}return e},e.prototype.setupUI=function(){this.flowManager=new t.FlowManager({cfReference:this,flowStepCallback:this.flowStepCallback,eventTarget:this.eventTarget,tags:this.tags}),this.el=document.createElement("div"),this.el.id="conversational-form",this.el.className="conversational-form",this.addBrowserTypes(this.el),e.animationsEnabled&&this.el.classList.add("conversational-form--enable-animation"),this.preventAutoAppend||this.context.appendChild(this.el),this.el.style.visibility="hidden";var n=document.createElement("div");if(n.className="conversational-form-inner",this.el.appendChild(n),this.chatList=new t.ChatList({eventTarget:this.eventTarget,cfReference:this}),n.appendChild(this.chatList.el),this.userInput=new t.UserTextInput({microphoneInputObj:this.microphoneInputObj,eventTarget:this.eventTarget,cfReference:this}),e.showProgressBar){var i=new t.ProgressBar(this);n.appendChild(i.el)}this.chatList.addInput(this.userInput),n.appendChild(this.userInput.el),this.onUserAnswerClickedCallback=this.onUserAnswerClicked.bind(this),this.eventTarget.addEventListener(t.ChatResponseEvents.USER_ANSWER_CLICKED,this.onUserAnswerClickedCallback,!1),this.el.classList.add("conversational-form--show"),this.preventAutoStart||this.flowManager.start(),this.tags&&0!=this.tags.length||(this.userInput.visible=!0)},e.prototype.onUserAnswerClicked=function(t){var e=t.detail;this.flowManager.editTag(e)},e.prototype.addBrowserTypes=function(t){navigator.userAgent.indexOf("Firefox")>-1&&t.classList.add("browser-firefox"),/Edge/.test(navigator.userAgent)&&t.classList.add("browser-edge")},e.prototype.addTags=function(e,n,i){void 0===n&&(n=!0),void 0===i&&(i=-1);for(var o=[],s=0;s<e.length;s++){var r=e[s];if("fieldset"===r.tag)for(var a=t.TagsParser.parseGroupTag(r),l=0;l<a.children.length;l++){var c=a.children[l];if(t.Tag.isTagValid(c))(h=t.Tag.createTag(c)).name||(h.name="tag-ref-"+l.toString()),o.push(h)}else{c="select"===r.tag?t.TagsParser.parseGroupTag(r):t.TagsParser.parseTag(r);if(t.Tag.isTagValid(c)){var h=t.Tag.createTag(c);o.push(h)}}}o=this.setupTagGroups(o),this.tags=this.flowManager.addTags(o,n?this.flowManager.getStep()+1:i)},e.prototype.remapTagsAndStartFrom=function(t,e,n){void 0===t&&(t=0),void 0===e&&(e=!1),void 0===n&&(n=!1),e&&this.chatList.setCurrentUserResponse(this.userInput.getFlowDTO());for(var i=0;i<this.tags.length;i++){this.tags[i].refresh()}this.flowManager.startFrom(t,n)},e.prototype.focus=function(){this.userInput&&this.userInput.setFocusOnInput()},e.prototype.doSubmitForm=function(){if(this.el.classList.add("done"),this.userInput.reset(),this.submitCallback)this.submitCallback(this);else{var t=this.formEl.ownerDocument.createElement("button");t.style.display="none",t.type="submit",this.formEl.appendChild(t),t.click(),this.formEl.removeChild(t),this.remove()}},e.prototype.remove=function(){this.microphoneInputObj&&(this.microphoneInputObj=null),this.onUserAnswerClickedCallback&&(this.eventTarget.removeEventListener(t.ChatResponseEvents.USER_ANSWER_CLICKED,this.onUserAnswerClickedCallback,!1),this.onUserAnswerClickedCallback=null),this.flowManager&&this.flowManager.dealloc(),this.userInput&&this.userInput.dealloc(),this.chatList&&this.chatList.dealloc(),this.dictionary=null,this.flowManager=null,this.userInput=null,this.chatList=null,this.context=null,this.formEl=null,this.tags=null,this.submitCallback=null,this.el.parentNode.removeChild(this.el),this.el=null,window.ConversationalForm[this.createId]=null},e.illustrateFlow=function(t,n,i,o){if(void 0===o&&(o=null),e.illustrateAppFlow){var s="font-weight: 900; background: "+("receive"==n?"#e6f3fe":"pink")+"; color: black; padding: 0px 5px;";e.suppressLog||console.log("%c** event flow: %c"+i+"%c flow type: %c"+n+"%c from: %c"+t.constructor.name,"font-weight: 900;",s,"font-weight: 400;",s,"font-weight: 400;",s),o&&(e.suppressLog||console.log("** event flow detail:",o))}},e.startTheConversation=function(t){var e,n,i=!1==!!t.formEl;if(i){if("string"==typeof t){i=!0;var s=JSON.parse(t);n=s.options,e=s.tags}else n=t.options,e=t.tags;var r=o.TagsParser.parseJSONIntoElements(e);n.formEl=r}else n=t;return new o.ConversationalForm(n)},e.autoStartTheConversation=function(){if(!o.ConversationalForm.hasAutoInstantiated){var t=document.querySelectorAll("form[cf-form]");0===t.length&&(t=document.querySelectorAll("form[cf-form-element]"));var e=document.querySelectorAll("*[cf-context]");if(t&&t.length>0){for(var n=0;n<t.length;n++){var i=t[n],s=e[n];o.ConversationalForm.startTheConversation({formEl:i,context:s})}o.ConversationalForm.hasAutoInstantiated=!0}}},e.animationsEnabled=!0,e.illustrateAppFlow=!0,e.suppressLog=!0,e.showProgressBar=!1,e.preventSubmitOnEnter=!1,e.hasAutoInstantiated=!1,e}();t.ConversationalForm=e}(o||(o={})),"complete"==document.readyState?setTimeout(function(){return o.ConversationalForm.autoStartTheConversation()},0):window.addEventListener("load",function(){o.ConversationalForm.autoStartTheConversation()},!1),function(t){try{jQuery.fn.conversationalForm=function(t){if((t=t||{}).formEl||(t.formEl=this[0]),!t.context){var e=document.querySelectorAll("*[cf-context]");e[0]&&(t.context=e[0])}return new o.ConversationalForm(t)}}catch(s){}}(),function(e,n){"function"==typeof t&&t.amd?t(["conversational-form"],function(t){return e.conversationalform=n(t)}):"object"==typeof module&&module.exports?module.exports=e.conversationalform=n(require("conversational-form")):e.conversationalform=n(o.ConversationalForm)}(window,function(t){return o}); },{"conversational-form":"Jy7r"}],"sU2v":[function(require,module,exports) { var global = arguments[3]; var t=arguments[3];function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.EventDispatcher=exports.TweenPlugin=exports.Power4=exports.Power3=exports.Power2=exports.Power1=exports.Power0=exports.Linear=exports.Ease=exports.Animation=exports.SimpleTimeline=exports.globals=exports.default=exports.TweenLite=exports._gsScope=void 0;var i="undefined"!=typeof window?window:"undefined"!=typeof module&&module.exports&&void 0!==t?t:{};exports._gsScope=i;var s=function(t){"use strict";var i={},s=t.document,r=t.GreenSockGlobals=t.GreenSockGlobals||t;if(r.TweenLite)return r.TweenLite;var n,a,o,l,h,_,u,p=function(t){var e,i=t.split("."),s=r;for(e=0;e<i.length;e++)s[i[e]]=s=s[i[e]]||{};return s},c=p("com.greensock"),f=function(t){var e,i=[],s=t.length;for(e=0;e!==s;i.push(t[e++]));return i},m=function(){},d=(_=Object.prototype.toString,u=_.call([]),function(t){return null!=t&&(t instanceof Array||"object"===e(t)&&!!t.push&&_.call(t)===u)}),v={},g=function t(e,s,n,a){this.sc=v[e]?v[e].sc:[],v[e]=this,this.gsClass=null,this.func=n;var o=[];this.check=function(l){for(var h,_,u,c,f=s.length,m=f;--f>-1;)(h=v[s[f]]||new t(s[f],[])).gsClass?(o[f]=h.gsClass,m--):l&&h.sc.push(this);if(0===m&&n)for(u=(_=("com.greensock."+e).split(".")).pop(),c=p(_.join("."))[u]=this.gsClass=n.apply(n,o),a&&(r[u]=i[u]=c),f=0;f<this.sc.length;f++)this.sc[f].check()},this.check(!0)},T=t._gsDefine=function(t,e,i,s){return new g(t,e,i,s)},y=c._class=function(t,e,i){return e=e||function(){},T(t,[],function(){return e},i),e};T.globals=r;var w=[0,0,1,1],P=y("easing.Ease",function(t,e,i,s){this._func=t,this._type=i||0,this._power=s||0,this._params=e?w.concat(e):w},!0),b=P.map={},k=P.register=function(t,e,i,s){for(var r,n,a,o,l=e.split(","),h=l.length,_=(i||"easeIn,easeOut,easeInOut").split(",");--h>-1;)for(n=l[h],r=s?y("easing."+n,null,!0):c.easing[n]||{},a=_.length;--a>-1;)o=_[a],b[n+"."+o]=b[o+n]=r[o]=t.getRatio?t:t[o]||new t};for((o=P.prototype)._calcEnd=!1,o.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,s=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?s*=s:2===i?s*=s*s:3===i?s*=s*s*s:4===i&&(s*=s*s*s*s),1===e?1-s:2===e?s:t<.5?s/2:1-s/2},a=(n=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)o=n[a]+",Power"+a,k(new P(null,null,1,a),o,"easeOut",!0),k(new P(null,null,2,a),o,"easeIn"+(0===a?",easeNone":"")),k(new P(null,null,3,a),o,"easeInOut");b.linear=c.easing.Linear.easeIn,b.swing=c.easing.Quad.easeInOut;var x=y("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(o=x.prototype).addEventListener=function(t,e,i,s,r){r=r||0;var n,a,o=this._listeners[t],_=0;for(this!==l||h||l.wake(),null==o&&(this._listeners[t]=o=[]),a=o.length;--a>-1;)(n=o[a]).c===e&&n.s===i?o.splice(a,1):0===_&&n.pr<r&&(_=a+1);o.splice(_,0,{c:e,s:i,up:s,pr:r})},o.removeEventListener=function(t,e){var i,s=this._listeners[t];if(s)for(i=s.length;--i>-1;)if(s[i].c===e)return void s.splice(i,1)},o.dispatchEvent=function(t){var e,i,s,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),i=this._eventTarget;--e>-1;)(s=r[e])&&(s.up?s.c.call(s.s||i,{type:t,target:i}):s.c.call(s.s||i))};var S=t.requestAnimationFrame,A=t.cancelAnimationFrame,R=Date.now||function(){return(new Date).getTime()},C=R();for(a=(n=["ms","moz","webkit","o"]).length;--a>-1&&!S;)S=t[n[a]+"RequestAnimationFrame"],A=t[n[a]+"CancelAnimationFrame"]||t[n[a]+"CancelRequestAnimationFrame"];y("Ticker",function(t,e){var i,r,n,a,o,_=this,u=R(),p=!(!1===e||!S)&&"auto",c=500,f=33,d=function t(e){var s,l,h=R()-C;h>c&&(u+=h-f),C+=h,_.time=(C-u)/1e3,s=_.time-o,(!i||s>0||!0===e)&&(_.frame++,o+=s+(s>=a?.004:a-s),l=!0),!0!==e&&(n=r(t)),l&&_.dispatchEvent("tick")};x.call(_),_.time=_.frame=0,_.tick=function(){d(!0)},_.lagSmoothing=function(t,e){if(!arguments.length)return c<1e8;c=t||1e8,f=Math.min(e,c,0)},_.sleep=function(){null!=n&&(p&&A?A(n):clearTimeout(n),r=m,n=null,_===l&&(h=!1))},_.wake=function(t){null!==n?_.sleep():t?u+=-C+(C=R()):_.frame>10&&(C=R()-c+5),r=0===i?m:p&&S?S:function(t){return setTimeout(t,1e3*(o-_.time)+1|0)},_===l&&(h=!0),d(2)},_.fps=function(t){if(!arguments.length)return i;a=1/((i=t)||60),o=this.time+a,_.wake()},_.useRAF=function(t){if(!arguments.length)return p;_.sleep(),p=t,_.fps(i)},_.fps(t),setTimeout(function(){"auto"===p&&_.frame<5&&"hidden"!==(s||{}).visibilityState&&_.useRAF(!1)},1500)}),(o=c.Ticker.prototype=new c.events.EventDispatcher).constructor=c.Ticker;var D=y("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,V){h||l.wake();var i=this.vars.useFrames?J:V;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});l=D.ticker=new c.Ticker,(o=D.prototype)._dirty=o._gc=o._initted=o._paused=!1,o._totalTime=o._time=0,o._rawPrevTime=-1,o._next=o._last=o._onUpdate=o._timeline=o.timeline=null,o._paused=!1;!function t(){h&&R()-C>2e3&&("hidden"!==(s||{}).visibilityState||!l.lagSmoothing())&&l.wake();var e=setTimeout(t,2e3);e.unref&&e.unref()}(),o.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},o.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},o.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},o.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},o.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},o.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},o.render=function(t,e,i){},o.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},o.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<i+this.totalDuration()/this._timeScale-1e-8},o._enabled=function(t,e){return h||l.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},o._kill=function(t,e){return this._enabled(!1,!1)},o.kill=function(t,e){return this._kill(t,e),this},o._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},o._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},o._callback=function(t){var e=this.vars,i=e[t],s=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(s?s.length:0){case 0:i.call(r);break;case 1:i.call(r,s[0]);break;case 2:i.call(r,s[0],s[1]);break;default:i.apply(r,s)}},o.eventCallback=function(t,e,i,s){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=d(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=s),"onUpdate"===t&&(this._onUpdate=e)}return this},o.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},o.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},o.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},o.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},o.totalTime=function(t,e,i){if(h||l.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var s=this._totalDuration,r=this._timeline;if(t>s&&!i&&(t=s),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?s-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(z.length&&X(),this.render(t,e,!1),z.length&&X())}return this},o.progress=o.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},o.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},o.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},o.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||1e-8,this._timeline&&this._timeline.smoothChildTiming&&(i=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},o.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},o.paused=function(t){if(!arguments.length)return this._paused;var e,i,s=this._timeline;return t!=this._paused&&s&&(h||t||l.wake(),i=(e=s.rawTime())-this._pauseTime,!t&&s.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=s.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var E=y("core.SimpleTimeline",function(t){D.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(o=E.prototype=new D).constructor=E,o.kill()._gc=!1,o._first=o._last=o._recent=null,o._sortChildren=!1,o.add=o.insert=function(t,e,i,s){var r,n;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),r=this._last,this._sortChildren)for(n=t._startTime;r&&r._startTime>n;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},o._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},o.render=function(t,e,i){var s,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)s=r._next,(r._active||t>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=s},o.rawTime=function(){return h||l.wake(),this._totalTime};var I=y("TweenLite",function(e,i,s){if(D.call(this,i,s),this.render=I.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:I.selector(e)||e;var r,n,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?H[I.defaultOverwrite]:"number"==typeof l?l>>0:H[l],(o||e instanceof Array||e.push&&d(e))&&"number"!=typeof e[0])for(this._targets=a=f(e),this._propLookup=[],this._siblings=[],r=0;r<a.length;r++)(n=a[r])?"string"!=typeof n?n.length&&n!==t&&n[0]&&(n[0]===t||n[0].nodeType&&n[0].style&&!n.nodeType)?(a.splice(r--,1),this._targets=a=a.concat(f(n))):(this._siblings[r]=Y(n,this,!1),1===l&&this._siblings[r].length>1&&tt(n,this,null,1,this._siblings[r])):"string"==typeof(n=a[r--]=I.selector(n))&&a.splice(r+1,1):a.splice(r--,1);else this._propLookup={},this._siblings=Y(e,this,!1),1===l&&this._siblings.length>1&&tt(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-8,this.render(Math.min(0,-this._delay)))},!0),O=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(o=I.prototype=new D).constructor=I,o.kill()._gc=!1,o.ratio=0,o._firstPT=o._targets=o._overwrittenProps=o._startAt=null,o._notifyPluginsOfEnabled=o._lazy=!1,I.version="2.1.3",I.defaultEase=o._ease=new P(null,null,1,1),I.defaultOverwrite="auto",I.ticker=l,I.autoSleep=120,I.lagSmoothing=function(t,e){l.lagSmoothing(t,e)},I.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(I.selector=i,i(e)):(s||(s=t.document),s?s.querySelectorAll?s.querySelectorAll(e):s.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var z=[],F={},L=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,U=/[\+-]=-?[\.\d]/,N=function(t){for(var e,i=this._firstPT;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):e<1e-6&&e>-1e-6&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},j=function(t){return(1e3*t|0)/1e3+""},G=function(t,e,i,s){var r,n,a,o,l,h,_,u=[],p=0,c="",f=0;for(u.start=t,u.end=e,t=u[0]=t+"",e=u[1]=e+"",i&&(i(u),t=u[0],e=u[1]),u.length=0,r=t.match(L)||[],n=e.match(L)||[],s&&(s._next=null,s.blob=1,u._firstPT=u._applyPT=s),l=n.length,o=0;o<l;o++)_=n[o],c+=(h=e.substr(p,e.indexOf(_,p)-p))||!o?h:",",p+=h.length,f?f=(f+1)%5:"rgba("===h.substr(-5)&&(f=1),_===r[o]||r.length<=o?c+=_:(c&&(u.push(c),c=""),a=parseFloat(r[o]),u.push(a),u._firstPT={_next:u._firstPT,t:u,p:u.length-1,s:a,c:("="===_.charAt(1)?parseInt(_.charAt(0)+"1",10)*parseFloat(_.substr(2)):parseFloat(_)-a)||0,f:0,m:f&&f<4?Math.round:j}),p+=_.length;return(c+=e.substr(p))&&u.push(c),u.setRatio=N,U.test(e)&&(u.end=null),u},Q=function(t,i,s,r,n,a,o,l,h){"function"==typeof r&&(r=r(h||0,t));var _=e(t[i]),u="function"!==_?"":i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3),p="get"!==s?s:u?o?t[u](o):t[u]():t[i],c="string"==typeof r&&"="===r.charAt(1),f={t:t,p:i,s:p,f:"function"===_,pg:0,n:n||i,m:a?"function"==typeof a?a:Math.round:0,pr:0,c:c?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-p||0};if(("number"!=typeof p||"number"!=typeof r&&!c)&&(o||isNaN(p)||!c&&isNaN(r)||"boolean"==typeof p||"boolean"==typeof r?(f.fp=o,f={t:G(p,c?parseFloat(f.s)+f.c+(f.s+"").replace(/[0-9\-\.]/g,""):r,l||I.defaultStringFilter,f),p:"setRatio",s:0,c:1,f:2,pg:0,n:n||i,pr:0,m:0}):(f.s=parseFloat(p),c||(f.c=parseFloat(r)-f.s||0))),f.c)return(f._next=this._firstPT)&&(f._next._prev=f),this._firstPT=f,f},q=I._internals={isArray:d,isSelector:O,lazyTweens:z,blobDif:G},B=I._plugins={},M=q.tweenLookup={},$=0,K=q.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},H={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},J=D._rootFramesTimeline=new E,V=D._rootTimeline=new E,W=30,X=q.lazyRender=function(){var t,e,i=z.length;for(F={},t=0;t<i;t++)(e=z[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);z.length=0};V._startTime=l.time,J._startTime=l.frame,V._active=J._active=!0,setTimeout(X,1),D._updateRoot=I.render=function(){var t,e,i;if(z.length&&X(),V.render((l.time-V._startTime)*V._timeScale,!1,!1),J.render((l.frame-J._startTime)*J._timeScale,!1,!1),z.length&&X(),l.frame>=W){for(i in W=l.frame+(parseInt(I.autoSleep,10)||120),M){for(t=(e=M[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete M[i]}if((!(i=V._first)||i._paused)&&I.autoSleep&&!J._first&&1===l._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||l.sleep()}}},l.addEventListener("tick",D._updateRoot);var Y=function(t,e,i){var s,r,n=t._gsTweenID;if(M[n||(t._gsTweenID=n="t"+$++)]||(M[n]={target:t,tweens:[]}),e&&((s=M[n].tweens)[r=s.length]=e,i))for(;--r>-1;)s[r]===e&&s.splice(r,1);return M[n].tweens},Z=function(t,e,i,s){var r,n,a=t.vars.onOverwrite;return a&&(r=a(t,e,i,s)),(a=I.onOverwrite)&&(n=a(t,e,i,s)),!1!==r&&!1!==n},tt=function(t,e,i,s,r){var n,a,o,l;if(1===s||s>=4){for(l=r.length,n=0;n<l;n++)if((o=r[n])!==e)o._gc||o._kill(null,t,e)&&(a=!0);else if(5===s)break;return a}var h,_=e._startTime+1e-8,u=[],p=0,c=0===e._duration;for(n=r.length;--n>-1;)(o=r[n])===e||o._gc||o._paused||(o._timeline!==e._timeline?(h=h||et(e,0,c),0===et(o,h,c)&&(u[p++]=o)):o._startTime<=_&&o._startTime+o.totalDuration()/o._timeScale>_&&((c||!o._initted)&&_-o._startTime<=2e-8||(u[p++]=o)));for(n=p;--n>-1;)if(l=(o=u[n])._firstPT,2===s&&o._kill(i,t,e)&&(a=!0),2!==s||!o._firstPT&&o._initted&&l){if(2!==s&&!Z(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},et=function(t,e,i){for(var s=t._timeline,r=s._timeScale,n=t._startTime;s._timeline;){if(n+=s._startTime,r*=s._timeScale,s._paused)return-100;s=s._timeline}return(n/=r)>e?n-e:i&&n===e||!t._initted&&n-e<2e-8?1e-8:(n+=t.totalDuration()/t._timeScale/r)>e+1e-8?0:n-e-1e-8};o._init=function(){var t,e,i,s,r,n,a=this.vars,o=this._overwrittenProps,l=this._duration,h=!!a.immediateRender,_=a.ease,u=this._startAt;if(a.startAt){for(s in u&&(u.render(-1,!0),u.kill()),r={},a.startAt)r[s]=a.startAt[s];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=h&&!1!==a.lazy,r.startAt=r.delay=null,r.onUpdate=a.onUpdate,r.onUpdateParams=a.onUpdateParams,r.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=I.to(this.target||{},0,r),h)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(a.runBackwards&&0!==l)if(u)u.render(-1,!0),u.kill(),this._startAt=null;else{for(s in 0!==this._time&&(h=!1),i={},a)K[s]&&"autoCSS"!==s||(i[s]=a[s]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==a.lazy,i.immediateRender=h,this._startAt=I.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=_=_?_ instanceof P?_:"function"==typeof _?new P(_,a.easeParams):b[_]||I.defaultEase:I.defaultEase,a.easeParams instanceof Array&&_.config&&(this._ease=_.config.apply(_,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(n=this._targets.length,t=0;t<n;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],o?o[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,o,0);if(e&&I._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=a.onUpdate,this._initted=!0},o._initProps=function(e,i,s,r,n){var a,o,l,h,_,u;if(null==e)return!1;for(a in F[e._gsTweenID]&&X(),this.vars.css||e.style&&e!==t&&e.nodeType&&B.css&&!1!==this.vars.autoCSS&&function(t,e){var i,s={};for(i in t)K[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!B[i]||B[i]&&B[i]._autoCSS)||(s[i]=t[i],delete t[i]);t.css=s}(this.vars,e),this.vars)if(u=this.vars[a],K[a])u&&(u instanceof Array||u.push&&d(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[a]=u=this._swapSelfInParams(u,this));else if(B[a]&&(h=new B[a])._onInitTween(e,this.vars[a],this,n)){for(this._firstPT=_={_next:this._firstPT,t:h,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:h._priority,m:0},o=h._overwriteProps.length;--o>-1;)i[h._overwriteProps[o]]=this._firstPT;(h._priority||h._onInitAllProps)&&(l=!0),(h._onDisable||h._onEnable)&&(this._notifyPluginsOfEnabled=!0),_._next&&(_._next._prev=_)}else i[a]=Q.call(this,e,a,"get",u,a,0,null,this.vars.stringFilter,n);return r&&this._kill(r,e)?this._initProps(e,i,s,r,n):this._overwrite>1&&this._firstPT&&s.length>1&&tt(e,this,i,this._overwrite,s)?(this._kill(i,e),this._initProps(e,i,s,r,n)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(F[e._gsTweenID]=!0),l)},o.render=function(t,e,i){var s,r,n,a,o=this._time,l=this._duration,h=this._rawPrevTime;if(t>=l-1e-8&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(s=!0,r="onComplete",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(h<0||t<=0&&t>=-1e-8||1e-8===h&&"isPause"!==this.data)&&h!==t&&(i=!0,h>1e-8&&(r="onReverseComplete")),this._rawPrevTime=a=!e||t||h===t?t:1e-8);else if(t<1e-8)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===l&&h>0)&&(r="onReverseComplete",s=this._reversed),t>-1e-8?t=0:t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(h>=0&&(1e-8!==h||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!e||t||h===t?t:1e-8)),(!this._initted||this._startAt&&this._startAt.progress())&&(i=!0);else if(this._totalTime=this._time=t,this._easeType){var _=t/l,u=this._easeType,p=this._easePower;(1===u||3===u&&_>=.5)&&(_=1-_),3===u&&(_*=2),1===p?_*=_:2===p?_*=_*_:3===p?_*=_*_*_:4===p&&(_*=_*_*_*_),this.ratio=1===u?1-_:2===u?_:t/l<.5?_/2:1-_/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==o||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=o,this._rawPrevTime=h,z.push(this),void(this._lazy=[t,e]);this._time&&!s?this.ratio=this._ease.getRatio(this._time/l):s&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==o&&t>=0&&(this._active=!0),0===o&&(this._startAt&&(t>=0?this._startAt.render(t,!0,i):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==l||e||this._callback("onStart"))),n=this._firstPT;n;)n.f?n.t[n.p](n.c*this.ratio+n.s):n.t[n.p]=n.c*this.ratio+n.s,n=n._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,i),e||(this._time!==o||s||i)&&this._callback("onUpdate")),r&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,i),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&1e-8===this._rawPrevTime&&1e-8!==a&&(this._rawPrevTime=0)))}},o._kill=function(t,i,s){if("all"===t&&(t=null),null==t&&(null==i||i===this.target))return this._lazy=!1,this._enabled(!1,!1);i="string"!=typeof i?i||this._targets||this.target:I.selector(i)||i;var r,n,a,o,l,h,_,u,p,c=s&&this._time&&s._startTime===this._startTime&&this._timeline===s._timeline,f=this._firstPT;if((d(i)||O(i))&&"number"!=typeof i[0])for(r=i.length;--r>-1;)this._kill(t,i[r],s)&&(h=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(i===this._targets[r]){l=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(i!==this.target)return!1;l=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(l){if(_=t||l,u=t!==n&&"all"!==n&&t!==l&&("object"!==e(t)||!t._tempKill),s&&(I.onOverwrite||this.vars.onOverwrite)){for(a in _)l[a]&&(p||(p=[]),p.push(a));if((p||!t)&&!Z(this,s,i,p))return!1}for(a in _)(o=l[a])&&(c&&(o.f?o.t[o.p](o.s):o.t[o.p]=o.s,h=!0),o.pg&&o.t._kill(_)&&(h=!0),o.pg&&0!==o.t._overwriteProps.length||(o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null),delete l[a]),u&&(n[a]=1);!this._firstPT&&this._initted&&f&&this._enabled(!1,!1)}}return h},o.invalidate=function(){this._notifyPluginsOfEnabled&&I._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],D.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-8,this.render(t,!1,!1!==this.vars.lazy)),this},o._enabled=function(t,e){if(h||l.wake(),t&&this._gc){var i,s=this._targets;if(s)for(i=s.length;--i>-1;)this._siblings[i]=Y(s[i],this,!0);else this._siblings=Y(this.target,this,!0)}return D.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&I._onPluginEvent(t?"_onEnable":"_onDisable",this)},I.to=function(t,e,i){return new I(t,e,i)},I.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new I(t,e,i)},I.fromTo=function(t,e,i,s){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,new I(t,e,s)},I.delayedCall=function(t,e,i,s,r){return new I(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:s,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},I.set=function(t,e){return new I(t,0,e)},I.getTweensOf=function(t,e){if(null==t)return[];var i,s,r,n;if(t="string"!=typeof t?t:I.selector(t)||t,(d(t)||O(t))&&"number"!=typeof t[0]){for(i=t.length,s=[];--i>-1;)s=s.concat(I.getTweensOf(t[i],e));for(i=s.length;--i>-1;)for(n=s[i],r=i;--r>-1;)n===s[r]&&s.splice(i,1)}else if(t._gsTweenID)for(i=(s=Y(t).concat()).length;--i>-1;)(s[i]._gc||e&&!s[i].isActive())&&s.splice(i,1);return s||[]},I.killTweensOf=I.killDelayedCallsTo=function(t,i,s){"object"===e(i)&&(s=i,i=!1);for(var r=I.getTweensOf(t,i),n=r.length;--n>-1;)r[n]._kill(s,t)};var it=y("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=it.prototype},!0);if(o=it.prototype,it.version="1.19.0",it.API=2,o._firstPT=null,o._addTween=Q,o.setRatio=N,o._kill=function(t){var e,i=this._overwriteProps,s=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;s;)null!=t[s.n]&&(s._next&&(s._next._prev=s._prev),s._prev?(s._prev._next=s._next,s._prev=null):this._firstPT===s&&(this._firstPT=s._next)),s=s._next;return!1},o._mod=o._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},I._onPluginEvent=function(t,e){var i,s,r,n,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,s=r;s&&s.pr>o.pr;)s=s._next;(o._prev=s?s._prev:n)?o._prev._next=o:r=o,(o._next=s)?s._prev=o:n=o,o=a}o=e._firstPT=r}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},it.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===it.API&&(B[(new t[e])._propName]=t[e]);return!0},T.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,s=t.priority||0,r=t.overwriteProps,n={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=y("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){it.call(this,i,s),this._overwriteProps=r||[]},!0===t.global),o=a.prototype=new it(i);for(e in o.constructor=a,a.API=t.API,n)"function"==typeof t[e]&&(o[n[e]]=t[e]);return a.version=t.version,it.activate([a]),a},n=t._gsQueue){for(a=0;a<n.length;a++)n[a]();for(o in v)v[o].func||t.console.log("GSAP encountered missing dependency: "+o)}return h=!1,I}(i);exports.default=exports.TweenLite=s;var r=i.GreenSockGlobals;exports.globals=r;var n=r.com.greensock,a=n.core.SimpleTimeline;exports.SimpleTimeline=a;var o=n.core.Animation;exports.Animation=o;var l=r.Ease;exports.Ease=l;var h=r.Linear;exports.Linear=h;var _=h;exports.Power0=_;var u=r.Power1;exports.Power1=u;var p=r.Power2;exports.Power2=p;var c=r.Power3;exports.Power3=c;var f=r.Power4;exports.Power4=f;var m=r.TweenPlugin;exports.TweenPlugin=m;var d=n.events.EventDispatcher;exports.EventDispatcher=d; },{}],"tBUL":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"TweenLite",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,"Ease",{enumerable:!0,get:function(){return t.Ease}}),Object.defineProperty(exports,"Power0",{enumerable:!0,get:function(){return t.Power0}}),Object.defineProperty(exports,"Power1",{enumerable:!0,get:function(){return t.Power1}}),Object.defineProperty(exports,"Power2",{enumerable:!0,get:function(){return t.Power2}}),Object.defineProperty(exports,"Power3",{enumerable:!0,get:function(){return t.Power3}}),Object.defineProperty(exports,"Power4",{enumerable:!0,get:function(){return t.Power4}}),Object.defineProperty(exports,"Linear",{enumerable:!0,get:function(){return t.Linear}}),exports.TweenMaxBase=exports.default=exports.TweenMax=void 0;var t=e(require("./TweenLite.js"));function e(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,i):{};r.get||r.set?Object.defineProperty(e,i,r):e[i]=t[i]}return e.default=t,e}function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t._gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var e=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},r=function(t,e,i){var r,s,a=t.cycle;for(r in a)s=a[r],t[r]="function"==typeof s?s(i,e[i],e):s[i%s.length];delete t.cycle},s=function(t){if("function"==typeof t)return t;var e="object"===i(t)?t:{each:t},r=e.ease,s=e.from||0,a=e.base||0,n={},o=isNaN(s),h=e.axis,l={center:.5,end:1}[s]||0;return function(t,i,_){var c,u,m,d,f,y,p,g,v,T=(_||e).length,b=n[T];if(!b){if(!(v="auto"===e.grid?0:(e.grid||[1/0])[0])){for(p=-1/0;p<(p=_[v++].getBoundingClientRect().left)&&v<T;);v--}for(b=n[T]=[],c=o?Math.min(v,T)*l-.5:s%v,u=o?T*l/v-.5:s/v|0,p=0,g=1/0,y=0;y<T;y++)m=y%v-c,d=u-(y/v|0),b[y]=f=h?Math.abs("y"===h?d:m):Math.sqrt(m*m+d*d),f>p&&(p=f),f<g&&(g=f);b.max=p-g,b.min=g,b.v=T=e.amount||e.each*(v>T?T-1:h?"y"===h?T/v:v:Math.max(v,T/v))||0,b.b=T<0?a-T:a}return T=(b[t]-b.min)/b.max,b.b+(r?r.getRatio(T):T)*b.v}},a=function e(i,r,s){t.default.call(this,i,r,s),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=e.prototype.render},n=t.default._internals,o=n.isSelector,h=n.isArray,l=a.prototype=t.default.to({},.1,{}),_=[];a.version="2.1.3",l.constructor=a,l.kill()._gc=!1,a.killTweensOf=a.killDelayedCallsTo=t.default.killTweensOf,a.getTweensOf=t.default.getTweensOf,a.lagSmoothing=t.default.lagSmoothing,a.ticker=t.default.ticker,a.render=t.default.render,a.distribute=s,l.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),t.default.prototype.invalidate.call(this)},l.updateTo=function(e,i){var r,s=this.ratio,a=this.vars.immediateRender||e.immediateRender;for(r in i&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay)),e)this.vars[r]=e[r];if(this._initted||a)if(i)this._initted=!1,a&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&t.default._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var n=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(n,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||a)for(var o,h=1/(1-s),l=this._firstPT;l;)o=l.s+l.c,l.c*=h,l.s=o-l.c,l=l._next;return this},l.render=function(e,i,r){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var s,a,o,h,l,_,c,u,m,d=this._dirty?this.totalDuration():this._totalDuration,f=this._time,y=this._totalTime,p=this._cycle,g=this._duration,v=this._rawPrevTime;if(e>=d-1e-8&&e>=0?(this._totalTime=d,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=g,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(s=!0,a="onComplete",r=r||this._timeline.autoRemoveChildren),0===g&&(this._initted||!this.vars.lazy||r)&&(this._startTime===this._timeline._duration&&(e=0),(v<0||e<=0&&e>=-1e-8||1e-8===v&&"isPause"!==this.data)&&v!==e&&(r=!0,v>1e-8&&(a="onReverseComplete")),this._rawPrevTime=u=!i||e||v===e?e:1e-8)):e<1e-8?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==y||0===g&&v>0)&&(a="onReverseComplete",s=this._reversed),e>-1e-8?e=0:e<0&&(this._active=!1,0===g&&(this._initted||!this.vars.lazy||r)&&(v>=0&&(r=!0),this._rawPrevTime=u=!i||e||v===e?e:1e-8)),this._initted||(r=!0)):(this._totalTime=this._time=e,0!==this._repeat&&(h=g+this._repeatDelay,this._cycle=this._totalTime/h>>0,0!==this._cycle&&this._cycle===this._totalTime/h&&y<=e&&this._cycle--,this._time=this._totalTime-this._cycle*h,this._yoyo&&0!=(1&this._cycle)&&(this._time=g-this._time,(m=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==m||this._initted?this._yoyoEase=m=!0===m?this._ease:m instanceof t.Ease?m:t.Ease.map[m]:(m=this.vars.ease,this._yoyoEase=m=m?m instanceof t.Ease?m:"function"==typeof m?new t.Ease(m,this.vars.easeParams):t.Ease.map[m]||t.default.defaultEase:t.default.defaultEase)),this.ratio=m?1-m.getRatio((g-this._time)/g):0)),this._time>g?this._time=g:this._time<0&&(this._time=0)),this._easeType&&!m?(l=this._time/g,(1===(_=this._easeType)||3===_&&l>=.5)&&(l=1-l),3===_&&(l*=2),1===(c=this._easePower)?l*=l:2===c?l*=l*l:3===c?l*=l*l*l:4===c&&(l*=l*l*l*l),this.ratio=1===_?1-l:2===_?l:this._time/g<.5?l/2:1-l/2):m||(this.ratio=this._ease.getRatio(this._time/g))),f!==this._time||r||p!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!r&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=f,this._totalTime=y,this._rawPrevTime=v,this._cycle=p,n.lazyTweens.push(this),void(this._lazy=[e,i]);!this._time||s||m?s&&this._ease._calcEnd&&!m&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/g)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==f&&e>=0&&(this._active=!0),0===y&&(2===this._initted&&e>0&&this._init(),this._startAt&&(e>=0?this._startAt.render(e,!0,r):a||(a="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==g||i||this._callback("onStart"))),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(e<0&&this._startAt&&this._startTime&&this._startAt.render(e,!0,r),i||(this._totalTime!==y||a)&&this._callback("onUpdate")),this._cycle!==p&&(i||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),a&&(this._gc&&!r||(e<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(e,!0,r),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!i&&this.vars[a]&&this._callback(a),0===g&&1e-8===this._rawPrevTime&&1e-8!==u&&(this._rawPrevTime=0)))}else y!==this._totalTime&&this._onUpdate&&(i||this._callback("onUpdate"))},a.to=function(t,e,i){return new a(t,e,i)},a.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new a(t,e,i)},a.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new a(t,e,r)},a.staggerTo=a.allTo=function(i,n,l,c,u,m,d){var f,y,p,g,v=[],T=s(l.stagger||c),b=l.cycle,w=(l.startAt||_).cycle;for(h(i)||("string"==typeof i&&(i=t.default.selector(i)||i),o(i)&&(i=e(i))),f=(i=i||[]).length-1,p=0;p<=f;p++){for(g in y={},l)y[g]=l[g];if(b&&(r(y,i,p),null!=y.duration&&(n=y.duration,delete y.duration)),w){for(g in w=y.startAt={},l.startAt)w[g]=l.startAt[g];r(y.startAt,i,p)}y.delay=T(p,i[p],i)+(y.delay||0),p===f&&u&&(y.onComplete=function(){l.onComplete&&l.onComplete.apply(l.onCompleteScope||this,arguments),u.apply(d||l.callbackScope||this,m||_)}),v[p]=new a(i[p],n,y)}return v},a.staggerFrom=a.allFrom=function(t,e,i,r,s,n,o){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,a.staggerTo(t,e,i,r,s,n,o)},a.staggerFromTo=a.allFromTo=function(t,e,i,r,s,n,o,h){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,a.staggerTo(t,e,r,s,n,o,h)},a.delayedCall=function(t,e,i,r,s){return new a(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:s,overwrite:0})},a.set=function(t,e){return new a(t,0,e)},a.isTweening=function(e){return t.default.getTweensOf(e,!0).length>0};var c=function e(i,r){for(var s=[],a=0,n=i._first;n;)n instanceof t.default?s[a++]=n:(r&&(s[a++]=n),a=(s=s.concat(e(n,r))).length),n=n._next;return s},u=a.getAllTweens=function(e){return c(t.Animation._rootTimeline,e).concat(c(t.Animation._rootFramesTimeline,e))};a.killAll=function(e,i,r,s){null==i&&(i=!0),null==r&&(r=!0);var a,n,o,h=u(0!=s),l=h.length,_=i&&r&&s;for(o=0;o<l;o++)n=h[o],(_||n instanceof t.SimpleTimeline||(a=n.target===n.vars.onComplete)&&r||i&&!a)&&(e?n.totalTime(n._reversed?0:n.totalDuration()):n._enabled(!1,!1))},a.killChildTweensOf=function(i,r){if(null!=i){var s,l,_,c,u,m=n.tweenLookup;if("string"==typeof i&&(i=t.default.selector(i)||i),o(i)&&(i=e(i)),h(i))for(c=i.length;--c>-1;)a.killChildTweensOf(i[c],r);else{for(_ in s=[],m)for(l=m[_].target.parentNode;l;)l===i&&(s=s.concat(m[_].tweens)),l=l.parentNode;for(u=s.length,c=0;c<u;c++)r&&s[c].totalTime(s[c].totalDuration()),s[c]._enabled(!1,!1)}}};var m=function(e,i,r,s){i=!1!==i,r=!1!==r;for(var a,n,o=u(s=!1!==s),h=i&&r&&s,l=o.length;--l>-1;)n=o[l],(h||n instanceof t.SimpleTimeline||(a=n.target===n.vars.onComplete)&&r||i&&!a)&&n.paused(e)};return a.pauseAll=function(t,e,i){m(!0,t,e,i)},a.resumeAll=function(t,e,i){m(!1,t,e,i)},a.globalTimeScale=function(e){var i=t.Animation._rootTimeline,r=t.default.ticker.time;return arguments.length?(e=e||1e-8,i._startTime=r-(r-i._startTime)*i._timeScale/e,i=t.Animation._rootFramesTimeline,r=t.default.ticker.frame,i._startTime=r-(r-i._startTime)*i._timeScale/e,i._timeScale=t.Animation._rootTimeline._timeScale=e,e):i._timeScale},l.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this.duration()?this._time/this._duration:this.ratio},l.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},l.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,r=this._cycle,s=r*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+s:this._repeat?t+s:t,e)},l.duration=function(e){return arguments.length?t.Animation.prototype.duration.call(this,e):this._duration},l.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},a},!0);var r=t.globals.TweenMax;exports.default=exports.TweenMax=r;var s=r;exports.TweenMaxBase=s; },{"./TweenLite.js":"sU2v"}],"KE4Q":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.CSSPlugin=void 0;var t=e(require("./TweenLite.js"));function e(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};i.get||i.set?Object.defineProperty(e,r,i):e[r]=t[r]}return e.default=t,e}function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t._gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(){var e,i,s,n,a=function e(){t.TweenPlugin.call(this,"css"),this._overwriteProps.length=0,this.setRatio=e.prototype.setRatio},o=t._gsScope._gsDefine.globals,l={},f=a.prototype=new t.TweenPlugin("css");f.constructor=a,a.version="2.1.3",a.API=2,a.defaultTransformPerspective=0,a.defaultSkewType="compensated",a.defaultSmoothOrigin=!0,a.suffixMap={top:f="px",right:f,bottom:f,left:f,width:f,height:f,fontSize:f,padding:f,margin:f,perspective:f,lineHeight:""};var p,h,c,u,x,d,g,y,m=/(?:\-|\.|\b)(\d|\.|e\-)+/g,b=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,v=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,O=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,_=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,w=/(?:\d|\-|\+|=|#|\.)*/g,P=/opacity *= *([^)]*)/i,T=/opacity:([^;]*)/i,M=/alpha\(opacity *=.+?\)/i,S=/^(rgb|hsl)/,X=/([A-Z])/g,k=/-([a-z])/gi,F=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,A=function(t,e){return e.toUpperCase()},R=/(?:Left|Right|Width)/i,C=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,Y=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,z=/,(?=[^\)]*(?:\(|$))/gi,N=/[\s,\(]/i,j=Math.PI/180,B=180/Math.PI,V={},L={style:{}},I=t._gsScope.document||{createElement:function(){return L}},D=function(t,e){var r=I.createElementNS?I.createElementNS(e||"path_to_url",t):I.createElement(t);return r.style?r:I.createElement(t)},W=D("div"),E=D("img"),Z=a._internals={_specialProps:l},H=(t._gsScope.navigator||{}).userAgent||"",q=function(){var t=H.indexOf("Android"),e=D("a");return c=-1!==H.indexOf("Safari")&&-1===H.indexOf("Chrome")&&(-1===t||parseFloat(H.substr(t+8,2))>3),x=c&&parseFloat(H.substr(H.indexOf("Version/")+8,2))<6,u=-1!==H.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(H)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(H))&&(d=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),$=function(t){return P.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},G=function(e){t._gsScope.console&&console.log(e)},U="",J="",K=function(t,e){var r,i,s=(e=e||W).style;if(void 0!==s[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),r=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===s[r[i]+t];);return i>=0?(U="-"+(J=3===i?"ms":r[i]).toLowerCase()+"-",J+t):null},Q="undefined"!=typeof window?window:I.defaultView||{getComputedStyle:function(){}},tt=function(t){return Q.getComputedStyle(t)},et=a.getStyle=function(t,e,r,i,s){var n;return q||"opacity"!==e?(!i&&t.style[e]?n=t.style[e]:(r=r||tt(t))?n=r[e]||r.getPropertyValue(e)||r.getPropertyValue(e.replace(X,"-$1").toLowerCase()):t.currentStyle&&(n=t.currentStyle[e]),null==s||n&&"none"!==n&&"auto"!==n&&"auto auto"!==n?n:s):$(t)},rt=Z.convertToPixels=function(e,r,i,s,n){if("px"===s||!s&&"lineHeight"!==r)return i;if("auto"===s||!i)return 0;var o,l,f,p=R.test(r),h=e,c=W.style,u=i<0,x=1===i;if(u&&(i=-i),x&&(i*=100),"lineHeight"!==r||s)if("%"===s&&-1!==r.indexOf("border"))o=i/100*(p?e.clientWidth:e.clientHeight);else{if(c.cssText="border:0 solid red;position:"+et(e,"position")+";line-height:0;","%"!==s&&h.appendChild&&"v"!==s.charAt(0)&&"rem"!==s)c[p?"borderLeftWidth":"borderTopWidth"]=i+s;else{if(h=e.parentNode||I.body,-1!==et(h,"display").indexOf("flex")&&(c.position="absolute"),l=h._gsCache,f=t.default.ticker.frame,l&&p&&l.time===f)return l.width*i/100;c[p?"width":"height"]=i+s}h.appendChild(W),o=parseFloat(W[p?"offsetWidth":"offsetHeight"]),h.removeChild(W),p&&"%"===s&&!1!==a.cacheWidths&&((l=h._gsCache=h._gsCache||{}).time=f,l.width=o/i*100),0!==o||n||(o=rt(e,r,i,s,!0))}else l=tt(e).lineHeight,e.style.lineHeight=i,o=parseFloat(tt(e).lineHeight),e.style.lineHeight=l;return x&&(o/=100),u?-o:o},it=Z.calculateOffset=function(t,e,r){if("absolute"!==et(t,"position",r))return 0;var i="left"===e?"Left":"Top",s=et(t,"margin"+i,r);return t["offset"+i]-(rt(t,e,parseFloat(s),s.replace(w,""))||0)},st=function(t,e){var r,i,s,n={};if(e=e||tt(t))if(r=e.length)for(;--r>-1;)-1!==(s=e[r]).indexOf("-transform")&&zt!==s||(n[s.replace(k,A)]=e.getPropertyValue(s));else for(r in e)-1!==r.indexOf("Transform")&&Yt!==r||(n[r]=e[r]);else if(e=t.currentStyle||t.style)for(r in e)"string"==typeof r&&void 0===n[r]&&(n[r.replace(k,A)]=e[r]);return q||(n.opacity=$(t)),i=$t(t,e,!1),n.rotation=i.rotation,n.skewX=i.skewX,n.scaleX=i.scaleX,n.scaleY=i.scaleY,n.x=i.x,n.y=i.y,jt&&(n.z=i.z,n.rotationX=i.rotationX,n.rotationY=i.rotationY,n.scaleZ=i.scaleZ),n.filters&&delete n.filters,n},nt=function(t,e,r,i,s){var n,a,o,l={},f=t.style;for(a in r)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(n=r[a])||s&&s[a])&&-1===a.indexOf("Origin")&&("number"!=typeof n&&"string"!=typeof n||(l[a]="auto"!==n||"left"!==a&&"top"!==a?""!==n&&"auto"!==n&&"none"!==n||"string"!=typeof e[a]||""===e[a].replace(_,"")?n:0:it(t,a),void 0!==f[a]&&(o=new vt(f,a,f[a],o))));if(i)for(a in i)"className"!==a&&(l[a]=i[a]);return{difs:l,firstMPT:o}},at={width:["Left","Right"],height:["Top","Bottom"]},ot=["marginLeft","marginRight","marginTop","marginBottom"],lt=function(t,e,r){if("svg"===(t.nodeName+"").toLowerCase())return(r||tt(t))[e]||0;if(t.getCTM&&Zt(t))return t.getBBox()[e]||0;var i=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),s=at[e],n=s.length;for(r=r||tt(t);--n>-1;)i-=parseFloat(et(t,"padding"+s[n],r,!0))||0,i-=parseFloat(et(t,"border"+s[n]+"Width",r,!0))||0;return i},ft=function t(e,r){if("contain"===e||"auto"===e||"auto auto"===e)return e+" ";null!=e&&""!==e||(e="0 0");var i,s=e.split(" "),n=-1!==e.indexOf("left")?"0%":-1!==e.indexOf("right")?"100%":s[0],a=-1!==e.indexOf("top")?"0%":-1!==e.indexOf("bottom")?"100%":s[1];if(s.length>3&&!r){for(s=e.split(", ").join(",").split(","),e=[],i=0;i<s.length;i++)e.push(t(s[i]));return e.join(",")}return null==a?a="center"===n?"50%":"0":"center"===a&&(a="50%"),("center"===n||isNaN(parseFloat(n))&&-1===(n+"").indexOf("="))&&(n="50%"),e=n+" "+a+(s.length>2?" "+s[2]:""),r&&(r.oxp=-1!==n.indexOf("%"),r.oyp=-1!==a.indexOf("%"),r.oxr="="===n.charAt(1),r.oyr="="===a.charAt(1),r.ox=parseFloat(n.replace(_,"")),r.oy=parseFloat(a.replace(_,"")),r.v=e),r||e},pt=function(t,e){return"function"==typeof t&&(t=t(y,g)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ht=function(t,e){"function"==typeof t&&(t=t(y,g));var r="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(r?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(r?t.substr(2):t)/100)),null==t?e:r?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ct=function(t,e,r,i){var s,n,a,o;return"function"==typeof t&&(t=t(y,g)),null==t?a=e:"number"==typeof t?a=t:(360,s=t.split("_"),n=((o="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:B)-(o?0:e),s.length&&(i&&(i[r]=e+n),-1!==t.indexOf("short")&&(n%=360)!==n%180&&(n=n<0?n+360:n-360),-1!==t.indexOf("_cw")&&n<0?n=(n+3599999999640)%360-360*(n/360|0):-1!==t.indexOf("ccw")&&n>0&&(n=(n-3599999999640)%360-360*(n/360|0))),a=e+n),a<1e-6&&a>-1e-6&&(a=0),a},ut={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},xt=function(t,e,r){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)+.5|0},dt=a.parseColor=function(t,e){var r,i,s,n,a,o,l,f,p,h,c;if(t)if("number"==typeof t)r=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ut[t])r=ut[t];else if("#"===t.charAt(0))4===t.length&&(i=t.charAt(1),s=t.charAt(2),n=t.charAt(3),t="#"+i+i+s+s+n+n),r=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(r=c=t.match(m),e){if(-1!==t.indexOf("="))return t.match(b)}else a=Number(r[0])%360/360,o=Number(r[1])/100,i=2*(l=Number(r[2])/100)-(s=l<=.5?l*(o+1):l+o-l*o),r.length>3&&(r[3]=Number(r[3])),r[0]=xt(a+1/3,i,s),r[1]=xt(a,i,s),r[2]=xt(a-1/3,i,s);else r=t.match(m)||ut.transparent;r[0]=Number(r[0]),r[1]=Number(r[1]),r[2]=Number(r[2]),r.length>3&&(r[3]=Number(r[3]))}else r=ut.black;return e&&!c&&(i=r[0]/255,s=r[1]/255,n=r[2]/255,l=((f=Math.max(i,s,n))+(p=Math.min(i,s,n)))/2,f===p?a=o=0:(h=f-p,o=l>.5?h/(2-f-p):h/(f+p),a=f===i?(s-n)/h+(s<n?6:0):f===s?(n-i)/h+2:(i-s)/h+4,a*=60),r[0]=a+.5|0,r[1]=100*o+.5|0,r[2]=100*l+.5|0),r},gt=function(t,e){var r,i,s,n=t.match(yt)||[],a=0,o="";if(!n.length)return t;for(r=0;r<n.length;r++)i=n[r],a+=(s=t.substr(a,t.indexOf(i,a)-a)).length+i.length,3===(i=dt(i,e)).length&&i.push(1),o+=s+(e?"hsla("+i[0]+","+i[1]+"%,"+i[2]+"%,"+i[3]:"rgba("+i.join(","))+")";return o+t.substr(a)},yt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(f in ut)yt+="|"+f+"\\b";yt=new RegExp(yt+")","gi"),a.colorStringFilter=function(t){var e,r=t[0]+" "+t[1];yt.test(r)&&(e=-1!==r.indexOf("hsl(")||-1!==r.indexOf("hsla("),t[0]=gt(t[0],e),t[1]=gt(t[1],e)),yt.lastIndex=0},t.default.defaultStringFilter||(t.default.defaultStringFilter=a.colorStringFilter);var mt=function(t,e,r,i){if(null==t)return function(t){return t};var s,n=e?(t.match(yt)||[""])[0]:"",a=t.split(n).join("").match(v)||[],o=t.substr(0,t.indexOf(a[0])),l=")"===t.charAt(t.length-1)?")":"",f=-1!==t.indexOf(" ")?" ":",",p=a.length,h=p>0?a[0].replace(m,""):"";return p?s=e?function(t){var e,c,u,x;if("number"==typeof t)t+=h;else if(i&&z.test(t)){for(x=t.replace(z,"|").split("|"),u=0;u<x.length;u++)x[u]=s(x[u]);return x.join(",")}if(e=(t.match(yt)||[n])[0],u=(c=t.split(e).join("").match(v)||[]).length,p>u--)for(;++u<p;)c[u]=r?c[(u-1)/2|0]:a[u];return o+c.join(f)+f+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,n,c;if("number"==typeof t)t+=h;else if(i&&z.test(t)){for(n=t.replace(z,"|").split("|"),c=0;c<n.length;c++)n[c]=s(n[c]);return n.join(",")}if(c=(e=t.match(","===f?v:O)||[]).length,p>c--)for(;++c<p;)e[c]=r?e[(c-1)/2|0]:a[c];return(o&&"none"!==t&&t.substr(0,t.indexOf(e[0]))||o)+e.join(f)+l}:function(t){return t}},bt=function(t){return t=t.split(","),function(e,r,i,s,n,a,o){var l,f=(r+"").split(" ");for(o={},l=0;l<4;l++)o[t[l]]=f[l]=f[l]||f[(l-1)/2>>0];return s.parse(e,o,n,a)}},vt=(Z._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,r,i,s,n,a=this.data,o=a.proxy,l=a.firstMPT;l;)e=o[l.v],l.r?e=l.r(e):e<1e-6&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod.call(this._tween,o.rotation,this.t,this._tween):o.rotation),1===t||0===t)for(l=a.firstMPT,n=1===t?"e":"b";l;){if((r=l.t).type){if(1===r.type){for(s=r.xs0+r.s+r.xs1,i=1;i<r.l;i++)s+=r["xn"+i]+r["xs"+(i+1)];r[n]=s}}else r[n]=r.s+r.xs0;l=l._next}},function(t,e,r,i,s){this.t=t,this.p=e,this.v=r,this.r=s,i&&(i._prev=this,this._next=i)}),Ot=(Z._parseToProxy=function(t,e,r,i,s,n){var a,o,l,f,p,h=i,c={},u={},x=r._transform,d=V;for(r._transform=null,V=e,i=p=r.parse(t,e,i,s),V=d,n&&(r._transform=x,h&&(h._prev=null,h._prev&&(h._prev._next=null)));i&&i!==h;){if(i.type<=1&&(u[o=i.p]=i.s+i.c,c[o]=i.s,n||(f=new vt(i,"s",o,f,i.r),i.c=0),1===i.type))for(a=i.l;--a>0;)l="xn"+a,u[o=i.p+"_"+l]=i.data[l],c[o]=i[l],n||(f=new vt(i,l,o,f,i.rxp[l]));i=i._next}return{proxy:c,end:u,firstMPT:f,pt:p}},Z.CSSPropTween=function(t,r,i,s,a,o,l,f,p,h,c){this.t=t,this.p=r,this.s=i,this.c=s,this.n=l||r,t instanceof Ot||n.push(this.n),this.r=f?"function"==typeof f?f:Math.round:f,this.type=o||0,p&&(this.pr=p,e=!0),this.b=void 0===h?i:h,this.e=void 0===c?i+s:c,a&&(this._next=a,a._prev=this)}),_t=function(t,e,r,i,s,n){var a=new Ot(t,e,r,i-r,s,-1,n);return a.b=r,a.e=a.xs0=i,a},wt=a.parseComplex=function(t,e,r,i,s,n,o,l,f,h){r=r||n||"","function"==typeof i&&(i=i(y,g)),o=new Ot(t,e,0,0,o,h?2:1,null,!1,l,r,i),i+="",s&&yt.test(i+r)&&(a.colorStringFilter(i=[r,i]),r=i[0],i=i[1]);var c,u,x,d,v,O,_,w,P,T,M,S,X,k=r.split(", ").join(",").split(" "),F=i.split(", ").join(",").split(" "),A=k.length,R=!1!==p;for(-1===i.indexOf(",")&&-1===r.indexOf(",")||(-1!==(i+r).indexOf("rgb")||-1!==(i+r).indexOf("hsl")?(k=k.join(" ").replace(z,", ").split(" "),F=F.join(" ").replace(z,", ").split(" ")):(k=k.join(" ").split(",").join(", ").split(" "),F=F.join(" ").split(",").join(", ").split(" ")),A=k.length),A!==F.length&&(A=(k=(n||"").split(" ")).length),o.plugin=f,o.setRatio=h,yt.lastIndex=0,c=0;c<A;c++)if(d=k[c],v=F[c]+"",(w=parseFloat(d))||0===w)o.appendXtra("",w,pt(v,w),v.replace(b,""),!(!R||-1===v.indexOf("px"))&&Math.round,!0);else if(s&&yt.test(d))S=")"+((S=v.indexOf(")")+1)?v.substr(S):""),X=-1!==v.indexOf("hsl")&&q,T=v,d=dt(d,X),v=dt(v,X),(P=d.length+v.length>6)&&!q&&0===v[3]?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(F[c]).join("transparent")):(q||(P=!1),X?o.appendXtra(T.substr(0,T.indexOf("hsl"))+(P?"hsla(":"hsl("),d[0],pt(v[0],d[0]),",",!1,!0).appendXtra("",d[1],pt(v[1],d[1]),"%,",!1).appendXtra("",d[2],pt(v[2],d[2]),P?"%,":"%"+S,!1):o.appendXtra(T.substr(0,T.indexOf("rgb"))+(P?"rgba(":"rgb("),d[0],v[0]-d[0],",",Math.round,!0).appendXtra("",d[1],v[1]-d[1],",",Math.round).appendXtra("",d[2],v[2]-d[2],P?",":S,Math.round),P&&(d=d.length<4?1:d[3],o.appendXtra("",d,(v.length<4?1:v[3])-d,S,!1))),yt.lastIndex=0;else if(O=d.match(m)){if(!(_=v.match(b))||_.length!==O.length)return o;for(x=0,u=0;u<O.length;u++)M=O[u],T=d.indexOf(M,x),o.appendXtra(d.substr(x,T-x),Number(M),pt(_[u],M),"",!(!R||"px"!==d.substr(T+M.length,2))&&Math.round,0===u),x=T+M.length;o["xs"+o.l]+=d.substr(x)}else o["xs"+o.l]+=o.l||o["xs"+o.l]?" "+v:v;if(-1!==i.indexOf("=")&&o.data){for(S=o.xs0+o.data.s,c=1;c<o.l;c++)S+=o["xs"+c]+o.data["xn"+c];o.e=S+o["xs"+c]}return o.l||(o.type=-1,o.xs0=o.e),o.xfirst||o},Pt=9;for((f=Ot.prototype).l=f.pr=0;--Pt>0;)f["xn"+Pt]=0,f["xs"+Pt]="";f.xs0="",f._next=f._prev=f.xfirst=f.data=f.plugin=f.setRatio=f.rxp=null,f.appendXtra=function(t,e,r,i,s,n){var a=this,o=a.l;return a["xs"+o]+=n&&(o||a["xs"+o])?" "+t:t||"",r||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=i||"",o>0?(a.data["xn"+o]=e+r,a.rxp["xn"+o]=s,a["xn"+o]=e,a.plugin||(a.xfirst=new Ot(a,"xn"+o,e,r,a.xfirst||a,0,a.n,s,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+r},a.rxp={},a.s=e,a.c=r,a.r=s,a)):(a["xs"+o]+=e+(i||""),a)};var Tt=function(t,e){e=e||{},this.p=e.prefix&&K(t)||t,l[t]=l[this.p]=this,this.format=e.formatter||mt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0},Mt=Z._registerComplexSpecialProp=function(t,e,i){"object"!==r(e)&&(e={parser:i});var s,n=t.split(","),a=e.defaultValue;for(i=i||[a],s=0;s<n.length;s++)e.prefix=0===s&&e.prefix,e.defaultValue=i[s]||a,new Tt(n[s],e)},St=Z._registerPluginProp=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Mt(t,{parser:function(t,r,i,s,n,a,f){var p=o.com.greensock.plugins[e];return p?(p._cssRegister(),l[i].parse(t,r,i,s,n,a,f)):(G("Error: "+e+" js file not loaded."),n)}})}};(f=Tt.prototype).parseComplex=function(t,e,r,i,s,n){var a,o,l,f,p,h,c=this.keyword;if(this.multi&&(z.test(r)||z.test(e)?(o=e.replace(z,"|").split("|"),l=r.replace(z,"|").split("|")):c&&(o=[e],l=[r])),l){for(f=l.length>o.length?l.length:o.length,a=0;a<f;a++)e=o[a]=o[a]||this.dflt,r=l[a]=l[a]||this.dflt,c&&(p=e.indexOf(c))!==(h=r.indexOf(c))&&(-1===h?o[a]=o[a].split(c).join(""):-1===p&&(o[a]+=" "+c));e=o.join(", "),r=l.join(", ")}return wt(t,this.p,e,r,this.clrs,this.dflt,i,this.pr,s,n)},f.parse=function(t,e,r,i,n,a,o){return this.parseComplex(t.style,this.format(et(t,this.p,s,!1,this.dflt)),this.format(e),n,a)},a.registerSpecialProp=function(t,e,r){Mt(t,{parser:function(t,i,s,n,a,o,l){var f=new Ot(t,s,0,0,a,2,s,!1,r);return f.plugin=o,f.setRatio=e(t,i,n._tween,s),f},priority:r})},a.useSVGTransformAttr=!0;var Xt,kt,Ft,At,Rt,Ct="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Yt=K("transform"),zt=U+"transform",Nt=K("transformOrigin"),jt=null!==K("perspective"),Bt=Z.Transform=function(){this.perspective=parseFloat(a.defaultTransformPerspective)||0,this.force3D=!(!1===a.defaultForce3D||!jt)&&(a.defaultForce3D||"auto")},Vt=t._gsScope.SVGElement,Lt=function(t,e,r){var i,s=I.createElementNS("path_to_url",t),n=/([a-z])([A-Z])/g;for(i in r)s.setAttributeNS(null,i.replace(n,"$1-$2").toLowerCase(),r[i]);return e.appendChild(s),s},It=I.documentElement||{},Dt=(Rt=d||/Android/i.test(H)&&!t._gsScope.chrome,I.createElementNS&&It.appendChild&&!Rt&&(kt=Lt("svg",It),At=(Ft=Lt("rect",kt,{width:100,height:50,x:100})).getBoundingClientRect().width,Ft.style[Nt]="50% 50%",Ft.style[Yt]="scaleX(0.5)",Rt=At===Ft.getBoundingClientRect().width&&!(u&&jt),It.removeChild(kt)),Rt),Wt=function(t,e,r,i,s,n){var o,l,f,p,h,c,u,x,d,g,y,m,b,v,O=t._gsTransform,_=qt(t,!0);O&&(b=O.xOrigin,v=O.yOrigin),(!i||(o=i.split(" ")).length<2)&&(0===(u=t.getBBox()).x&&0===u.y&&u.width+u.height===0&&(u={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),o=[(-1!==(e=ft(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*u.width:parseFloat(e[0]))+u.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*u.height:parseFloat(e[1]))+u.y]),r.xOrigin=p=parseFloat(o[0]),r.yOrigin=h=parseFloat(o[1]),i&&_!==Ht&&(c=_[0],u=_[1],x=_[2],d=_[3],g=_[4],y=_[5],(m=c*d-u*x)&&(l=p*(d/m)+h*(-x/m)+(x*y-d*g)/m,f=p*(-u/m)+h*(c/m)-(c*y-u*g)/m,p=r.xOrigin=o[0]=l,h=r.yOrigin=o[1]=f)),O&&(n&&(r.xOffset=O.xOffset,r.yOffset=O.yOffset,O=r),s||!1!==s&&!1!==a.defaultSmoothOrigin?(l=p-b,f=h-v,O.xOffset+=l*_[0]+f*_[2]-l,O.yOffset+=l*_[1]+f*_[3]-f):O.xOffset=O.yOffset=0),n||t.setAttribute("data-svg-origin",o.join(" "))},Et=function(t){try{return t.getBBox()}catch(e){return function e(r){var i,s=D("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"path_to_url"),n=this.parentNode,a=this.nextSibling,o=this.style.cssText;if(It.appendChild(s),s.appendChild(this),this.style.display="block",r)try{i=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=e}catch(t){}else this._originalGetBBox&&(i=this._originalGetBBox());return a?n.insertBefore(this,a):n.appendChild(this),It.removeChild(s),this.style.cssText=o,i}.call(t,!0)}},Zt=function(t){return!(!Vt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Et(t))},Ht=[1,0,0,1,0,0],qt=function(t,e){var r,i,s,n,a,o,l,f=t._gsTransform||new Bt,p=t.style;if(Yt?i=et(t,zt,null,!0):t.currentStyle&&(i=(i=t.currentStyle.filter.match(C))&&4===i.length?[i[0].substr(4),Number(i[2].substr(4)),Number(i[1].substr(4)),i[3].substr(4),f.x||0,f.y||0].join(","):""),r=!i||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,Yt&&r&&!t.offsetParent&&t!==It&&(n=p.display,p.display="block",(l=t.parentNode)&&t.offsetParent||(a=1,o=t.nextSibling,It.appendChild(t)),r=!(i=et(t,zt,null,!0))||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,n?p.display=n:Kt(p,"display"),a&&(o?l.insertBefore(t,o):l?l.appendChild(t):It.removeChild(t))),(f.svg||t.getCTM&&Zt(t))&&(r&&-1!==(p[Yt]+"").indexOf("matrix")&&(i=p[Yt],r=0),s=t.getAttribute("transform"),r&&s&&(i="matrix("+(s=t.transform.baseVal.consolidate().matrix).a+","+s.b+","+s.c+","+s.d+","+s.e+","+s.f+")",r=0)),r)return Ht;for(s=(i||"").match(m)||[],Pt=s.length;--Pt>-1;)n=Number(s[Pt]),s[Pt]=(a=n-(n|=0))?(1e5*a+(a<0?-.5:.5)|0)/1e5+n:n;return e&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s},$t=Z.getTransform=function(e,r,i,s){if(e._gsTransform&&i&&!s)return e._gsTransform;var n,o,l,f,p,h,c=i&&e._gsTransform||new Bt,u=c.scaleX<0,x=jt&&(parseFloat(et(e,Nt,r,!1,"0 0 0").split(" ")[2])||c.zOrigin)||0,d=parseFloat(a.defaultTransformPerspective)||0;if(c.svg=!(!e.getCTM||!Zt(e)),c.svg&&(Wt(e,et(e,Nt,r,!1,"50% 50%")+"",c,e.getAttribute("data-svg-origin")),Xt=a.useSVGTransformAttr||Dt),(n=qt(e))!==Ht){if(16===n.length){var g,y,m,b,v,O=n[0],_=n[1],w=n[2],P=n[3],T=n[4],M=n[5],S=n[6],X=n[7],k=n[8],F=n[9],A=n[10],R=n[12],C=n[13],Y=n[14],z=n[11],N=Math.atan2(S,A);c.zOrigin&&(R=k*(Y=-c.zOrigin)-n[12],C=F*Y-n[13],Y=A*Y+c.zOrigin-n[14]),c.rotationX=N*B,N&&(g=T*(b=Math.cos(-N))+k*(v=Math.sin(-N)),y=M*b+F*v,m=S*b+A*v,k=T*-v+k*b,F=M*-v+F*b,A=S*-v+A*b,z=X*-v+z*b,T=g,M=y,S=m),N=Math.atan2(-w,A),c.rotationY=N*B,N&&(y=_*(b=Math.cos(-N))-F*(v=Math.sin(-N)),m=w*b-A*v,F=_*v+F*b,A=w*v+A*b,z=P*v+z*b,O=g=O*b-k*v,_=y,w=m),N=Math.atan2(_,O),c.rotation=N*B,N&&(g=O*(b=Math.cos(N))+_*(v=Math.sin(N)),y=T*b+M*v,m=k*b+F*v,_=_*b-O*v,M=M*b-T*v,F=F*b-k*v,O=g,T=y,k=m),c.rotationX&&Math.abs(c.rotationX)+Math.abs(c.rotation)>359.9&&(c.rotationX=c.rotation=0,c.rotationY=180-c.rotationY),N=Math.atan2(T,M),c.scaleX=(1e5*Math.sqrt(O*O+_*_+w*w)+.5|0)/1e5,c.scaleY=(1e5*Math.sqrt(M*M+S*S)+.5|0)/1e5,c.scaleZ=(1e5*Math.sqrt(k*k+F*F+A*A)+.5|0)/1e5,O/=c.scaleX,T/=c.scaleY,_/=c.scaleX,M/=c.scaleY,Math.abs(N)>2e-5?(c.skewX=N*B,T=0,"simple"!==c.skewType&&(c.scaleY*=1/Math.cos(N))):c.skewX=0,c.perspective=z?1/(z<0?-z:z):0,c.x=R,c.y=C,c.z=Y,c.svg&&(c.x-=c.xOrigin-(c.xOrigin*O-c.yOrigin*T),c.y-=c.yOrigin-(c.yOrigin*_-c.xOrigin*M))}else if(!jt||s||!n.length||c.x!==n[4]||c.y!==n[5]||!c.rotationX&&!c.rotationY){var j=n.length>=6,V=j?n[0]:1,L=n[1]||0,I=n[2]||0,D=j?n[3]:1;c.x=n[4]||0,c.y=n[5]||0,l=Math.sqrt(V*V+L*L),f=Math.sqrt(D*D+I*I),p=V||L?Math.atan2(L,V)*B:c.rotation||0,h=I||D?Math.atan2(I,D)*B+p:c.skewX||0,c.scaleX=l,c.scaleY=f,c.rotation=p,c.skewX=h,jt&&(c.rotationX=c.rotationY=c.z=0,c.perspective=d,c.scaleZ=1),c.svg&&(c.x-=c.xOrigin-(c.xOrigin*V+c.yOrigin*I),c.y-=c.yOrigin-(c.xOrigin*L+c.yOrigin*D))}for(o in Math.abs(c.skewX)>90&&Math.abs(c.skewX)<270&&(u?(c.scaleX*=-1,c.skewX+=c.rotation<=0?180:-180,c.rotation+=c.rotation<=0?180:-180):(c.scaleY*=-1,c.skewX+=c.skewX<=0?180:-180)),c.zOrigin=x,c)c[o]<2e-5&&c[o]>-2e-5&&(c[o]=0)}return i&&(e._gsTransform=c,c.svg&&(Xt&&e.style[Yt]?t.default.delayedCall(.001,function(){Kt(e.style,Yt)}):!Xt&&e.getAttribute("transform")&&t.default.delayedCall(.001,function(){e.removeAttribute("transform")}))),c},Gt=function(t){var e,r,i=this.data,s=-i.rotation*j,n=s+i.skewX*j,a=(Math.cos(s)*i.scaleX*1e5|0)/1e5,o=(Math.sin(s)*i.scaleX*1e5|0)/1e5,l=(Math.sin(n)*-i.scaleY*1e5|0)/1e5,f=(Math.cos(n)*i.scaleY*1e5|0)/1e5,p=this.t.style,h=this.t.currentStyle;if(h){r=o,o=-l,l=-r,e=h.filter,p.filter="";var c,u,x=this.t.offsetWidth,g=this.t.offsetHeight,y="absolute"!==h.position,m="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+o+", M21="+l+", M22="+f,b=i.x+x*i.xPercent/100,v=i.y+g*i.yPercent/100;if(null!=i.ox&&(b+=(c=(i.oxp?x*i.ox*.01:i.ox)-x/2)-(c*a+(u=(i.oyp?g*i.oy*.01:i.oy)-g/2)*o),v+=u-(c*l+u*f)),m+=y?", Dx="+((c=x/2)-(c*a+(u=g/2)*o)+b)+", Dy="+(u-(c*l+u*f)+v)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?p.filter=e.replace(Y,m):p.filter=m+" "+e,0!==t&&1!==t||1===a&&0===o&&0===l&&1===f&&(y&&-1===m.indexOf("Dx=0, Dy=0")||P.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&p.removeAttribute("filter")),!y){var O,_,T,M=d<8?1:-1;for(c=i.ieOffsetX||0,u=i.ieOffsetY||0,i.ieOffsetX=Math.round((x-((a<0?-a:a)*x+(o<0?-o:o)*g))/2+b),i.ieOffsetY=Math.round((g-((f<0?-f:f)*g+(l<0?-l:l)*x))/2+v),Pt=0;Pt<4;Pt++)T=(r=-1!==(O=h[_=ot[Pt]]).indexOf("px")?parseFloat(O):rt(this.t,_,parseFloat(O),O.replace(w,""))||0)!==i[_]?Pt<2?-i.ieOffsetX:-i.ieOffsetY:Pt<2?c-i.ieOffsetX:u-i.ieOffsetY,p[_]=(i[_]=Math.round(r-T*(0===Pt||2===Pt?1:M)))+"px"}}},Ut=Z.set3DTransformRatio=Z.setTransformRatio=function(t){var e,r,i,s,n,a,o,l,f,p,h,c,x,d,g,y,m,b,v,O,_=this.data,w=this.t.style,P=_.rotation,T=_.rotationX,M=_.rotationY,S=_.scaleX,X=_.scaleY,k=_.scaleZ,F=_.x,A=_.y,R=_.z,C=_.svg,Y=_.perspective,z=_.force3D,N=_.skewY,B=_.skewX;if(N&&(B+=N,P+=N),!((1!==t&&0!==t||"auto"!==z||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&z||R||Y||M||T||1!==k)||Xt&&C||!jt)P||B||C?(P*=j,O=B*j,1e5,r=Math.cos(P)*S,n=Math.sin(P)*S,i=Math.sin(P-O)*-X,a=Math.cos(P-O)*X,O&&"simple"===_.skewType&&(e=Math.tan(O-N*j),i*=e=Math.sqrt(1+e*e),a*=e,N&&(e=Math.tan(N*j),r*=e=Math.sqrt(1+e*e),n*=e)),C&&(F+=_.xOrigin-(_.xOrigin*r+_.yOrigin*i)+_.xOffset,A+=_.yOrigin-(_.xOrigin*n+_.yOrigin*a)+_.yOffset,Xt&&(_.xPercent||_.yPercent)&&(g=this.t.getBBox(),F+=.01*_.xPercent*g.width,A+=.01*_.yPercent*g.height),F<(g=1e-6)&&F>-g&&(F=0),A<g&&A>-g&&(A=0)),v=(1e5*r|0)/1e5+","+(1e5*n|0)/1e5+","+(1e5*i|0)/1e5+","+(1e5*a|0)/1e5+","+F+","+A+")",C&&Xt?this.t.setAttribute("transform","matrix("+v):w[Yt]=(_.xPercent||_.yPercent?"translate("+_.xPercent+"%,"+_.yPercent+"%) matrix(":"matrix(")+v):w[Yt]=(_.xPercent||_.yPercent?"translate("+_.xPercent+"%,"+_.yPercent+"%) matrix(":"matrix(")+S+",0,0,"+X+","+F+","+A+")";else{if(u&&(S<(g=1e-4)&&S>-g&&(S=k=2e-5),X<g&&X>-g&&(X=k=2e-5),!Y||_.z||_.rotationX||_.rotationY||(Y=0)),P||B)P*=j,y=r=Math.cos(P),m=n=Math.sin(P),B&&(P-=B*j,y=Math.cos(P),m=Math.sin(P),"simple"===_.skewType&&(e=Math.tan((B-N)*j),y*=e=Math.sqrt(1+e*e),m*=e,_.skewY&&(e=Math.tan(N*j),r*=e=Math.sqrt(1+e*e),n*=e))),i=-m,a=y;else{if(!(M||T||1!==k||Y||C))return void(w[Yt]=(_.xPercent||_.yPercent?"translate("+_.xPercent+"%,"+_.yPercent+"%) translate3d(":"translate3d(")+F+"px,"+A+"px,"+R+"px)"+(1!==S||1!==X?" scale("+S+","+X+")":""));r=a=1,i=n=0}p=1,s=o=l=f=h=c=0,x=Y?-1/Y:0,d=_.zOrigin,g=1e-6,",","0",(P=M*j)&&(y=Math.cos(P),l=-(m=Math.sin(P)),h=x*-m,s=r*m,o=n*m,p=y,x*=y,r*=y,n*=y),(P=T*j)&&(e=i*(y=Math.cos(P))+s*(m=Math.sin(P)),b=a*y+o*m,f=p*m,c=x*m,s=i*-m+s*y,o=a*-m+o*y,p*=y,x*=y,i=e,a=b),1!==k&&(s*=k,o*=k,p*=k,x*=k),1!==X&&(i*=X,a*=X,f*=X,c*=X),1!==S&&(r*=S,n*=S,l*=S,h*=S),(d||C)&&(d&&(F+=s*-d,A+=o*-d,R+=p*-d+d),C&&(F+=_.xOrigin-(_.xOrigin*r+_.yOrigin*i)+_.xOffset,A+=_.yOrigin-(_.xOrigin*n+_.yOrigin*a)+_.yOffset),F<g&&F>-g&&(F="0"),A<g&&A>-g&&(A="0"),R<g&&R>-g&&(R=0)),v=_.xPercent||_.yPercent?"translate("+_.xPercent+"%,"+_.yPercent+"%) matrix3d(":"matrix3d(",v+=(r<g&&r>-g?"0":r)+","+(n<g&&n>-g?"0":n)+","+(l<g&&l>-g?"0":l),v+=","+(h<g&&h>-g?"0":h)+","+(i<g&&i>-g?"0":i)+","+(a<g&&a>-g?"0":a),T||M||1!==k?(v+=","+(f<g&&f>-g?"0":f)+","+(c<g&&c>-g?"0":c)+","+(s<g&&s>-g?"0":s),v+=","+(o<g&&o>-g?"0":o)+","+(p<g&&p>-g?"0":p)+","+(x<g&&x>-g?"0":x)+","):v+=",0,0,0,0,1,0,",v+=F+","+A+","+R+","+(Y?1+-R/Y:1)+")",w[Yt]=v}};(f=Bt.prototype).x=f.y=f.z=f.skewX=f.skewY=f.rotation=f.rotationX=f.rotationY=f.zOrigin=f.xPercent=f.yPercent=f.xOffset=f.yOffset=0,f.scaleX=f.scaleY=f.scaleZ=1,Mt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,n,o,l,f){if(n._lastParsedTransform===f)return o;n._lastParsedTransform=f;var p=f.scale&&"function"==typeof f.scale?f.scale:0;p&&(f.scale=p(y,t));var h,c,u,x,d,m,b,v,O,_=t._gsTransform,w=t.style,P=Ct.length,T=f,M={},S=$t(t,s,!0,T.parseTransform),X=T.transform&&("function"==typeof T.transform?T.transform(y,g):T.transform);if(S.skewType=T.skewType||S.skewType||a.defaultSkewType,n._transform=S,"rotationZ"in T&&(T.rotation=T.rotationZ),X&&"string"==typeof X&&Yt)(c=W.style)[Yt]=X,c.display="block",c.position="absolute",-1!==X.indexOf("%")&&(c.width=et(t,"width"),c.height=et(t,"height")),I.body.appendChild(W),h=$t(W,null,!1),"simple"===S.skewType&&(h.scaleY*=Math.cos(h.skewX*j)),S.svg&&(m=S.xOrigin,b=S.yOrigin,h.x-=S.xOffset,h.y-=S.yOffset,(T.transformOrigin||T.svgOrigin)&&(X={},Wt(t,ft(T.transformOrigin),X,T.svgOrigin,T.smoothOrigin,!0),m=X.xOrigin,b=X.yOrigin,h.x-=X.xOffset-S.xOffset,h.y-=X.yOffset-S.yOffset),(m||b)&&(v=qt(W,!0),h.x-=m-(m*v[0]+b*v[2]),h.y-=b-(m*v[1]+b*v[3]))),I.body.removeChild(W),h.perspective||(h.perspective=S.perspective),null!=T.xPercent&&(h.xPercent=ht(T.xPercent,S.xPercent)),null!=T.yPercent&&(h.yPercent=ht(T.yPercent,S.yPercent));else if("object"===r(T)){if(h={scaleX:ht(null!=T.scaleX?T.scaleX:T.scale,S.scaleX),scaleY:ht(null!=T.scaleY?T.scaleY:T.scale,S.scaleY),scaleZ:ht(T.scaleZ,S.scaleZ),x:ht(T.x,S.x),y:ht(T.y,S.y),z:ht(T.z,S.z),xPercent:ht(T.xPercent,S.xPercent),yPercent:ht(T.yPercent,S.yPercent),perspective:ht(T.transformPerspective,S.perspective)},null!=(d=T.directionalRotation))if("object"===r(d))for(c in d)T[c]=d[c];else T.rotation=d;"string"==typeof T.x&&-1!==T.x.indexOf("%")&&(h.x=0,h.xPercent=ht(T.x,S.xPercent)),"string"==typeof T.y&&-1!==T.y.indexOf("%")&&(h.y=0,h.yPercent=ht(T.y,S.yPercent)),h.rotation=ct("rotation"in T?T.rotation:"shortRotation"in T?T.shortRotation+"_short":S.rotation,S.rotation,"rotation",M),jt&&(h.rotationX=ct("rotationX"in T?T.rotationX:"shortRotationX"in T?T.shortRotationX+"_short":S.rotationX||0,S.rotationX,"rotationX",M),h.rotationY=ct("rotationY"in T?T.rotationY:"shortRotationY"in T?T.shortRotationY+"_short":S.rotationY||0,S.rotationY,"rotationY",M)),h.skewX=ct(T.skewX,S.skewX),h.skewY=ct(T.skewY,S.skewY)}for(jt&&null!=T.force3D&&(S.force3D=T.force3D,x=!0),(u=S.force3D||S.z||S.rotationX||S.rotationY||h.z||h.rotationX||h.rotationY||h.perspective)||null==T.scale||(h.scaleZ=1);--P>-1;)((X=h[O=Ct[P]]-S[O])>1e-6||X<-1e-6||null!=T[O]||null!=V[O])&&(x=!0,o=new Ot(S,O,S[O],X,o),O in M&&(o.e=M[O]),o.xs0=0,o.plugin=l,n._overwriteProps.push(o.n));return X="function"==typeof T.transformOrigin?T.transformOrigin(y,g):T.transformOrigin,S.svg&&(X||T.svgOrigin)&&(m=S.xOffset,b=S.yOffset,Wt(t,ft(X),h,T.svgOrigin,T.smoothOrigin),o=_t(S,"xOrigin",(_?S:h).xOrigin,h.xOrigin,o,"transformOrigin"),o=_t(S,"yOrigin",(_?S:h).yOrigin,h.yOrigin,o,"transformOrigin"),m===S.xOffset&&b===S.yOffset||(o=_t(S,"xOffset",_?m:S.xOffset,S.xOffset,o,"transformOrigin"),o=_t(S,"yOffset",_?b:S.yOffset,S.yOffset,o,"transformOrigin")),X="0px 0px"),(X||jt&&u&&S.zOrigin)&&(Yt?(x=!0,O=Nt,X||(X=(X=(et(t,O,s,!1,"50% 50%")+"").split(" "))[0]+" "+X[1]+" "+S.zOrigin+"px"),X+="",(o=new Ot(w,O,0,0,o,-1,"transformOrigin")).b=w[O],o.plugin=l,jt?(c=S.zOrigin,X=X.split(" "),S.zOrigin=(X.length>2?parseFloat(X[2]):c)||0,o.xs0=o.e=X[0]+" "+(X[1]||"50%")+" 0px",(o=new Ot(S,"zOrigin",0,0,o,-1,o.n)).b=c,o.xs0=o.e=S.zOrigin):o.xs0=o.e=X):ft(X+"",S)),x&&(n._transformType=S.svg&&Xt||!u&&3!==this._transformType?2:3),p&&(f.scale=p),o},allowFunc:!0,prefix:!0}),Mt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Mt("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:mt("inset(0% 0% 0% 0%)",!1,!0)}),Mt("borderRadius",{defaultValue:"0px",parser:function(t,e,r,n,a,o){e=this.format(e);var l,f,p,h,c,u,x,d,g,y,m,b,v,O,_,w,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],T=t.style;for(g=parseFloat(t.offsetWidth),y=parseFloat(t.offsetHeight),l=e.split(" "),f=0;f<P.length;f++)this.p.indexOf("border")&&(P[f]=K(P[f])),-1!==(c=h=et(t,P[f],s,!1,"0px")).indexOf(" ")&&(h=c.split(" "),c=h[0],h=h[1]),u=p=l[f],x=parseFloat(c),b=c.substr((x+"").length),(v="="===u.charAt(1))?(d=parseInt(u.charAt(0)+"1",10),u=u.substr(2),d*=parseFloat(u),m=u.substr((d+"").length-(d<0?1:0))||""):(d=parseFloat(u),m=u.substr((d+"").length)),""===m&&(m=i[r]||b),m!==b&&(O=rt(t,"borderLeft",x,b),_=rt(t,"borderTop",x,b),"%"===m?(c=O/g*100+"%",h=_/y*100+"%"):"em"===m?(c=O/(w=rt(t,"borderLeft",1,"em"))+"em",h=_/w+"em"):(c=O+"px",h=_+"px"),v&&(u=parseFloat(c)+d+m,p=parseFloat(h)+d+m)),a=wt(T,P[f],c+" "+h,u+" "+p,!1,"0px",a);return a},prefix:!0,formatter:mt("0px 0px 0px 0px",!1,!0)}),Mt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,r,i,n,a){return wt(t.style,r,this.format(et(t,r,s,!1,"0px 0px")),this.format(e),!1,"0px",n)},prefix:!0,formatter:mt("0px 0px",!1,!0)}),Mt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,r,i,n,a){var o,l,f,p,h,c,u="background-position",x=s||tt(t),g=this.format((x?d?x.getPropertyValue(u+"-x")+" "+x.getPropertyValue(u+"-y"):x.getPropertyValue(u):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),y=this.format(e);if(-1!==g.indexOf("%")!=(-1!==y.indexOf("%"))&&y.split(",").length<2&&(c=et(t,"backgroundImage").replace(F,""))&&"none"!==c){for(o=g.split(" "),l=y.split(" "),E.setAttribute("src",c),f=2;--f>-1;)(p=-1!==(g=o[f]).indexOf("%"))!==(-1!==l[f].indexOf("%"))&&(h=0===f?t.offsetWidth-E.width:t.offsetHeight-E.height,o[f]=p?parseFloat(g)/100*h+"px":parseFloat(g)/h*100+"%");g=o.join(" ")}return this.parseComplex(t.style,g,y,n,a)},formatter:ft}),Mt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:ft(-1===t.indexOf(" ")?t+" "+t:t)}}),Mt("perspective",{defaultValue:"0px",prefix:!0}),Mt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Mt("transformStyle",{prefix:!0}),Mt("backfaceVisibility",{prefix:!0}),Mt("userSelect",{prefix:!0}),Mt("margin",{parser:bt("marginTop,marginRight,marginBottom,marginLeft")}),Mt("padding",{parser:bt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Mt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,r,i,n,a){var o,l,f;return d<9?(l=t.currentStyle,f=d<8?" ":",",o="rect("+l.clipTop+f+l.clipRight+f+l.clipBottom+f+l.clipLeft+")",e=this.format(e).split(",").join(f)):(o=this.format(et(t,this.p,s,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,n,a)}}),Mt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Mt("autoRound,strictUnits",{parser:function(t,e,r,i,s){return s}}),Mt("border",{defaultValue:"0px solid #000",parser:function(t,e,r,i,n,a){var o=et(t,"borderTopWidth",s,!1,"0px"),l=this.format(e).split(" "),f=l[0].replace(w,"");return"px"!==f&&(o=parseFloat(o)/rt(t,"borderTopWidth",1,f)+f),this.parseComplex(t.style,this.format(o+" "+et(t,"borderTopStyle",s,!1,"solid")+" "+et(t,"borderTopColor",s,!1,"#000")),l.join(" "),n,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(yt)||["#000"])[0]}}),Mt("borderWidth",{parser:bt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Mt("float,cssFloat,styleFloat",{parser:function(t,e,r,i,s,n){var a=t.style,o="cssFloat"in a?"cssFloat":"styleFloat";return new Ot(a,o,0,0,s,-1,r,!1,0,a[o],e)}});var Jt=function(t){var e,r=this.t,i=r.filter||et(this.data,"filter")||"",s=this.s+this.c*t|0;100===s&&(-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(r.removeAttribute("filter"),e=!et(this.data,"filter")):(r.filter=i.replace(M,""),e=!0)),e||(this.xn1&&(r.filter=i=i||"alpha(opacity="+s+")"),-1===i.indexOf("pacity")?0===s&&this.xn1||(r.filter=i+" alpha(opacity="+s+")"):r.filter=i.replace(P,"opacity="+s))};Mt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,r,i,n,a){var o=parseFloat(et(t,"opacity",s,!1,"1")),l=t.style,f="autoAlpha"===r;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),f&&1===o&&"hidden"===et(t,"visibility",s)&&0!==e&&(o=0),q?n=new Ot(l,"opacity",o,e-o,n):((n=new Ot(l,"opacity",100*o,100*(e-o),n)).xn1=f?1:0,l.zoom=1,n.type=2,n.b="alpha(opacity="+n.s+")",n.e="alpha(opacity="+(n.s+n.c)+")",n.data=t,n.plugin=a,n.setRatio=Jt),f&&((n=new Ot(l,"visibility",0,0,n,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",i._overwriteProps.push(n.n),i._overwriteProps.push(r)),n}});var Kt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(X,"-$1").toLowerCase())):t.removeAttribute(e))},Qt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,r=this.t.style;e;)e.v?r[e.p]=e.v:Kt(r,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Mt("className",{parser:function(t,r,i,n,a,o,l){var f,p,h,c,u,x=t.getAttribute("class")||"",d=t.style.cssText;if((a=n._classNamePT=new Ot(t,i,0,0,a,2)).setRatio=Qt,a.pr=-11,e=!0,a.b=x,p=st(t,s),h=t._gsClassPT){for(c={},u=h.data;u;)c[u.p]=1,u=u._next;h.setRatio(1)}return t._gsClassPT=a,a.e="="!==r.charAt(1)?r:x.replace(new RegExp("(?:\\s|^)"+r.substr(2)+"(?![\\w-])"),"")+("+"===r.charAt(0)?" "+r.substr(2):""),t.setAttribute("class",a.e),f=nt(t,p,st(t),l,c),t.setAttribute("class",x),a.data=f.firstMPT,t.style.cssText!==d&&(t.style.cssText=d),a=a.xfirst=n.parse(t,f.difs,a,o)}});var te=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,r,i,s,n,a=this.t.style,o=l.transform.parse;if("all"===this.e)a.cssText="",s=!0;else for(i=(e=this.e.split(" ").join("").split(",")).length;--i>-1;)r=e[i],l[r]&&(l[r].parse===o?s=!0:r="transformOrigin"===r?Nt:l[r].p),Kt(a,r);s&&(Kt(a,Yt),(n=this.t._gsTransform)&&(n.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Mt("clearProps",{parser:function(t,r,i,s,n){return(n=new Ot(t,i,0,0,n,2)).setRatio=te,n.e=r,n.pr=-10,n.data=s._tween,e=!0,n}}),f="bezier,throwProps,physicsProps,physics2D".split(","),Pt=f.length;Pt--;)St(f[Pt]);(f=a.prototype)._firstPT=f._lastParsedTransform=f._transform=null,f._onInitTween=function(t,r,o,f){if(!t.nodeType)return!1;this._target=g=t,this._tween=o,this._vars=r,y=f,p=r.autoRound,e=!1,i=r.suffixMap||a.suffixMap,s=tt(t),n=this._overwriteProps;var u,d,m,b,v,O,_,w,P,M=t.style;if(h&&""===M.zIndex&&("auto"!==(u=et(t,"zIndex",s))&&""!==u||this._addLazySet(M,"zIndex",0)),"string"==typeof r&&(b=M.cssText,u=st(t,s),M.cssText=b+";"+r,u=nt(t,u,st(t)).difs,!q&&T.test(r)&&(u.opacity=parseFloat(RegExp.$1)),r=u,M.cssText=b),r.className?this._firstPT=d=l.className.parse(t,r.className,"className",this,null,null,r):this._firstPT=d=this.parse(t,r,null),this._transformType){for(P=3===this._transformType,Yt?c&&(h=!0,""===M.zIndex&&("auto"!==(_=et(t,"zIndex",s))&&""!==_||this._addLazySet(M,"zIndex",0)),x&&this._addLazySet(M,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(P?"visible":"hidden"))):M.zoom=1,m=d;m&&m._next;)m=m._next;w=new Ot(t,"transform",0,0,null,2),this._linkCSSP(w,null,m),w.setRatio=Yt?Ut:Gt,w.data=this._transform||$t(t,s,!0),w.tween=o,w.pr=-1,n.pop()}if(e){for(;d;){for(O=d._next,m=b;m&&m.pr>d.pr;)m=m._next;(d._prev=m?m._prev:v)?d._prev._next=d:b=d,(d._next=m)?m._prev=d:v=d,d=O}this._firstPT=b}return!0},f.parse=function(t,e,r,n){var a,o,f,h,c,u,x,d,m,b,v=t.style;for(a in e){if(u=e[a],o=l[a],"function"!=typeof u||o&&o.allowFunc||(u=u(y,g)),o)r=o.parse(t,u,a,this,r,n,e);else{if("--"===a.substr(0,2)){this._tween._propLookup[a]=this._addTween.call(this._tween,t.style,"setProperty",tt(t).getPropertyValue(a)+"",u+"",a,!1,a);continue}c=et(t,a,s)+"",m="string"==typeof u,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||m&&S.test(u)?(m||(u=((u=dt(u)).length>3?"rgba(":"rgb(")+u.join(",")+")"),r=wt(v,a,c,u,!0,"transparent",r,0,n)):m&&N.test(u)?r=wt(v,a,c,u,!0,null,r,0,n):(x=(f=parseFloat(c))||0===f?c.substr((f+"").length):"",""!==c&&"auto"!==c||("width"===a||"height"===a?(f=lt(t,a,s),x="px"):"left"===a||"top"===a?(f=it(t,a,s),x="px"):(f="opacity"!==a?0:1,x="")),(b=m&&"="===u.charAt(1))?(h=parseInt(u.charAt(0)+"1",10),u=u.substr(2),h*=parseFloat(u),d=u.replace(w,"")):(h=parseFloat(u),d=m?u.replace(w,""):""),""===d&&(d=a in i?i[a]:x),u=h||0===h?(b?h+f:h)+d:e[a],x!==d&&(""===d&&"lineHeight"!==a||(h||0===h)&&f&&(f=rt(t,a,f,x),"%"===d?(f/=rt(t,a,100,"%")/100,!0!==e.strictUnits&&(c=f+"%")):"em"===d||"rem"===d||"vw"===d||"vh"===d?f/=rt(t,a,1,d):"px"!==d&&(h=rt(t,a,h,d),d="px"),b&&(h||0===h)&&(u=h+f+d))),b&&(h+=f),!f&&0!==f||!h&&0!==h?void 0!==v[a]&&(u||u+""!="NaN"&&null!=u)?(r=new Ot(v,a,h||f||0,0,r,-1,a,!1,0,c,u)).xs0="none"!==u||"display"!==a&&-1===a.indexOf("Style")?u:c:G("invalid "+a+" tween value: "+e[a]):(r=new Ot(v,a,f,h-f,r,0,a,!1!==p&&("px"===d||"zIndex"===a),0,c,u)).xs0=d)}n&&r&&!r.plugin&&(r.plugin=n)}return r},f.setRatio=function(t){var e,r,i,s=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;s;){if(e=s.c*t+s.s,s.r?e=s.r(e):e<1e-6&&e>-1e-6&&(e=0),s.type)if(1===s.type)if(2===(i=s.l))s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2;else if(3===i)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3;else if(4===i)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4;else if(5===i)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4+s.xn4+s.xs5;else{for(r=s.xs0+e+s.xs1,i=1;i<s.l;i++)r+=s["xn"+i]+s["xs"+(i+1)];s.t[s.p]=r}else-1===s.type?s.t[s.p]=s.xs0:s.setRatio&&s.setRatio(t);else s.t[s.p]=e+s.xs0;s=s._next}else for(;s;)2!==s.type?s.t[s.p]=s.b:s.setRatio(t),s=s._next;else for(;s;){if(2!==s.type)if(s.r&&-1!==s.type)if(e=s.r(s.s+s.c),s.type){if(1===s.type){for(i=s.l,r=s.xs0+e+s.xs1,i=1;i<s.l;i++)r+=s["xn"+i]+s["xs"+(i+1)];s.t[s.p]=r}}else s.t[s.p]=e+s.xs0;else s.t[s.p]=s.e;else s.setRatio(t);s=s._next}},f._enableTransforms=function(t){this._transform=this._transform||$t(this._target,s,!0),this._transformType=this._transform.svg&&Xt||!t&&3!==this._transformType?2:3};var ee=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};f._addLazySet=function(t,e,r){var i=this._firstPT=new Ot(t,e,0,0,this._firstPT,2);i.e=r,i.setRatio=ee,i.data=this},f._linkCSSP=function(t,e,r,i){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,i=!0),r?r._next=t:i||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=r),t},f._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},f._kill=function(e){var r,i,s,n=e;if(e.autoAlpha||e.alpha){for(i in n={},e)n[i]=e[i];n.opacity=1,n.autoAlpha&&(n.visibility=1)}for(e.className&&(r=this._classNamePT)&&((s=r.xfirst)&&s._prev?this._linkCSSP(s._prev,r._next,s._prev._prev):s===this._firstPT&&(this._firstPT=r._next),r._next&&this._linkCSSP(r._next,r._next._next,s._prev),this._classNamePT=null),r=this._firstPT;r;)r.plugin&&r.plugin!==i&&r.plugin._kill&&(r.plugin._kill(e),i=r.plugin),r=r._next;return t.TweenPlugin.prototype._kill.call(this,n)};var re=function t(e,r,i){var s,n,a,o;if(e.slice)for(n=e.length;--n>-1;)t(e[n],r,i);else for(n=(s=e.childNodes).length;--n>-1;)o=(a=s[n]).type,a.style&&(r.push(st(a)),i&&i.push(a)),1!==o&&9!==o&&11!==o||!a.childNodes.length||t(a,r,i)};return a.cascadeTo=function(e,r,i){var s,n,a,o,l=t.default.to(e,r,i),f=[l],p=[],h=[],c=[],u=t.default._internals.reservedProps;for(e=l._targets||l.target,re(e,p,c),l.render(r,!0,!0),re(e,h),l.render(0,!0,!0),l._enabled(!0),s=c.length;--s>-1;)if((n=nt(c[s],p[s],h[s])).firstMPT){for(a in n=n.difs,i)u[a]&&(n[a]=i[a]);for(a in o={},n)o[a]=p[s][a];f.push(t.default.fromTo(c[s],r,o,n))}return f},t.TweenPlugin.activate([a]),a},!0);var i=t.globals.CSSPlugin;exports.default=exports.CSSPlugin=i; },{"./TweenLite.js":"sU2v"}],"Lwey":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.AttrPlugin=void 0;var t=require("./TweenLite.js"),e=t._gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,r,i){var o,n;if("function"!=typeof t.setAttribute)return!1;for(o in e)"function"==typeof(n=e[o])&&(n=n(i,t)),this._addTween(t,"setAttribute",t.getAttribute(o)+"",n+"",o,!1,o),this._overwriteProps.push(o);return!0}});exports.default=exports.AttrPlugin=e; },{"./TweenLite.js":"sU2v"}],"gZZs":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.p=exports._roundLinkedList=exports._getRoundFunc=exports.default=exports.RoundPropsPlugin=void 0;var t=require("./TweenLite.js");function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=t._gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,o,r){return this._tween=r,!0}}),e=function(t){var o=t<1?Math.pow(10,(t+"").length-2):1;return function(r){return(Math.round(r/t)*t*o|0)/o}},n=function(t,o){for(;t;)t.f||t.blob||(t.m=o||Math.round),t=t._next},p=r.prototype;exports.p=p,exports._roundLinkedList=n,exports._getRoundFunc=e,exports.default=exports.RoundPropsPlugin=r,p._onInitAllProps=function(){var t,r,p,u,i=this._tween,s=i.vars.roundProps,f={},_=i._propLookup.roundProps;if("object"!==o(s)||s.push)for("string"==typeof s&&(s=s.split(",")),p=s.length;--p>-1;)f[s[p]]=Math.round;else for(u in s)f[u]=e(s[u]);for(u in f)for(t=i._firstPT;t;)r=t._next,t.pg?t.t._mod(f):t.n===u&&(2===t.f&&t.t?n(t.t._firstPT,f[u]):(this._add(t.t,u,t.s,t.c,f[u]),r&&(r._prev=t._prev),t._prev?t._prev._next=r:i._firstPT===t&&(i._firstPT=r),t._next=t._prev=null,i._propLookup[u]=_)),t=r;return!1},p._add=function(t,o,r,e,n){this._addTween(t,o,r,r+e,o,n||Math.round),this._overwriteProps.push(o)}; },{"./TweenLite.js":"sU2v"}],"3BYZ":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.DirectionalRotationPlugin=void 0;var t=require("./TweenLite.js");function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=t._gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,o,i,n){"object"!==e(o)&&(o={rotation:o}),this.finals={};var r,s,f,a,u,p,l=!0===o.useRadians?2*Math.PI:360;for(r in o)"useRadians"!==r&&("function"==typeof(a=o[r])&&(a=a(n,t)),s=(p=(a+"").split("_"))[0],f=parseFloat("function"!=typeof t[r]?t[r]:t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]()),u=(a=this.finals[r]="string"==typeof s&&"="===s.charAt(1)?f+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0)-f,p.length&&(-1!==(s=p.join("_")).indexOf("short")&&(u%=l)!==u%(l/2)&&(u=u<0?u+l:u-l),-1!==s.indexOf("_cw")&&u<0?u=(u+9999999999*l)%l-(u/l|0)*l:-1!==s.indexOf("ccw")&&u>0&&(u=(u-9999999999*l)%l-(u/l|0)*l)),(u>1e-6||u<-1e-6)&&(this._addTween(t,r,f,f+u,r),this._overwriteProps.push(r)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}});exports.default=exports.DirectionalRotationPlugin=o,o._autoCSS=!0; },{"./TweenLite.js":"sU2v"}],"Rh1e":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.TimelineLite=void 0;var t=e(require("./TweenLite.js"));function e(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,i):{};r.get||r.set?Object.defineProperty(e,i,r):e[i]=t[i]}return e.default=t,e}function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t._gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var e=function(e){t.SimpleTimeline.call(this,e);var i,r,a=this.vars;for(r in this._labels={},this.autoRemoveChildren=!!a.autoRemoveChildren,this.smoothChildTiming=!!a.smoothChildTiming,this._sortChildren=!0,this._onUpdate=a.onUpdate,a)i=a[r],n(i)&&-1!==i.join("").indexOf("{self}")&&(a[r]=this._swapSelfInParams(i));n(a.tweens)&&this.add(a.tweens,0,a.align,a.stagger)},r=t.default._internals,a=e._internals={},s=r.isSelector,n=r.isArray,o=r.lazyTweens,l=r.lazyRender,h=t._gsScope._gsDefine.globals,_=function(t){var e,i={};for(e in t)i[e]=t[e];return i},u=function(t,e,i){var r,a,s=t.cycle;for(r in s)a=s[r],t[r]="function"==typeof a?a(i,e[i],e):a[i%a.length];delete t.cycle},m=a.pauseCallback=function(){},d=function(t,e,i,r){var a="immediateRender";return a in e||(e[a]=!(i&&!1===i[a]||r)),e},f=function(t){if("function"==typeof t)return t;var e="object"===i(t)?t:{each:t},r=e.ease,a=e.from||0,s=e.base||0,n={},o=isNaN(a),l=e.axis,h={center:.5,end:1}[a]||0;return function(t,i,_){var u,m,d,f,c,p,T,v,g,y=(_||e).length,b=n[y];if(!b){if(!(g="auto"===e.grid?0:(e.grid||[1/0])[0])){for(T=-1/0;T<(T=_[g++].getBoundingClientRect().left)&&g<y;);g--}for(b=n[y]=[],u=o?Math.min(g,y)*h-.5:a%g,m=o?y*h/g-.5:a/g|0,T=0,v=1/0,p=0;p<y;p++)d=p%g-u,f=m-(p/g|0),b[p]=c=l?Math.abs("y"===l?f:d):Math.sqrt(d*d+f*f),c>T&&(T=c),c<v&&(v=c);b.max=T-v,b.min=v,b.v=y=e.amount||e.each*(g>y?y-1:l?"y"===l?y/g:g:Math.max(g,y/g))||0,b.b=y<0?s-y:s}return y=(b[t]-b.min)/b.max,b.b+(r?r.getRatio(y):y)*b.v}},c=e.prototype=new t.SimpleTimeline;return e.version="2.1.3",e.distribute=f,c.constructor=e,c.kill()._gc=c._forcingPlayhead=c._hasPause=!1,c.to=function(e,i,r,a){var s=r.repeat&&h.TweenMax||t.default;return i?this.add(new s(e,i,r),a):this.set(e,r,a)},c.from=function(e,i,r,a){return this.add((r.repeat&&h.TweenMax||t.default).from(e,i,d(0,r)),a)},c.fromTo=function(e,i,r,a,s){var n=a.repeat&&h.TweenMax||t.default;return a=d(0,a,r),i?this.add(n.fromTo(e,i,r,a),s):this.set(e,a,s)},c.staggerTo=function(i,r,a,n,o,l,h,m){var d,c,p=new e({onComplete:l,onCompleteParams:h,callbackScope:m,smoothChildTiming:this.smoothChildTiming}),T=f(a.stagger||n),v=a.startAt,g=a.cycle;for("string"==typeof i&&(i=t.default.selector(i)||i),s(i=i||[])&&(i=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i}(i)),c=0;c<i.length;c++)d=_(a),v&&(d.startAt=_(v),v.cycle&&u(d.startAt,i,c)),g&&(u(d,i,c),null!=d.duration&&(r=d.duration,delete d.duration)),p.to(i[c],r,d,T(c,i[c],i));return this.add(p,o)},c.staggerFrom=function(t,e,i,r,a,s,n,o){return i.runBackwards=!0,this.staggerTo(t,e,d(0,i),r,a,s,n,o)},c.staggerFromTo=function(t,e,i,r,a,s,n,o,l){return r.startAt=i,this.staggerTo(t,e,d(0,r,i),a,s,n,o,l)},c.call=function(e,i,r,a){return this.add(t.default.delayedCall(0,e,i,r),a)},c.set=function(e,i,r){return this.add(new t.default(e,0,d(0,i,null,!0)),r)},e.exportRoot=function(i,r){null==(i=i||{}).smoothChildTiming&&(i.smoothChildTiming=!0);var a,s,n,o,l=new e(i),h=l._timeline;for(null==r&&(r=!0),h._remove(l,!0),l._startTime=0,l._rawPrevTime=l._time=l._totalTime=h._time,n=h._first;n;)o=n._next,r&&n instanceof t.default&&n.target===n.vars.onComplete||((s=n._startTime-n._delay)<0&&(a=1),l.add(n,s)),n=o;return h.add(l,0),a&&l.totalDuration(),l},c.add=function(i,r,a,s){var o,l,h,_,u,m;if("number"!=typeof r&&(r=this._parseTimeOrLabel(r,0,!0,i)),!(i instanceof t.Animation)){if(i instanceof Array||i&&i.push&&n(i)){for(a=a||"normal",s=s||0,o=r,l=i.length,h=0;h<l;h++)n(_=i[h])&&(_=new e({tweens:_})),this.add(_,o),"string"!=typeof _&&"function"!=typeof _&&("sequence"===a?o=_._startTime+_.totalDuration()/_._timeScale:"start"===a&&(_._startTime-=_.delay())),o+=s;return this._uncache(!0)}if("string"==typeof i)return this.addLabel(i,r);if("function"!=typeof i)throw"Cannot add "+i+" into the timeline; it is not a tween, timeline, function, or string.";i=t.default.delayedCall(0,i)}if(t.SimpleTimeline.prototype.add.call(this,i,r),(i._time||!i._duration&&i._initted)&&(o=(this.rawTime()-i._startTime)*i._timeScale,(!i._duration||Math.abs(Math.max(0,Math.min(i.totalDuration(),o)))-i._totalTime>1e-5)&&i.render(o,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(m=(u=this).rawTime()>i._startTime;u._timeline;)m&&u._timeline.smoothChildTiming?u.totalTime(u._totalTime,!0):u._gc&&u._enabled(!0,!1),u=u._timeline;return this},c.remove=function(e){if(e instanceof t.Animation){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t.Animation._rootFramesTimeline:t.Animation._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&n(e)){for(var r=e.length;--r>-1;)this.remove(e[r]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},c._remove=function(e,i){return t.SimpleTimeline.prototype._remove.call(this,e,i),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},c.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},c.insert=c.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},c.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},c.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},c.addPause=function(e,i,r,a){var s=t.default.delayedCall(0,m,r,a||this);return s.vars.onComplete=s.vars.onReverseComplete=i,s.data="isPause",this._hasPause=!0,this.add(s,e)},c.removeLabel=function(t){return delete this._labels[t],this},c.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},c._parseTimeOrLabel=function(e,i,r,a){var s,o;if(a instanceof t.Animation&&a.timeline===this)this.remove(a);else if(a&&(a instanceof Array||a.push&&n(a)))for(o=a.length;--o>-1;)a[o]instanceof t.Animation&&a[o].timeline===this&&this.remove(a[o]);if(s="number"!=typeof e||i?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof e&&null==this._labels[i]?e-s:0,r);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=s);else{if(-1===(o=e.indexOf("=")))return null==this._labels[e]?r?this._labels[e]=s+i:i:this._labels[e]+i;i=parseInt(e.charAt(o-1)+"1",10)*Number(e.substr(o+1)),e=o>1?this._parseTimeOrLabel(e.substr(0,o-1),0,r):s}return Number(e)+i},c.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},c.stop=function(){return this.paused(!0)},c.gotoAndPlay=function(t,e){return this.play(t,e)},c.gotoAndStop=function(t,e){return this.pause(t,e)},c.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,a,s,n,h,_,u,m,d=this._time,f=this._dirty?this.totalDuration():this._totalDuration,c=this._startTime,p=this._timeScale,T=this._paused;if(d!==this._time&&(t+=this._time-d),this._hasPause&&!this._forcingPlayhead&&!e){if(t>d)for(r=this._first;r&&r._startTime<=t&&!_;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(_=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!_;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(_=r),r=r._prev;_&&(this._time=this._totalTime=t=_._startTime,m=this._startTime+(this._reversed?this._duration-t:t)/this._timeScale)}if(t>=f-1e-8&&t>=0)this._totalTime=this._time=f,this._reversed||this._hasPausedChild()||(a=!0,n="onComplete",h=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||this._rawPrevTime<0||1e-8===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(h=!0,this._rawPrevTime>1e-8&&(n="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,t=f+1e-4;else if(t<1e-8)if(this._totalTime=this._time=0,t>-1e-8&&(t=0),(0!==d||0===this._duration&&1e-8!==this._rawPrevTime&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(n="onReverseComplete",a=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=a=!0,n="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(h=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&a)for(r=this._first;r&&0===r._startTime;)r._duration||(a=!1),r=r._next;t=0,this._initted||(h=!0)}else this._totalTime=this._time=this._rawPrevTime=t;if(this._time!==d&&this._first||i||h||_){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==d&&t>0&&(this._active=!0),0===d&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),(u=this._time)>=d)for(r=this._first;r&&(s=r._next,u===this._time&&(!this._paused||T));)(r._active||r._startTime<=u&&!r._paused&&!r._gc)&&(_===r&&(this.pause(),this._pauseTime=m),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=s;else for(r=this._last;r&&(s=r._prev,u===this._time&&(!this._paused||T));){if(r._active||r._startTime<=d&&!r._paused&&!r._gc){if(_===r){for(_=r._prev;_&&_.endTime()>this._time;)_.render(_._reversed?_.totalDuration()-(t-_._startTime)*_._timeScale:(t-_._startTime)*_._timeScale,e,i),_=_._prev;_=null,this.pause(),this._pauseTime=m}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=s}this._onUpdate&&(e||(o.length&&l(),this._callback("onUpdate"))),n&&(this._gc||c!==this._startTime&&p===this._timeScale||(0===this._time||f>=this.totalDuration())&&(a&&(o.length&&l(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[n]&&this._callback(n)))}},c._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof e&&t._hasPausedChild())return!0;t=t._next}return!1},c.getChildren=function(e,i,r,a){a=a||-9999999999;for(var s=[],n=this._first,o=0;n;)n._startTime<a||(n instanceof t.default?!1!==i&&(s[o++]=n):(!1!==r&&(s[o++]=n),!1!==e&&(o=(s=s.concat(n.getChildren(!0,i,r))).length))),n=n._next;return s},c.getTweensOf=function(e,i){var r,a,s=this._gc,n=[],o=0;for(s&&this._enabled(!0,!0),a=(r=t.default.getTweensOf(e)).length;--a>-1;)(r[a].timeline===this||i&&this._contains(r[a]))&&(n[o++]=r[a]);return s&&this._enabled(!1,!0),n},c.recent=function(){return this._recent},c._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},c.shiftChildren=function(t,e,i){i=i||0;for(var r,a=this._first,s=this._labels;a;)a._startTime>=i&&(a._startTime+=t),a=a._next;if(e)for(r in s)s[r]>=i&&(s[r]+=t);return this._uncache(!0)},c._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),r=i.length,a=!1;--r>-1;)i[r]._kill(t,e)&&(a=!0);return a},c.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},c.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.Animation.prototype.invalidate.call(this)},c._enabled=function(e,i){if(e===this._gc)for(var r=this._first;r;)r._enabled(e,!0),r=r._next;return t.SimpleTimeline.prototype._enabled.call(this,e,i)},c.totalTime=function(e,i,r){this._forcingPlayhead=!0;var a=t.Animation.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,a},c.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},c.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,r=0,a=this._last,s=999999999999;a;)e=a._prev,a._dirty&&a.totalDuration(),a._startTime>s&&this._sortChildren&&!a._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(a,a._startTime-a._delay),this._calculatingDuration=0):s=a._startTime,a._startTime<0&&!a._paused&&(r-=a._startTime,this._timeline.smoothChildTiming&&(this._startTime+=a._startTime/this._timeScale,this._time-=a._startTime,this._totalTime-=a._startTime,this._rawPrevTime-=a._startTime),this.shiftChildren(-a._startTime,!1,-9999999999),s=0),(i=a._startTime+a._totalDuration/a._timeScale)>r&&(r=i),a=e;this._duration=this._totalDuration=r,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},c.paused=function(e){if(!1===e&&this._paused)for(var i=this._first;i;)i._startTime===this._time&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.Animation.prototype.paused.apply(this,arguments)},c.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t.Animation._rootFramesTimeline},c.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},e},!0);var r=t.globals.TimelineLite;exports.default=exports.TimelineLite=r; },{"./TweenLite.js":"sU2v"}],"c5lM":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"TimelineLite",{enumerable:!0,get:function(){return e.default}}),exports.default=exports.TimelineMax=void 0;var t=s(require("./TweenLite.js")),e=i(require("./TimelineLite.js"));function i(t){return t&&t.__esModule?t:{default:t}}function s(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,i):{};s.get||s.set?Object.defineProperty(e,i,s):e[i]=t[i]}return e.default=t,e}t._gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(){var i=function(t){e.default.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},s=t.default._internals,a=s.lazyTweens,r=s.lazyRender,h=t._gsScope._gsDefine.globals,_=new t.Ease(null,null,1,0),l=i.prototype=new e.default;return l.constructor=i,l.kill()._gc=!1,i.version="2.1.3",l.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),e.default.prototype.invalidate.call(this)},l.addCallback=function(e,i,s,a){return this.add(t.default.delayedCall(0,e,s,a),i)},l.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),s=i.length,a=this._parseTimeOrLabel(e);--s>-1;)i[s]._startTime===a&&i[s]._enabled(!1,!1);return this},l.removePause=function(t){return this.removeCallback(e.default._internals.pauseCallback,t)},l.tweenTo=function(e,i){i=i||{};var s,a,r,l={ease:_,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},n=i.repeat&&h.TweenMax||t.default;for(a in i)l[a]=i[a];return l.time=this._parseTimeOrLabel(e),s=Math.abs(Number(l.time)-this._time)/this._timeScale||.001,r=new n(this,s,l),l.onStart=function(){r.target.paused(!0),r.vars.time===r.target.time()||s!==r.duration()||r.isFromTo||r.duration(Math.abs(r.vars.time-r.target.time())/r.target._timeScale).render(r.time(),!0,!0),i.onStart&&i.onStart.apply(i.onStartScope||i.callbackScope||r,i.onStartParams||[])},r},l.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var s=this.tweenTo(e,i);return s.isFromTo=1,s.duration(Math.abs(s.vars.time-t)/this._timeScale||.001)},l.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var s,h,_,l,n,o,c,m,u,d=this._time,p=this._dirty?this.totalDuration():this._totalDuration,f=this._duration,y=this._totalTime,v=this._startTime,T=this._timeScale,g=this._rawPrevTime,b=this._paused,D=this._cycle;if(d!==this._time&&(t+=this._time-d),t>=p-1e-8&&t>=0)this._locked||(this._totalTime=p,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(h=!0,l="onComplete",n=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||g<0||1e-8===g)&&g!==t&&this._first&&(n=!0,g>1e-8&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,this._yoyo&&1&this._cycle?this._time=t=0:(this._time=f,t=f+1e-4);else if(t<1e-8)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,t>-1e-8&&(t=0),(0!==d||0===f&&1e-8!==g&&(g>0||t<0&&g>=0)&&!this._locked)&&(l="onReverseComplete",h=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(n=h=!0,l="onReverseComplete"):g>=0&&this._first&&(n=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=f||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&h)for(s=this._first;s&&0===s._startTime;)s._duration||(h=!1),s=s._next;t=0,this._initted||(n=!0)}else 0===f&&g<0&&(n=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(o=f+this._repeatDelay,this._cycle=this._totalTime/o>>0,this._cycle&&this._cycle===this._totalTime/o&&y<=t&&this._cycle--,this._time=this._totalTime-this._cycle*o,this._yoyo&&1&this._cycle&&(this._time=f-this._time),this._time>f?(this._time=f,t=f+1e-4):this._time<0?this._time=t=0:t=this._time));if(this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>d||this._repeat&&D!==this._cycle)for(s=this._first;s&&s._startTime<=t&&!c;)s._duration||"isPause"!==s.data||s.ratio||0===s._startTime&&0===this._rawPrevTime||(c=s),s=s._next;else for(s=this._last;s&&s._startTime>=t&&!c;)s._duration||"isPause"===s.data&&s._rawPrevTime>0&&(c=s),s=s._prev;c&&(u=this._startTime+(this._reversed?this._duration-c._startTime:c._startTime)/this._timeScale,c._startTime<f&&(this._time=this._rawPrevTime=t=c._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay)))}if(this._cycle!==D&&!this._locked){var P=this._yoyo&&0!=(1&D),w=P===(this._yoyo&&0!=(1&this._cycle)),k=this._totalTime,S=this._cycle,C=this._rawPrevTime,L=this._time;if(this._totalTime=D*f,this._cycle<D?P=!P:this._totalTime+=f,this._time=d,this._rawPrevTime=0===f?g-1e-4:g,this._cycle=D,this._locked=!0,d=P?0:f,this.render(d,e,0===f),e||this._gc||this.vars.onRepeat&&(this._cycle=S,this._locked=!1,this._callback("onRepeat")),d!==this._time)return;if(w&&(this._cycle=D,this._locked=!0,d=P?f+1e-4:-1e-4,this.render(d,!0,!1)),this._locked=!1,this._paused&&!b)return;this._time=L,this._totalTime=k,this._cycle=S,this._rawPrevTime=C}if(this._time!==d&&this._first||i||n||c){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==y&&t>0&&(this._active=!0),0===y&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),(m=this._time)>=d)for(s=this._first;s&&(_=s._next,m===this._time&&(!this._paused||b));)(s._active||s._startTime<=this._time&&!s._paused&&!s._gc)&&(c===s&&(this.pause(),this._pauseTime=u),s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=_;else for(s=this._last;s&&(_=s._prev,m===this._time&&(!this._paused||b));){if(s._active||s._startTime<=d&&!s._paused&&!s._gc){if(c===s){for(c=s._prev;c&&c.endTime()>this._time;)c.render(c._reversed?c.totalDuration()-(t-c._startTime)*c._timeScale:(t-c._startTime)*c._timeScale,e,i),c=c._prev;c=null,this.pause(),this._pauseTime=u}s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)}s=_}this._onUpdate&&(e||(a.length&&r(),this._callback("onUpdate"))),l&&(this._locked||this._gc||v!==this._startTime&&T===this._timeScale||(0===this._time||p>=this.totalDuration())&&(h&&(a.length&&r(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}else y!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},l.getActive=function(t,e,i){var s,a,r=[],h=this.getChildren(t||null==t,e||null==t,!!i),_=0,l=h.length;for(s=0;s<l;s++)(a=h[s]).isActive()&&(r[_++]=a);return r},l.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),s=i.length;for(e=0;e<s;e++)if(i[e].time>t)return i[e].name;return null},l.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].time<t)return e[i].name;return null},l.getLabelsArray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},l.invalidate=function(){return this._locked=!1,e.default.prototype.invalidate.call(this)},l.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},l.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},l.totalDuration=function(t){return arguments.length?-1!==this._repeat&&t?this.timeScale(this.totalDuration()/t):this:(this._dirty&&(e.default.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},l.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,s=this._cycle,a=s*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&s?i-t+a:this._repeat?t+a:t,e)},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},l.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},i},!0);var a=t.globals.TimelineMax;exports.default=exports.TimelineMax=a; },{"./TweenLite.js":"sU2v","./TimelineLite.js":"Rh1e"}],"JjQl":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.BezierPlugin=void 0;var t=require("./TweenLite.js"),i=180/Math.PI,s=[],e=[],r=[],n={},o=t._gsScope._gsDefine.globals,a=function(t,i,s,e){s===e&&(s=e-(e-i)/1e6),t===i&&(i=t+(s-t)/1e6),this.a=t,this.b=i,this.c=s,this.d=e,this.da=e-t,this.ca=s-t,this.ba=i-t},h=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",_=function(t,i,s,e){var r={a:t},n={},o={},a={c:e},h=(t+i)/2,_=(i+s)/2,l=(s+e)/2,u=(h+_)/2,f=(_+l)/2,c=(f-u)/8;return r.b=h+(t-h)/4,n.b=u+c,r.c=n.a=(r.b+n.b)/2,n.c=o.a=(u+f)/2,o.b=f-c,a.b=l+(e-l)/4,o.c=a.a=(o.b+a.b)/2,[r,n,o,a]},l=function(t,i,n,o,a){var h,l,u,f,c,g,p,b,d,m,v,R,y,w=t.length-1,z=0,x=t[0].a;for(h=0;h<w;h++)l=(c=t[z]).a,u=c.d,f=t[z+1].d,a?(v=s[h],y=((R=e[h])+v)*i*.25/(o?.5:r[h]||.5),b=u-((g=u-(u-l)*(o?.5*i:0!==v?y/v:0))+(((p=u+(f-u)*(o?.5*i:0!==R?y/R:0))-g)*(3*v/(v+R)+.5)/4||0))):b=u-((g=u-(u-l)*i*.5)+(p=u+(f-u)*i*.5))/2,g+=b,p+=b,c.c=d=g,c.b=0!==h?x:x=c.a+.6*(c.c-c.a),c.da=u-l,c.ca=d-l,c.ba=x-l,n?(m=_(l,x,d,u),t.splice(z,1,m[0],m[1],m[2],m[3]),z+=4):z++,x=p;(c=t[z]).b=x,c.c=x+.4*(c.d-x),c.da=c.d-c.a,c.ca=c.c-c.a,c.ba=x-c.a,n&&(m=_(c.a,x,c.c,c.d),t.splice(z,1,m[0],m[1],m[2],m[3]))},u=function(t,i,r,n){var o,h,_,l,u,f,c=[];if(n)for(h=(t=[n].concat(t)).length;--h>-1;)"string"==typeof(f=t[h][i])&&"="===f.charAt(1)&&(t[h][i]=n[i]+Number(f.charAt(0)+f.substr(2)));if((o=t.length-2)<0)return c[0]=new a(t[0][i],0,0,t[0][i]),c;for(h=0;h<o;h++)_=t[h][i],l=t[h+1][i],c[h]=new a(_,0,0,l),r&&(u=t[h+2][i],s[h]=(s[h]||0)+(l-_)*(l-_),e[h]=(e[h]||0)+(u-l)*(u-l));return c[h]=new a(t[h][i],0,0,t[h+1][i]),c},f=function(t,i,o,a,_,f){var c,g,p,b,d,m,v,R,y={},w=[],z=f||t[0];for(g in _="string"==typeof _?","+_+",":h,null==i&&(i=1),t[0])w.push(g);if(t.length>1){for(R=t[t.length-1],v=!0,c=w.length;--c>-1;)if(g=w[c],Math.abs(z[g]-R[g])>.05){v=!1;break}v&&(t=t.concat(),f&&t.unshift(f),t.push(t[1]),f=t[t.length-3])}for(s.length=e.length=r.length=0,c=w.length;--c>-1;)g=w[c],n[g]=-1!==_.indexOf(","+g+","),y[g]=u(t,g,n[g],f);for(c=s.length;--c>-1;)s[c]=Math.sqrt(s[c]),e[c]=Math.sqrt(e[c]);if(!a){for(c=w.length;--c>-1;)if(n[g])for(m=(p=y[w[c]]).length-1,b=0;b<m;b++)d=p[b+1].da/e[b]+p[b].da/s[b]||0,r[b]=(r[b]||0)+d*d;for(c=r.length;--c>-1;)r[c]=Math.sqrt(r[c])}for(c=w.length,b=o?4:1;--c>-1;)p=y[g=w[c]],l(p,i,o,a,n[g]),v&&(p.splice(0,b),p.splice(p.length-b,b));return y},c=function(t,i,s){var e,r,n,o,h,_,l,u,f,c,g,p={},b="cubic"===(i=i||"soft")?3:2,d="soft"===i,m=[];if(d&&s&&(t=[s].concat(t)),null==t||t.length<b+1)throw"invalid Bezier data";for(f in t[0])m.push(f);for(_=m.length;--_>-1;){for(p[f=m[_]]=h=[],c=0,u=t.length,l=0;l<u;l++)e=null==s?t[l][f]:"string"==typeof(g=t[l][f])&&"="===g.charAt(1)?s[f]+Number(g.charAt(0)+g.substr(2)):Number(g),d&&l>1&&l<u-1&&(h[c++]=(e+h[c-2])/2),h[c++]=e;for(u=c-b+1,c=0,l=0;l<u;l+=b)e=h[l],r=h[l+1],n=h[l+2],o=2===b?0:h[l+3],h[c++]=g=3===b?new a(e,r,n,o):new a(e,(2*r+e)/3,(2*r+n)/3,n);h.length=c}return p},g=function(t,i,s){for(var e,r,n,o,a,h,_,l,u,f,c,g=1/s,p=t.length;--p>-1;)for(n=(f=t[p]).a,o=f.d-n,a=f.c-n,h=f.b-n,e=r=0,l=1;l<=s;l++)e=r-(r=((_=g*l)*_*o+3*(u=1-_)*(_*a+u*h))*_),i[c=p*s+l-1]=(i[c]||0)+e*e},p=function(t,i){var s,e,r,n,o=[],a=[],h=0,_=0,l=(i=i>>0||6)-1,u=[],f=[];for(s in t)g(t[s],o,i);for(r=o.length,e=0;e<r;e++)h+=Math.sqrt(o[e]),f[n=e%i]=h,n===l&&(_+=h,u[n=e/i>>0]=f,a[n]=_,h=0,f=[]);return{length:_,lengths:a,segments:u}},b=t._gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,i,s){this._target=t,i instanceof Array&&(i={values:i}),this._func={},this._mod={},this._props=[],this._timeRes=null==i.timeResolution?6:parseInt(i.timeResolution,10);var e,r,n,o,a,h=i.values||[],_={},l=h[0],u=i.autoRotate||s.vars.orientToBezier;for(e in this._autoRotate=u?u instanceof Array?u:[["x","y","rotation",!0===u?0:Number(u)||0]]:null,l)this._props.push(e);for(n=this._props.length;--n>-1;)e=this._props[n],this._overwriteProps.push(e),r=this._func[e]="function"==typeof t[e],_[e]=r?t[e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3)]():parseFloat(t[e]),a||_[e]!==h[0][e]&&(a=_);if(this._beziers="cubic"!==i.type&&"quadratic"!==i.type&&"soft"!==i.type?f(h,isNaN(i.curviness)?1:i.curviness,!1,"thruBasic"===i.type,i.correlate,a):c(h,i.type,_),this._segCount=this._beziers[e].length,this._timeRes){var g=p(this._beziers,this._timeRes);this._length=g.length,this._lengths=g.lengths,this._segments=g.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(u=this._autoRotate)for(this._initialRotations=[],u[0]instanceof Array||(this._autoRotate=u=[u]),n=u.length;--n>-1;){for(o=0;o<3;o++)e=u[n][o],this._func[e]="function"==typeof t[e]&&t[e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3)];e=u[n][2],this._initialRotations[n]=(this._func[e]?this._func[e].call(this._target):this._target[e])||0,this._overwriteProps.push(e)}return this._startRatio=s.vars.runBackwards?1:0,!0},set:function(t){var s,e,r,n,o,a,h,_,l,u,f,c=this._segCount,g=this._func,p=this._target,b=t!==this._startRatio;if(this._timeRes){if(l=this._lengths,u=this._curSeg,f=t*this._length,r=this._li,f>this._l2&&r<c-1){for(_=c-1;r<_&&(this._l2=l[++r])<=f;);this._l1=l[r-1],this._li=r,this._curSeg=u=this._segments[r],this._s2=u[this._s1=this._si=0]}else if(f<this._l1&&r>0){for(;r>0&&(this._l1=l[--r])>=f;);0===r&&f<this._l1?this._l1=0:r++,this._l2=l[r],this._li=r,this._curSeg=u=this._segments[r],this._s1=u[(this._si=u.length-1)-1]||0,this._s2=u[this._si]}if(s=r,f-=this._l1,r=this._si,f>this._s2&&r<u.length-1){for(_=u.length-1;r<_&&(this._s2=u[++r])<=f;);this._s1=u[r-1],this._si=r}else if(f<this._s1&&r>0){for(;r>0&&(this._s1=u[--r])>=f;);0===r&&f<this._s1?this._s1=0:r++,this._s2=u[r],this._si=r}a=1===t?1:(r+(f-this._s1)/(this._s2-this._s1))*this._prec||0}else a=(t-(s=t<0?0:t>=1?c-1:c*t>>0)*(1/c))*c;for(e=1-a,r=this._props.length;--r>-1;)n=this._props[r],h=(a*a*(o=this._beziers[n][s]).da+3*e*(a*o.ca+e*o.ba))*a+o.a,this._mod[n]&&(h=this._mod[n](h,p)),g[n]?p[n](h):p[n]=h;if(this._autoRotate){var d,m,v,R,y,w,z,x=this._autoRotate;for(r=x.length;--r>-1;)n=x[r][2],w=x[r][3]||0,z=!0===x[r][4]?1:i,o=this._beziers[x[r][0]],d=this._beziers[x[r][1]],o&&d&&(o=o[s],d=d[s],m=o.a+(o.b-o.a)*a,m+=((R=o.b+(o.c-o.b)*a)-m)*a,R+=(o.c+(o.d-o.c)*a-R)*a,v=d.a+(d.b-d.a)*a,v+=((y=d.b+(d.c-d.b)*a)-v)*a,y+=(d.c+(d.d-d.c)*a-y)*a,h=b?Math.atan2(y-v,R-m)*z+w:this._initialRotations[r],this._mod[n]&&(h=this._mod[n](h,p)),g[n]?p[n](h):p[n]=h)}}}),d=b.prototype;exports.default=exports.BezierPlugin=b,b.bezierThrough=f,b.cubicToQuadratic=_,b._autoCSS=!0,b.quadraticToCubic=function(t,i,s){return new a(t,(2*i+t)/3,(2*i+s)/3,s)},b._cssRegister=function(){var t=o.CSSPlugin;if(t){var i=t._internals,s=i._parseToProxy,e=i._setPluginRatio,r=i.CSSPropTween;i._registerComplexSpecialProp("bezier",{parser:function(t,i,n,o,a,h){i instanceof Array&&(i={values:i}),h=new b;var _,l,u,f=i.values,c=f.length-1,g=[],p={};if(c<0)return a;for(_=0;_<=c;_++)u=s(t,f[_],o,a,h,c!==_),g[_]=u.end;for(l in i)p[l]=i[l];return p.values=g,(a=new r(t,"bezier",0,0,u.pt,2)).data=u,a.plugin=h,a.setRatio=e,0===p.autoRotate&&(p.autoRotate=!0),!p.autoRotate||p.autoRotate instanceof Array||(_=!0===p.autoRotate?0:Number(p.autoRotate),p.autoRotate=null!=u.end.left?[["left","top","rotation",_,!1]]:null!=u.end.x&&[["x","y","rotation",_,!1]]),p.autoRotate&&(o._transform||o._enableTransforms(!1),u.autoRotate=o._target._gsTransform,u.proxy.rotation=u.autoRotate.rotation||0,o._overwriteProps.push("rotation")),h._onInitTween(u.proxy,p,o._tween),a}})}},d._mod=function(t){for(var i,s=this._overwriteProps,e=s.length;--e>-1;)(i=t[s[e]])&&"function"==typeof i&&(this._mod[s[e]]=i)},d._kill=function(t){var i,s,e=this._props;for(i in this._beziers)if(i in t)for(delete this._beziers[i],delete this._func[i],s=e.length;--s>-1;)e[s]===i&&e.splice(s,1);if(e=this._autoRotate)for(s=e.length;--s>-1;)t[e[s][2]]&&e.splice(s,1);return this._super._kill.call(this,t)}; },{"./TweenLite.js":"sU2v"}],"K9um":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"Linear",{enumerable:!0,get:function(){return t.Linear}}),Object.defineProperty(exports,"Power0",{enumerable:!0,get:function(){return t.Power0}}),Object.defineProperty(exports,"Power1",{enumerable:!0,get:function(){return t.Power1}}),Object.defineProperty(exports,"Power2",{enumerable:!0,get:function(){return t.Power2}}),Object.defineProperty(exports,"Power3",{enumerable:!0,get:function(){return t.Power3}}),Object.defineProperty(exports,"Power4",{enumerable:!0,get:function(){return t.Power4}}),exports.ExpoScaleEase=exports.Sine=exports.Expo=exports.Circ=exports.SteppedEase=exports.SlowMo=exports.RoughEase=exports.Bounce=exports.Elastic=exports.Back=void 0;var t=require("./TweenLite.js");t._gsScope._gsDefine("easing.Back",["easing.Ease"],function(){var e,n,o,r,s=t._gsScope.GreenSockGlobals||t._gsScope,i=s.com.greensock,a=2*Math.PI,p=Math.PI/2,u=i._class,c=function(e,n){var o=u("easing."+e,function(){},!0),r=o.prototype=new t.Ease;return r.constructor=o,r.getRatio=n,o},h=t.Ease.register||function(){},f=function(t,e,n,o,r){var s=u("easing."+t,{easeOut:new e,easeIn:new n,easeInOut:new o},!0);return h(s,t),s},_=function(t,e,n){this.t=t,this.v=e,n&&(this.next=n,n.prev=this,this.c=n.v-e,this.gap=n.t-t)},l=function(e,n){var o=u("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=o.prototype=new t.Ease;return r.constructor=o,r.getRatio=n,r.config=function(t){return new o(t)},o},g=f("Back",l("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),l("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),l("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),E=u("easing.SlowMo",function(t,e,n){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===n},!0),x=E.prototype=new t.Ease;return x.constructor=E,x.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},E.ease=new E(.7,.7),x.config=E.config=function(t,e,n){return new E(t,e,n)},(x=(e=u("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0)).prototype=new t.Ease).constructor=e,x.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},x.config=e.config=function(t,n){return new e(t,n)},(x=(n=u("easing.ExpoScaleEase",function(t,e,n){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=n},!0)).prototype=new t.Ease).constructor=n,x.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},x.config=n.config=function(t,e,o){return new n(t,e,o)},(x=(o=u("easing.RoughEase",function(e){for(var n,o,r,s,i,a,p=(e=e||{}).taper||"none",u=[],c=0,h=0|(e.points||20),f=h,l=!1!==e.randomize,g=!0===e.clamp,E=e.template instanceof t.Ease?e.template:null,x="number"==typeof e.strength?.4*e.strength:.4;--f>-1;)n=l?Math.random():1/h*f,o=E?E.getRatio(n):n,r="none"===p?x:"out"===p?(s=1-n)*s*x:"in"===p?n*n*x:n<.5?(s=2*n)*s*.5*x:(s=2*(1-n))*s*.5*x,l?o+=Math.random()*r-.5*r:f%2?o+=.5*r:o-=.5*r,g&&(o>1?o=1:o<0&&(o=0)),u[c++]={x:n,y:o};for(u.sort(function(t,e){return t.x-e.x}),a=new _(1,1,null),f=h;--f>-1;)i=u[f],a=new _(i.x,i.y,a);this._prev=new _(0,0,0!==a.t?a:a.next)},!0)).prototype=new t.Ease).constructor=o,x.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},x.config=function(t){return new o(t)},o.ease=new o,f("Bounce",c("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),c("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),c("BounceInOut",function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=7.5625*t:t=t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),f("Circ",c("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),c("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),c("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),f("Elastic",(r=function(e,n,o){var r=u("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||o)/(t<1?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),s=r.prototype=new t.Ease;return s.constructor=r,s.getRatio=n,s.config=function(t,e){return new r(t,e)},r})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),r("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),r("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),f("Expo",c("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),c("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),c("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f("Sine",c("SineOut",function(t){return Math.sin(t*p)}),c("SineIn",function(t){return 1-Math.cos(t*p)}),c("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),u("easing.EaseLookup",{find:function(e){return t.Ease.map[e]}},!0),h(s.SlowMo,"SlowMo","ease,"),h(o,"RoughEase","ease,"),h(e,"SteppedEase","ease,"),g},!0);var e=t.globals.Back;exports.Back=e;var n=t.globals.Elastic;exports.Elastic=n;var o=t.globals.Bounce;exports.Bounce=o;var r=t.globals.RoughEase;exports.RoughEase=r;var s=t.globals.SlowMo;exports.SlowMo=s;var i=t.globals.SteppedEase;exports.SteppedEase=i;var a=t.globals.Circ;exports.Circ=a;var p=t.globals.Expo;exports.Expo=p;var u=t.globals.Sine;exports.Sine=u;var c=t.globals.ExpoScaleEase;exports.ExpoScaleEase=c; },{"./TweenLite.js":"sU2v"}],"8LSc":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"TweenLite",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,"TweenPlugin",{enumerable:!0,get:function(){return e.TweenPlugin}}),Object.defineProperty(exports,"Ease",{enumerable:!0,get:function(){return e.Ease}}),Object.defineProperty(exports,"Power0",{enumerable:!0,get:function(){return e.Power0}}),Object.defineProperty(exports,"Power1",{enumerable:!0,get:function(){return e.Power1}}),Object.defineProperty(exports,"Power2",{enumerable:!0,get:function(){return e.Power2}}),Object.defineProperty(exports,"Power3",{enumerable:!0,get:function(){return e.Power3}}),Object.defineProperty(exports,"Power4",{enumerable:!0,get:function(){return e.Power4}}),Object.defineProperty(exports,"Linear",{enumerable:!0,get:function(){return e.Linear}}),Object.defineProperty(exports,"CSSPlugin",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,"AttrPlugin",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(exports,"RoundPropsPlugin",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(exports,"DirectionalRotationPlugin",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(exports,"TimelineLite",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(exports,"TimelineMax",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(exports,"BezierPlugin",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(exports,"Back",{enumerable:!0,get:function(){return f.Back}}),Object.defineProperty(exports,"Elastic",{enumerable:!0,get:function(){return f.Elastic}}),Object.defineProperty(exports,"Bounce",{enumerable:!0,get:function(){return f.Bounce}}),Object.defineProperty(exports,"RoughEase",{enumerable:!0,get:function(){return f.RoughEase}}),Object.defineProperty(exports,"SlowMo",{enumerable:!0,get:function(){return f.SlowMo}}),Object.defineProperty(exports,"SteppedEase",{enumerable:!0,get:function(){return f.SteppedEase}}),Object.defineProperty(exports,"Circ",{enumerable:!0,get:function(){return f.Circ}}),Object.defineProperty(exports,"Expo",{enumerable:!0,get:function(){return f.Expo}}),Object.defineProperty(exports,"Sine",{enumerable:!0,get:function(){return f.Sine}}),Object.defineProperty(exports,"ExpoScaleEase",{enumerable:!0,get:function(){return f.ExpoScaleEase}}),exports.default=exports.TweenMax=void 0;var e=p(require("./TweenLite.js")),r=l(require("./TweenMaxBase.js")),t=l(require("./CSSPlugin.js")),n=l(require("./AttrPlugin.js")),u=l(require("./RoundPropsPlugin.js")),o=l(require("./DirectionalRotationPlugin.js")),i=l(require("./TimelineLite.js")),a=l(require("./TimelineMax.js")),c=l(require("./BezierPlugin.js")),f=require("./EasePack.js");function l(e){return e&&e.__esModule?e:{default:e}}function p(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,t):{};n.get||n.set?Object.defineProperty(r,t,n):r[t]=e[t]}return r.default=e,r}var s=r.default;exports.default=exports.TweenMax=s,s._autoActivated=[i.default,a.default,t.default,n.default,c.default,u.default,o.default,f.Back,f.Elastic,f.Bounce,f.RoughEase,f.SlowMo,f.SteppedEase,f.Circ,f.Expo,f.Sine,f.ExpoScaleEase]; },{"./TweenLite.js":"sU2v","./TweenMaxBase.js":"tBUL","./CSSPlugin.js":"KE4Q","./AttrPlugin.js":"Lwey","./RoundPropsPlugin.js":"gZZs","./DirectionalRotationPlugin.js":"3BYZ","./TimelineLite.js":"Rh1e","./TimelineMax.js":"c5lM","./BezierPlugin.js":"JjQl","./EasePack.js":"K9um"}],"kqx8":[function(require,module,exports) { module.exports=n;var o=[],t=0,e=function(){var e=-1,n=o.length,u=o;for(o=[],t=0;++e<n;)u[e]()};function n(n){o.push(n),0===t&&(t=setTimeout(e,0))} },{}],"SSHP":[function(require,module,exports) { var e=require("callasync");function t(t,n){n||(n={}),"[object Function]"==={}.toString.call(n)&&(n={complete:n});var r,o=document,l=o.styleSheets,f="[object Array]"==={}.toString.call(t)?t:[t],i=n.media?n.media:"all",a=n.complete||function(){},c=[];if(n.before)r=n.before;else{var u=(o.body||o.getElementsByTagName("head")[0]).childNodes;r=u[u.length-1]}function h(){for(var t=0,n=-1,r=c.length;++n<r;)if(d(c[n].href)&&++t===r)return a(c);e(h)}function d(e){for(var t=-1,n=l.length;++t<n;)if(null!==l[t].href&&0!==l[t].href.length&&l[t].href===e)return!0}return function t(n){if(o.body)return n();e(function(){t(n)})}(function(){for(var t=-1,l=f.length,a=n.before?r:r.nextSibling;++t<l;)c[t]=o.createElement("link"),c[t].rel="stylesheet",c[t].href=f[t],c[t].media=i,r.parentNode.insertBefore(c[t],a);e(h)}),c}module.exports=t; },{"callasync":"kqx8"}],"Q7Ly":[function(require,module,exports) { "use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function n(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var a=function(){function e(){t(this,e),this.enabled=!1;var n=document.querySelector('script[src*="gtag"]');this.gaPropertyId=!(!n||!n.hasAttribute("src"))&&n.src.split("?id=")[1]}return n(e,[{key:"hasGtag",value:function(){return this.enabled=void 0!==window.gtag,this.enabled}},{key:"event",value:function(t,e,n,a){return!!this.hasGtag()&&(this.gaPropertyId?(window.gtag("event",this.gaPropertyId,{event_category:t,event_action:e,event_label:n,value:a}),!0):(this.log("Missing dataLayer. Is gtag loaded?"),!1))}},{key:"pageview",value:function(){return!!this.hasGtag()&&(this.gaPropertyId?(window.gtag("config",this.gaPropertyId,{page_title:document.title,page_path:"".concat(window.location.pathname).concat(window.location.search)}),!0):(this.log("Missing dataLayer. Is gtag loaded?"),!1))}},{key:"registerAllExternalLinks",value:function(){if("undefined"!=typeof window&&this.hasGtag())for(var t=document.querySelectorAll('a[href^="http"]:not([hastracking])'),e=0;e<t.length;e+=1)""!==t[e].href&&(t[e].setAttribute("hastracking","true"),t[e].onclick=function(t,e){return function(){t.event("Ext. link",e)}}(this,t[e].href))}},{key:"log",value:function(t){this.debug}}]),e}(),i=new a;exports.default=i; },{}],"szrR":[function(require,module,exports) { },{}],"epB2":[function(require,module,exports) { "use strict";var e=require("conversational-form"),t=require("gsap/TweenMax"),n=a(require("loadcss")),o=a(require("./tracking"));function a(e){return e&&e.__esModule?e:{default:e}}require("reset-css"),require("./scss/main.scss");var r=.8,i=["conversational-form-dark.min.css","conversational-form.min.css","conversational-form-purple.min.css","conversational-form-irisblue.min.css","conversational-form-red.min.css","conversational-form-green.min.css"],c=null;function s(){[].slice.call(document.querySelectorAll("form *[cf-image]")).map(function(e){return(new Image).src=e.getAttribute("cf-image")})}function l(){(0,n.default)(i.map(function(e){return"./".concat(e)}),function(e){e.forEach(function(e){}),[].slice.call(document.styleSheets).map(function(e,t){return e.href.indexOf("conversational-form")>-1&&-1===e.href.indexOf(i[0])&&-1===e.href.indexOf("main.")&&(document.styleSheets[t].disabled=!0),e})})}function u(e){c!==e&&[].slice.call(document.styleSheets).map(function(t,n){return n>0&&!1===document.styleSheets[n].disabled?document.styleSheets[n].disabled=!0:document.styleSheets[n].href.indexOf(e)>-1&&(document.styleSheets[n].disabled=!1,c=e),t})}function m(){var e=document.querySelector("header"),n=document.querySelector("h1"),o=document.querySelector(".cf"),a=document.querySelector(".about");window.innerHeight<780&&t.TweenLite.set(n,{css:{scale:.68,"margin-top":60,"margin-bottom":60}}),t.TweenLite.set(e,{y:10}),t.TweenLite.to(e,r/2,{opacity:1,y:0}),t.TweenLite.set(n,{y:20}),t.TweenLite.to(n,r,{opacity:1,y:0,delay:r/2}),t.TweenLite.set(o,{y:40}),t.TweenLite.to(o,1.2*r,{opacity:1,y:0,delay:r}),setTimeout(function(){window.ConversationalForm.start()},.6*r*1e3),t.TweenLite.to(a,3*r,{opacity:1,delay:2*r})}function d(){l(),u(i[1]),s(),o.default.registerAllExternalLinks();var n=document.querySelector(".wrapper"),a=document.querySelector(".form"),c=document.querySelector(".cf"),d=new e.EventDispatcher;d.addEventListener(e.FlowEvents.FLOW_UPDATE,function(e){"ending"===e.detail.tag.name&&(window.ConversationalForm.flowManager.stop(),document.querySelector("#conversational-form").style["pointer-events"]="none")},!1);var f=new e.ConversationalForm({formEl:a,context:c,loadExternalStyleSheet:!1,preventAutoFocus:!0,preventAutoStart:!0,eventDispatcher:d,submitCallback:function(){var e=f.getFormData(!0);e.getstarted&&-1===e.getstarted.indexOf("no")&&f.addRobotChatResponse("Ok. Thank you for trying out Conversational Form.")},flowStepCallback:function(e,t){o.default.event("conversational form example",e.tag.name,e.tag.value),"theme"===e.tag.name&&u(e.tag.value[0]),setTimeout(function(){("changeThemeAgain"!==e.tag.name||"changeThemeAgain"===e.tag.name&&"yes"!==e.tag.value[0])&&t(),"changeThemeAgain"===e.tag.name&&"yes"===e.tag.value[0]&&window.ConversationalForm.remapTagsAndStartFrom(3)},0)}});t.TweenLite.to(n,1,{opacity:1,delay:r/2,onComplete:m})}document.addEventListener("DOMContentLoaded",d); },{"conversational-form":"Jy7r","gsap/TweenMax":"8LSc","loadcss":"SSHP","./tracking":"Q7Ly","reset-css":"szrR","./scss/main.scss":"szrR"}]},{},["epB2"], null) //# sourceMappingURL=/conversational-form/landingpage/main.37ae432b.js.map ```
Odostomella bicincta is a species of sea snail, a marine gastropod mollusk in the family Pyramidellidae, the pyrams and their allies. Distribution This species occurs in the following locations: Canary Islands Cape Verde Mediterranean Sea References External links To CLEMAM To Encyclopedia of Life Pyramidellidae Gastropods described in 1868 Molluscs of Macaronesia Molluscs of the Mediterranean Sea Molluscs of the Canary Islands Gastropods of Cape Verde
```yaml models: - columns: - name: id tests: - unique - not_null - relationships: field: id to: ref('node_0') name: node_1416 version: 2 ```
```smalltalk Class { #name : 'CmdCommandExampleInMultipleMenuGroups', #superclass : 'CmdRootOfCommandExamples', #category : 'Commander-Core-Tests', #package : 'Commander-Core-Tests' } { #category : 'activation' } CmdCommandExampleInMultipleMenuGroups class >> childMenuGroupActivationExample1 [ <classAnnotation> ^CmdMenuCommandActivationExample byItemOf: CmdMenuGroupExample1 for: CmdToolContextStub1 ] { #category : 'activation' } CmdCommandExampleInMultipleMenuGroups class >> childMenuGroupActivationExample2 [ <classAnnotation> ^CmdMenuCommandActivationExample byItemOf: CmdMenuGroupExample2 for: CmdToolContextStub1 ] { #category : 'activation' } CmdCommandExampleInMultipleMenuGroups class >> rootMenuActivationExample [ <classAnnotation> ^CmdMenuCommandActivationExample byRootGroupItemOrder: 2 for: CmdToolContextStub1 ] ```
Damgan (; Damgan in Breton) is a commune in the Morbihan department of Brittany in north-western France. Inhabitants of Damgan are called in French Damganais. Geography Damgan is a coastal town located on the south coast of Brittany. The town is located southeast of Vannes. The river Penerf forms a natural boundary to the west. Historically Damgan belongs to Vannetais and Lower Brittany. Population Tourism Damgan is a seaside resort. It is a destination very popular in summer. 73.5% of the properties are holiday homes, the highest percentage in Morbihan. See also Communes of the Morbihan department References External links Mayors of Morbihan Association Communes of Morbihan
Jingpo Lacus is a lake in the north polar region of Titan, the planet Saturn's largest moon. It and similarly sized Ontario Lacus are the largest known bodies of liquid on Titan after the three maria (Kraken Mare, Ligeia Mare, and Punga Mare). It is composed of liquid hydrocarbons (mainly methane and ethane). It is west of Kraken Mare at 73° N, 336° W, roughly 240 km (150 mi) long, similar to the length of Lake Onega on Earth. Its namesake is Jingpo Lake, a lake in China. Specular reflection On 8 July 2009, Cassini's Visual and Infrared Mapping Spectrometer (VIMS) observed a specular reflection in 5 µm infrared light off Jingpo Lacus at 71° N, 337° W. (This has sometimes been described less accurately as at the southern shoreline of Kraken Mare.) Specular reflections indicate a smooth, mirror-like surface, so the observation corroborated the inference of the presence of a large liquid body drawn from radar imaging. The observation was made soon after the north polar region emerged from 15 years of winter darkness. Gallery See also Lakes of Titan Notes References External links Map of the liquid bodies in the north polar region of Titan Lakes of Titan (moon)
```ruby class RaxmlNg < Formula desc "RAxML Next Generation: faster, easier-to-use and more flexible" homepage "path_to_url" url "path_to_url", tag: "1.2.2", revision: "805318cef87bd5d67064efa299b5d1cf948367fd" license "AGPL-3.0-or-later" bottle do sha256 cellar: :any, arm64_sonoma: your_sha256_hash sha256 cellar: :any, arm64_ventura: your_sha256_hash sha256 cellar: :any, arm64_monterey: your_sha256_hash sha256 cellar: :any, sonoma: your_sha256_hash sha256 cellar: :any, ventura: your_sha256_hash sha256 cellar: :any, monterey: your_sha256_hash sha256 cellar: :any_skip_relocation, x86_64_linux: your_sha256_hash end depends_on "bison" => :build # fix syntax error with `parse_utree.y` depends_on "cmake" => :build depends_on "gmp" uses_from_macos "flex" => :build on_linux do depends_on "open-mpi" end resource "homebrew-example" do url "path_to_url" sha256 your_sha256_hash end def install args = std_cmake_args + ["-DUSE_GMP=ON"] system "cmake", "-S", ".", "-B", "build", *args system "cmake", "--build", "build" system "cmake", "--install", "build" # Upstream doesn't support building MPI variant on macOS. # The build ignores USE_MPI=ON and forces ENABLE_MPI=OFF. # This causes necessary flags like -D_RAXML_MPI to not get set. return if OS.mac? system "cmake", "-S", ".", "-B", "build_mpi", *args, "-DUSE_MPI=ON" system "cmake", "--build", "build_mpi" system "cmake", "--install", "build_mpi" end test do testpath.install resource("homebrew-example") system bin/"raxml-ng", "--msa", "dna.phy", "--start", "--model", "GTR" end end ```
This is a list of dams in Maine that have been removed as physical impediments to free-flowing rivers or streams. Completed removals See also List of dam removals in New Hampshire References External links - Dams Maine
The Longer Sukhāvatīvyūha Sūtra (or Infinite Life Sutra, Chinese: Fóshuōwúliàngshòujīng 佛說無量壽經; Vietnamese: Phật Thuyết Kinh Vô Lượng Thọ; Japanese: Taisho Tripitaka # 360) is one of the two Indian Mahayana sutras which describe the pure land of Amitābha. Together with the Shorter Sukhāvatīvyūha Sūtra, this text is highly influential in China and Japan where it is revered by the Jōdo-shū and Jōdo Shinshū congregations. History and translations Some scholars believe that the Longer Sukhāvatīvyūha Sūtra was compiled in the age of the Kushan Empire in the first and second centuries by an order of Mahīśāsaka monastics who flourished in the Gandhāra region. It is likely that the longer Sukhāvatīvyūha owed greatly to the Lokottaravāda sect as well for its compilation, and in this sūtra there are many elements in common with the Mahāvastu. The earliest of the Chinese translations show traces of having been translated from the Gāndhārī language, a prakrit used in the Northwest. It is also known that manuscripts in the Kharoṣṭhī script existed in China during this period. Traditionally the Longer Sukhāvatīvyūha Sūtra is believed to have been translated into Chinese twelve times from the original Sanskrit from 147 to 713 CE. Of those, only five translations are extant in the Chinese Buddhist canon. The earliest of the five translations is attributed to Zhi Qian, who came from the Kuṣāṇa kingdom to Luoyang during the decline of the Han dynasty and translated the sūtra sometime between 223 and 253 CE. This translation is known most commonly as Dà Āmítuófó Jīng (大阿彌陀佛經), or "Larger Sūtra of the Amitābha Buddha." This translation has also been attributed to the earlier Han period Kuṣāṇa translator Lokakṣema, who arrived in Luoyang in 164 CE and translated works through 186 CE. The most well-known Chinese version of the Longer Sukhāvatīvyūha Sūtra is the two-fascicle Fó Shuō Wúliángshòu Jīng (Ch. 佛說無量壽經), which translates to "The Buddha Speaks of the Infinite Life Sūtra." This translation is traditionally attributed to the Indian Buddhist monk Saṅghavarman (Ch. 康僧鎧 Kāng Sēngkǎi), who translated the text in 252 CE at White Horse Temple in Luoyang, during the Three Kingdoms Period. However, the common opinion now is that it was more likely a work of the later Indian monk and translator Buddhabhadra (359-429 CE). In addition to the Chinese translations, the Longer Sukhāvatīvyūha Sūtra is also extant in Sanskrit. The Sanskrit has been directly translated into English, most notably by F. Max Mueller. Because Japanese kanji (written ideographic characters) are derived from Chinese and largely have the same meaning, there has been no need for further translation into Japanese (although hiragana texts are widely available). Contents In the Longer Sukhāvatīvyūha Sūtra, the Buddha begins by describing to his attendant Ānanda a past life of the Buddha Amitābha. He states that in a past life, Amitābha was once a king who renounced his kingdom and became a bodhisattva monk named Dharmākara ("Dharma Storehouse"). Under the guidance of the buddha Lokeśvararāja ("World Sovereign King"), innumerable buddha-lands throughout the ten directions were revealed to him. After meditating for five eons as a bodhisattva, he then made a great series of vows to save all sentient beings, and through his great merit, created the realm of Sukhāvatī ("Ultimate Bliss"). This land of Sukhāvatī would later come to be known as a pure land (Ch. 淨土) in Chinese translation. The sutra describes in great detail Sukhāvatī and its inhabitants, and how they are able to attain rebirth there. The text also provides a detailed account of the various levels and beings in the Mahāyāna Buddhist cosmology. The sutra also contains the forty-eight vows of Amitābha to save all sentient beings. The eighteenth vow is among the most important as it forms a basic tenet of Pure Land Buddhism. This vow states that if a sentient being makes even ten recitations of the Amitābha's name (nianfo) they will attain certain rebirth into Amitābha's pure land. Lastly the sutra shows the Buddha discoursing at length to the future buddha, Maitreya, describing the various forms of evil that Maitreya must avoid to achieve his goal of becoming a buddha as well as other admonitions and advice. Sukhāvatīvyūha Sūtra Quotation on the Peace Bell at Hiroshima A Peace Bell with an enclosure was constructed in the Hiroshima Peace Memorial Park on September 20, 1964. Among its inscriptions is a Sanskrit quote from Sukhāvatīvyūha Sūtra: The English translation (Müller, Max, trans. 1894): The Chinese translation: English Translations Gomez, Luis, trans. (1996), The Land of Bliss: The Paradise of the Buddha of Measureless Light: Sanskrit and Chinese Versions of the Sukhavativyuha Sutras, Honolulu: University of Hawaii Press Müller, Max, trans. (1894), The Larger Sukhāvatī-vyūha. In: The Sacred Books of the East, Volume XLIX: Buddhist Mahāyāna Texts, Part II. Oxford: Clarendon Press, See also Shorter Sukhāvatīvyūha Sūtra (Amitabha Sutra) Sukhavati Amitābha Mahayana sutras References Bibliography Nattier, Jan (2003). The Indian Roots of Pure Land Buddhism: Insights from the Oldest Chinese Versions of the Larger Sukhavativyuha, Pacific World (3rd series) 5, 179–201 Mahayana sutras Pure Land Buddhism
```php <?php declare(strict_types=1); namespace Shlinkio\Shlink\Core\EventDispatcher\Mercure; use Shlinkio\Shlink\Core\EventDispatcher\Async\AbstractNotifyNewShortUrlListener; use Shlinkio\Shlink\Core\EventDispatcher\Async\RemoteSystem; class NotifyNewShortUrlToMercure extends AbstractNotifyNewShortUrlListener { protected function isEnabled(): bool { return true; } protected function getRemoteSystem(): RemoteSystem { return RemoteSystem::MERCURE; } } ```
```go package parallel_support import ( "io" "os" "sync" "github.com/onsi/ginkgo/v2/reporters" "github.com/onsi/ginkgo/v2/types" ) type Void struct{} var voidReceiver *Void = &Void{} var voidSender Void // ServerHandler is an RPC-compatible handler that is shared between the http server and the rpc server. // It handles all the business logic to avoid duplication between the two servers type ServerHandler struct { done chan interface{} outputDestination io.Writer reporter reporters.Reporter alives []func() bool lock *sync.Mutex beforeSuiteState BeforeSuiteState reportBeforeSuiteState types.SpecState parallelTotal int counter int counterLock *sync.Mutex shouldAbort bool numSuiteDidBegins int numSuiteDidEnds int aggregatedReport types.Report reportHoldingArea []types.SpecReport } func newServerHandler(parallelTotal int, reporter reporters.Reporter) *ServerHandler { return &ServerHandler{ reporter: reporter, lock: &sync.Mutex{}, counterLock: &sync.Mutex{}, alives: make([]func() bool, parallelTotal), beforeSuiteState: BeforeSuiteState{Data: nil, State: types.SpecStateInvalid}, parallelTotal: parallelTotal, outputDestination: os.Stdout, done: make(chan interface{}), } } func (handler *ServerHandler) SpecSuiteWillBegin(report types.Report, _ *Void) error { handler.lock.Lock() defer handler.lock.Unlock() handler.numSuiteDidBegins += 1 // all summaries are identical, so it's fine to simply emit the last one of these if handler.numSuiteDidBegins == handler.parallelTotal { handler.reporter.SuiteWillBegin(report) for _, summary := range handler.reportHoldingArea { handler.reporter.WillRun(summary) handler.reporter.DidRun(summary) } handler.reportHoldingArea = nil } return nil } func (handler *ServerHandler) DidRun(report types.SpecReport, _ *Void) error { handler.lock.Lock() defer handler.lock.Unlock() if handler.numSuiteDidBegins == handler.parallelTotal { handler.reporter.WillRun(report) handler.reporter.DidRun(report) } else { handler.reportHoldingArea = append(handler.reportHoldingArea, report) } return nil } func (handler *ServerHandler) SpecSuiteDidEnd(report types.Report, _ *Void) error { handler.lock.Lock() defer handler.lock.Unlock() handler.numSuiteDidEnds += 1 if handler.numSuiteDidEnds == 1 { handler.aggregatedReport = report } else { handler.aggregatedReport = handler.aggregatedReport.Add(report) } if handler.numSuiteDidEnds == handler.parallelTotal { handler.reporter.SuiteDidEnd(handler.aggregatedReport) close(handler.done) } return nil } func (handler *ServerHandler) EmitOutput(output []byte, n *int) error { var err error *n, err = handler.outputDestination.Write(output) return err } func (handler *ServerHandler) EmitProgressReport(report types.ProgressReport, _ *Void) error { handler.lock.Lock() defer handler.lock.Unlock() handler.reporter.EmitProgressReport(report) return nil } func (handler *ServerHandler) registerAlive(proc int, alive func() bool) { handler.lock.Lock() defer handler.lock.Unlock() handler.alives[proc-1] = alive } func (handler *ServerHandler) procIsAlive(proc int) bool { handler.lock.Lock() defer handler.lock.Unlock() alive := handler.alives[proc-1] if alive == nil { return true } return alive() } func (handler *ServerHandler) haveNonprimaryProcsFinished() bool { for i := 2; i <= handler.parallelTotal; i++ { if handler.procIsAlive(i) { return false } } return true } func (handler *ServerHandler) ReportBeforeSuiteCompleted(reportBeforeSuiteState types.SpecState, _ *Void) error { handler.lock.Lock() defer handler.lock.Unlock() handler.reportBeforeSuiteState = reportBeforeSuiteState return nil } func (handler *ServerHandler) ReportBeforeSuiteState(_ Void, reportBeforeSuiteState *types.SpecState) error { proc1IsAlive := handler.procIsAlive(1) handler.lock.Lock() defer handler.lock.Unlock() if handler.reportBeforeSuiteState == types.SpecStateInvalid { if proc1IsAlive { return ErrorEarly } else { return ErrorGone } } *reportBeforeSuiteState = handler.reportBeforeSuiteState return nil } func (handler *ServerHandler) BeforeSuiteCompleted(beforeSuiteState BeforeSuiteState, _ *Void) error { handler.lock.Lock() defer handler.lock.Unlock() handler.beforeSuiteState = beforeSuiteState return nil } func (handler *ServerHandler) BeforeSuiteState(_ Void, beforeSuiteState *BeforeSuiteState) error { proc1IsAlive := handler.procIsAlive(1) handler.lock.Lock() defer handler.lock.Unlock() if handler.beforeSuiteState.State == types.SpecStateInvalid { if proc1IsAlive { return ErrorEarly } else { return ErrorGone } } *beforeSuiteState = handler.beforeSuiteState return nil } func (handler *ServerHandler) HaveNonprimaryProcsFinished(_ Void, _ *Void) error { if handler.haveNonprimaryProcsFinished() { return nil } else { return ErrorEarly } } func (handler *ServerHandler) AggregatedNonprimaryProcsReport(_ Void, report *types.Report) error { if handler.haveNonprimaryProcsFinished() { handler.lock.Lock() defer handler.lock.Unlock() if handler.numSuiteDidEnds == handler.parallelTotal-1 { *report = handler.aggregatedReport return nil } else { return ErrorGone } } else { return ErrorEarly } } func (handler *ServerHandler) Counter(_ Void, counter *int) error { handler.counterLock.Lock() defer handler.counterLock.Unlock() *counter = handler.counter handler.counter++ return nil } func (handler *ServerHandler) Abort(_ Void, _ *Void) error { handler.lock.Lock() defer handler.lock.Unlock() handler.shouldAbort = true return nil } func (handler *ServerHandler) ShouldAbort(_ Void, shouldAbort *bool) error { handler.lock.Lock() defer handler.lock.Unlock() *shouldAbort = handler.shouldAbort return nil } ```
Perla may refer to: Places Perla, Arkansas, a town in the United States Perla, Kasaragod, a village in Kerala Perła, Lesser Poland Voivodeship, a village in Poland Perla gas field, a offshore gas field in Venezuela People Perla (singer) (born 1952), Paraguayan-Brazilian singer Perla Batalla (born 1961), Mexican-American singer Perla Serfaty (born 1944), Moroccan-Born French and Canadian academic, sociologist, psychosociologist, writer Other uses Perla (stonefly), a genus of stoneflies in the family Perlidae Perla (zarzuela), an 1871 zarzuela by Miguel Marqués; verse libretto by Juan José Herranz Perła, Polish title of Edyta Górniak's album Invisible Perła, a beer made by Browary Lubelskie Italian submarine Perla Perla-class submarine, Italian 1930s Perla (TV series), Mexican See also —includes several people with forename Perla —includes several people with surname or forename Perla La Perla (disambiguation) Perlla (born 1988), Brazilian singer PERRLA and PERLA, medical abbreviations
was a Japanese tennis player. He was ranked world No. 3 in 1933, but committed suicide in the Strait of Malacca during his trip to the Davis Cup in 1934. He received worldwide fame in Wimbledon 1932, when he beat the defending champion Sidney Wood at the quarterfinal. In the semifinal, he lost to Bunny Austin. His peak came in 1933, when he beat Fred Perry in the French Open quarterfinal. He was ranked world No. 3 by A. Wallis Myers of The Daily Telegraph, behind Jack Crawford and Fred Perry. However, it got more and more difficult for him to endure the enormous pressure from Japan. It is believed that pressure drove him to throw himself overboard into the Strait of Malacca on April 5, 1934, at 26 years of age. Tennis career He debuted on the international tennis scene in 1929 when the touring Racing Club de Paris visited Japan for a series of exhibition matches. He notably defeated tennis legends Jacques Brugnon, Raymond Rodel and Pierre Henri Landry, only losing to Henri Cochet. In 1930 he was the runner-up for the All Japan Championships, which he finally did win the next year. Also in 1930 he was a runner-up for the Mid-Pacific Invitational tournament losing to American Cranston Holman and the doubles final as well. In 1931 he lost the Miramar L. T. C. title in Juan-les-Pins against his brother Hyotaro Sato, won the doubles, and was a finalist in mixed doubles. He clinched the West of England Championships in singles and doubles. He was defeated by Jean Borotra for the British Covered Court Championships title. He partnered his brother to gain the Beau Site Club de Cannes second meeting trophy and the St. Raphaël T.C. title. In singles competition he claimed the Country Club de Monte-Carlo second meeting title (the same tournament in which the Sato brothers reached the doubles final). He became Dutch doubles champion alongside Minoru Kawachi. In July he beat Vernon Kirby for the Tunbridge Wells Championship. He captured the Midland Counties Championships in singles and mixed doubles the same month and only losing the doubles final. Between July and November 1931 he won 13 singles titles in Great Britain. He met Fred Perry twice for the Pacific Southwest Championships title in 1932 and 1933, losing both times. In August 1933 he partnered compatriot Ryosuke Nunoi to win the doubles title at the German Championships in Hamburg. From 1931 to 1933 Sato played in ten ties for the Japanese Davis Cup team and won 22 rubbers and lost only six, compiling a 79% winning record. Playing style Sato played with a flat forehand drive which he modeled after Henri Cochet when Cochet visited Japan in 1929. He hit the ball on the forehand side early after the bounce and he was an excellent volleyer. Personal life Jiro Sato attended Waseda University and studied economics. He abandoned his studies in 1933 to pursue tennis. He had an elder brother, Hyotaro Sato, who was also a tennis player. He was engaged to Sanae Okada in 1934, one of Japan's best female tennis players. Death On April 4, 1934, Jiro Sato was on the ship N.Y.K. Hakone Maru crossing the Strait of Malacca to Europe for the 1934 International Lawn Tennis Challenge (later to be known as Davis Cup) against the Australia Davis Cup team in the second round. Ted Tinling was also on board that ship. Earlier in the day Sato complained of stomach pains and thus had no appetite and kept to his cabin. He considered leaving the ship at Singapore, which he did for a medical examination. The exam revealed no reasons for his health problems and it was concluded that his problems were psychological. Sato was nervous and feared that his illness would be an obstacle for his team to win. As the day passed, the Japan Davis Cup team was given a banquet hosted by the Japanese consul to Singapore. Sato was present and was further pushed by the consul and his teammates to proceed with the trip and sail to Europe. That same day a cable was received from the Japanese Lawn Tennis Association insisting on Sato's participation in the Davis Cup and that the voyage should be resumed without delay. At 11:30 p.m. on April 5, 1934, before reaching Penang, Sato was found missing by his compatriot Jiro Yamagishi. The last time he was seen was at 8:30 p.m. when he had dinner in his cabin. He left two suicide notes, one to his Japanese tennis teammates expressing doubts that he would be able to help the team in the upcoming contest. He begged them to forgive him and do their best to prevail in the match. He promised he would be with his colleagues in spirit. The other note was addressed to the ship's captain, apologizing for the inconveniences that his actions might cause. A search for him continued for seven more hours and the vessel hovered in the strait. Wireless messages were sent to nearby ships. Later further evidence was found which confirmed the suicide theory. Two iron davit-winding handles and a training skip-rope were missing, which Sato probably used to tie weights on himself to make sure he would drown. After discovery of the new evidence, the ship sent out a radio message stating that "Japan's finest tennis player and national hero was believed to have committed suicide by throwing himself overboard". On April 6, a prayer was ministered by his friends who assembled on the deck of the ship. An altar was built on board with photographs and racquets of Sato around it. Also a traditional Japanese "cake offering" ceremony was held. It was speculated that the pressure on him came from the growing prestige of the Japanese Empire and from the Japanese Lawn Tennis Association who refused to allow the exhausted Sato to have a break from tennis and skip the 1934 season. He became depressed and concerned about his abilities. Several world class players reacted to the event. Fred Perry said that Sato was "one of the cheeriest men he had ever known". Bunny Austin added that "He had a great sense of humor...He always gave the impression that he would be the last man on earth to come to such an end". Ryuki Miki took over as captain of the Davis Cup team and went on to win the 1934 Wimbledon Championships mixed doubles title the same year. Miki stated Sato was a joyful person who loved jokes and making people laugh. His fiancée recalled that Sato hoped he could stay at Singapore. She further added: "I believe Jiro committed suicide solely from a sense of responsibility after he had acceded to the tennis association's urgings to proceed to Europe, even when he wanted to return from Singapore. To the end of my life I shall regret that it was the order of the Japanese Lawn Tennis Association that resulted in his death. Jiro was a man of honor and he played every time for the honor of Japan." His brother Hyotaro Sato addressed a call for the Japanese team to not cancel their match and to fight their hardest. Grand Slam finals Doubles (1 runner-up ) Mixed doubles (1 runner-up) Grand Slam performance Sources Maurice Brady, The Encyclopedia of Lawn Tennis (Robert Hale Ltd., published in 1958 / See pages 118-119.) Bud Collins, Total Tennis, The Ultimate Tennis Encyclopedia (, Sport Classic Books / See page 785.) References External links 1908 births 1934 suicides 1934 deaths Japanese male tennis players People who died at sea Suicides by drowning Sportspeople from Gunma Prefecture 20th-century Japanese people
The International Conference on User Modeling, Adaptation, and Personalization (UMAP) is the oldest international conference for researchers and practitioners working on various kinds of user-adaptive computer systems such as Adaptive hypermedia systems, Recommender systems, Adaptive websites, Adaptive learning, Personalized learning and Intelligent tutoring systems and Personalized search systems. All of these systems adapt to their individual users, or to groups of users (i.e., Personalization). To achieve this goal, they collect and represent information about users or groups (i.e., User modeling). The UMAP conferences have historically been organized under the auspices of User Modeling Inc., a professional organization of User Modeling researchers. Until 2015, the conference proceedings were published by Springer. In 2016, the UMAP conference series became affiliated with the Association for Computing Machinery (ACM), where it is supported by ACM SIGWEB and ACM SIGCHI. History UMAP is the successor of the biennial conference series on User Modeling and Adaptive Hypermedia. The User Modeling series started in 1986 as the First International Workshop on User Modeling (UM) at Maria Laach, Germany and was first officially called a conference at the Fourth International Conference on User Modeling in Hyannis, Massachusetts. The last conference in the original series was UM 2007. The International Conference on Adaptive Hypermedia and Adaptive Web-based Systems (abbreviated as AH) started in 2000. The last conference in this original series was AH 2008, held in 2008. For several years between 2000 and 2008, UM and AH ran biennially in alternate years. In 2009, the conference series merged into a single annual series under the UMAP designation. The first UMAP conference was in 2009. The full list of conferences in the series can be found on the UM Inc. website and in a timeline on the Springer publisher website. References Association for Computing Machinery conferences Computer science conferences Artificial intelligence conferences Computer conferences
Raise Up the Tent is the fifth studio album by Tea Leaf Green. Released on July 22, 2008 by Surfdog Records, It was produced by Camper Van Beethoven founder and Cracker cofounder, David Lowery. Track listing All songs written by Trevor Garrod. "Let Us Go" - 3:31 "Don't Curse at the Night" - 4:34 "Red Ribbons" - 4:06 "I've Got a Truck" - 3:45 "Innocence" - 3:58 "Not Fit" - 4:35 "Borrowed Time" - 3:19 "Slept Through Sunday" - 5:30 "Standing Still" - 4:38 "Stick to the Shallows (Don't Drift Away)" - 3:28 "Keeping the Faith" - 3:50 Artists Josh Clark - Guitar, vocals Reed Mathis - Bass, cello, and vocals Scott Rager - Drums, percussion, and backing vocals Trevor Garrod - Keyboards, banjo, harmonica, and vocals Guest Artists Dan Lebowitz - Pedal Steel on "Stick to the Shallow" Aaron Redner - Violin on "Innocence" Sasha Butterfly Rose - Backing vocals on "Innocence" and "Standing Still" 2008 albums Tea Leaf Green albums
```objective-c // // // // path_to_url // // or in the "license" file accompanying this file. This file is distributed // on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either // // BaseColorViewController.m // #import "BaseColorViewController.h" @interface BaseColorViewController () @property (nonatomic, strong) NSArray *dataArray; @property (nonatomic, strong) NSDictionary *properties; @property (nonatomic, strong) UICollectionView *collectionView; @end @implementation BaseColorViewController - (void)viewDidLoad { [super viewDidLoad]; [self.navigationItem setTitle:@"Base Colors"]; self.properties = [[StyleDictionaryProperties properties] valueForKeyPath:@"color.base"]; NSArray *colorGroups = [self.properties allKeys]; NSMutableArray *data = [[NSMutableArray alloc] init]; NSSortDescriptor * descriptor = [NSSortDescriptor sortDescriptorWithKey:@"subitem" ascending:YES selector:@selector(localizedStandardCompare:)]; for (int i=0; i<[colorGroups count]; i++) { if (![colorGroups[i] isEqualToString: @"white"] && ![colorGroups[i] isEqualToString:@"black"]) { NSArray *colors = [[[self.properties valueForKey:colorGroups[i]] allValues] sortedArrayUsingDescriptors:@[descriptor]]; [data addObject:colors]; } } self.dataArray = [data copy]; self.view = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc] init]; [layout setSectionInset:UIEdgeInsetsMake(0, 0, StyleDictionarySizePaddingBase, 0)]; [layout setMinimumLineSpacing:0]; self.collectionView = [[UICollectionView alloc] initWithFrame:self.view.frame collectionViewLayout:layout]; [self.collectionView setDataSource:self]; [self.collectionView setDelegate:self]; [self.collectionView setContentInset:UIEdgeInsetsMake(StyleDictionarySizePaddingSmall, StyleDictionarySizePaddingSmall, StyleDictionarySizePaddingSmall, StyleDictionarySizePaddingSmall)]; [self.collectionView registerClass:[ColorCell class] forCellWithReuseIdentifier:@"colorBoxCell"]; [self.collectionView registerClass:[ColorCell class] forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"HeaderView"]; [self.collectionView setBackgroundColor:[UIColor styleDictionaryColor:StyleDictionaryColorBackgroundAlt]]; [self.view addSubview:self.collectionView]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } -(NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView { return [self.dataArray count]; } -(NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section { NSMutableArray *sectionArray = [self.dataArray objectAtIndex:section]; return [sectionArray count]; } -(UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath { ColorCell *cell = (ColorCell *)[collectionView dequeueReusableCellWithReuseIdentifier:@"colorBoxCell" forIndexPath:indexPath]; NSDictionary *cellData = [[self.dataArray objectAtIndex:indexPath.section] objectAtIndex:indexPath.row]; [cell.keyLabel setText:[cellData valueForKey:@"subitem"]]; CGFloat red = 0.0, green = 0.0, blue = 0.0, alpha = 0.0; [[cellData valueForKey:@"value"] getRed:&red green:&green blue:&blue alpha:&alpha]; [cell.valueLabel setText:[NSString stringWithFormat:@"%.f, %.f, %.f", red*255, green*255, blue*255]]; cell.backgroundColor = [cellData valueForKey:@"value"]; if ([[cellData valueForKey:@"font"] isEqualToString:@"inverse"]) { cell.keyLabel.textColor = [UIColor styleDictionaryColor:StyleDictionaryColorFontInverseBase]; cell.valueLabel.textColor = [UIColor styleDictionaryColor:StyleDictionaryColorFontInverseBase]; } else { cell.keyLabel.textColor = [UIColor styleDictionaryColor:StyleDictionaryColorFontBase]; cell.valueLabel.textColor = [UIColor styleDictionaryColor:StyleDictionaryColorFontBase]; } // Return the cell return cell; } - (UICollectionReusableView *)collectionView:(UICollectionView *)collectionView viewForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath { if (kind == UICollectionElementKindSectionHeader) { ColorCell *header = (ColorCell *)[collectionView dequeueReusableSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"HeaderView" forIndexPath:indexPath]; NSString *colorName = [[[self.dataArray objectAtIndex:indexPath.section] objectAtIndex:0] valueForKey:@"item"]; NSDictionary *cellData = [self.properties valueForKeyPath:[NSString stringWithFormat:@"%@.500",colorName]]; [header.keyLabel setText:colorName]; header.backgroundColor = [cellData valueForKey:@"value"]; if ([[cellData valueForKey:@"font"] isEqualToString:@"inverse"]) { header.keyLabel.textColor = [UIColor styleDictionaryColor:StyleDictionaryColorFontInverseBase]; header.valueLabel.textColor = [UIColor styleDictionaryColor:StyleDictionaryColorFontInverseBase]; } else { header.keyLabel.textColor = [UIColor styleDictionaryColor:StyleDictionaryColorFontBase]; header.valueLabel.textColor = [UIColor styleDictionaryColor:StyleDictionaryColorFontBase]; } return header; } return nil; } - (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath { return CGSizeMake(collectionView.frame.size.width - collectionView.contentInset.left - collectionView.contentInset.right, 50); } - (CGSize)collectionView:(UICollectionView *)collectionView layout:(nonnull UICollectionViewLayout *)collectionViewLayout referenceSizeForHeaderInSection:(NSInteger)section { return CGSizeMake(collectionView.frame.size.width - collectionView.contentInset.left - collectionView.contentInset.right, 100); } @end ```
```smalltalk using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyCompany("ZXing.Net Development")] [assembly: AssemblyProduct("ZXing.OpenCVSharp.V4")] [assembly: AssemblyTrademark("")] [assembly: AssemblyDescription("ZXing.Net Bindings to OpenCVSharp V4")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("9B58217F-244D-4CA8-B116-3D6B0F1F6E2A")] ```
```tex %!TEX TS-program = xelatex %!TEX encoding = UTF-8 Unicode \documentclass[11pt,tikz,border=1]{standalone} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[ inputlayer/.style={rectangle,draw,fill=white,inner sep=0pt,minimum size=30mm}, hiddenlayer/.style={rectangle,draw,fill=white,inner sep=0pt,minimum size=22mm}, poolinglayer/.style={rectangle,draw,fill=white,inner sep=0pt,minimum size=15mm}, neuron/.style={circle,draw,inner sep=0pt,minimum size=5mm} ] \node (input) [inputlayer,anchor=south west] at (0,0) {}; \node (hidden0) [hiddenlayer,anchor=south west] at (4,0) {}; \node (hidden1) [hiddenlayer,anchor=south west,xshift=6mm,yshift=6mm] at (hidden0.south west) {}; \node (hidden2) [hiddenlayer,anchor=south west,xshift=1mm,yshift=1mm] at (hidden1.south west) {}; \node (hidden3) [hiddenlayer,anchor=south west,xshift=1mm,yshift=1mm] at (hidden2.south west) {}; \draw[dashed] (hidden0.north west) -- (hidden1.north west); \draw[dashed] (hidden0.south west) -- (hidden1.south west); \draw[dashed] (hidden0.south east) -- (hidden1.south east); \foreach \x in {0,1,2,3} \node (pooling\x) [poolinglayer,anchor=west,right=1.8 of hidden\x] {}; \draw[dashed] (pooling0.north west) -- (pooling1.north west); \draw[dashed] (pooling0.south west) -- (pooling1.south west); \draw[dashed] (pooling0.south east) -- (pooling1.south east); \foreach \x in {0,...,7} \node(s\x) [neuron] at (12, 0.75 * \x - 1.125) {}; \foreach \x in {0,...,4} \node(o\x) [neuron] at (14.2, 0.75 * \x + 0.375) {}; \node [above] at (input.north) {$28 \times 28$}; \node [above,xshift=-6mm] at (hidden3.north) { \begin{tabular}{c} convolution layer\\ $20 \times 24 \times 24$ \end{tabular} }; \node [above,xshift=-5mm] at (pooling2.north) { \begin{tabular}{c} pooling layer\\ $20 \times 12 \times 12$ \end{tabular} }; \node [above] at (s7.north) { \begin{tabular}{c} 100 sigmoid\\ neurons \end{tabular} }; \node [above] at (o4.north) { \begin{tabular}{c} 10 neurons\\ output layer\\ (softmax) \end{tabular} }; \node [below,rotate=-90,xshift=5mm,yshift=1.75mm] at (s0.south) {$\ldots$}; \node [below,rotate=-90,xshift=5mm,yshift=1.75mm] at (o0.south) {$\ldots$}; \coordinate(a0) at (input.east); \draw[->] (a0) -- ++(1.4,0); \draw[->] (a0)++(4,0) -- ++(1.4,0); \draw[->] (a0)++(7.3,0) -- ++(1.45,0); \draw[->] (a0)++(9.25,0) -- ++(1.65,0); \end{tikzpicture} \end{document} ```
Cashel Byron's Profession is George Bernard Shaw's fourth novel. The novel was written in 1882 and after rejection by several publishers it was published in serialized form in a socialist magazine. The novel was later published as a book in England and the United States. Shaw wrote five novels early in his career and then abandoned them to pursue politics, drama criticism and eventually play writing. The Admirable Bashville (1901), a short play based loosely on this novel, was written to protect American copyrights after the novel became unexpectedly successful in the United States. Synopsis Preface In Shaw's preface "Novels of my Nonage", written in 1901, he disparages his early work, including Cashel Byron's Profession: "...people will admire [the author] for the feats any fool can achieve, and bear malice against him for boring them with better work." He also resurrects a heavily edited Robert Louis Stevenson quote used to promote the book. The full text of the quote breaks down the story into parts, including one part “blooming gaseous folly”. Novel The novel follows Cashel Byron, a world champion prizefighter, as he tries to woo wealthy aristocrat Lydia Carew without revealing his illegal profession. Lydia is portrayed as a moral and intelligent woman (although "priggish" according to Shaw) and is constantly contrasted with the "ruffian" Cashel. Lydia was advised by her recently deceased father to find a husband with a profession, as opposed to an idle gentleman or an art critic like her father. Cashel’s childhood ends when he runs away from school to Australia and becomes apprentice to an ex-world champion boxer. When Cashel goes to England to secure his world title in that country he meets Lydia at her country manor. After much miscommunication and drawing room comedy, Cashel gives up boxing and succeeds in marrying Lydia. As in his postscript to "Pygmalion" (1912), in which he describes Eliza Doolittle's future life, Shaw chose to portray the Byron marriage in a realistic manner and narrates how Lydia comes to regard Cashel as "one of the children". Postscript According to "Note on Modern Prizefighting" (1901) Shaw intended the fights described in Cashel Byron's Profession to turn the public away from the sport but the novel is written in such a light-hearted tone this unlikely result never materialized. Adaptations The British musical Bashville, first performed in 1983, was adapted from the play The Admirable Bashville. Reception Robert Louis Stevenson wrote in a letter to William Archer: What am I to say?  I have read your friend’s book with singular relish.  If he has written any other, I beg you will let me see it; and if he has not, I beg him to lose no time in supplying the deficiency.  It is full of promise; but I should like to know his age.  There are things in it that are very clever, to which I attach small importance; it is the shape of the age.  And there are passages, particularly the rally in presence of the Zulu king, that show genuine and remarkable narrative talent—a talent that few will have the wit to understand, a talent of strength, spirit, capacity, sufficient vision, and sufficient self-sacrifice, which last is the chief point in a narrator. As a whole, it is (of course) a fever dream of the most feverish.  Over Bashville the footman I howled with derision and delight; I dote on Bashville—I could read of him for ever; de Bashville je suis le fervent—there is only one Bashville, and I am his devoted slave; Bashville est magnifique, mais il n’est guère possible.  He is the note of the book.  It is all mad, mad and deliriously delightful; the author has a taste in chivalry like Walter Scott’s or Dumas’, and then he daubs in little bits of socialism; he soars away on the wings of the romantic griffon—even the griffon, as he cleaves air, shouting with laughter at the nature of the quest—and I believe in his heart he thinks he is labouring in a quarry of solid granite realism. References External links The Shaw Society Shaw's Corner Free full text on Internet Archive Cashel Byron's Profession at Project Gutenberg The Anti-Romance Novels of GBS 1882 British novels Novels by George Bernard Shaw Novels first published in serial form Works originally published in British magazines Works originally published in political magazines Novels about boxing
These are the squads for the 2000 CONCACAF Gold Cup. Group A Colombia Head coach: Honduras Head coach: Ramón Maradiaga Jamaica Head coach: René Simões Group B Haiti Head coach: Emmanuel Sanon Peru Head coach: Francisco Maturana United States Head coach: Bruce Arena Group C Guatemala Head coach: Carlos Miloc Mexico Head coach: Manuel Lapuente Trinidad and Tobago Head coach: Bertille St. Clair Group D Canada Head coach: Holger Osieck Costa Rica Head coach: Marvin Rodríguez South Korea Head coach: Huh Jung-moo References Gold Cup 2000 at RSSSF https://web.archive.org/web/20000831011530/http://www.concacaf.com/competitions/ CONCACAF Gold Cup squads 2000 CONCACAF Gold Cup
Star Bharat (formerly Life OK) is an Indian Hindi language general entertainment pay television channel owned by Disney Star, a subsidiary from The Walt Disney Company India. History The channel was first launched as Star One on 1 November 2004 as an Indian subscription television youth channel that primarily broadcast in Hindi. Part of news corporation's Star TV network in Asia and distributed internationally by Fox International channels. In November 2006, Star One and Star Gold were launched in the UK on Sky. Star One was rebranded as Life OK in India on 18 December 2011. It was then rebranded again on 28 August 2017 as Star Bharat. On 30 December 2020, Disney announced that the Star branding would be replaced with the Utsav branding from 22 January 2021. On 22 January 2021, Star Bharat became Utsav Bharat, and this change is currently effective in parts of Europe. Star Bharat rebranded with a new logo and graphics package on 25 July 2022, during the finale of the scripted reality show Swayamvar - Mika Di Vohti. The new slogan was Dil Deke Dekho Zara (Give Your Heart and See). The Star wordmark in the logo is no longer uppercase but is now identical to the Star wordmark in the logos of Star Jalsha, Star Pravah, Star Suvarna and the newly launched Star Kiran. The new graphics package is based on colourful flowing saree-like textiles against a light blue background, the same colour that was adopted by Star Suvarna during its rebrand in late 2020. Programming References Hindi-language television channels in India Television stations in Mumbai Television channels and stations established in 2017 Disney Star
Henry Clifford De Meillon (c1800 London – 31 May 1859 Port Elizabeth) was an English-born South African painter noted for his watercolour images of Cape Town in the 1800s. His parents were Henry De Meillon (place and years of birth and death are unknown) and Anna Sophia Watts (28 November 1776 – 15 June 1863 London). Almost nothing is known about De Meillon's early life, except that his family were from the village of Meillon. This has also not been confirmed. His arrival at Simonstown in the Cape in April or May 1823 was as a result of malaria contracted in Moçambique while serving as second master under Captain Owen aboard , together with the brig Barracouta, 'an expedition for surveying the Eastern Coasts of Africa'. When the expedition returned in 1826, with some 300 new charts, detailing some of coastline, over half the original crew had succumbed to tropical diseases. One of the first references to him was on 21 January 1824 when the South African Commercial Advertiser mentioned him as an 'able draughtsman' who had been commissioned to paint the portraits of Pedu and Teysho, two Bechuana chiefs who were visiting Cape Town. These portraits were included as engravings in the traveller George Thompson's (1796–1889) book "Travels and Adventures in Southern Africa" published in 1827. De Meillon tutored the Cloete children at Groot Constantia from May 1825 until August 1825. He was appointed as English teacher in Swellendam. He married twice – first to a Miss Grobbelaar/Grobler, the marriage producing two sons, and secondly to Barbara Enslin, producing a second large family. He left the Cape Town area in 1832 and for a while worked as a clerk in Fort Beaufort, and is also recorded in 1842 as being part of the Commissariat in Grahamstown, and working in Port Elizabeth in 1851. It is thought that he died in Port Elizabeth during the 1859 smallpox epidemic, as a result of which his personal effects were burnt. References South African painters South African male painters
Lateness is a 2020 book written by the architect and theorist, Peter Eisenman in collaboration with Elisa Iturbe, who is a professor of architecture at Yale School of Architecture. The book is edited by Sarah Whiting, the professor of architecture at Harvard University, and was published by Princeton University Press. In it, Eisenman focuses on three figures to explain the quality of lateness: Adolf Loos, Aldo Rossi and John Hejduk, each selected from a period of architecture in the 20th century. Along with this, Eisenman and Iturbe discuss the origins of the critical theory illustrated in Critical theory of Frankfurt School. References Architecture books Collaborative non-fiction books
Lythria cruentaria is a moth of the family Geometridae. The species can be found in Europe. The length of the forewings is 9–13 mm. The moths fly in two or three generations from the end of April to the end of September. . The caterpillars feed on sorrel and sheep's sorrel. Notes The flight season refers to the Belgium and the Netherlands. This may vary in other parts of the range. External links Lepiforum.de Vlindernet.nl Lythriini Moths of Europe Moths of Asia Taxa named by Johann Siegfried Hufnagel
AdHouse Books was an independent comic book publisher based in Richmond, Virginia. It was founded in 2002 by graphic designer Chris Pitzer. AdHouse was known primarily as a publisher of graphic novels, beginning with 2002's Pulpatoon: Pilgrimage, traditional comic book series, and art books, including James Jean's Process Recess; The company announced on July 14, 2021, that it would cease publications after its 101st book. The company would then take 2022 to visit as many shows, conventions, festivals, etc., as they could. Among the reasons, Pitzer mentioned his older age, as well as "low sales on recent releases, uneasiness about the crowdfunding model, and the lack of conventions due to the COVID-19 pandemic." Graphic novels and single issue comics Superior Showcase (2005 - 2008) anthology, by Dean Trippe, Nick Bertozzi, Mike Dawson, and Hope Larson (4 issues) Zig Zag (2005–2007) by J. Chris Campbell (2 issues) Project: Romantic (2006) Anthology, edited by Chris Pitzer Bumperboy and the Loud, Loud Mountain (2006) by Debbie Huey Noble Boy (2006) by Scott Morse, published by Red Window and distributed by AdHouse Books The Preposterous Adventures of IronHide Tom (2006) by Joel Priddy Project: Superior (2005) Anthology, edited by Chris Pitzer, Dean Haspiel and Scott Morse Mort Grim (2005) by Doug Fraser Bumperboy Loses His Marbles (2005) by Debbie Huey, distributed by AdHouse Books Salamander Dream (2005) by Hope Larson The Secret Voice (2005) by Zack Soto (1 issue) The Collected Sequential (2004) by Paul Hornschemeier Return of the Elephant (2004) by Paul Hornschemeier One Step After Another (2004) by Fermin Solis FREE Comic Book Day Comic Book 2004 (2004) by Scott Morse, Joel Priddy, and Chris Pitzer Southpaw (2004) by Scott Morse Monkey & Spoon (2004) by Simone Lia Project: Telstar (2004) Anthology, edited by Chris Pitzer Skyscrapers of the Midwest (2004) by Joshua W. Cotter (4 issues) My Own Little Empire (2003) by Scott Mills Pulpatoon Pilgrimage (2002) by Joel Priddy Art books Blue Collar / White Collar by Sterling Hundley Pink, Vol. 1: GRRR! (2004) by Scott Morse Process Recess (2005) by James Jean Process Recess 2: Portfolio (2007) by James Jean Process Recess 3 (2009) by James Jean Awards In 2004, AdHouse's Project: Telstar received Domtar Paper's Kudos Award for Excellence. The anthology was also nominated for several other awards, including Best Anthology and Special Award for Excellence in Presentation by the Harvey Awards, and Best Anthology and Best Publication Design by the Eisner Awards. AdHouse's first publication, Pulpatoon Pilgrimage, won the 2002 Small Press Expo Ignatz Award for Outstanding Debut and the 2002 Ninth Art Lighthouse Award for Debut Book, and was nominated for a 2003 Eisner Award for Best Graphic Novel. References External links AdHouse Books official website 2008 podcast interview with Peter Semeti and Chris Pitzer at comiXology 2006 Newsarama Interview 2006 Graphic Language Interview 2008 Comics Reporter Holiday Interview Comic book publishing companies of the United States Publishing companies established in 2002 2002 establishments in Virginia
Tuchomie () is a village in Bytów County, Pomeranian Voivodeship, in northern Poland. It is the seat of the gmina (administrative district) called Gmina Tuchomie. It lies approximately west of Bytów and west of the regional capital Gdańsk. References Tuchomie it:Tuchomie
```objective-c //===your_sha256_hash------===// // // See path_to_url for license information. // //===your_sha256_hash------===// #ifndef _LIBCPP___TYPE_TRAITS_IS_UNBOUNDED_ARRAY_H #define _LIBCPP___TYPE_TRAITS_IS_UNBOUNDED_ARRAY_H #include <__config> #include <__type_traits/integral_constant.h> #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header #endif _LIBCPP_BEGIN_NAMESPACE_STD template <class> struct _LIBCPP_TEMPLATE_VIS __libcpp_is_unbounded_array : false_type {}; template <class _Tp> struct _LIBCPP_TEMPLATE_VIS __libcpp_is_unbounded_array<_Tp[]> : true_type {}; #if _LIBCPP_STD_VER > 17 template <class> struct _LIBCPP_TEMPLATE_VIS is_unbounded_array : false_type {}; template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_unbounded_array<_Tp[]> : true_type {}; template <class _Tp> inline constexpr bool is_unbounded_array_v = is_unbounded_array<_Tp>::value; #endif _LIBCPP_END_NAMESPACE_STD #endif // _LIBCPP___TYPE_TRAITS_IS_UNBOUNDED_ARRAY_H ```
```ruby class CreateUserVisitContexts < ActiveRecord::Migration[7.0] def change create_table :user_visit_contexts do |t| t.string :geolocation t.text :user_agent t.text :accept_language t.datetime :last_visit_at t.bigint :visit_count, default: 0 t.references :user, null: false, foreign_key: true t.timestamps end add_index :user_visit_contexts, [:geolocation, :user_agent, :accept_language, :user_id], unique: true, name: "index_user_visit_contexts_on_all_attributes" end end ```
Elisa Patiño Meléndez (1890 – 12 April 1919) was the first women of Galician descent to become a pilot. She was well known by her nickname Chichana or Chichana Patiño. Biography Chichana was the daughter of Albino Patiño Amado, Duke of Patiño, and his wife Rosa Meléndez. In August 1916, in Pontesampaio, she married Enrique Alcaraz Diez, Secretary of Health in the port of Corcubion, and in June 1917 their daughter Lucia Alcaraz Patiño was born. Early life As an educated young woman, Chichana sang and painted, and she learned to play the violin and piano. Garcia quoted an observer of one of her performances, "She also offered us the gift of her melodious voice, singing, behind the scenes, vibrant Andalusian flavor songs with a purity of accent and diction." Flying legend Chichana's first flying experience came at the age of 23 when she accompanied pilot José Piñeiro González for several demonstrations aboard his Bleriot aircraft in northwestern Spain. A quote in the local paper said he was a "remarkable aviator. He never had accidents with [Chichana] and he always said: She is the fairy of my triumphs." She flew as pilot for the first time on 12 October 1913, at Baltar Beach on the Atlantic Ocean in Sanxenxo Spain, an achievement that was noted in the local newspaper, the Correo de Galicia: "Last Sunday, Piñeiro surprised the residents of Sanxenxo with a superb flight made in very interesting circumstances" When they descended the crowd greeted them with an ovation. No record has been found confirming that Chichana received an official pilot's license, but in that era an official license was obtained only after recording fifty hours of flight time. Final days Chichana died as a young woman in 1919 from the Spanish flu "after a long illness, suffered with real resignation, surrounded by the care and affection of her loving family." On her death, her daughter inherited the Duchy of Patiño. Many years later, on July 28, 1964, according to Bará, "'the BOE [Boletín Oficial del Estado (in English: Official State Gazette)] published the following legal notice about Lucia. "The title of Duque de Patiño is restored, with the dignity of Marquis in favor of Doña Lucía Alcaraz Patiño,' daughter of Chichana." References 1890 births 1919 deaths Deaths from Spanish flu People from Galicia (Spain) Spanish aviation pioneers Sportspeople from Galicia (Spain) Women aviation record holders Spanish women aviators
The 2001–02 Turkish Basketball League was the 36th season of the top-tier professional basketball league in Turkey. The season started on October 13, 2011. Efes Pilsen won their ninth national championship this season. Regular season League table Beko Basketball League 2001–02 play-offs as of June 30, 2002 The 2002 Beko Basketball League play-offs is the final phase of the 2001–2002 regular season. First round, Quarterfinal and Semifinal series are 5-match series. The teams reaches the first 3 wins is through to the next round. The team which has won both regular season matchups starts with a 1–0 lead to the series. If teams split up the regular season meetings, series starts with a 1–1 draw. Final series are 7-match series and the team reaches first 4 wins is the champion of the Beko Basketball League. External links Turkish Basketball League Official Website Turkish Basketball Federation Official Website TBLStat.net Turkish Basketball Super League seasons Turkish 1
Victoria Park, also known as the Global Energy Stadium for sponsorship reasons, is an all-seater football stadium in the town of Dingwall, Highland, Scotland. It is the home ground of Ross County, who currently play in the Scottish Premiership. History Victoria Park has a greater capacity than the population of Dingwall, which was 5,491 at the 2011 census. However the County of Ross and Cromarty from which the club draws much of its support has a population of over 60,000. The largest crowd ever to watch a match at Victoria Park was reported as 8,000, for the Scottish Cup match between Ross County and Rangers in February 1966. The revenue from this match helped to fund construction of the Jail End terrace. Ross County played in the Highland League until 1994, when they were admitted to the Scottish Football League Third Division alongside Inverness Caledonian Thistle. Victoria Park then became the most northerly ground in the senior section of the Scottish football league system, until Elgin City were admitted in 2000. Ross County gained promotion to the Scottish Premier League (SPL) by winning the 2011–12 Scottish First Division. The stadium was renovated in the spring and summer of 2012 to meet SPL criteria. This involved installing seats in the Jail End, constructing a new North Stand, installing undersoil heating and providing more car parking. Victoria Park was renamed the Global Energy Stadium, after the company founded by Ross County chairman Roy MacGregor, when the renovation was completed in July 2012. Structure and facilities There are four all-seated stands: the West (Main Stand) and the East are on either side of the pitch, while the North Stand (Academy End) and the South Stand (Jail End) are behind each goal. The Jail End is so called because the old County Jail and Sheriff Court were behind it. The jails have since been converted to housing, but the Sheriff Court is still used. Away fans are housed in the Academy End. Home fans occupy all other sections of the stadium. There are corporate hospitality facilities and executive boxes in both the East and West Stands. The Sheriff Court is now closed. The Dingwall campus of the Highland Football Academy is situated behind the Academy End. It has a three-quarter size 3G astroturf pitch under cover and a full-size Astroturf pitch adjacent to the East Stand, which has markings for football, 5-a-side football and field hockey. The Academy also has three full-size grass pitches, plus additional grassed training and warm-up areas. Gallery References Sources Football venues in Scotland Ross County F.C. Sports venues in Highland (council area) Scottish Premier League venues Scottish Football League venues Scottish Professional Football League venues Sports venues completed in 1929 Dingwall
```javascript /** * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ 'use strict'; /** * Invoke a function for each character in a string. * * @module @stdlib/string/for-each * * @example * var forEach = require( '@stdlib/string/for-each' ); * * function log( value, index ) { * console.log( '%d: %s', index, value ); * } * * forEach( 'Hello', log ); */ // MODULES // var main = require( './main.js' ); // EXPORTS // module.exports = main; ```
```ruby # -*- encoding: utf-8 -*- require_relative '../../spec_helper' require_relative 'fixtures/classes' describe "IO#getbyte" do before :each do @io = IOSpecs.io_fixture "lines.txt" end after :each do @io.close if @io end it "returns the next byte from the stream" do @io.readline.should == "Voici la ligne une.\n" letters = @io.getbyte, @io.getbyte, @io.getbyte, @io.getbyte, @io.getbyte letters.should == [81, 117, 105, 32, 195] end it "returns nil when invoked at the end of the stream" do @io.read @io.getbyte.should == nil end it "raises an IOError on closed stream" do -> { IOSpecs.closed_io.getbyte }.should raise_error(IOError) end end describe "IO#getbyte" do before :each do @io = IOSpecs.io_fixture "empty.txt" end after :each do @io.close if @io end it "returns nil on empty stream" do @io.getbyte.should == nil end end describe "IO#getbyte" do before :each do @name = tmp("io_getbyte.txt") @io = new_io(@name, 'w') end after :each do @io.close if @io rm_r @name if @name end it "raises an IOError if the stream is not readable" do -> { @io.getbyte }.should raise_error(IOError) end end ```
Hugo Fredrik Hjorthøy (9 May 1741 – 29 August 1812) was a Norwegian priest and topographer. He was born in Klepp as the son of vicar Hugo Fredrik Hjorthøy (1700–1741) and his wife Inger Beata Schreuder (1705–1791). His father died before his birth, and hence Hjorthøy was sent to his mother's family in Fana. He was tutored by Johan Sebastian Cammermeyer. He studied at the University of Copenhagen, graduating with the cand.theol. degree in 1764. He was a curate in Flesberg from 1765 to 1768, and then worked in Denmark and on Danish ships from 1768. In 1771 he returned to Norway as vicar in Skien. He became vicar in Fron in 1774 and dean of Gudbrandsdalen in 1775. He was married to Bolette Marie Braag from November 1771 to her death in January 1776; he then married her sister Maren. He had three daughters and three sons in total. He published the topographical-economical work Physisk og Ekonomisk Beskrivelse over Gulbrandsdalens Provstie in two volumes in 1785 and 1786. This work is regarded as one of the best of its kind and age. Hjorthøy was finally a vicar in Nykirken, Bergen from 1783 to 1791, and in Sund from 1791 to his death in 1812. References 1741 births 1812 deaths People from Klepp 18th-century Norwegian Lutheran clergy Norwegian topographers University of Copenhagen alumni Norwegian expatriates in Denmark 19th-century Norwegian Lutheran clergy
Herzegovina Affair () or Herzegovina Case () refers to a conflict between the Franciscan Province of Herzegovina and the Diocese of Mostar-Duvno over the redistribution of parishes in the said diocese. The conflict between the Franciscans and the diocesan clergy started with the restoration of the regular church hierarchy in Bosnia and Herzegovina after its occupation by Austria-Hungary in 1881. The Herzegovina Case presents a problem in the relationship between the Herzegovinian clergy, as well as the Catholic faithful. History Bishop Paškal Buconjić In 1846, the Holy See established the Apostolic Vicariate of Herzegovina, which was then part of the Ottoman Empire and it was considered to be a mission area. The first vicars were all Franciscans, including Fr. Rafo Barišić, fr. Anđeo Kraljević and fr. Paškal Buconjić. Both Barišić and Kraljević requested from the Pope to introduce secular clergy in Herzegovina, which was finally approved after the fall of the Ottoman Empire in the region, and in 1881, with the papal bull Ex hac augusta, the Apostolic Vicariate was elevated to the Diocese of Mostar-Duvno. The Franciscans of Herzegovina were on bad terms with Bishop Kraljević, claiming he did not give them enough of the collected alms for the construction of the friary in Humac. The conflict between the bishop and the Franciscans reached its peak during Buconjić's tenure because Franciscans controlled all of the parishes in Herzegovina while the bishop, even though a Franciscan himself, wanted to have diocesan clergy at his disposal. An anonymous letter was sent to Emperor Franz Joseph claiming the bishop was giving donations sent to him by Austria-Hungary to the Ottomans and accusing him of being a turkophile. The Franciscan Custody barred itself from this letter. In February 1877, Kraljević asked the Propaganda to send an apostolic visitor to Herzegovina and accused Buconjić of neglecting the parishes and the Herzegovinian Franciscans of taking the payment for maintenance by force from the believers during the Easter Communion. The Congregation appointed Bishop Kazimir Forlani the apostolic visitor; he arrived in Mostar in February the next year. Forlani finished his report in May 1878; he advised the Bishop to act in agreement with the Franciscans, to record revenues and expenditures, and to help the construction of the friary in Humac. The question of the parishes remained unresolved. The main issue during Buconjić's episcopate diocese was the division of parishes between the diocesan clergy and the Franciscans, who tried to confirm their dominance in Herzegovina with Rome. Even though the papal bull Ex hac augusta ended the privileges the Franciscans enjoyed in their missionary work, they still wanted to retain all of the parishes in the diocese. The Franciscans were confident Buconjić, who himself was a Franciscan, would not disturb their possession of parishes. In December 1881, however, Custos Zovko wrote to the General of the Order about the parishes in Herzegovina. The General asked Zovko about the right of possession of those parishes, to which Zovko replied in February 1882 the Franciscans had established and controlled those parishes and therefore had patronage over them. That December, Zovko again asked the General about the situation with the parishes in Herzegovina; the General responded that Herzegovinian Franciscans have nothing to be afraid of since Buconjić loved the Franciscan Custody. Buconjić confirmed to the General he would not take the parishes from the Franciscans but would retain the newly established parishes for the diocese. The new Custos Luka Begić, who was elected in May 1883, became concerned the position of the Franciscans would be endangered, even if only the diocese controlled only the newly established parishes, and insisted even those parishes should belong to the Franciscan Custody. He talked to Buconjić about the issue; Buconjić complied with his concerns and agreed the newly established parishes should belong to the Custody. Begić informed the General about the agreement in July 1883; he received no reply so he wrote again in March 1885, when Buconjić was supposed to visit Rome and settle the issue. That May, the General's deputy Andrea Lupori replied, asking Buconjić to take with him the contract about the parishes he signed and the definitors of the Custody. The Custody decided Begić should follow Buconjić to Rome with the instruction the Franciscans should retain the parishes west of the Neretva River while the bishop should dispose of those on the eastern bank; in the case, this would not be accepted, Begić was instructed to give in "as least as possible". Buconjić and Begić arrived in Rome on 12 May 1885. The Propaganda received Begić's request in June 1885 and they informed the State Secretariate about the issue. Secretary of State Cardinal Luigi Jacobini asked Nuncio Cardinal Serafino Vannutelli in Vienna to ask Buconjić about the parishes the Franciscans were supposed to retain and those that were at his disposal. In December 1885, Vannutelli asked Buconjić whether he agreed with Begić's proposal or to write which parishes the Franciscans should retain and which should be at his disposal. In January 1886, Buconjić informed Vannutelli he would not take the parishes from the Franciscans. Upon receiving Buconjić's answer, Vannutelli informed Jacobini the agreement between the Franciscans and Buconjić should not be confirmed and that the parishes should be divided as in Bosnia, where the situation was the same as in Herzegovina. Vannutelli proposed at least one-third of the parishes should be under the disposal of the bishop but because Buconjić was a Franciscan himself, Vannutelli considered it would be impossible to bring a new solution and that the Herzegovinian Custos should be informed Rome did not want to make any new decrees because there was a harmony between the bishop and the friars. Jacobini accepted Vannutelli's position. Thus, Rome kept the issue unresolved. Friar Lujo Radoš fruitlessly urged the Congregation for Extraordinary Ecclesiastical Affairs in March 1888. Lupori advised Friar Nikola Šimović to explain the Franciscans' position on the matter to the Nuncio in Vienna and to try to get a confirmation for their proposal. At the end of October 1889, he visited the Nuncio, who told him he would try to resolve the matter in the interest of the Franciscans. After returning to Mostar, Šimović again wrote to the Nuncio, reminding him of Radoš's proposal from 1888. The Nuncio replied in December 1889, promising to support such a proposal. The issue, however, remained unresolved for years. In 1892, the Franciscan Custody of Herzegovina was elevated to a province. After Begić was elected Provincial in 1898, he tried to broker any deal he could, rather than to hold the insecure status quo. Buconjić was supposed to visit Rome after Easter in 1899, which Begić saw as an opportunity to resolve the issue of parishes. Custos Rafael Radoš was supposed to join Buconjić in Rome but he died in March 1899. In April that year, Begić wrote to the General of the Order to represent the Franciscan Province in Herzegovina. Buconjić discussed the issue with Begić; both men wanted to preserve the strong Franciscan presence in the Diocese of Mostar-Duvno. Buconjić proposed 25 parishes should belong to the Franciscans while 12 would be at the bishop's disposal. Buconjić also proposed the establishment of 12 additional parishes that would be at the bishop's disposal. Pope Leo XIII confirmed the Decisia on 17 July 1899; 14 parishes were designated to the diocesan clergy while others were left to the Franciscans. Buconjić postponed the publication of the pope's decision until 1908; both Buconjić and the Franciscans were unsatisfied with the decision. The beginning of this publication states; "We considered it adequate to present before the eyes of the priests of our dioceses, and especially to the young ones, the copies of the solemn Decisia in relation to the parishes established or those ought to be established. This Decisia must remain solid and constant to avoid any dissent or changeability of wishes." He asked the pope for permission to trust certain dioceses to the Franciscans because he lacked the diocesan priests. With time, however, the Deceisa remained neither solid nor constant, and "the dissent and changeability of wishes" were not avoided. The will of Buconjić about the division of the parishes was not respected. Bishop Alojzije Mišić After becoming a bishop, Mišić only had 12 diocesan priests at his disposal, while the rest of the clergy was made of the Franciscans. The Balkan Wars and the World War I halted the possibility of educating additional diocesan priests, while the number of Franciscans grew. The circumstances demanded the establishment of new parishes, and like his predecessor, Mišić had the authority to appoint the Franciscans to the new parishes with the approval from the general of the Franciscan Order. The Herzegovinian Franciscans used the leverage by letting Mišić know that the Franciscans will not serve the new parishes unless they are legally transferred to them. Mišić cared little about raising the diocesan clergy even though as of 1925, the Propaganda sent him some 2,000 United States dollars monthly for the secular clergy. The money remained unused, and it perished in banks during the World War II. He also refused to appoint newly ordained secular priests to parishes. As a bishop, Mišić established 14 new parishes and constructed 21 churches and 24 parish residences. Among the parishes he established are Čapljina (1917), Izbično (1917), Čitluk (1918), Gradac-Blizanci (1918), Tepčići (1918), Jablanica (1919), Grljevići (1919), Kongora (1921), Prisoje (1922), Kruševo (1924), Ledinac (1930), Rašeljke (1934), Crnač (1935) and Šipovača (1939). The first major conflict between the Franciscans and the Diocese occurred in 1917, after the establishment of the Parish of Čapljina. Čapljina was supposed to be handed to the diocesan clergy, but Mišić didn't enact the transfer. The Herzegovinian Franciscans used Mišić's origin as an uninformed Bosnian outsider to try to change Decisia, the decision from 1899 on the division of parishes between them end the diocesan clergy issued by the Holy See, to their advantage. On 25 April 1922, the Provincial of the Herzegovinian Franciscans Alojzije Bubalo wrote a petition for the pope to give them the parishes that were designated for the diocesan clergy by Decisia. They demanded that all the parishes that exist and those that would be established in the Diocese of Mostar-Duvno belong to them, as well as the parish of Neum that belonged to the Diocese of Trebinje-Mrkan. The Franciscans reasoned that their request was justified since there was a lack of the diocesan clergy in the diocese, with only three priests active. However, the main reason for the lack of the secular clergy was insufficient care of the previous bishop, Bucnjić, and the current bishop Mišić, over raising the secular clergy. At the time, Mišić was supposed to travel to Rome for an ad limina visit with the pope, and was accompanied by friar Jerko Boras, custos of the Herzegovinian Franciscans. Boras was supposed to give the petition to the General of the Franciscan Order Bernardino Klumper who would discuss the issue with the pope. Since Klumper wasn't present at the time, the petition was given to Callisto Zuccotti, the procurator of the Franciscan Order. Before giving the petition to the pope, Zuccotti invited Mišić, the protector of the Franciscan Order Cardinal Oreste Giorgi, and Boras to discuss the issue. They concluded that Mišić personally should modify and give the petition to the pope. Mišić modified the petition on 22 May 1922, and presented it as his own. The only difference between the two versions was that in Mišić's version, there's no distinction between the current and the future parishes that ought to be established. The reason for such a change was that the previous version stood in opposition to the canon law, which decreed that any newly established parish on the territory of an already existing one, belongs to the bishop, and not to any religious order. The Congregation on the Extraordinary Ecclesiastical Affairs asked Mišić to give them a list of parishes that would be at the disposal of the bishop. In the end, the Congregation refused to accept the petition, and requested that it should be approved by the bishop's consistory. Upon the Congregation's refusal to accept the petition, Mišić ignored the whole issue. Only after Bubalo's insistence, Mišić agreed to send a petition but asked Bubalo to write it. Bubalo wrote another petition on 20 May 1923. In this petition, Bubalo requested that besides the 25 parishes that belong to the Franciscans according to Decisia, additional 27 parishes be given to them, of which 13 haven't been established yet at the time, while 21 parishes would be reserved for the diocesan clergy (at the time, only 8 such parishes existed). His petition received Mišić's recommendation, with the approval from the bishop's consistory, made of Boras and another diocesan priest Marijan Kelava, on 3 June 1923 and was sent by Bubalo to the procurator of the Franciscan Order in Rome on 12 June 1923. The Congregation ruled by a rescript on 22 June 1923, that the bishop can give the requested parishes to the Franciscans until the Holy See doesn't decree otherwise. This event marked the beginning of the Herzegovina Affair. His manners and incorrect information sent to the Vatican about the situation of the Church in Herzegovina, bolstered the dispute. On 26 April 1924, Bubalo asked the approval from the General Definitory of the Franciscan Order to take over the parishes. The Congregation for Institutes of Consecrated Life and Societies of Apostolic Life gave power to the General of the Franciscan Order to approve the request of the Herzegovinian Franciscans on 27 May 1924, and the General approved the request on 30 May 1924. Accordingly, on 10 January 1925, Bubalo requested from Mišić to enact the rescript from 1923, since the Herzegovinian Franciscans gained the necessary approval from the General Definitory. Mišić enacted the rescript on 15 May 1925 with changes, placing Gabela and Glavatičevo under the Franciscan instead of the diocesan control, while putting Prisoje and Dobrič under the diocesan control. Displeased with the change, the Franciscans asked Mišić not to change the rescript, however, Mišić considered this to be a good decision, and the change remained. Perić writes that possible motive behind the change was Mišić's hope that the Franciscans would refuse the changes, so the whole matter can come before Rome once again. Mišić never publicly published his decree out of fear of the reaction of the diocesan clergy. Buconjić bought land for a new cathedral church in the Rondo quarter of Mostar, that belonged to the parish of Guvno. The land for the new cathedral was later put under a lien in benefit of the Franciscan Custody of Herzegovina due to debt; at that time, Buconjić was bedridden. Mišić intended to continue the construction and ordered the laying of 250 square meters of hewn stone for the future cathedral, but never started the construction. The cathedral was never built, and the lend was later confiscated by the Yugoslav communist authorities, who constructed House of Culture on its place. The Franciscan intention to take the parish of Guvno for themselves is seen as a possible reason for the delay in construction by Perić. The joint efforts of Mišić and the Franciscans to change the Vatican's decision became known to the diocesan clergy only in 1937. When the archivist and a diocesan priest Petar Čule found out about the rescript and its enactment, he was assured by Mišić's secretary friar Boris Ilovača that the rescript wasn't enacted, even though he himself logged both the rescript and Mišić's decision on enactment. In 1935, Mišić gave Čule the care over the education of diocesan priests. Their number started to grow, with many Franciscans commenting that there would be not enough parishes for them. It was then, in 1937 in the parish of Drinovci, that the diocesan clergy became aware of the rescript and its enactment, which led to the panic in its ranks as the diocese was effectively almost dissolved. Their worries were brought before Ilovača, who assured them once again, falsely claiming that Mišić hasn't confirmed the rescript. Mišić cared little about his own clergy, ordaining only 28 diocesan priests and later limiting the number of Herzegovinian candidates in 1939 at the Seminary in Travnik to only 33, possibly under the influence of the Franciscans. In 1937, at a general chapter of the Franciscan Province of Herzegovina, the Franciscans asked the bishop to secure a Herzegovinian Franciscan as his successor by appointing him bishop coadjutor. In this letter, they wrote that Herzegovina was "Franciscan for seven centuries, soaked in their sweat and martyr's blood", and that they preserved "Croathood and Catholicism in Herzegovina". They wrote that Mišić was "a great son of the Franciscan Order", and that within him lives the "Franciscan spirit" and that they will not allow this spirit to be diminished or truncated. Unaware of the Franciscans' request, the diocesan priests held their own annual meeting from which they sent a memorandum to the bishop, asking him about the situation with the parishes, however, Mišić never gave an official response. In 1939, the diocesan priests, nevertheless, informed the metropolitan archbishop of Vrhbosna Ivan Šarić about the situation with the parishes, and in turn, he informed the apostolic nuncio in Belgrade. Thus, the matter reached Rome once again. In 1940, the issue was discussed before the Propaganda and the Congregation for Extraordinary Ecclesiastical Affairs. Cardinal Giuseppe Bruno, who signed the rescript from 1923, stated that the Franciscans' petition was written by stating falsehoods or by concealing the truth, as they requested the parishes that weren't established yet at the time. In 1941, Bruno again wrote on the issue, stating that the 21 parishes supposed to be under the bishop's disposal, weren't given to him and that it was not enacted (as he was wrongly informed at the time). Moreover, Bruno claimed that the rescript of 1923 is void since the Franciscans hadn't gained the necessary permission from the Congregation for Institutes of Consecrated Life and Societies of Apostolic Life to take over the parishes designated for the diocesan clergy. Nevertheless, the rescript wasn't recalled until 1965. Bishop Petar Čule The Contract on the Parish of Čapljina was signed only in 1969 between another Bishop Petar Čule and Privincial Fr. Rufin Šičić. However, this contract wasn't enacted either due to the opposition form the parishioners in Čapljina. In 1968, the parishioners expelled Archbishop of Zagreb Franjo Kuharić and Bishop Petar Čule from Široki Brijeg, and a diocesan priest in Grude was expelled in a trunk of a car. In 1975, the Holy See issued a new decree Romanis Pontificibus regarding the redistribution of parishes. According to Romanis Pontificibus, one half of parishes would be controlled by the Franciscans and the other half by the diocesan clergy. The Franciscans opposed the decree, claiming it wasn't written nor signed by the Pope. On 10 July 1976, the Franciscan Province of Herzegovina wrote to the Pope that they "cannot take the responsibility for the consequences that would follow after their acceptance of the decree". Whereupon, the Holy See removed the Provincial Administration and the province was managed by the Order's Minister-General in Rome through his designated delegate. The fierce opposition against the enforcement of Romanis Pontificibus from the Franciscans stalled the enactment of the decree until 1996. Bishop Pavao Žanić The Mostar Cathedral of Mary, Mother of the Church was completed in the summer of 1980 and consecrated on September 14, 1980 by Cardinal Franjo Šeper, Prefect of the Congregation for the Doctrine of the Faith. In order to create the cathedral parish it was decided to split the parish of SS. Peter and Paul. The Franciscans objected to this as being unfair. Friars Ivica Vego and Ivan Prusina, were chaplains in the parish of SS Peter and Paul in Mostar, who refused to obey the Papal decree Romanis Pontificibus and relocate from the parish. After several warnings, Bishop Žanić suspended their priestly faculties throughout the dioceses under his jurisdiction. (Honorius Pontoglio, General Vicar of the Order of Friars Minor expelled Fr. Ivan Prusina from the Order on 29 January 1982). Bishop Ratko Perić On 2 April 1995, Bishop Ratko, along with his secretary, was abducted and beaten by Croat militiamen at a local Franciscan chapel. They were held for eight hours until rescued by UN peacekeepers and the Mayor of Mostar. The abduction was retaliation for Perić's intention to replace the Franciscans with diocesan priests in several parishes as well because of his criticism of the unconfirmed apparitions of Mary, mother of Jesus in Medjugorje. He was released only after the intervention from the Mayor of Mostar and UNPROFOR. Yet another attempt to enforce Romanis Pontificibus was made by another Bishop Ratko Perić on 12 May 1996. Several parishes were transferred to the diocesan clergy, but the transfer of clergy in Čapljina caused a disturbance. The entry of the diocesan clergy in Čapljina was physically disrupted, and the doors of the church were walled up. Three Franciscans that remained in Čapljina, despite the Pope's decree, were expelled from the Franciscan Order and their priestly jurisdiction was revoked in 1998. Notes References Books Journals Web-sites Catholic Church in Bosnia and Herzegovina
Zain Haq is a Pakistani climate activist based in Canada. Biography Haq is originally from Karachi, in Pakistan, where he began his climate activism by raising funds for the victims of the 2013 Pakistan–Afghanistan floods. In 2019, he moved to Canada to study economics at Simon Fraser University, in British Columbia. He lated local branches of several environmental groups, including Extinction Rebellion and Save Old Growth. In November 2021, Simon Fraser University announced that it would be divesting from fossil fuels after a group of students including Haq threatened a hunger strike. Haq has been arrested multiple times in relation with his climate activism. In September 2021, he was arrested for blocking tree clearing for the Trans Mountain pipeline, being sentenced to 14 days imprisonment for criminal contempt of court. In October 2021, he was arrested after taking part in a demonstration blocking the main road to the Vancouver International Airport, being sentenced to 6 days imprisonment and two months of house arrest. In connection with his arrests for his climate activism, the Canada Border Services Agency (CBSA) is seeking to deport Haq, which would make him one of the first cases in Canadian history of a climate activist being deported. In June 2022, the CBSA issue a warrant for his arrest, accusing him of violating his student visa and ordering him to leave Canada voluntarily. References Living people Pakistani environmentalists Pakistani emigrants to Canada Climate activists Simon Fraser University alumni People from Karachi
Rabbi Moisés (Moshe) Kaiman (1913 – 22 January 2012) was the rabbi for the Jewish community of Monterrey, Mexico, from 1944 until his death in 2012. Besides his rabbinical duties, he acted as a liaison between the local Jewish community and the city's religious and political figures. He was a contributor to several newspapers and published six books. Biography Born in Szczuczyn, Poland, in an observant Jewish family, he became known for his knowledge and oratory. At 13, he left his home to study at the Rabbinical Seminary in Bialystock. According to anecdotes, his teachers and classmates used to call him "Moshe the sage". At 18, he graduated and received the title of rabbi. Kaiman fled Europe during World War II. His parents and siblings, and his wife's family, were murdered by the Nazis at the Auschwitz concentration camp. In 1941, Kaiman arrived in Cuba, where he was hired as a rabbi. His children were born while he worked there. In 1944 he moved to Monterrey in Mexico, after a friend from his hometown of Szczuszyn convinced him to work as the rabbi of the small local Jewish community there. Given the small size and limited resources of the community, he not only performed the duties of rabbi, but had to take on other tasks including hazzan, mohel, shochet and teacher. He was the rabbi of Monterrey for 68 years, making him the longest serving rabbi in the world. He became a Mexican citizen in 1993. From his arrival, he formed a cordial relationship with members of other religions and of the local community in general, and promoted peaceful co-existence and inter-religious dialog. He formed a close friendship with Archbishop and Cardinal Adolfo Suárez Rivera, who referred to him as "brother". He maintained friendly ties with his successor Cardinal Francisco Robles, who subsequently became Archbishop of Guadalajara. He was part of the committee that received Pope John Paul II on both of his visits to the city, and received a thank you note from the Vatican for the Hebrew Bible he gave the Pope as a present. Between 1993 and 2006, he wrote a popular weekly column Desde la Sinagoga (From the Synagogue), in a local newspaper El Norte with advice on daily life. From 2007 to 2009, he wrote "Cartas de la Sinagoga" (Letters from the Synagogue) for the same newspaper. He also collaborated with El Porvenir and El Diario de Monterrey, and for the New York-based Algemeiner Journal. Published works Rabbi Kaiman wrote six books: Consejos bíblicos para la familia Mexicana (Biblical Advice for the Mexican Family) ¿Cuál es el buen camino? (What is the Good Road?) ¿Quién no quiere vivir bien? (Who Doesn't Want to Live Well?) La estrella de David (The Star of David) Amarás a tu prójimo como a ti mismo (Love Thy Neighbor as Thyself) Todos somos hijos de un solo Dios (We are all Children of the Same God) Awards Medalla al Mérito Diego de Montemayor (Shield of Merit Diego de Montemayor), given by the City of Monterrey in 1993 Medalla al Mérito Cívico Presea Estado de Nuevo León (Shield of Civic Merit State of Nuevo León), given by the State Government in 2005 A plaza in Parque Fundidora bears his name since 2009 as an initiative of the Consejo Interreligioso de Nuevo León (Nuevo León Inter-religious Council) Decano del Consejo Interreligioso del Gobierno del Estado de Nuevo León (Dean of the Inter-religious Council of the Government of the State of Nuevo León) Bibliography References 1913 births 2012 deaths Mexican Ashkenazi Jews Mexican rabbis 20th-century Polish rabbis Clergy from Monterrey Polish emigrants to Mexico
```objective-c #ifndef HEADER_CURL_NTLM_H #define HEADER_CURL_NTLM_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are also available at path_to_url * * You may opt to use, copy, modify, merge, publish, distribute and/or sell * copies of the Software, and permit persons to whom the Software is * furnished to do so, under the terms of the COPYING file. * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY * KIND, either express or implied. * ***************************************************************************/ #include "curl_setup.h" #if !defined(CURL_DISABLE_HTTP) && defined(USE_NTLM) /* this is for ntlm header input */ CURLcode Curl_input_ntlm(struct connectdata *conn, bool proxy, const char *header); /* this is for creating ntlm header output */ CURLcode Curl_output_ntlm(struct connectdata *conn, bool proxy); void Curl_http_ntlm_cleanup(struct connectdata *conn); #endif /* !CURL_DISABLE_HTTP && USE_NTLM */ #endif /* HEADER_CURL_NTLM_H */ ```
The Palazzo D'Afflitto is a palace located in the San Giuseppe neighbourhood of Naples, Italy, adjacent to the Palazzo Capomazza di Campolattaro. It used to belong to the princely family d'Afflitto. In the third floor is the recently restored Church of the Real Monte Manso di Scala, built atop the famed Cappella Sansevero. The palace was built in the 15th century but underwent numerous reconstructions. Real Monte Manso di Scala Foundation The Real Monte Manso di Scala Foundation originated in 1608 as a charitable institution patronized by the Marchese di Villa, Giovanni Battista Manso di Scala. The aim was to support the seminary studies of poor aristocrats. Education was entrusted to the Jesuit order. For these purposes the charity acquired the present palace in 1654 from the Principe di Scanno, Girolamo d’Afflitto. Manso in 1611 was also one of the founders of a literary humanist group, Accademia degli Oziosi (Academy of the Idle) in Naples. He was helped in this regard by the Viceroy Don Pedro Fernández de Castro y Andrade, to whom Miguel de Cervantes dedicated many of his works. In 1747, the charitable foundation also acquired from Raimondo di Sangro, Prince of Sansevero, the area above the Cappella Sansevero, where they built the church, based on designs of Mario Gioffredo. The palace and the seminary archive suffered pillaging during the Napoleonic Wars, and was abolished in 1820, although the charitable foundation continued to exist even to today. One wing of the palace had severe damage during the second world war. The church had been closed since 1959, and suffered more damage, specially in the maiolica pavement, choir, and ceiling, during the earthquake of 1980. In 2009, the restored church was reopened, and avid to capture some of the tourism to the adjacent chapel, it has organized tours. Of note it contains an altar with statues of the Jesuit Saints Ignatius of Loyola and Francis Xavier, with a canvas of Madonna and child, and Saints by Francesco de Mura. The statue of the Immaculate Conception with putti was completed by Nicola Ingaldi. A new addition is a modern statuary group of Christ Unveiled by Giuseppe Corcione; the statue references the Christ Veiled by Giuseppe Sanmartino in the Capella Sansevero. References Palaces in Naples Baroque architecture in Naples 1654 establishments in Italy
Westdale Mall was an enclosed super-regional shopping mall in Cedar Rapids, Iowa, United States. The two-level mall on the southwest side of Cedar Rapids is one of the city's two enclosed malls, along with Lindale Mall on the city's northeast side. By 2012, Westdale displayed some characteristics of a dead mall as two of its four anchor stores and an estimated 70 percent of inline stores have been vacated as of January 2013. At the beginning of 2013, local investor group A. Shapiro LLC purchased Westdale Mall. In January 2013, Frew Development Group, LLC leased the mall and its property from A. Shapiro, LLC. Frew Development is investing $90 million into the redevelopment of the mall, converting it to an open air destination and re-branding it as Westdale Town Center. In 2020, Frew Development Group, LLC acquired the ground lease from A. Shapiro, LLC and today is the sole owner of Westdale Town Center. The mall's anchor stores are JCPenney, Ross Dress for Less, U-Haul, Burlington, and PetSmart. Since 2018, Frew has developed a Tru by Hilton hotel, a Home2 by Hilton, a Boulder Tap House restaurant, and a US Veteran's Medical Clinic. History Planning and construction Plans for Westdale Mall were first announced on March 29, 1972. Original plans called for a mall with two or three anchor stores and 30 to 50 smaller stores on of land. Later that year, developer Ernest W. Hahn of The Hahn Company acquired the mall's property from Midwest Development of Cedar Rapids and Dial Realty of Omaha, Nebraska. In 1974, Hahn asked the Cedar Rapids City Council to rezone an additional of land from residential to commercial use. An organization of citizens known as "Taxpayers for Sensible Planning" opposed the rezoning, claiming that construction of a larger mall would have a severe impact on existing businesses in the Cedar Rapids area. Despite the opposition, the City Council approved the rezoning by a 4-1 vote on May 22, 1974. The recession of 1974 delayed the start of construction until May 1976 and a seven-week electricians' strike delayed the mall's opening to October 4, 1979. Despite the construction problems and layoffs in Cedar Rapids' manufacturing sector during the recession of 1980, Westdale Mall was at 93 percent capacity with 114 stores by the beginning of 1981. Westdale attracted shoppers from counties throughout eastern Iowa and surrounding states, including cities such as Davenport and Waterloo that already had enclosed malls. Anchor and ownership changes JCPenney, Montgomery Ward, Younkers, and Brandeis signed on as anchors before construction of Westdale Mall began, but Brandeis withdrew from the mall while its store was still under construction. Wards and JCPenney, which both relocated from downtown Cedar Rapids, were the first two anchor stores to open while Younkers and Petersen Harned Von Maur (Brandeis' replacement) opened in 1980. Wards closed in early 2001 as the chain ceased operations, and the anchor space remained vacant for more than four years until Steve & Barry's opened there in November 2005. On January 31, 2007, Von Maur closed its Westdale Mall store due to a decline in business and offered its 80 employees positions at its Lindale Mall and Iowa City locations. That anchor space remains vacant. Steve and Barry's closed in November 2008 due to the chain's bankruptcy, leaving Westdale with only two anchors at the beginning of 2010. Westdale Mall was built by The Hahn Company, which became TrizecHahn in 1980; TrizecHahn sold Westdale to The Rouse Company in April 1998. The Festival Companies of Los Angeles, California, took over management of Westdale in November 2004. Shortly after that, Festival announced a $20 million renovation plan that would expand the mall and add a new food court. However, those plans never materialized as tenants continued to leave the mall amid competition from Coral Ridge Mall to the south. In November 2006, Westdale was placed in administrative receivership after H-N-W Associates, a part-owner of the mall, fell behind on its mortgage payments. Heritage Property Management of Cedar Rapids took over management of the mall at the time. In December 2006, General Growth Properties (owner of Coral Ridge Mall) took over the leasing duties for the mall. Westdale was sold to Cedar Rapids Properties, Inc., in a sheriff's sale on July 10, 2007. The former Steve & Barry's space, which was originally owned by Montgomery Ward when it was an anchor, was separately owned by California-based City Gate LP. General Growth handed the leasing duties over to Jones Lang LaSalle in mid-2010. By March 2007, over 50% of the mall stores had closed. The Cedar Rapids City Council voted to delay any major redevelopment work at the mall for six months, in the hopes that whoever purchases the mall property does not break it apart. On May 9, 2007, the City Council voted 7-1 to lift the moratorium on a mostly vacant outparcel building that was originally built as an Econofoods supermarket and was more recently a Big Lots store; two local developers planned to reconfigure that building and build a Sonic Drive-In and T.G.I. Friday's on the property. However, in September 2007 T.G.I. Friday's canceled its plans to open a restaurant at that location amid concerns that they would not make enough money there. Sonic also backed out of its plan to open a restaurant at that location shortly after that. The city council later reimposed the development moratorium before they unanimously agreed to set it aside on December 19, 2007. The Big Lots outparcel building was demolished in March 2010 to make room for Edgewood Station, a new development that is expected to include at least two restaurants and a financial institution. Flood of 2008 and aftermath Some of Westdale Mall's empty stores had been used as temporary homes for city and Linn County offices in the aftermath of the Iowa flood of 2008. Disaster centers for the American Red Cross, FEMA, and the Small Business Administration were also set up at Westdale. After rejecting an $18.5 million offer to buy Westdale outright on January 21, 2009, the Linn County Board of Supervisors agreed to move their offices to the former Steve & Barry's space on February 11, 2009. In June 2010, Linn County signed a lease agreement to keep its "Linn County West" office complex at Westdale until at least February 2012. The Linn County offices that were housed at Westdale moved back to downtown Cedar Rapids in June 2012. On February 9, 2009, the Cedar Rapids Public Library opened a temporary library known as "The Bridge" inside space that was formerly the home of an Osco Drug store at Westdale. "The Bridge" is serving as the main operations for the library, whose main branch downtown was heavily damaged by the flood, until a permanent decision on the library's future is made. The library announced plans to move its west-side branch from Westdale to a former Target store west of the mall in February 2012. The mall now has JCPenney and Burlington as anchors as part of the redevelopment. Sale and redevelopment plans Investor group A. Shapiro LLC, an investor group led by local realtor Scott Byers, acquired Westdale Mall in a transaction that took effect on January 1, 2013. Development was handed over to the Denver-based Frew Development Group as part of the sale. Frew plans to invest $90 million to redevelop the Westdale Mall site. Plans call for demolishing most of the current mall except for the JCPenney, Younkers, and vacant Von Maur anchors, and turning the site into a "multiuse destination" similar to the Streets at Southglenn in Colorado and Jordan Creek Town Center in Des Moines. While the mall remains open, redevelopment was expected to begin in the first quarter of 2013 with the demolition of the former Montgomery Ward/Steve & Barry's building. The mall remained open until March 31, 2014, at which point all tenants moved out except for JCPenney, Younkers, and a City Looks hair salon. The mall was then demolished except for the anchor stores. On January 31, 2018, The Bon-Ton announced that Younkers would be closing in April 2018 as part of a plan to close 42 stores nationwide which left JCPenney as the only anchor left. Incidents On December 19th, 1979, just 2 months after the mall opened, 18-year old Michelle Martinko was killed in the mall's parking lot. Jerry Lynn Burns was arrested in 2018 on the 39th anniversary of the murder, and he was convicted of first degree murder on February 24, 2020. References Buildings and structures in Cedar Rapids, Iowa Demolished shopping malls in the United States Shopping malls established in 1979 Tourist attractions in Cedar Rapids, Iowa
Yugo-Vostochnaya is a station on the Nekrasovskaya line of the Moscow Metro. The station was opened on 27 March 2020. Name During the planning stages, the name of the station was projected to be Ferganskaya Ulitsa for the street where the station is situated. In 2014, the station was renamed Yugo-Vostochnaya by the city. Yugo-Vostochnaya, which means “South-Eastern” in Russian, signifies the location in the southeastern part of the city. References Moscow Metro stations Railway stations in Russia opened in 2020 Nekrasovskaya line
```java /* * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ package org.apache.shardingsphere.test.it.data.pipeline.core.fixture.h2.query; import org.apache.shardingsphere.data.pipeline.core.query.DialectJDBCStreamQueryBuilder; import org.apache.shardingsphere.infra.database.core.type.DatabaseType; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; /** * JDBC stream query builder for H2. */ public final class H2JDBCStreamQueryBuilder implements DialectJDBCStreamQueryBuilder { @Override public PreparedStatement build(final DatabaseType databaseType, final Connection connection, final String sql) throws SQLException { return connection.prepareStatement(sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY); } @Override public String getDatabaseType() { return "H2"; } } ```
```yaml {{- /* */}} {{- if .Values.serviceAccount.create }} apiVersion: v1 kind: ServiceAccount metadata: name: {{ include "solr.serviceAccountName" . }} namespace: {{ include "common.names.namespace" . | quote }} labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }} app.kubernetes.io/component: solr {{- if or .Values.serviceAccount.annotations .Values.commonAnnotations }} {{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.serviceAccount.annotations .Values.commonAnnotations ) "context" . ) }} annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }} {{- end }} automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }} {{- end }} ```
Copceac () is a commune and village in the Gagauz Autonomous Territorial Unit of the Republic of Moldova. The 2004 census listed the commune as having a population of 9,551 people. Gagauz total 9,068. Minorities included 110 Moldovans, 97 Russians, 71 Ukrainians, 144 Bulgarians and 33 Roma. Its geographical coordinates are 45° 51' 6" North, 28° 41' 33" East. Notable people Vladislav Baboglo (born 1998), Moldovan-Ukrainian footballer (1920–2014), Romanian engineer and academic References Copceac
"Brightdown" is a single from the Nami Tamaki album Don't Stay. Brightdown was used as the 2nd opening theme to the anime D.Gray Man. CD track listing "Brightdown" "Color of Your Tears" "Endless Dream" "Brightdown" -Instrumental- Limited Edition DVD track listing "Brightdown" Video Clip References 玉置 成実 | RELEASE. Retrieved April 23, 2010. 2007 singles Nami Tamaki songs 2007 songs Sony Music Entertainment Japan singles
Maviz Rural District () is in the Central District of Shahriar County, Tehran province, Iran. At the National Census of 2006, its population was 6,199 in 1,499 households. There were 6,291 inhabitants in 1,632 households at the following census of 2011. At the most recent census of 2016, the population of the rural district was 5,782 in 1,597 households. The largest of its three villages was Baba Salman, with 4,859 people. References Shahriar County Rural Districts of Tehran Province Populated places in Shahriar County
Valerii Macrițchii (born 13 February 1996) is a Moldovan professional footballer who plays as a midfielder for Milsami Orhei. International He made his debut for senior Moldova national football team on 26 February 2018 in a friendly against Saudi Arabia. Honours FC Sheriff Tiraspol Divizia Națională: 2012–13, 2013–14 Moldovan Cup: 2014–15 Divizia "A": 2011–12 Moldovan Super Cup: 2013, 2015 Personal He is a twin brother of Andrei Macrițchii. References External links 1996 births Living people Moldovan men's footballers Men's association football midfielders Moldova men's youth international footballers Moldova men's under-21 international footballers Moldova men's international footballers FC Sheriff Tiraspol players Speranța Nisporeni players FC Petrocub Hîncești players FC Sfîntul Gheorghe players FC Dinamo-Auto Tiraspol players Moldovan Super Liga players Liga II players FC Ripensia Timișoara players Moldovan twins Moldovan expatriate men's footballers Moldovan expatriate sportspeople in Romania Expatriate men's footballers in Romania Sportspeople from Bălți